Foreground.css: Unterschied zwischen den Versionen
Aus Geodäsie Knowledge Hub
Die Seite wurde neu angelegt: „→obere Menüleiste rot: .top-bar, .top-bar-section ul, .contain-to-grid, .tab-bar, .nav-bar { background: #b30000 !important; } →Links in der Menüleiste weiß: .top-bar a, .top-bar-section li a, .tab-bar a, .nav-bar a, .top-bar-section .dropdown li a { color: #ffffff !important; } →Hover etwas dunkler: .top-bar a:hover, .top-bar-section li a:hover, .top-bar-section .dropdown li a:hover { background: #8f0000 !important; color…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* Einheitliche rote Top-Leiste */ | ||
.top-bar, | .top-bar, | ||
.top-bar-section ul, | .top-bar-section ul, | ||
.top-bar-section li, | |||
.top-bar-section li:not(.has-form) a, | |||
.top-bar-section .dropdown li, | |||
.contain-to-grid, | .contain-to-grid, | ||
.fixed, | |||
.tab-bar, | .tab-bar, | ||
. | .left-small, | ||
.right-small { | |||
background: #b30000 !important; | background: #b30000 !important; | ||
background-color: #b30000 !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | /* Menülinks immer gleich rot, auch aktiv/hover/focus */ | ||
.top-bar a, | .top-bar-section li:not(.has-form) a, | ||
.top-bar-section li a, | .top-bar-section li.active > a, | ||
. | .top-bar-section li:hover > a, | ||
. | .top-bar-section li:focus > a, | ||
.top-bar-section .dropdown li a { | .top-bar-section .dropdown li a, | ||
color: # | .top-bar-section .dropdown li:hover > a, | ||
.top-bar-section .dropdown li.active > a { | |||
background: #b30000 !important; | |||
background-color: #b30000 !important; | |||
color: #fff !important; | |||
} | } | ||
/* Hover | /* Optional: Hover nur über Schrift lösen, nicht über dunklere Fläche */ | ||
.top-bar | .top-bar-section li:not(.has-form) a:hover, | ||
. | |||
.top-bar-section .dropdown li a:hover { | .top-bar-section .dropdown li a:hover { | ||
background: # | background: #b30000 !important; | ||
color: # | color: #fff !important; | ||
opacity: 0.9; | |||
} | |||
/* Trennlinien entfernen */ | |||
.top-bar-section li, | |||
.top-bar-section ul li > a, | |||
.top-bar-section .has-dropdown > a, | |||
.top-bar .toggle-topbar.menu-icon a { | |||
border: none !important; | |||
} | |||
/* Suchbereich sauber integrieren */ | |||
.top-bar .has-form, | |||
.top-bar form, | |||
.top-bar input, | |||
.top-bar .button, | |||
.top-bar button { | |||
margin: 0 !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | /* Suchfeld eckig statt abgerundet */ | ||
.top-bar-section | .top-bar input[type="search"], | ||
.top-bar-section . | .top-bar input[type="text"], | ||
background: # | #searchInput, | ||
color: # | #searchText { | ||
border-radius: 0 !important; | |||
-webkit-appearance: none !important; | |||
appearance: none !important; | |||
border: 1px solid #bfbfbf !important; | |||
box-shadow: none !important; | |||
height: 2.2rem !important; | |||
} | |||
/* Suchbutton passend */ | |||
.top-bar .button, | |||
.top-bar button, | |||
#searchButton { | |||
border-radius: 0 !important; | |||
background: #0078a0 !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
height: 2.2rem !important; | |||
line-height: 2.2rem !important; | |||
padding-top: 0 !important; | |||
padding-bottom: 0 !important; | |||
} | |||
/* Icons rechts: gleicher roter Hintergrund */ | |||
.top-bar-section .dropdown > li, | |||
.top-bar-section .has-dropdown > a, | |||
.right-off-canvas-toggle, | |||
.left-off-canvas-toggle { | |||
background: #b30000 !important; | |||
} | |||
/* Weiße Schrift/Icons oben */ | |||
.top-bar *, | |||
.top-bar-section a, | |||
.top-bar .fa, | |||
.top-bar i { | |||
color: #fff !important; | |||
} | } | ||
Version vom 7. März 2026, 11:08 Uhr
/* Einheitliche rote Top-Leiste */
.top-bar,
.top-bar-section ul,
.top-bar-section li,
.top-bar-section li:not(.has-form) a,
.top-bar-section .dropdown li,
.contain-to-grid,
.fixed,
.tab-bar,
.left-small,
.right-small {
background: #b30000 !important;
background-color: #b30000 !important;
border: 0 !important;
box-shadow: none !important;
}
/* Menülinks immer gleich rot, auch aktiv/hover/focus */
.top-bar-section li:not(.has-form) a,
.top-bar-section li.active > a,
.top-bar-section li:hover > a,
.top-bar-section li:focus > a,
.top-bar-section .dropdown li a,
.top-bar-section .dropdown li:hover > a,
.top-bar-section .dropdown li.active > a {
background: #b30000 !important;
background-color: #b30000 !important;
color: #fff !important;
}
/* Optional: Hover nur über Schrift lösen, nicht über dunklere Fläche */
.top-bar-section li:not(.has-form) a:hover,
.top-bar-section .dropdown li a:hover {
background: #b30000 !important;
color: #fff !important;
opacity: 0.9;
}
/* Trennlinien entfernen */
.top-bar-section li,
.top-bar-section ul li > a,
.top-bar-section .has-dropdown > a,
.top-bar .toggle-topbar.menu-icon a {
border: none !important;
}
/* Suchbereich sauber integrieren */
.top-bar .has-form,
.top-bar form,
.top-bar input,
.top-bar .button,
.top-bar button {
margin: 0 !important;
box-shadow: none !important;
}
/* Suchfeld eckig statt abgerundet */
.top-bar input[type="search"],
.top-bar input[type="text"],
#searchInput,
#searchText {
border-radius: 0 !important;
-webkit-appearance: none !important;
appearance: none !important;
border: 1px solid #bfbfbf !important;
box-shadow: none !important;
height: 2.2rem !important;
}
/* Suchbutton passend */
.top-bar .button,
.top-bar button,
#searchButton {
border-radius: 0 !important;
background: #0078a0 !important;
border: 0 !important;
box-shadow: none !important;
height: 2.2rem !important;
line-height: 2.2rem !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
/* Icons rechts: gleicher roter Hintergrund */
.top-bar-section .dropdown > li,
.top-bar-section .has-dropdown > a,
.right-off-canvas-toggle,
.left-off-canvas-toggle {
background: #b30000 !important;
}
/* Weiße Schrift/Icons oben */
.top-bar *,
.top-bar-section a,
.top-bar .fa,
.top-bar i {
color: #fff !important;
}