add 'rounded window even when it gets maximized' feature, and disable it by default

This commit is contained in:
rivanfebrian123 2021-02-23 12:38:58 +07:00
parent 959f917be2
commit 4017baa872
4 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
}
/* Headerbar top border corners rounded */
:root[tabsintitlebar]:not([inFullscreen]) #nav-bar {
:root[tabsintitlebar]:not([inFullscreen]):not([sizemode="maximized"]) #nav-bar {
border-radius: 16px 16px 0 0 !important;
}

View File

@ -0,0 +1,5 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root[tabsintitlebar]:not([inFullscreen]) #nav-bar {
border-radius: 16px 16px 0 0;
}

View File

@ -0,0 +1,3 @@
/* Add your own custom styles here */

View File

@ -21,6 +21,9 @@
/* Rounded title buttons (headerbar window controls) (GNOMISH) */
/*@import "WhiteSur/rounded-title-buttons.css"; /**/
/* Rounded window even when it gets maximized */
/*@import "WhiteSur/rounded-window-maximized.css"; /**/
/* Active tab high contrast */
/*@import "WhiteSur/active-tab-contrast.css"; /**/