Aktionen

MediaWiki

Foreground.css: Unterschied zwischen den Versionen

Aus Geodäsie Knowledge Hub

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 16: Zeile 16:
}
}


/* Menülinks – KEIN dunkler Hover mehr */
/* ============================= */
.top-bar-section li:not(.has-form) a,
/* Nur Untermenü Hover tauschen */
.top-bar-section li.active > a,
/* ============================= */
.top-bar-section li:hover > a,
 
.top-bar-section .dropdown li a,
/* normale Dropdown-Einträge */
.top-bar-section .dropdown li:hover > a {
.top-bar-section .dropdown li a {
     background: #e2001a !important;
     background: #e2001a !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
/* Hover nur im Dropdown */
.top-bar-section .dropdown li a:hover {
    background: #ffffff !important;
    color: #e2001a !important;
}
/* Aktiver Eintrag im Dropdown */
.top-bar-section .dropdown li.active > a {
    background: #ffffff !important;
    color: #e2001a !important;
}
}



Version vom 7. März 2026, 11:33 Uhr

/* ============================= */
/* DV-Wiki Rot Theme (#e2001a)   */
/* ============================= */

/* komplette obere Leiste */
.top-bar,
.top-bar-section ul,
.top-bar-section li,
.contain-to-grid,
.tab-bar,
.fixed {
    background: #e2001a !important;
    background-color: #e2001a !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ============================= */
/* Nur Untermenü Hover tauschen */
/* ============================= */

/* normale Dropdown-Einträge */
.top-bar-section .dropdown li a {
    background: #e2001a !important;
    color: #ffffff !important;
}

/* Hover nur im Dropdown */
.top-bar-section .dropdown li a:hover {
    background: #ffffff !important;
    color: #e2001a !important;
}

/* Aktiver Eintrag im Dropdown */
.top-bar-section .dropdown li.active > a {
    background: #ffffff !important;
    color: #e2001a !important;
}

/* Hover nur über Transparenz */
.top-bar-section li:not(.has-form) a:hover {
    background: #e2001a !important;
    opacity: 0.85;
}

/* ============================= */
/* Suchfeld Styling              */
/* ============================= */
/* Container */
.top-bar .has-form form {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Eingabefeld */
.top-bar input,
.top-bar input[type="text"],
.top-bar input[type="search"],
#searchInput {
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    width: 280px !important;   /* +20px breiter */

    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #444 !important;

    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Suchbutton */
.top-bar .button.search,
.top-bar button.search,
#searchButton {
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 16px !important;
    margin: 0 0 0 -1px !important;

    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #e2001a !important;

    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
}
#searchform {
    padding-top: 7px !important;
}