Remove fx 119 specific light-dark() workarounds

pull/329/head
MrOtherGuy 10 months ago
parent 67a9e9f9c9
commit c79cfaf813

@ -32,16 +32,6 @@ See the above repository for updates as well as full license text. */
:root[uidensity="compact"] #PersonalToolbar{ :root[uidensity="compact"] #PersonalToolbar{
--toolbarbutton-outer-padding: 1px !important; --toolbarbutton-outer-padding: 1px !important;
} }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#PersonalToolbar:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#PersonalToolbar:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
}
}
#PlacesToolbarItems > .bookmark-item, #PlacesToolbarItems > .bookmark-item,
#OtherBookmarks, #OtherBookmarks,
#PersonalToolbar > #import-button{ #PersonalToolbar > #import-button{

@ -36,18 +36,7 @@ findbar > .close-icon{
background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,none); background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,none);
pointer-events: auto; pointer-events: auto;
} }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
findbar:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
--chrome-content-separator-color: rgb(204, 204, 204);
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
findbar:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
--chrome-content-separator-color: hsl(240, 5%, 5%);
}
}
findbar > .findbar-container{ findbar > .findbar-container{
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
border-right-width: 1px; border-right-width: 1px;

@ -53,13 +53,3 @@ Window controls will be all wrong without it
pointer-events: none; pointer-events: none;
margin-left: var(--uc-window-drag-space-pre,0px) margin-left: var(--uc-window-drag-space-pre,0px)
} }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
:root:not(:-moz-lwtheme){
--toolbar-non-lwt-bgcolor: #f9f9fb !important;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
:root:not(:-moz-lwtheme){
--toolbar-non-lwt-bgcolor: rgb(43, 42, 51) !important;
}
}

@ -40,16 +40,6 @@ This will NOT work correctly if you have hidden tabs such as with tab groups ext
:where(#nav-bar){ :where(#nav-bar){
border-inline: var(--uc-window-drag-space-width,0) solid var(--toolbar-bgcolor); border-inline: var(--uc-window-drag-space-width,0) solid var(--toolbar-bgcolor);
} }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
:root:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb !important;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
:root:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51) !important;
}
}
@media (-moz-platform: linux){ @media (-moz-platform: linux){
#TabsToolbar .titlebar-buttonbox{ #TabsToolbar .titlebar-buttonbox{
align-items: stretch !important; align-items: stretch !important;

@ -33,16 +33,6 @@ See the above repository for updates as well as full license text. */
#main-window[tabsintitlebar]{ #main-window[tabsintitlebar]{
background-color: var(--toolbar-bgcolor,accentcolor) !important;; background-color: var(--toolbar-bgcolor,accentcolor) !important;;
} }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#main-window[tabsintitlebar]:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb !important;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#main-window[tabsintitlebar]:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51) !important;
}
}
:root[uidensity="compact"]{ --multirow-toolbar-height: 34px } :root[uidensity="compact"]{ --multirow-toolbar-height: 34px }
:root{ border-top-width: 0px !important } :root{ border-top-width: 0px !important }

@ -60,16 +60,7 @@ As a workaround, the -moz-element background image is removed somewhat often whi
} }
/* If you use a theme where urlbar is partially transparent you should edit this color to something that closely matches the perceived color of urlbar. Or perhaps use background-image - linear-gradient() can work well here. But keep the color or image opaque or otherwise you'll face an issue where urlbar text bleeds through */ /* If you use a theme where urlbar is partially transparent you should edit this color to something that closely matches the perceived color of urlbar. Or perhaps use background-image - linear-gradient() can work well here. But keep the color or image opaque or otherwise you'll face an issue where urlbar text bleeds through */
#statuspanel{ background-color: var(--toolbar-bgcolor) } #statuspanel{ background-color: var(--toolbar-bgcolor) }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#statuspanel:not(:-moz-lwtheme){
background-color: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#statuspanel:not(:-moz-lwtheme){
background-color: rgb(43, 42, 51);
}
}
#statuspanel{ #statuspanel{
color: var(--toolbar-field-color, black); color: var(--toolbar-field-color, black);
z-index: -1; z-index: -1;

@ -51,16 +51,7 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* If you use a theme where urlbar is partially transparent you should edit this color to something that closely matches the perceived color of urlbar. Or perhaps use background-image - linear-gradient() can work well here. But keep the color or image opaque or otherwise you'll face an issue where urlbar text bleeds through */ /* If you use a theme where urlbar is partially transparent you should edit this color to something that closely matches the perceived color of urlbar. Or perhaps use background-image - linear-gradient() can work well here. But keep the color or image opaque or otherwise you'll face an issue where urlbar text bleeds through */
#statuspanel{ background-color: var(--toolbar-bgcolor) } #statuspanel{ background-color: var(--toolbar-bgcolor) }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#statuspanel:not(:-moz-lwtheme){
background-color: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#statuspanel:not(:-moz-lwtheme){
background-color: rgb(43, 42, 51);
}
}
#statuspanel{ #statuspanel{
color: var(--toolbar-field-color, black); color: var(--toolbar-field-color, black);
z-index: -1; z-index: -1;

@ -51,18 +51,3 @@ See the above repository for updates as well as full license text. */
/* This may seem pretty weird, but it gets around an issue where the height of urlbar may suddenly change when one starts typing into it */ /* This may seem pretty weird, but it gets around an issue where the height of urlbar may suddenly change when one starts typing into it */
/* If you are otherwise modifying the urlbar height then you might need to modify the height of this too */ /* If you are otherwise modifying the urlbar height then you might need to modify the height of this too */
#urlbar > #urlbar-input-container::before{ content: ""; display: flex; height: 24px; } #urlbar > #urlbar-input-container::before{ content: ""; display: flex; height: 24px; }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#urlbar:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
--toolbar-field-background-color: rgb(240, 240, 244);
--toolbar-field-focus-background-color: white;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#urlbar:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
--toolbar-field-background-color: rgb(28, 27, 34);
--toolbar-field-focus-background-color: rgb(66, 65, 77)
}
}

Loading…
Cancel
Save