fix the common window border radius issue and give the firefox css code a better sense
This commit is contained in:
parent
2be2e1fcd3
commit
82427cec6b
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user