feat: Refactor dashboard screens to Modern Deep Dark style (#74)
Refactored Pulpit, Katalog, Moje, Konto screens to a unified, premium Modern Deep Dark style. Resolves #73. --------- Co-authored-by: Marek Jasiński <jasins.marek@gmail.com> Reviewed-on: #74 Co-authored-by: Antigravity <antigravity@google.com> Co-committed-by: Antigravity <antigravity@google.com>
This commit was merged in pull request #74.
This commit is contained in:
@@ -2,163 +2,162 @@
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #121212;
|
||||
color: #e0e0e0;
|
||||
background: #121214;
|
||||
color: #e4e4e7;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
::deep .hub-sidebar {
|
||||
width: 260px;
|
||||
width: 80px;
|
||||
height: 100%;
|
||||
background: #161616;
|
||||
background: #0d0d0d;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 100;
|
||||
flex-shrink: 0;
|
||||
transition: width 0.2s ease;
|
||||
}
|
||||
|
||||
::deep .sidebar-header {
|
||||
padding: 2.5rem 1.5rem;
|
||||
padding: 2rem 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
::deep .logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
::deep .logo-icon {
|
||||
color: var(--nexus-neon);
|
||||
filter: drop-shadow(0 0 10px rgba(0, 255, 153, 0.4));
|
||||
color: #10b981;
|
||||
filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
|
||||
}
|
||||
|
||||
::deep .logo-text {
|
||||
font-family: var(--nexus-font-serif);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
letter-spacing: -0.01em;
|
||||
display: none;
|
||||
}
|
||||
|
||||
::deep .sidebar-nav {
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
padding: 0.5rem 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
::deep .nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1rem 1.5rem;
|
||||
color: #A0A0A0;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 54px;
|
||||
color: #8b8273;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
border-left: 3px solid transparent;
|
||||
font-family: var(--nexus-font-sans);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s ease, background-color 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
::deep .nav-item:hover {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
color: #ffffff;
|
||||
color: #10b981;
|
||||
background: rgba(255, 255, 255, 0.01);
|
||||
}
|
||||
|
||||
::deep .nav-item:focus-visible {
|
||||
outline: 2px solid #10b981;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
::deep .nav-item.active {
|
||||
color: #ffffff;
|
||||
background: rgba(0, 255, 153, 0.03);
|
||||
border-left: 3px solid var(--nexus-neon);
|
||||
color: #10b981;
|
||||
background: rgba(16, 185, 129, 0.04);
|
||||
}
|
||||
|
||||
::deep .nav-item.active .nav-icon {
|
||||
color: var(--nexus-neon);
|
||||
::deep .nav-item.active::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 15%;
|
||||
height: 70%;
|
||||
width: 3px;
|
||||
background: #10b981;
|
||||
border-radius: 0 4px 4px 0;
|
||||
box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
|
||||
}
|
||||
|
||||
::deep .nav-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
::deep .nav-item:hover .nav-icon,
|
||||
::deep .nav-item.active .nav-icon {
|
||||
opacity: 1;
|
||||
::deep .nav-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
::deep .sidebar-footer {
|
||||
padding: 1.25rem 1.5rem;
|
||||
padding: 1.5rem 0;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
::deep .user-brief {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
overflow: hidden;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
::deep .user-avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: #222;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background: #1a1a1e;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
color: #A0A0A0;
|
||||
color: #e4e4e7;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
::deep .user-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
::deep .user-name {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
color: #A0A0A0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: none;
|
||||
}
|
||||
|
||||
::deep .logout-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #666;
|
||||
color: #8b8273;
|
||||
cursor: pointer;
|
||||
padding: 0.4rem;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s;
|
||||
padding: 0.5rem;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
::deep .logout-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: #ffffff;
|
||||
background: rgba(239, 68, 68, 0.08);
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.hub-main {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
background: radial-gradient(circle at center, #1a1a1a 0%, #121212 100%);
|
||||
background: #121214;
|
||||
}
|
||||
|
||||
.hub-content {
|
||||
@@ -179,11 +178,11 @@
|
||||
::deep .nexus-loader {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 2px solid rgba(0, 255, 153, 0.1);
|
||||
border-top-color: var(--nexus-neon);
|
||||
border: 2px solid rgba(16, 185, 129, 0.1);
|
||||
border-top-color: #10b981;
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
||||
filter: drop-shadow(0 0 5px var(--nexus-neon));
|
||||
filter: drop-shadow(0 0 5px #10b981);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
||||
Reference in New Issue
Block a user