|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 %include ../../shared/customizableui/panelUIOverlay.inc.css |
|
6 |
|
7 @media (min-resolution: 2dppx) { |
|
8 #PanelUI-help[panel-multiview-anchor="true"]::after, |
|
9 toolbarbutton[panel-multiview-anchor="true"] { |
|
10 background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png), |
|
11 linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0)); |
|
12 background-size: 16px, auto; |
|
13 } |
|
14 |
|
15 #PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after, |
|
16 toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) { |
|
17 background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl@2x.png), |
|
18 linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0)); |
|
19 } |
|
20 |
|
21 #PanelUI-fxa-status { |
|
22 list-style-image: url(chrome://browser/skin/sync-horizontalbar@2x.png); |
|
23 } |
|
24 |
|
25 #PanelUI-fxa-status[status="active"] { |
|
26 list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar@2x.png); |
|
27 } |
|
28 |
|
29 #PanelUI-customize { |
|
30 list-style-image: url(chrome://browser/skin/menuPanel-customize@2x.png); |
|
31 } |
|
32 |
|
33 #main-window[customize-entered] #PanelUI-customize { |
|
34 list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish@2x.png); |
|
35 } |
|
36 |
|
37 #PanelUI-help { |
|
38 list-style-image: url(chrome://browser/skin/menuPanel-help@2x.png); |
|
39 } |
|
40 |
|
41 #PanelUI-quit { |
|
42 list-style-image: url(chrome://browser/skin/menuPanel-exit@2x.png); |
|
43 } |
|
44 |
|
45 #PanelUI-fxa-status, |
|
46 #PanelUI-customize, |
|
47 #PanelUI-help, |
|
48 #PanelUI-quit { |
|
49 -moz-image-region: rect(0, 32px, 32px, 0); |
|
50 } |
|
51 |
|
52 #PanelUI-customize:hover, |
|
53 #PanelUI-help:not([disabled]):hover, |
|
54 #PanelUI-quit:not([disabled]):hover { |
|
55 -moz-image-region: rect(0, 64px, 32px, 32px); |
|
56 } |
|
57 |
|
58 #PanelUI-customize:hover:active, |
|
59 #PanelUI-help:not([disabled]):hover:active, |
|
60 #PanelUI-quit:not([disabled]):hover:active { |
|
61 -moz-image-region: rect(0, 96px, 32px, 64px); |
|
62 } |
|
63 |
|
64 #PanelUI-help[panel-multiview-anchor="true"] { |
|
65 -moz-image-region: rect(0, 128px, 32px, 96px); |
|
66 background-size: auto; |
|
67 } |
|
68 |
|
69 .subviewbutton[checked="true"] { |
|
70 background-image: url("chrome://global/skin/menu/shared-menu-check@2x.png"); |
|
71 } |
|
72 |
|
73 } |
|
74 |
|
75 .panelUI-grid .toolbarbutton-1 { |
|
76 margin-right: 0; |
|
77 margin-left: 0; |
|
78 margin-bottom: 0; |
|
79 } |
|
80 |
|
81 .subviewbutton > .toolbarbutton-text, |
|
82 .subviewbutton > .menu-iconic-text { |
|
83 margin: 2px 0px; |
|
84 } |
|
85 |
|
86 .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text { |
|
87 margin: 2px 6px; |
|
88 } |
|
89 |
|
90 .restoreallitem > .toolbarbutton-icon { |
|
91 display: none; |
|
92 } |
|
93 |
|
94 .subviewbutton { |
|
95 -moz-padding-start: 18px; |
|
96 } |
|
97 |
|
98 .subviewbutton[checked="true"] { |
|
99 background-position: top 5px left 4px; |
|
100 } |
|
101 |
|
102 .subviewbutton[checked="true"]:-moz-locale-dir(rtl) { |
|
103 background-position: top 5px right 4px; |
|
104 } |
|
105 |
|
106 .subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left { |
|
107 display: none; |
|
108 } |
|
109 |
|
110 menu.subviewbutton, |
|
111 menuitem.subviewbutton:not(.panel-subview-footer) { |
|
112 padding-top: 2px; |
|
113 padding-bottom: 2px; |
|
114 } |
|
115 |
|
116 /* Override OSX-specific toolkit styles for the bookmarks panel */ |
|
117 menu.subviewbutton > .menu-right { |
|
118 -moz-margin-end: 0; |
|
119 } |
|
120 menu.subviewbutton > .menu-right > image { |
|
121 -moz-image-region: rect(0, 9px, 10px, 0); |
|
122 } |
|
123 |
|
124 @media (min-resolution: 2dppx) { |
|
125 menu.subviewbutton > .menu-right > image { |
|
126 -moz-image-region: rect(0, 18px, 20px, 0); |
|
127 } |
|
128 } |
|
129 |
|
130 .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
|
131 -moz-margin-start: 4px; |
|
132 } |
|
133 |
|
134 .PanelUI-subView menuseparator, |
|
135 .cui-widget-panelview menuseparator { |
|
136 padding: 0 !important; |
|
137 } |
|
138 |
|
139 toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon { |
|
140 width: 32px; |
|
141 height: 32px; |
|
142 } |