Merge pull request #142 from rivanfebrian123/master

Add 'rounded window even when it gets maximized' feature
This commit is contained in:
Vince 2021-02-23 15:55:08 +08:00 committed by GitHub
commit 2be2e1fcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"; /**/