224 lines
4.3 KiB
CSS
224 lines
4.3 KiB
CSS
/* ==========================================================================
|
||
HEADER – LEWEL DESIGN (utan meny)
|
||
========================================================================== */
|
||
.top-bar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
background: linear-gradient(to right, #1F2C3C, #2E3C4F);
|
||
padding: 0 16px 0;
|
||
border-bottom: 2px solid #394B5A;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 1000;
|
||
box-shadow: 0 2px 8px rgba(0,0,0,0.4);
|
||
height: 54px;
|
||
}
|
||
|
||
.header-left {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
height: 100%;
|
||
}
|
||
|
||
.family-header {
|
||
display: flex;
|
||
align-items: baseline;
|
||
margin: 0;
|
||
padding: 0;
|
||
line-height: 1;
|
||
font-size: 2em;
|
||
letter-spacing: -0.5px;
|
||
font-family: 'Segoe UI', sans-serif;
|
||
font-weight: 600;
|
||
text-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
}
|
||
|
||
.family-header span {
|
||
margin: 0;
|
||
padding: 0;
|
||
display: inline-block;
|
||
line-height: 1;
|
||
}
|
||
|
||
.initial {
|
||
font-weight: 700;
|
||
font-size: 1.4em;
|
||
}
|
||
|
||
.name {
|
||
font-size: 0.45em;
|
||
color: #f7f7f7;
|
||
opacity: 0.95;
|
||
}
|
||
|
||
.initial.L {
|
||
color: #ff3333;
|
||
}
|
||
|
||
.initial.E {
|
||
color: #ff9900;
|
||
}
|
||
|
||
.initial.W {
|
||
color: #ffd700;
|
||
}
|
||
|
||
.initial.E2 {
|
||
color: #00cc66;
|
||
}
|
||
|
||
.initial.L2 {
|
||
color: #3399ff;
|
||
}
|
||
|
||
.auth-links {
|
||
position: relative;
|
||
}
|
||
|
||
.auth-menu {
|
||
position: relative;
|
||
}
|
||
|
||
.auth-icon-button {
|
||
background: none;
|
||
border: none;
|
||
color: #ffffff;
|
||
font-size: 20px;
|
||
cursor: pointer;
|
||
padding: 6px;
|
||
transition: opacity 0.2s;
|
||
}
|
||
|
||
.auth-icon-button:hover {
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.auth-dropdown {
|
||
position: absolute;
|
||
top: 36px;
|
||
right: 0;
|
||
background-color: #ffffff;
|
||
border-radius: 6px;
|
||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||
min-width: 160px;
|
||
display: none;
|
||
flex-direction: column;
|
||
z-index: 1001;
|
||
}
|
||
|
||
.auth-dropdown a {
|
||
padding: 8px 12px;
|
||
color: #1F2C3C;
|
||
text-decoration: none;
|
||
font-size: 13px;
|
||
border-bottom: 1px solid #eee;
|
||
}
|
||
|
||
.auth-dropdown a:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.auth-dropdown a:hover {
|
||
background-color: #f0f0f0;
|
||
}
|
||
|
||
.auth-menu.open .auth-dropdown {
|
||
display: flex;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
LAYOUT – OMBYGGD STRUKTUR
|
||
========================================================================== */
|
||
body {
|
||
background-color: #1F2C3C;
|
||
color: #D0DCE4;
|
||
font-family: 'Segoe UI', sans-serif;
|
||
margin: 0;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 100vh;
|
||
font-size: 15px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.page-content {
|
||
display: flex;
|
||
flex-grow: 1;
|
||
padding: 16px;
|
||
gap: 16px;
|
||
background-color: #223344;
|
||
}
|
||
|
||
.sidebar {
|
||
width: 155px;
|
||
background-color: #f9f9f9;
|
||
border-radius: 8px;
|
||
padding: 4px;
|
||
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
|
||
}
|
||
|
||
.main-panel {
|
||
flex: 1;
|
||
background-color: #ffffff;
|
||
border-radius: 10px;
|
||
padding: 20px;
|
||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
color: #2C3E50;
|
||
font-size: 16px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
NAVIGATIONSLISTA – KOMPAKT STIL
|
||
========================================================================== */
|
||
.nav-list {
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0;
|
||
}
|
||
|
||
.nav-list a {
|
||
text-decoration: none;
|
||
color: #1F2C3C;
|
||
font-weight: 500;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 4px 6px;
|
||
border-radius: 4px;
|
||
font-size: 13px;
|
||
transition: background-color 0.2s;
|
||
line-height: 1.3;
|
||
}
|
||
|
||
.nav-list a:hover {
|
||
background-color: #e0e0e0;
|
||
}
|
||
|
||
.nav-list i {
|
||
font-size: 0.9em;
|
||
width: 14px;
|
||
text-align: center;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
RESPONSIVT
|
||
========================================================================== */
|
||
@media (max-width: 768px) {
|
||
.page-content {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.sidebar {
|
||
width: 100%;
|
||
}
|
||
}
|