mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 07:23:02 +00:00
Update csd.css
This commit is contained in:
parent
83f8751767
commit
34bb3b6154
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
/* Headerbar top border corners rounded */
|
|
||||||
:root[tabsintitlebar], :root[customtitlebar] {
|
:root[tabsintitlebar], :root[customtitlebar] {
|
||||||
|
/* Headerbar top border corners rounded */
|
||||||
&:root[sizemode="normal"]:not([gtktiledwindow="true"]) {
|
&:root[sizemode="normal"]:not([gtktiledwindow="true"]) {
|
||||||
#nav-bar {
|
#nav-bar {
|
||||||
border-top-left-radius: env(-moz-gtk-csd-titlebar-radius, 12px) !important;
|
border-top-left-radius: env(-moz-gtk-csd-titlebar-radius, 12px) !important;
|
||||||
@ -32,7 +32,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Always show nav bar window buttons*/
|
/* Always show nav bar window buttons*/
|
||||||
#nav-bar > .titlebar-buttonbox-container {
|
#nav-bar > .titlebar-buttonbox-container {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
@ -45,11 +44,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fullscreen headerbar padding for 1 button */
|
|
||||||
&:root[inFullscreen] #nav-bar {
|
|
||||||
padding-right: 50px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Window buttons box */
|
/* Window buttons box */
|
||||||
#nav-bar .titlebar-buttonbox-container,
|
#nav-bar .titlebar-buttonbox-container,
|
||||||
#titlebar .titlebar-buttonbox-container,
|
#titlebar .titlebar-buttonbox-container,
|
||||||
@ -78,13 +72,7 @@
|
|||||||
padding: 2px 0 !important;
|
padding: 2px 0 !important;
|
||||||
--inactive-titlebar-opacity: 1 !important;
|
--inactive-titlebar-opacity: 1 !important;
|
||||||
}
|
}
|
||||||
&:root[inFullscreen] #nav-bar .titlebar-button,
|
|
||||||
&:root[inFullscreen] #titlebar .titlebar-button {
|
|
||||||
height: 24px;
|
|
||||||
width: 24px;
|
|
||||||
margin: 12px 4px !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
}
|
|
||||||
#nav-bar .titlebar-button .toolbarbutton-icon,
|
#nav-bar .titlebar-button .toolbarbutton-icon,
|
||||||
#nav-bar:-moz-window-inactive .titlebar-button .toolbarbutton-icon,
|
#nav-bar:-moz-window-inactive .titlebar-button .toolbarbutton-icon,
|
||||||
#titlebar .titlebar-button .toolbarbutton-icon,
|
#titlebar .titlebar-button .toolbarbutton-icon,
|
||||||
@ -92,14 +80,30 @@
|
|||||||
opacity: 0 !important;
|
opacity: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove close and minimize buttons from fullscreen buttons */
|
/* Fullscreen headerbar */
|
||||||
&:root[inFullscreen] #window-controls #close-button,
|
&:root[inFullscreen] {
|
||||||
&:root[inFullscreen] #window-controls #minimize-button,
|
/* Fullscreen headerbar padding for 1 button */
|
||||||
&:root[inFullscreen] #titlebar .titlebar-buttonbox .titlebar-close,
|
#nav-bar {
|
||||||
&:root[inFullscreen] #titlebar .titlebar-buttonbox .titlebar-min,
|
padding-right: 50px !important;
|
||||||
&:root[inFullscreen] #nav-bar .titlebar-buttonbox .titlebar-close,
|
}
|
||||||
&:root[inFullscreen] #nav-bar .titlebar-buttonbox .titlebar-min {
|
|
||||||
display: none !important;
|
#nav-bar .titlebar-button,
|
||||||
|
#titlebar .titlebar-button {
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
margin: 12px 4px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove close and minimize buttons from fullscreen buttons */
|
||||||
|
#window-controls #close-button,
|
||||||
|
#window-controls #minimize-button,
|
||||||
|
#titlebar .titlebar-buttonbox .titlebar-close,
|
||||||
|
#titlebar .titlebar-buttonbox .titlebar-min,
|
||||||
|
#nav-bar .titlebar-buttonbox .titlebar-close,
|
||||||
|
#nav-bar .titlebar-buttonbox .titlebar-min {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +137,7 @@
|
|||||||
|
|
||||||
/* Left window buttons */
|
/* Left window buttons */
|
||||||
@media (-moz-gtk-csd-reversed-placement) {
|
@media (-moz-gtk-csd-reversed-placement) {
|
||||||
:root[tabsintitlebar], :root[customtitlebar] {
|
:root[tabsintitlebar], :root[customtitlebar] {
|
||||||
&:root:not([inFullscreen]) #nav-bar {
|
&:root:not([inFullscreen]) #nav-bar {
|
||||||
padding-right: 6px !important;
|
padding-right: 6px !important;
|
||||||
}
|
}
|
||||||
@ -150,7 +154,7 @@
|
|||||||
&:root[inFullscreen] #nav-bar {
|
&:root[inFullscreen] #nav-bar {
|
||||||
padding-left: 50px !important;
|
padding-left: 50px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Window controls: at least 1 button */
|
/* Window controls: at least 1 button */
|
||||||
@media (-moz-gtk-csd-minimize-button), (-moz-gtk-csd-maximize-button), (-moz-gtk-csd-close-button) {
|
@media (-moz-gtk-csd-minimize-button), (-moz-gtk-csd-maximize-button), (-moz-gtk-csd-close-button) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user