Bug 679708 - Update toolbar icon styling for 10.7 Lion. r=dao
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 5.5 KiB |
@ -369,6 +369,27 @@ toolbar:not([mode="icons"]) #restore-button {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
@media (-moz-mac-lion-theme) {
|
||||
.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
|
||||
.toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon,
|
||||
#restore-button[disabled="true"] > .toolbarbutton-icon,
|
||||
.toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker,
|
||||
.toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker,
|
||||
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
||||
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
||||
#restore-button:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
||||
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menu-dropmarker,
|
||||
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-dropmarker {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon,
|
||||
.toolbarbutton-1:-moz-window-inactive[type="menu-button"] > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon,
|
||||
#restore-button:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon {
|
||||
opacity: .25;
|
||||
}
|
||||
}
|
||||
|
||||
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
||||
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
||||
list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png);
|
||||
@ -640,10 +661,6 @@ toolbar[mode="icons"] #forward-button:-moz-lwtheme {
|
||||
-moz-image-region: rect(20px, 160px, 40px, 140px);
|
||||
}
|
||||
|
||||
#history-button[checked="true"]:active:hover {
|
||||
-moz-image-region: rect(40px, 160px, 60px, 140px);
|
||||
}
|
||||
|
||||
/* bookmark sidebar & menu buttons */
|
||||
|
||||
#bookmarks-button,
|
||||
@ -655,10 +672,6 @@ toolbar[mode="icons"] #forward-button:-moz-lwtheme {
|
||||
-moz-image-region: rect(20px, 180px, 40px, 160px);
|
||||
}
|
||||
|
||||
#bookmarks-button[checked="true"]:active:hover {
|
||||
-moz-image-region: rect(40px, 180px, 60px, 160px);
|
||||
}
|
||||
|
||||
#bookmarks-menu-button.bookmark-item {
|
||||
-moz-image-region: rect(2px, 178px, 18px, 162px);
|
||||
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
||||
@ -1884,7 +1897,7 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
||||
-moz-image-region: rect(0, 11px, 17px, 0);
|
||||
-moz-image-region: rect(0, 13px, 20px, 0);
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
border: none;
|
||||
@ -1923,17 +1936,18 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover,
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover {
|
||||
-moz-image-region: rect(0, 22px, 17px, 11px);
|
||||
-moz-image-region: rect(0, 26px, 20px, 13px);
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active,
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active {
|
||||
-moz-image-region: rect(0, 44px, 17px, 33px);
|
||||
-moz-image-region: rect(0, 39px, 20px, 26px);
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
|
||||
-moz-image-region: rect(0, 33px, 17px, 22px) !important;
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon,
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon {
|
||||
-moz-image-region: rect(0, 13px, 20px, 0) !important;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr),
|
||||
|
@ -137,6 +137,14 @@ browser.jar:
|
||||
#endif
|
||||
skin/classic/browser/lion/keyhole-circle.png (keyhole-circle-lion.png)
|
||||
skin/classic/browser/lion/Toolbar.png (Toolbar-lion.png)
|
||||
skin/classic/browser/lion/toolbarbutton-dropmarker.png (toolbarbutton-dropmarker-lion.png)
|
||||
skin/classic/browser/lion/tabbrowser/alltabs-box-bkgnd-icon.png (tabbrowser/alltabs-box-bkgnd-icon-lion.png)
|
||||
skin/classic/browser/lion/tabview/tabview.png (tabview/tabview-lion.png)
|
||||
skin/classic/browser/lion/places/toolbar.png (places/toolbar-lion.png)
|
||||
|
||||
% override chrome://browser/skin/keyhole-circle.png chrome://browser/skin/lion/keyhole-circle.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/Toolbar.png chrome://browser/skin/lion/Toolbar.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/keyhole-circle.png chrome://browser/skin/lion/keyhole-circle.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/Toolbar.png chrome://browser/skin/lion/Toolbar.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/toolbarbutton-dropmarker.png chrome://browser/skin/lion/toolbarbutton-dropmarker.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png chrome://browser/skin/lion/tabbrowser/alltabs-box-bkgnd-icon.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/tabview/tabview.png chrome://browser/skin/lion/tabview/tabview.png os=Darwin osversion>=10.7
|
||||
% override chrome://browser/skin/places/toolbar.png chrome://browser/skin/lion/places/toolbar.png os=Darwin osversion>=10.7
|
||||
|
@ -104,6 +104,20 @@
|
||||
-moz-margin-end: 2px;
|
||||
}
|
||||
|
||||
@media (-moz-mac-lion-theme) {
|
||||
#placesToolbar > toolbarbutton[disabled="true"] > .toolbarbutton-icon,
|
||||
#placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
||||
#placesToolbar > toolbarbutton[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker,
|
||||
#placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive[type="menu"] > .toolbarbutton-menu-dropmarker {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
#placesToolbar > toolbarbutton:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon,
|
||||
#placesToolbar > toolbarbutton:-moz-window-inactive[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker {
|
||||
opacity: .25;
|
||||
}
|
||||
}
|
||||
|
||||
#placesToolbar > toolbarbutton > menupopup {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
BIN
browser/themes/pinstripe/browser/places/toolbar-lion.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 538 B |
BIN
browser/themes/pinstripe/browser/tabbrowser/newtab.png
Executable file → Normal file
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 568 B |
BIN
browser/themes/pinstripe/browser/tabbrowser/tab-arrow-left.png
Executable file → Normal file
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 947 B |
BIN
browser/themes/pinstripe/browser/tabbrowser/tab-arrow-right.png
Executable file → Normal file
Before Width: | Height: | Size: 934 B After Width: | Height: | Size: 996 B |
BIN
browser/themes/pinstripe/browser/tabview/tabview-lion.png
Normal file
After Width: | Height: | Size: 516 B |
After Width: | Height: | Size: 150 B |