- Firefox-Version
- Firefox 157 Nightly
- Betriebssystem
- Windows 11 Pro 24H2
Moin, ich nutze u.a. diesen CSS, um die Adresszeile anzupassen.
CSS
/* Adresszeile einfaerben */
#urlbar {
position: relative;
z-index: 6;
}
#identity-box::after {
content: '';
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
pointer-events: none;
z-index: 3;
background: var(--toolbar-bgcolor); /* white */
opacity: 0.2;
transition: background 500ms linear; /* Fade in/out effekt */
}
/* There is also grantedPermissions, but irrelevant. */
/* about:about */
#urlbar[pageproxystate='valid'] #identity-box.unknownIdentity::after {
background: #ff0039; /* Firefox Red 50 */
}
/* about:config */
#urlbar[pageproxystate='valid'] #identity-box.chromeUI::after {
background: #0a84ff; /* Firefox Blue 50 */
}
/* addon pages like uBlock Origin Dashboard */
#urlbar[pageproxystate='valid'] #identity-box.extensionPage::after {
background: #45a1ff; /* Firefox Blue 40 */
}
/* https://www.github.com/ */
#urlbar[pageproxystate='valid'] #identity-box.verifiedIdentity::after{
background: #058b00; /* Firefox Green 70 */
}
/* https://www.google.com/ */
#urlbar[pageproxystate='valid'] #identity-box.verifiedDomain::after{
background: #12bc00; /* Firefox Green 60 */
}
/* https://mixed-script.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedActiveBlocked::after {
/* background: #30e60b; /* Firefox Green 50 */
background: #d7b600; /* Firefox Yellow 60 */
}
/* https://mixed.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContent::after {
background: #d7b600; /* Firefox Yellow 60 */
}
/* https://very.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContentLoadedActiveBlocked::after {
background: #d7b600; /* Firefox Yellow 60 */
}
/* https://self-signed.badssl.com/ but add certificate exception */
#urlbar[pageproxystate='valid'] #identity-box.certUserOverridden::after {
background: #ffe900; /* Firefox Yellow 50 */
}
/* Don't know an example for this */
#urlbar[pageproxystate='valid'] #identity-box.weakCipher::after {
background: #a47f00; /* Firefox Yellow 70 */
}
/* https://mixed-script.badssl.com/ but disable protection */
#urlbar[pageproxystate='valid'] #identity-box.mixedActiveContent::after {
background: #d70022; /* Firefox Red 60 */
}
/* http://http-login.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.insecureLoginForms::after {
background: #a4000f; /* Firefox Red 70 */
}
/* http://http.badssl.com/ */
/* http://www.httpvshttps.com/ */
#urlbar[pageproxystate='valid'] #identity-box.notSecure::after {
background: #a4000f; /* Firefox Red 70 */
}
/* Regeln ergänzt */
/* in Fx72 eingeführt, vgl. https://github.com/Aris-t2/CustomCSSforFx/issues/244 */
#urlbar[pageproxystate='valid'] #identity-box.certErrorPage::after {
background: #d70022; /* Firefox Red 60 */
}
#urlbar[pageproxystate='valid'][focused="true"] #identity-box::after {
background: var(--toolbar-bgcolor);
}
#urlbar[breakout][breakout-extend] {
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
width: 100% !important;
}
#urlbar[breakout][breakout-extend] > .urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 0 !important;
padding-inline: 0 !important;
}
#urlbar[breakout][breakout-extend][breakout-extend-animate] > .urlbar-background {
animation-name: none !important;
}
#urlbar[breakout][breakout-extend] > .urlbar-background {
box-shadow: none !important;
}
/* Adresszeile kompakt und fett */
#urlbar {
font-size:18px !important;
font-weight:bold !important;
height: 24px;
padding: 0px 0px 0px !important;
}
#searchbar {
font-size:18px !important;
font-weight:bold !important;
height: 24px;
padding: 0px 0px 0px !important;
}
.urlbar-origin-label,
.urlbar-over-origin-box,
.urlbar-over-link-host-label,
.urlbar-over-link-path-label {
margin-top: -1px !important;
margin-bottom: -1px !important;
}
#identity-box{
border:none!important;
background:none!important;
}
#identity-box #identity-icon-label,
#identity-box #identity-icon-labels {
font-size: 18px !important;
}
#omnibar-defaultEngineName {
margin-top: -1px !important;
font-size:18px !important;
font-weight:bold !important;}
#omnibar-defaultEngine {margin-top: 10px !important;
}
#urlbar #feed-button {
list-style-image: none !important;
}
#urlbar,.searchbar-textbox,
#searchbar {
min-height:1.8em!important;
max-height:1.8em!important;
border-radius: 70px !important;
background: #e2f7e2 !important;
opacity: 0.7!important;
padding: 0px 0px 0px 5px !important;
}
/* Adressleiste Breite */
#urlbar{
min-height:1.9em!important;
max-height:1.9em!important;
width: 100% !important;
border-radius: 200px !important;
padding: 0px 0px 0px 0px !important;
}
/* Adresszeile - Suche ausblenden */
#PopupAutoCompleteRichResult > richlistbox > richlistitem:first-child{
display:none!important
}
#urlbar input.textbox-input::placeholder {
color: transparent !important;}
/* Adresszeile bereinigen */
#identity-icon, /*Links im Adressfeld: Seiteninformationen (kleines "i" in einem Kreis) und Lupensymbol*/
#pageActionButton, /*Rechts im Adressfeld: Aktionen für diese Seite (Drei Punkte)*/
#pageActionSeparator, /*Rechts im Adressfeld: Graue Linie neben "Aktionen für diese Seite (Drei Punkte)"*/
.urlbar-go-button, /*Rechts im Adressfeld: URL laden (Pfeil nach rechts)*/
.urlbar-history-dropmarker /*Rechts im Adressfeld: Chronik (kleines Dreieck)*/
{ display: none !important; }
/* Adresszeilenhöhe einstellen */
#urlbar[breakout][breakout-extend] {
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
width: 100% !important;
}
#urlbar[breakout][breakout-extend] > .urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 0 !important;
padding-inline: 0 !important;
}
#urlbar[breakout][breakout-extend][breakout-extend-animate] > .urlbar-background {
animation-name: none !important;
}
#urlbar[breakout][breakout-extend] > .urlbar-background {
box-shadow: none !important;
}
/* Schloss- und Schildsymbol aus FF 88 */
#tracking-protection-icon {
list-style-image: url("..//icons/tracking-protection.svg") !important;
background-size: 18px 18px !important;
fill: purple !important;
}
#identity-icon {
list-style-image: url("..//icons/security-state-secure.svg") !important;
background-size: 18px 18px !important;
opacity: unset !important;
fill: orange !important;
}
/* Lesezeichen-Stern ungesetzt */
#star-button:not([starred="true"]) {
fill: Fuchsia !important; /* Fuchsia */
}
/* Lesezeichen-Stern gesetzt */
#star-button[starred="true"] {
fill: Blue !important; /* Blau */
}
/* Farbe der Suchleiste */
#searchbar-new.urlbar hbox.urlbar-input-container {
background-color: none !important;
}
#searchbar-new {
--toolbar-field-focus-border-color: transparent !important;
}
[data-l10n-id="searchbar-input"] {
color: black !important;
}
Alles anzeigen
Seit neuestem ist die Adresszeile horizontal nicht mehr mittig. Kann man das anpassen? Meine Versuche führten mal wieder zu nichts... ![]()