2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/linux_gtk_window_control_patch.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2019-05-05 12:17:57 +00:00
|
|
|
/* Overrides the appearance of the window controls with something that more closely matches "normal" buttons*/
|
|
|
|
/* More importantly, this makes window controls to respect layout rules the other styles rely on */
|
|
|
|
|
2023-03-11 10:26:07 +00:00
|
|
|
.titlebar-buttonbox{
|
|
|
|
-moz-box-align: stretch !important; /* Fx <112 compatibility */
|
|
|
|
align-items: stretch !important;
|
|
|
|
}
|
2019-05-05 12:17:57 +00:00
|
|
|
.titlebar-button {
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
-moz-context-properties: fill, stroke, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
padding: 4px 6px !important;
|
|
|
|
-moz-box-flex: 1;
|
2023-03-11 10:26:07 +00:00
|
|
|
flex-grow: 1;
|
2019-05-05 12:17:57 +00:00
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
}
|
|
|
|
.titlebar-button:hover{ background-color: rgba(0,0,0,0.1) }
|
|
|
|
.titlebar-min{ list-style-image: url(chrome://browser/skin/zoom-out.svg); }
|
|
|
|
.titlebar-close{
|
|
|
|
list-style-image: url(chrome://global/skin/icons/close.svg);
|
|
|
|
fill-opacity: 0;
|
|
|
|
stroke: currentColor
|
|
|
|
}
|
|
|
|
|