fix the common window border radius issue and give the firefox css code a better sense

This commit is contained in:
rivanfebrian123 2021-02-25 00:09:11 +07:00
parent 2be2e1fcd3
commit 82427cec6b
38 changed files with 150 additions and 1 deletions

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1769,6 +1769,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

@ -1777,6 +1777,10 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
min-width: 1px;
}
window.background.csd.maximized {
border-radius: 0px;
}
headerbar button, .titlebar button {
min-height: 26px;
min-width: 22px;

View File

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

View File

@ -1647,6 +1647,11 @@ window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar
}
}
// Fixes common window border radius problem when it get maximized
window.background.csd.maximized {
border-radius: 0px;
}
headerbar, .titlebar {
button {
min-height: 26px;