mirror of
https://github.com/QwIT-Development/firka-extension.git
synced 2026-06-12 03:41:39 +02:00
628 lines
9.8 KiB
CSS
628 lines
9.8 KiB
CSS
@import url('../global/theme.css');
|
|
|
|
.main-header,
|
|
.main-menu,
|
|
.main-sidebar,
|
|
.content-header,
|
|
.favoriteIconContainer,
|
|
#frissitesDatumDiv,
|
|
#layout_navigationBar,
|
|
.navbar,
|
|
.sidebar-container,
|
|
#sidepanel_tabs,
|
|
.sidepanel-wrapper,
|
|
.main-footer2,
|
|
.lakatimg,
|
|
.modalContainer,
|
|
.modalOuter,
|
|
#ProfilTab,
|
|
#KretaProgressBar {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--text-primary) !important;
|
|
background-color: var(--background) !important;
|
|
font-family: 'Montserrat', sans-serif !important;
|
|
min-height: 100vh;
|
|
font-size: 16px;
|
|
}
|
|
|
|
h2 {
|
|
background-color: var(--card-card) !important;
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
.page-wrapper {
|
|
background-color: var(--background) !important;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.main-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background-color: var(--background) !important;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 0;
|
|
background-color: var(--background) !important;
|
|
}
|
|
|
|
.content-content {
|
|
background-color: var(--background) !important;
|
|
min-height: auto !important;
|
|
padding: 0;
|
|
}
|
|
|
|
.profile-container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.profile-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: 2rem;
|
|
min-height: calc(100vh - 200px);
|
|
}
|
|
|
|
.profile-sidebar {
|
|
position: sticky;
|
|
top: 2rem;
|
|
height: fit-content;
|
|
}
|
|
|
|
.profile-tabs {
|
|
background: var(--card-card);
|
|
border-radius: 16px;
|
|
padding: 1rem;
|
|
box-shadow: 0px 1px 2px 0px var(--accent-shadow);
|
|
}
|
|
|
|
.profile-tab {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border-radius: 12px;
|
|
transition: all 0.2s ease;
|
|
text-align: left;
|
|
}
|
|
|
|
.profile-tab:hover {
|
|
background: var(--button-secondaryFill);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.profile-tab.active {
|
|
background: var(--accent-accent);
|
|
color: white;
|
|
}
|
|
|
|
.profile-tab svg {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-content {
|
|
background: var(--card-card);
|
|
border-radius: 16px;
|
|
padding: 2rem;
|
|
box-shadow: 0px 1px 2px 0px var(--accent-shadow);
|
|
min-height: 500px;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
.tab-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 2px solid var(--accent-15);
|
|
}
|
|
|
|
.tab-header h2 {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.data-section {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.data-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.data-section h3 {
|
|
color: var(--text-primary);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin: 0 0 1.5rem 0;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 1px solid var(--accent-15);
|
|
}
|
|
|
|
.data-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.data-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.data-item label {
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.data-item span {
|
|
color: var(--text-primary);
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
padding: 0.75rem;
|
|
background: var(--button-secondaryFill);
|
|
border-radius: 8px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.address-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.address-item {
|
|
padding: 1.25rem;
|
|
background: var(--button-secondaryFill);
|
|
border-radius: 12px;
|
|
border-left: 4px solid var(--accent-15);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.address-item:hover {
|
|
transform: translateX(4px);
|
|
box-shadow: 0px 2px 8px 0px var(--accent-shadow);
|
|
}
|
|
|
|
.address-item.default {
|
|
border-left-color: var(--accent-accent);
|
|
background: var(--accent-15);
|
|
}
|
|
|
|
.address-type {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.address-type strong {
|
|
color: var(--text-primary);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.75rem;
|
|
background: var(--accent-accent);
|
|
color: white;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border-radius: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.address-details {
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.loading-spinner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 2rem;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.spinner {
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 4px solid var(--accent-15);
|
|
border-top-color: var(--accent-accent);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.loading-spinner p {
|
|
color: var(--text-secondary);
|
|
font-size: 16px;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.info-message svg {
|
|
color: white;
|
|
}
|
|
|
|
.info-message p {
|
|
color: var(--text-secondary);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.error-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-message svg {
|
|
color: #e74c3c;
|
|
}
|
|
|
|
.error-message p {
|
|
color: var(--text-secondary);
|
|
font-size: 16px;
|
|
margin: 0;
|
|
}
|
|
|
|
.security-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 2rem;
|
|
background: var(--accent-accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0px 2px 4px 0px var(--accent-shadow);
|
|
}
|
|
|
|
.security-btn:hover {
|
|
background: var(--accent-secondary);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0px 4px 8px 0px var(--accent-shadow);
|
|
}
|
|
|
|
.security-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.security-btn svg {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.profile-wrapper {
|
|
animation: fadeIn 0.4s ease forwards;
|
|
}
|
|
|
|
.data-section {
|
|
animation: fadeIn 0.5s ease forwards;
|
|
}
|
|
|
|
.data-section:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.data-section:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.data-section:nth-child(4) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.profile-wrapper {
|
|
grid-template-columns: 1fr;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.profile-sidebar {
|
|
position: static;
|
|
}
|
|
|
|
.profile-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.5rem;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.profile-tab {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem 0.5rem;
|
|
font-size: 13px;
|
|
min-height: 75px;
|
|
}
|
|
|
|
.profile-tab svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.profile-tab span {
|
|
line-height: 1.2;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.data-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.profile-container {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.profile-wrapper {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.profile-content {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.data-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.tab-header h2 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.data-section h3 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.profile-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.375rem;
|
|
padding: 0.375rem;
|
|
}
|
|
|
|
.profile-tab {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 0.375rem;
|
|
padding: 0.625rem 0.25rem;
|
|
font-size: 11px;
|
|
min-height: 55px;
|
|
}
|
|
|
|
.profile-tab svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.profile-tab span {
|
|
line-height: 1.1;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.address-item {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.security-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info-message,
|
|
.error-message,
|
|
.loading-spinner {
|
|
padding: 2rem 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.profile-container {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.profile-wrapper {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.profile-content {
|
|
padding: 0.875rem;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.tab-header {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.tab-header h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.data-section h3 {
|
|
font-size: 15px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.data-item label {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.data-item span {
|
|
font-size: 13px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.profile-tabs {
|
|
padding: 0.25rem;
|
|
gap: 0.25rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.profile-tab {
|
|
padding: 0.5rem 0.25rem;
|
|
min-height: 50px;
|
|
font-size: 10px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.profile-tab svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.profile-tab span {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.data-section {
|
|
margin-bottom: 1.75rem;
|
|
}
|
|
|
|
.address-item {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.badge {
|
|
font-size: 9px;
|
|
padding: 0.2rem 0.5rem;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.error-message svg {
|
|
color: #ff6b6b;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
.profile-sidebar,
|
|
.security-btn,
|
|
.kreta-header,
|
|
.mobile-header,
|
|
.mobile-bottom-nav {
|
|
display: none !important;
|
|
}
|
|
|
|
.profile-wrapper {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.profile-content {
|
|
box-shadow: none;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.tab-content {
|
|
display: block !important;
|
|
}
|
|
|
|
.data-section {
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
|
|
.profile-tab:focus,
|
|
.security-btn:focus {
|
|
outline: 2px solid var(--accent-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.profile-tab:focus:not(:focus-visible),
|
|
.security-btn:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--accent-accent);
|
|
color: white;
|
|
}
|
|
|
|
::-moz-selection {
|
|
background: var(--accent-accent);
|
|
color: white;
|
|
}
|