mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 845246 - Stop using -moz-border-image in browser.css; r=dao f=dbaron
This commit is contained in:
parent
01c2953332
commit
23b9c8e794
@ -1231,7 +1231,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
|
|||||||
border-radius: 2.5px 0 0 2.5px;
|
border-radius: 2.5px 0 0 2.5px;
|
||||||
border-width: 0 8px 0 0;
|
border-width: 0 8px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
||||||
-moz-margin-end: -8px;
|
-moz-margin-end: -8px;
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
@ -1587,7 +1587,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border-width: 4px 5px 3px 6px;
|
border-width: 4px 5px 3px 6px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url(tabbrowser/tab.png) 4 5 3 6 fill repeat stretch;
|
border-image: url(tabbrowser/tab.png) 4 5 3 6 fill repeat stretch;
|
||||||
border-radius: 10px 8px 0 0;
|
border-radius: 10px 8px 0 0;
|
||||||
min-height: 25px; /* reserve space for the sometimes hidden close button */
|
min-height: 25px; /* reserve space for the sometimes hidden close button */
|
||||||
}
|
}
|
||||||
@ -1761,14 +1761,14 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
|||||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
||||||
border-width: 0 2px 0 0;
|
border-width: 0 2px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
||||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
||||||
border-width: 0 0 0 2px;
|
border-width: 0 0 0 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
||||||
|
@ -2326,46 +2326,46 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|||||||
|
|
||||||
@TABSONTOP_TAB_STACK@ > .tab-content,
|
@TABSONTOP_TAB_STACK@ > .tab-content,
|
||||||
@TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
@TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
@TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
||||||
@TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
@TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] {
|
@TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONBOTTOM_TAB_STACK@ > .tab-content,
|
@TABSONBOTTOM_TAB_STACK@ > .tab-content,
|
||||||
@TABSONBOTTOM_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
@TABSONBOTTOM_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-normal-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-normal-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 2dppx) {
|
@media (min-resolution: 2dppx) {
|
||||||
@TABSONTOP_TAB_STACK@ > .tab-content,
|
@TABSONTOP_TAB_STACK@ > .tab-content,
|
||||||
@TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
@TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active@2x.png) 0 22 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active@2x.png) 0 22 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
@TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
||||||
@TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
@TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active@2x.png) 0 22 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active@2x.png) 0 22 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] {
|
@TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active@2x.png) 0 22 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active@2x.png) 0 22 fill repeat stretch;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONBOTTOM_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
@TABSONBOTTOM_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]),
|
||||||
@TABSONBOTTOM_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
@TABSONBOTTOM_NEWTAB_BUTTON@:hover > .toolbarbutton-icon {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-hover-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-hover-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@TABSONBOTTOM_TAB_STACK@ > .tab-content[selected="true"] {
|
@TABSONBOTTOM_TAB_STACK@ > .tab-content[selected="true"] {
|
||||||
-moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-selected-active.png) 0 11 fill repeat stretch;
|
border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-selected-active.png) 0 11 fill repeat stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* preloading hack */
|
/* preloading hack */
|
||||||
@ -2659,14 +2659,14 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|||||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
||||||
border-width: 0 2px 0 0;
|
border-width: 0 2px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
||||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
||||||
border-width: 0 0 0 2px;
|
border-width: 0 0 0 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2979,13 +2979,13 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|||||||
border-radius: 2px 0 0 2px;
|
border-radius: 2px 0 0 2px;
|
||||||
border-width: 0 8px 0 0;
|
border-width: 0 8px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
||||||
-moz-margin-end: -8px;
|
-moz-margin-end: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 2dppx) {
|
@media (min-resolution: 2dppx) {
|
||||||
#notification-popup-box {
|
#notification-popup-box {
|
||||||
-moz-border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
|
border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1804,7 +1804,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
|||||||
padding: 2px 0 4px;
|
padding: 2px 0 4px;
|
||||||
border-width: 4px 3px 0;
|
border-width: 4px 3px 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url(tabbrowser/tab.png) 4 3 0 fill repeat stretch;
|
border-image: url(tabbrowser/tab.png) 4 3 0 fill repeat stretch;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1977,7 +1977,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
|||||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
|
||||||
border-width: 0 2px 0 0;
|
border-width: 0 2px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs-newtab-button > .toolbarbutton-icon {
|
.tabs-newtab-button > .toolbarbutton-icon {
|
||||||
@ -2288,7 +2288,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
|
|||||||
border-radius: 2.5px 0 0 2.5px;
|
border-radius: 2.5px 0 0 2.5px;
|
||||||
border-width: 0 8px 0 0;
|
border-width: 0 8px 0 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
-moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
||||||
-moz-margin-end: -8px;
|
-moz-margin-end: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user