Commit | Line | Data |
---|---|---|
b0dd5cca RK |
1 | |
2 | /* Toolbar */ | |
3 | #placesToolbar { | |
4 | } | |
5 | ||
6 | /* back & forward buttons */ | |
7 | #back-button, #forward-button { | |
8 | list-style-image: url(libraryNavigation.png); | |
9 | -moz-appearance: none; | |
10 | padding: 0; | |
11 | border: none; | |
12 | } | |
13 | ||
14 | #placesToolbar > toolbarbutton > .toolbarbutton-icon, | |
15 | #placesToolbar > toolbarbutton > .toolbarbutton-text { | |
16 | margin: 0; | |
17 | padding: 0; | |
18 | } | |
19 | ||
20 | #back-button, | |
21 | #forward-button:-moz-locale-dir(rtl) { | |
22 | -moz-image-region: rect(0px, 24px, 24px, 0px); | |
23 | } | |
24 | #back-button:not([disabled="true"]):hover, | |
25 | #forward-button:not([disabled="true"]):hover:-moz-locale-dir(rtl), | |
26 | #back-button:not([disabled="true"]):hover:active, | |
27 | #forward-button:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) { | |
28 | -moz-image-region: rect(24px, 24px, 48px, 0px); | |
29 | } | |
30 | #back-button[disabled="true"], | |
31 | #forward-button:-moz-locale-dir(rtl)[disabled="true"] { | |
32 | -moz-image-region: rect(48px, 24px, 72px, 0px) !important; | |
33 | } | |
34 | ||
35 | #forward-button, | |
36 | #back-button:-moz-locale-dir(rtl) { | |
37 | -moz-image-region: rect(0px, 48px, 24px, 24px); | |
38 | } | |
39 | #forward-button:not([disabled="true"]):hover, | |
40 | #back-button:not([disabled="true"]):hover:-moz-locale-dir(rtl), | |
41 | #forward-button:not([disabled="true"]):hover:active, | |
42 | #back-button:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) { | |
43 | -moz-image-region: rect(24px, 48px, 48px, 24px); | |
44 | } | |
45 | #forward-button[disabled="true"], | |
46 | #back-button:-moz-locale-dir(rtl)[disabled="true"] { | |
47 | -moz-image-region: rect(48px, 48px, 72px, 24px) !important; | |
48 | } | |
49 | ||
50 | /* Menu */ | |
51 | #placesMenu { | |
52 | border: none; | |
53 | } | |
54 | ||
55 | #placesMenu > menu { | |
56 | padding-top: 4px; | |
57 | padding-bottom: 4px; | |
58 | } | |
59 | ||
60 | .menubar-startcap, | |
61 | .menubar-endcap { | |
62 | display: none; | |
63 | } | |
64 | ||
65 | #placesMenu > .toolbar-box > .toolbar-holder { | |
66 | background-color: transparent; | |
5968ec68 | 67 | -moz-padding-end: 0; |
b0dd5cca RK |
68 | } |
69 | ||
70 | /* organize, view and maintenance buttons icons */ | |
71 | #organizeButton, | |
72 | #viewMenu, | |
73 | #maintenanceButton { | |
74 | list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); | |
75 | } | |
76 | ||
77 | /* organize button */ | |
78 | #organizeButton { | |
79 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
80 | } | |
81 | #organizeButton:hover, | |
82 | #organizeButton[open="true"] { | |
83 | -moz-image-region: rect(16px, 16px, 32px, 0px); | |
84 | } | |
85 | ||
86 | /* view button */ | |
87 | #viewMenu { | |
88 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
89 | } | |
90 | #viewMenu:hover, | |
91 | #viewMenu[open="true"] { | |
92 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
93 | } | |
94 | ||
95 | /* maintenance button */ | |
96 | #maintenanceButton { | |
97 | -moz-image-region: rect(0px, 48px, 16px, 32px); | |
98 | } | |
99 | #maintenanceButton:hover, | |
100 | #maintenanceButton[open="true"] { | |
101 | -moz-image-region: rect(16px, 48px, 32px, 32px); | |
102 | } | |
103 | ||
104 | /* Root View */ | |
105 | #placesView { | |
106 | } | |
107 | ||
b0dd5cca RK |
108 | #placesList { |
109 | border: none; | |
110 | } | |
111 | ||
112 | /* Info box */ | |
113 | #detailsDeck { | |
114 | padding: 5px 0; | |
115 | } | |
116 | ||
117 | #infoBoxExpanderLabel { | |
118 | -moz-padding-start: 2px; | |
119 | } | |
5968ec68 RK |
120 | |
121 | /** | |
122 | * Downloads pane | |
123 | */ | |
124 | ||
125 | #clearDownloadsButton > .toolbarbutton-icon { | |
126 | display: none; | |
127 | } | |
128 | ||
129 | #clearDownloadsButton { | |
130 | padding: 0; | |
131 | border: none; | |
132 | height: 24px; /* match back/forward buttons */ | |
133 | border-radius: 0; | |
134 | -moz-padding-start: 5px; | |
135 | -moz-padding-end: 5px; | |
136 | } |