Don't use svg icons in window controls anymore
Firefox 141 changed Window control buttons to use font-icons from MDL2 and removed old icon files. So let's use the font instead.
This commit is contained in:
@@ -5,13 +5,12 @@ See the above repository for updates as well as full license text. */
|
|||||||
|
|
||||||
.titlebar-button{
|
.titlebar-button{
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
-moz-context-properties: stroke !important;
|
color: inherit !important;
|
||||||
stroke: currentColor !important;
|
|
||||||
}
|
}
|
||||||
.titlebar-button:hover{ background-color: hsla(0,0%,100%,.32) !important }
|
.titlebar-button:hover{ background-color: hsla(0,0%,100%,.32) !important }
|
||||||
.titlebar-close:hover{ background-color: hsl(355,86%,49%) !important }
|
.titlebar-close:hover{ background-color: hsl(355,86%,49%) !important }
|
||||||
|
|
||||||
.titlebar-close{ list-style-image: url(chrome://browser/skin/window-controls/close.svg) !important }
|
.titlebar-close{ content: "\e8bb" !important }
|
||||||
.titlebar-min{ list-style-image: url(chrome://browser/skin/window-controls/minimize.svg) !important }
|
.titlebar-min{ content: "\e921" !important }
|
||||||
.titlebar-max{ list-style-image: url(chrome://browser/skin/window-controls/maximize.svg) !important }
|
.titlebar-max{ content: "\e922" !important }
|
||||||
.titlebar-restore{ list-style-image: url(chrome://browser/skin/window-controls/restore.svg) !important }
|
.titlebar-restore{ content: "\e923" !important }
|
||||||
Reference in New Issue
Block a user