|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
@namespace html url("http://www.w3.org/1999/xhtml"); |
|
|
|
/* |
|
** In order for userChrome.css to work, you need to open `about:config` and change |
|
** `toolkit.legacyUserProfileCustomizations.stylesheets` to `true`. |
|
*/ |
|
|
|
|
|
|
|
/* Close Buttons */ |
|
@media (-moz-gtk-csd-available) { |
|
.titlebar-min { |
|
list-style-image: url(chrome://browser/skin/window-controls/minimize.svg); |
|
} |
|
.titlebar-max { |
|
list-style-image: url(chrome://browser/skin/window-controls/restore.svg); |
|
} |
|
.titlebar-close { |
|
list-style-image: url(chrome://browser/skin/window-controls/close.svg); |
|
} |
|
|
|
@media (-moz-gtk-csd-minimize-button) { |
|
.titlebar-min { |
|
-moz-appearance: none !important; |
|
} |
|
} |
|
@media (-moz-gtk-csd-maximize-button) { |
|
.titlebar-max, |
|
:root[sizemode="maximized"] .titlebar-max { |
|
-moz-appearance: none !important; |
|
} |
|
} |
|
@media (-moz-gtk-csd-close-button) { |
|
.titlebar-close { |
|
-moz-appearance: none !important; |
|
} |
|
} |
|
} |
|
|
|
.titlebar-buttonbox { |
|
background-color: #202124; |
|
color: #a3a9ae; |
|
-moz-box-align: initial !important; |
|
} |
|
.titlebar-min, |
|
.titlebar-max, |
|
.titlebar-close, |
|
:root[sizemode="maximized"] .titlebar-max { |
|
-moz-appearance: none; |
|
padding: 6px 12px !important; |
|
-moz-context-properties: stroke; |
|
stroke: currentColor; |
|
color: inherit; |
|
margin: 0 !important; |
|
} |
|
.titlebar-min:hover, |
|
.titlebar-max:hover { |
|
background-color: #363739 !important; |
|
color: #c2c4c5 !important; |
|
} |
|
.titlebar-close:hover { |
|
background-color: #d70022 !important; |
|
color: white !important; |
|
} |
|
:root[sizemode="normal"] .titlebar-max { |
|
padding: 6px 13px !important; |
|
} |
|
:root[sizemode="normal"] .titlebar-max .toolbarbutton-icon { |
|
border: 1px solid currentColor; |
|
width: 10px; |
|
height: 10px; |
|
list-style-image: none; |
|
} |
|
|
|
/* Close Buttons - Fullscreen */ |
|
#window-controls { |
|
background-color: #202124 !important; |
|
color: #a3a9ae !important; |
|
} |
|
#minimize-button:hover, |
|
#restore-button:hover { |
|
background-color: #363739 !important; |
|
color: #c2c4c5 !important; |
|
} |
|
#close-button:hover { |
|
|
|
} |
|
|
|
|