Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | %if 0 |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | %endif |
michael@0 | 6 | |
michael@0 | 7 | @import url("chrome://global/skin/"); |
michael@0 | 8 | |
michael@0 | 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 10 | @namespace html url("http://www.w3.org/1999/xhtml"); |
michael@0 | 11 | @namespace svg url("http://www.w3.org/2000/svg"); |
michael@0 | 12 | |
michael@0 | 13 | %include ../shared/browser.inc |
michael@0 | 14 | %include linuxShared.inc |
michael@0 | 15 | %filter substitution |
michael@0 | 16 | |
michael@0 | 17 | %define forwardTransitionLength 150ms |
michael@0 | 18 | %define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper |
michael@0 | 19 | %define conditionalForwardWithUrlbarWidth 30 |
michael@0 | 20 | |
michael@0 | 21 | #menubar-items { |
michael@0 | 22 | -moz-box-orient: vertical; /* for flex hack */ |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | #main-menubar { |
michael@0 | 26 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | #navigator-toolbox { |
michael@0 | 30 | -moz-appearance: none; |
michael@0 | 31 | background-color: transparent; |
michael@0 | 32 | border-top: none; |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | #navigator-toolbox::after { |
michael@0 | 36 | content: ""; |
michael@0 | 37 | display: -moz-box; |
michael@0 | 38 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ |
michael@0 | 39 | height: 1px; |
michael@0 | 40 | background-color: ThreeDShadow; |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | #navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) { |
michael@0 | 44 | -moz-appearance: none; |
michael@0 | 45 | border-style: none; |
michael@0 | 46 | background-color: -moz-Dialog; |
michael@0 | 47 | } |
michael@0 | 48 | |
michael@0 | 49 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) { |
michael@0 | 50 | padding-top: 1px; |
michael@0 | 51 | padding-bottom: 1px; |
michael@0 | 52 | } |
michael@0 | 53 | |
michael@0 | 54 | #TabsToolbar:not([collapsed="true"]) + #nav-bar { |
michael@0 | 55 | margin-top: -@tabToolbarNavbarOverlap@; /* Move up into the TabsToolbar */ |
michael@0 | 56 | /* Position the toolbar above the bottom of background tabs */ |
michael@0 | 57 | position: relative; |
michael@0 | 58 | z-index: 1; |
michael@0 | 59 | } |
michael@0 | 60 | |
michael@0 | 61 | #nav-bar { |
michael@0 | 62 | background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); |
michael@0 | 63 | box-shadow: 0 1px 0 @toolbarHighlight@ inset; |
michael@0 | 64 | padding-top: 2px; |
michael@0 | 65 | padding-bottom: 2px; |
michael@0 | 66 | } |
michael@0 | 67 | |
michael@0 | 68 | #nav-bar-overflow-button { |
michael@0 | 69 | -moz-image-region: rect(-5px, 12px, 11px, -4px); |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | /* This only has an effect when this element is placed on the bookmarks toolbar. |
michael@0 | 73 | * It's 30px to make sure buttons with 18px icons fit along with the default 16px |
michael@0 | 74 | * icons, without changing the size of the toolbar. |
michael@0 | 75 | */ |
michael@0 | 76 | #personal-bookmarks { |
michael@0 | 77 | min-height: 30px; |
michael@0 | 78 | } |
michael@0 | 79 | |
michael@0 | 80 | #browser-bottombox { |
michael@0 | 81 | /* opaque for layers optimization */ |
michael@0 | 82 | background-color: -moz-Dialog; |
michael@0 | 83 | } |
michael@0 | 84 | |
michael@0 | 85 | #urlbar:-moz-lwtheme:not([focused="true"]), |
michael@0 | 86 | .searchbar-textbox:-moz-lwtheme:not([focused="true"]) { |
michael@0 | 87 | opacity: .85; |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | /* Places toolbar */ |
michael@0 | 91 | toolbarbutton.bookmark-item:not(.subviewbutton), |
michael@0 | 92 | #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { |
michael@0 | 93 | margin: 0; |
michael@0 | 94 | padding: 2px 3px; |
michael@0 | 95 | } |
michael@0 | 96 | |
michael@0 | 97 | toolbarbutton.bookmark-item:not(.subviewbutton):hover:active, |
michael@0 | 98 | toolbarbutton.bookmark-item[open="true"] { |
michael@0 | 99 | padding-top: 3px; |
michael@0 | 100 | padding-bottom: 1px; |
michael@0 | 101 | -moz-padding-start: 4px; |
michael@0 | 102 | -moz-padding-end: 2px; |
michael@0 | 103 | } |
michael@0 | 104 | |
michael@0 | 105 | .bookmark-item:not(#home-button) > .toolbarbutton-icon, |
michael@0 | 106 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { |
michael@0 | 107 | width: 16px; |
michael@0 | 108 | height: 16px; |
michael@0 | 109 | } |
michael@0 | 110 | |
michael@0 | 111 | /* Force the display of the label for bookmarks */ |
michael@0 | 112 | .bookmark-item > .toolbarbutton-text, |
michael@0 | 113 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { |
michael@0 | 114 | display: -moz-box !important; |
michael@0 | 115 | } |
michael@0 | 116 | |
michael@0 | 117 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
michael@0 | 118 | display: none; |
michael@0 | 119 | } |
michael@0 | 120 | |
michael@0 | 121 | /* Dropmarker for folder bookmarks */ |
michael@0 | 122 | .bookmark-item[container] > .toolbarbutton-menu-dropmarker { |
michael@0 | 123 | display: -moz-box !important; |
michael@0 | 124 | } |
michael@0 | 125 | |
michael@0 | 126 | #bookmarks-toolbar-placeholder { |
michael@0 | 127 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; |
michael@0 | 128 | } |
michael@0 | 129 | |
michael@0 | 130 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, |
michael@0 | 131 | #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { |
michael@0 | 132 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; |
michael@0 | 133 | } |
michael@0 | 134 | |
michael@0 | 135 | /* ----- BOOKMARK STAR ANIMATION ----- */ |
michael@0 | 136 | |
michael@0 | 137 | @keyframes animation-bookmarkAdded { |
michael@0 | 138 | from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } |
michael@0 | 139 | 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } |
michael@0 | 140 | 80% { opacity: 1; } |
michael@0 | 141 | to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } |
michael@0 | 142 | } |
michael@0 | 143 | |
michael@0 | 144 | @keyframes animation-bookmarkPulse { |
michael@0 | 145 | from { transform: scale(1); } |
michael@0 | 146 | 50% { transform: scale(1.3); } |
michael@0 | 147 | to { transform: scale(1); } |
michael@0 | 148 | } |
michael@0 | 149 | |
michael@0 | 150 | #bookmarked-notification-container { |
michael@0 | 151 | min-height: 1px; |
michael@0 | 152 | min-width: 1px; |
michael@0 | 153 | height: 1px; |
michael@0 | 154 | margin-bottom: -1px; |
michael@0 | 155 | z-index: 5; |
michael@0 | 156 | position: relative; |
michael@0 | 157 | } |
michael@0 | 158 | |
michael@0 | 159 | #bookmarked-notification { |
michael@0 | 160 | background-size: 16px; |
michael@0 | 161 | background-position: center; |
michael@0 | 162 | background-repeat: no-repeat; |
michael@0 | 163 | width: 16px; |
michael@0 | 164 | height: 16px; |
michael@0 | 165 | opacity: 0; |
michael@0 | 166 | } |
michael@0 | 167 | |
michael@0 | 168 | #bookmarked-notification-dropmarker-anchor { |
michael@0 | 169 | z-index: -1; |
michael@0 | 170 | position: relative; |
michael@0 | 171 | } |
michael@0 | 172 | |
michael@0 | 173 | #bookmarked-notification-dropmarker-icon { |
michael@0 | 174 | width: 18px; |
michael@0 | 175 | height: 18px; |
michael@0 | 176 | visibility: hidden; |
michael@0 | 177 | } |
michael@0 | 178 | |
michael@0 | 179 | #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { |
michael@0 | 180 | background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); |
michael@0 | 181 | animation: animation-bookmarkAdded 800ms; |
michael@0 | 182 | animation-timing-function: ease, ease, ease; |
michael@0 | 183 | } |
michael@0 | 184 | |
michael@0 | 185 | #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
michael@0 | 186 | list-style-image: none !important; |
michael@0 | 187 | } |
michael@0 | 188 | |
michael@0 | 189 | #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { |
michael@0 | 190 | visibility: visible; |
michael@0 | 191 | animation: animation-bookmarkPulse 300ms; |
michael@0 | 192 | animation-delay: 600ms; |
michael@0 | 193 | animation-timing-function: ease-out; |
michael@0 | 194 | } |
michael@0 | 195 | |
michael@0 | 196 | /* Bookmark menus */ |
michael@0 | 197 | menu.bookmark-item, |
michael@0 | 198 | menuitem.bookmark-item { |
michael@0 | 199 | min-width: 0; |
michael@0 | 200 | max-width: 32em; |
michael@0 | 201 | } |
michael@0 | 202 | |
michael@0 | 203 | .bookmark-item:not(.subviewbutton) > .menu-iconic-left { |
michael@0 | 204 | margin-top: 0; |
michael@0 | 205 | margin-bottom: 0; |
michael@0 | 206 | } |
michael@0 | 207 | |
michael@0 | 208 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
michael@0 | 209 | -moz-padding-start: 0px; |
michael@0 | 210 | } |
michael@0 | 211 | |
michael@0 | 212 | /* Bookmark drag and drop styles */ |
michael@0 | 213 | .bookmark-item[dragover-into="true"] { |
michael@0 | 214 | background: Highlight !important; |
michael@0 | 215 | color: HighlightText !important; |
michael@0 | 216 | } |
michael@0 | 217 | |
michael@0 | 218 | /* rules for menupopup drop indicators */ |
michael@0 | 219 | .menupopup-drop-indicator-bar { |
michael@0 | 220 | position: relative; |
michael@0 | 221 | /* these two margins must together compensate the indicator's height */ |
michael@0 | 222 | margin-top: -1px; |
michael@0 | 223 | margin-bottom: -1px; |
michael@0 | 224 | } |
michael@0 | 225 | |
michael@0 | 226 | .menupopup-drop-indicator { |
michael@0 | 227 | list-style-image: none; |
michael@0 | 228 | height: 2px; |
michael@0 | 229 | -moz-margin-end: -4em; |
michael@0 | 230 | background-color: Highlight; |
michael@0 | 231 | } |
michael@0 | 232 | |
michael@0 | 233 | /* Bookmarks toolbar */ |
michael@0 | 234 | #PlacesToolbarDropIndicator { |
michael@0 | 235 | list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); |
michael@0 | 236 | } |
michael@0 | 237 | |
michael@0 | 238 | /* Bookmark items */ |
michael@0 | 239 | .bookmark-item { |
michael@0 | 240 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
michael@0 | 241 | } |
michael@0 | 242 | |
michael@0 | 243 | .bookmark-item[container] { |
michael@0 | 244 | list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); |
michael@0 | 245 | } |
michael@0 | 246 | |
michael@0 | 247 | .bookmark-item[container][livemark] { |
michael@0 | 248 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); |
michael@0 | 249 | } |
michael@0 | 250 | |
michael@0 | 251 | .bookmark-item[container][livemark] .bookmark-item { |
michael@0 | 252 | list-style-image: url("chrome://browser/skin/places/livemark-item.png"); |
michael@0 | 253 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
michael@0 | 254 | } |
michael@0 | 255 | |
michael@0 | 256 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
michael@0 | 257 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 258 | } |
michael@0 | 259 | |
michael@0 | 260 | .bookmark-item[container][query] { |
michael@0 | 261 | list-style-image: url("chrome://browser/skin/places/query.png"); |
michael@0 | 262 | } |
michael@0 | 263 | |
michael@0 | 264 | .bookmark-item[query][tagContainer] { |
michael@0 | 265 | list-style-image: url("chrome://browser/skin/places/tag.png"); |
michael@0 | 266 | } |
michael@0 | 267 | |
michael@0 | 268 | .bookmark-item[query][dayContainer] { |
michael@0 | 269 | list-style-image: url("chrome://browser/skin/places/calendar.png"); |
michael@0 | 270 | } |
michael@0 | 271 | |
michael@0 | 272 | .bookmark-item[query][hostContainer] { |
michael@0 | 273 | list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); |
michael@0 | 274 | } |
michael@0 | 275 | |
michael@0 | 276 | .bookmark-item[query][hostContainer][open] { |
michael@0 | 277 | list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); |
michael@0 | 278 | } |
michael@0 | 279 | |
michael@0 | 280 | .bookmark-item[cutting] > .toolbarbutton-icon, |
michael@0 | 281 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { |
michael@0 | 282 | opacity: 0.5; |
michael@0 | 283 | } |
michael@0 | 284 | |
michael@0 | 285 | .bookmark-item[cutting] > .toolbarbutton-text, |
michael@0 | 286 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { |
michael@0 | 287 | opacity: 0.7; |
michael@0 | 288 | } |
michael@0 | 289 | |
michael@0 | 290 | /* Stock icons for the menu bar items */ |
michael@0 | 291 | menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { |
michael@0 | 292 | -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); |
michael@0 | 293 | } |
michael@0 | 294 | |
michael@0 | 295 | #placesContext_open\:newwindow, |
michael@0 | 296 | #menu_newNavigator, |
michael@0 | 297 | #context-openlink, |
michael@0 | 298 | #context-openframe { |
michael@0 | 299 | list-style-image: url("chrome://browser/skin/Toolbar-small.png"); |
michael@0 | 300 | -moz-image-region: rect(0px 80px 16px 64px); |
michael@0 | 301 | } |
michael@0 | 302 | |
michael@0 | 303 | #placesContext_open\:newtab, |
michael@0 | 304 | #placesContext_openContainer\:tabs, |
michael@0 | 305 | #menu_newNavigatorTab, |
michael@0 | 306 | #context-openlinkintab, |
michael@0 | 307 | #context-openframeintab { |
michael@0 | 308 | list-style-image: url("chrome://browser/skin/Toolbar-small.png"); |
michael@0 | 309 | -moz-image-region: rect(0px 64px 16px 48px); |
michael@0 | 310 | } |
michael@0 | 311 | |
michael@0 | 312 | #menu_openFile { |
michael@0 | 313 | list-style-image: url("moz-icon://stock/gtk-open?size=menu"); |
michael@0 | 314 | } |
michael@0 | 315 | |
michael@0 | 316 | #menu_close { |
michael@0 | 317 | list-style-image: url("moz-icon://stock/gtk-close?size=menu"); |
michael@0 | 318 | } |
michael@0 | 319 | |
michael@0 | 320 | #context-media-play { |
michael@0 | 321 | list-style-image: url("moz-icon://stock/gtk-media-play?size=menu"); |
michael@0 | 322 | } |
michael@0 | 323 | |
michael@0 | 324 | #context-media-pause { |
michael@0 | 325 | list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu"); |
michael@0 | 326 | } |
michael@0 | 327 | |
michael@0 | 328 | #menu_savePage, |
michael@0 | 329 | #context-savelink, |
michael@0 | 330 | #context-saveimage, |
michael@0 | 331 | #context-savevideo, |
michael@0 | 332 | #context-saveaudio, |
michael@0 | 333 | #context-savepage, |
michael@0 | 334 | #context-saveframe { |
michael@0 | 335 | list-style-image: url("moz-icon://stock/gtk-save-as?size=menu"); |
michael@0 | 336 | } |
michael@0 | 337 | |
michael@0 | 338 | #menu_printPreview { |
michael@0 | 339 | list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu"); |
michael@0 | 340 | } |
michael@0 | 341 | |
michael@0 | 342 | #menu_print, |
michael@0 | 343 | #context-printframe { |
michael@0 | 344 | list-style-image: url("moz-icon://stock/gtk-print?size=menu"); |
michael@0 | 345 | } |
michael@0 | 346 | |
michael@0 | 347 | #menu_FileQuitItem { |
michael@0 | 348 | list-style-image: url("moz-icon://stock/gtk-quit?size=menu"); |
michael@0 | 349 | } |
michael@0 | 350 | |
michael@0 | 351 | #menu_undo, |
michael@0 | 352 | #context-undo { |
michael@0 | 353 | list-style-image: url("moz-icon://stock/gtk-undo?size=menu"); |
michael@0 | 354 | } |
michael@0 | 355 | |
michael@0 | 356 | #menu_undo[disabled], |
michael@0 | 357 | #context-undo[disabled] { |
michael@0 | 358 | list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled"); |
michael@0 | 359 | } |
michael@0 | 360 | |
michael@0 | 361 | #menu_redo { |
michael@0 | 362 | list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); |
michael@0 | 363 | } |
michael@0 | 364 | |
michael@0 | 365 | #menu_redo[disabled] { |
michael@0 | 366 | list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled"); |
michael@0 | 367 | } |
michael@0 | 368 | |
michael@0 | 369 | #menu_cut, |
michael@0 | 370 | #placesContext_cut, |
michael@0 | 371 | #context-cut { |
michael@0 | 372 | list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); |
michael@0 | 373 | } |
michael@0 | 374 | |
michael@0 | 375 | #menu_cut[disabled], |
michael@0 | 376 | #placesContext_cut[disabled], |
michael@0 | 377 | #context-cut[disabled] { |
michael@0 | 378 | list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); |
michael@0 | 379 | } |
michael@0 | 380 | |
michael@0 | 381 | #menu_copy, |
michael@0 | 382 | #placesContext_copy, |
michael@0 | 383 | #context-copy, |
michael@0 | 384 | #context-copyimage, |
michael@0 | 385 | #context-copyvideourl, |
michael@0 | 386 | #context-copyaudiourl, |
michael@0 | 387 | #context-copylink, |
michael@0 | 388 | #context-copyemail { |
michael@0 | 389 | list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); |
michael@0 | 390 | } |
michael@0 | 391 | |
michael@0 | 392 | #menu_copy[disabled], |
michael@0 | 393 | #placesContext_copy[disabled], |
michael@0 | 394 | #context-copy[disabled] { |
michael@0 | 395 | list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); |
michael@0 | 396 | } |
michael@0 | 397 | |
michael@0 | 398 | #menu_paste, |
michael@0 | 399 | #placesContext_paste, |
michael@0 | 400 | #context-paste { |
michael@0 | 401 | list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); |
michael@0 | 402 | } |
michael@0 | 403 | |
michael@0 | 404 | #menu_paste[disabled], |
michael@0 | 405 | #placesContext_paste[disabled], |
michael@0 | 406 | #context-paste[disabled] { |
michael@0 | 407 | list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); |
michael@0 | 408 | } |
michael@0 | 409 | |
michael@0 | 410 | #menu_delete, |
michael@0 | 411 | #placesContext_delete, |
michael@0 | 412 | #placesContext_delete_history, |
michael@0 | 413 | #context-delete { |
michael@0 | 414 | list-style-image: url("moz-icon://stock/gtk-delete?size=menu"); |
michael@0 | 415 | } |
michael@0 | 416 | |
michael@0 | 417 | #menu_delete[disabled], |
michael@0 | 418 | #placesContext_delete[disabled], |
michael@0 | 419 | #placesContext_delete_history[disabled], |
michael@0 | 420 | #context-delete[disabled] { |
michael@0 | 421 | list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled"); |
michael@0 | 422 | } |
michael@0 | 423 | |
michael@0 | 424 | #menu_selectAll, |
michael@0 | 425 | #context-selectall { |
michael@0 | 426 | list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); |
michael@0 | 427 | } |
michael@0 | 428 | |
michael@0 | 429 | #menu_find { |
michael@0 | 430 | list-style-image: url("moz-icon://stock/gtk-find?size=menu"); |
michael@0 | 431 | } |
michael@0 | 432 | |
michael@0 | 433 | #menu_find[disabled] { |
michael@0 | 434 | list-style-image: url("moz-icon://stock/gtk-find?size=menu&state=disabled"); |
michael@0 | 435 | } |
michael@0 | 436 | |
michael@0 | 437 | #menu_preferences { |
michael@0 | 438 | list-style-image: url("moz-icon://stock/gtk-preferences?size=menu"); |
michael@0 | 439 | } |
michael@0 | 440 | |
michael@0 | 441 | #context-stop { |
michael@0 | 442 | list-style-image: url("moz-icon://stock/gtk-stop?size=menu"); |
michael@0 | 443 | } |
michael@0 | 444 | |
michael@0 | 445 | #context-stop[disabled] { |
michael@0 | 446 | list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled"); |
michael@0 | 447 | } |
michael@0 | 448 | |
michael@0 | 449 | #placesContext_reload, |
michael@0 | 450 | #context-reload, |
michael@0 | 451 | #context-reloadframe { |
michael@0 | 452 | list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); |
michael@0 | 453 | } |
michael@0 | 454 | |
michael@0 | 455 | #context-reload[disabled] { |
michael@0 | 456 | list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled"); |
michael@0 | 457 | } |
michael@0 | 458 | |
michael@0 | 459 | #menu_zoomEnlarge { |
michael@0 | 460 | list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); |
michael@0 | 461 | } |
michael@0 | 462 | |
michael@0 | 463 | #menu_zoomReduce { |
michael@0 | 464 | list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); |
michael@0 | 465 | } |
michael@0 | 466 | |
michael@0 | 467 | #menu_zoomReset { |
michael@0 | 468 | list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu"); |
michael@0 | 469 | } |
michael@0 | 470 | |
michael@0 | 471 | #context-back { |
michael@0 | 472 | list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu"); |
michael@0 | 473 | } |
michael@0 | 474 | |
michael@0 | 475 | #context-back[disabled] { |
michael@0 | 476 | list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled"); |
michael@0 | 477 | } |
michael@0 | 478 | |
michael@0 | 479 | #context-back:-moz-locale-dir(rtl) { |
michael@0 | 480 | list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu"); |
michael@0 | 481 | } |
michael@0 | 482 | |
michael@0 | 483 | #context-back[disabled]:-moz-locale-dir(rtl) { |
michael@0 | 484 | list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled"); |
michael@0 | 485 | } |
michael@0 | 486 | |
michael@0 | 487 | #context-forward { |
michael@0 | 488 | list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu"); |
michael@0 | 489 | } |
michael@0 | 490 | |
michael@0 | 491 | #context-forward[disabled] { |
michael@0 | 492 | list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); |
michael@0 | 493 | } |
michael@0 | 494 | |
michael@0 | 495 | #context-forward:-moz-locale-dir(rtl) { |
michael@0 | 496 | list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu"); |
michael@0 | 497 | } |
michael@0 | 498 | |
michael@0 | 499 | #context-forward[disabled]:-moz-locale-dir(rtl) { |
michael@0 | 500 | list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); |
michael@0 | 501 | } |
michael@0 | 502 | |
michael@0 | 503 | #menu_showAllHistory { |
michael@0 | 504 | list-style-image: url("chrome://browser/skin/Toolbar-small.png"); |
michael@0 | 505 | -moz-image-region: rect(0px 32px 16px 16px); |
michael@0 | 506 | } |
michael@0 | 507 | |
michael@0 | 508 | #bookmarksShowAll { |
michael@0 | 509 | list-style-image: url("chrome://browser/skin/Toolbar-small.png"); |
michael@0 | 510 | -moz-image-region: rect(0px 48px 16px 32px); |
michael@0 | 511 | } |
michael@0 | 512 | |
michael@0 | 513 | #subscribeToPageMenuitem:not([disabled]), |
michael@0 | 514 | #subscribeToPageMenupopup, |
michael@0 | 515 | #BMB_subscribeToPageMenuitem:not([disabled]), |
michael@0 | 516 | #BMB_subscribeToPageMenupopup { |
michael@0 | 517 | list-style-image: url("chrome://browser/skin/page-livemarks.png"); |
michael@0 | 518 | } |
michael@0 | 519 | |
michael@0 | 520 | #bookmarksToolbarFolderMenu, |
michael@0 | 521 | #BMB_bookmarksToolbar, |
michael@0 | 522 | #panelMenu_bookmarksToolbar { |
michael@0 | 523 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); |
michael@0 | 524 | } |
michael@0 | 525 | |
michael@0 | 526 | #BMB_unsortedBookmarks, |
michael@0 | 527 | #panelMenu_unsortedBookmarks { |
michael@0 | 528 | list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); |
michael@0 | 529 | } |
michael@0 | 530 | |
michael@0 | 531 | #menu_openDownloads { |
michael@0 | 532 | list-style-image: url("chrome://browser/skin/Toolbar-small.png"); |
michael@0 | 533 | -moz-image-region: rect(0px 16px 16px 0px); |
michael@0 | 534 | } |
michael@0 | 535 | |
michael@0 | 536 | #menu_openAddons { |
michael@0 | 537 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); |
michael@0 | 538 | } |
michael@0 | 539 | |
michael@0 | 540 | #menu_pageInfo, |
michael@0 | 541 | #context-viewinfo, |
michael@0 | 542 | #context-viewframeinfo { |
michael@0 | 543 | list-style-image: url("moz-icon://stock/gtk-info?size=menu"); |
michael@0 | 544 | } |
michael@0 | 545 | |
michael@0 | 546 | #privateBrowsingItem { |
michael@0 | 547 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); |
michael@0 | 548 | } |
michael@0 | 549 | |
michael@0 | 550 | #placesContext_show\:info { |
michael@0 | 551 | list-style-image: url("moz-icon://stock/gtk-properties?size=menu"); |
michael@0 | 552 | } |
michael@0 | 553 | |
michael@0 | 554 | #sanitizeItem { |
michael@0 | 555 | list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); |
michael@0 | 556 | } |
michael@0 | 557 | |
michael@0 | 558 | #menu_openHelp { |
michael@0 | 559 | list-style-image: url("moz-icon://stock/gtk-help?size=menu"); |
michael@0 | 560 | } |
michael@0 | 561 | |
michael@0 | 562 | #aboutName { |
michael@0 | 563 | list-style-image: url("moz-icon://stock/gtk-about?size=menu"); |
michael@0 | 564 | } |
michael@0 | 565 | |
michael@0 | 566 | #javascriptConsole { |
michael@0 | 567 | list-style-image: url("chrome://global/skin/console/console.png"); |
michael@0 | 568 | } |
michael@0 | 569 | |
michael@0 | 570 | /* Primary toolbar buttons */ |
michael@0 | 571 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
michael@0 | 572 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 { |
michael@0 | 573 | -moz-appearance: none; |
michael@0 | 574 | } |
michael@0 | 575 | |
michael@0 | 576 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"], |
michael@0 | 577 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active { |
michael@0 | 578 | padding: 3px; |
michael@0 | 579 | } |
michael@0 | 580 | |
michael@0 | 581 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
michael@0 | 582 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
michael@0 | 583 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbarbutton-icon, |
michael@0 | 584 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon { |
michael@0 | 585 | -moz-margin-end: 0; |
michael@0 | 586 | padding: 2px 6px; |
michael@0 | 587 | border: 1px solid transparent; |
michael@0 | 588 | border-radius: 2px; |
michael@0 | 589 | transition-property: background-color, border-color; |
michael@0 | 590 | transition-duration: 150ms; |
michael@0 | 591 | } |
michael@0 | 592 | |
michael@0 | 593 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, |
michael@0 | 594 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container > .toolbarbutton-icon, |
michael@0 | 595 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
michael@0 | 596 | padding: 3px 7px; |
michael@0 | 597 | } |
michael@0 | 598 | |
michael@0 | 599 | toolbarbutton[type="badged"] > .toolbarbutton-badge-container > .toolbarbutton-icon, |
michael@0 | 600 | toolbarbutton[type="socialmark"] > .toolbarbutton-icon { |
michael@0 | 601 | max-width: 32px !important; |
michael@0 | 602 | } |
michael@0 | 603 | |
michael@0 | 604 | /* Help SDK icons fit: */ |
michael@0 | 605 | toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
michael@0 | 606 | width: 16px; |
michael@0 | 607 | } |
michael@0 | 608 | |
michael@0 | 609 | :-moz-any(#TabsToolbar, #nav-bar) toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
michael@0 | 610 | /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ |
michael@0 | 611 | width: 32px; |
michael@0 | 612 | } |
michael@0 | 613 | |
michael@0 | 614 | #nav-bar #PanelUI-menu-button { |
michael@0 | 615 | -moz-padding-start: 7px; |
michael@0 | 616 | -moz-padding-end: 5px; |
michael@0 | 617 | } |
michael@0 | 618 | |
michael@0 | 619 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
michael@0 | 620 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
michael@0 | 621 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
michael@0 | 622 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-badge-container > .toolbarbutton-icon, |
michael@0 | 623 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-icon { |
michael@0 | 624 | background-color: hsla(0,0%,100%,.3); |
michael@0 | 625 | background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.2)); |
michael@0 | 626 | border: 1px solid rgb(154,154,154); |
michael@0 | 627 | box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, |
michael@0 | 628 | 0 0 0 1px hsla(0,0%,100%,.2) inset, |
michael@0 | 629 | 0 1px 0 hsla(0,0%,0%,.03); |
michael@0 | 630 | } |
michael@0 | 631 | |
michael@0 | 632 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
michael@0 | 633 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
michael@0 | 634 | margin-top: 4px; |
michael@0 | 635 | margin-bottom: 4px; |
michael@0 | 636 | } |
michael@0 | 637 | |
michael@0 | 638 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open="true"]) > .toolbarbutton-icon, |
michael@0 | 639 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, |
michael@0 | 640 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container > .toolbarbutton-icon, |
michael@0 | 641 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon { |
michael@0 | 642 | background-color: rgba(154,154,154,.5); |
michael@0 | 643 | background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4)); |
michael@0 | 644 | border: 1px solid rgb(154,154,154); |
michael@0 | 645 | box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, |
michael@0 | 646 | 0 0 1px hsla(0,0%,0%,.3) inset; |
michael@0 | 647 | transition-duration: 10ms; |
michael@0 | 648 | } |
michael@0 | 649 | |
michael@0 | 650 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon { |
michael@0 | 651 | background-color: rgba(90%,90%,90%,.4); |
michael@0 | 652 | transition: background-color 150ms; |
michael@0 | 653 | } |
michael@0 | 654 | |
michael@0 | 655 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button[open], |
michael@0 | 656 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:hover:active, |
michael@0 | 657 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active { |
michael@0 | 658 | padding: 3px; |
michael@0 | 659 | } |
michael@0 | 660 | |
michael@0 | 661 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { |
michael@0 | 662 | content: ""; |
michael@0 | 663 | display: -moz-box; |
michael@0 | 664 | width: 1px; |
michael@0 | 665 | height: 18px; |
michael@0 | 666 | -moz-margin-end: -1px; |
michael@0 | 667 | background-image: linear-gradient(hsla(210,54%,20%,.2) 0, hsla(210,54%,20%,.2) 18px); |
michael@0 | 668 | background-clip: padding-box; |
michael@0 | 669 | background-position: center; |
michael@0 | 670 | background-repeat: no-repeat; |
michael@0 | 671 | background-size: 1px 18px; |
michael@0 | 672 | box-shadow: 0 0 0 1px hsla(0,0%,100%,.2); |
michael@0 | 673 | } |
michael@0 | 674 | |
michael@0 | 675 | :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
michael@0 | 676 | -moz-margin-start: -4px; |
michael@0 | 677 | margin-top: 3px; |
michael@0 | 678 | margin-bottom: 3px; |
michael@0 | 679 | } |
michael@0 | 680 | |
michael@0 | 681 | #back-button { |
michael@0 | 682 | padding-top: 3px; |
michael@0 | 683 | padding-bottom: 3px; |
michael@0 | 684 | -moz-padding-start: 5px; |
michael@0 | 685 | -moz-padding-end: 0; |
michael@0 | 686 | position: relative; |
michael@0 | 687 | z-index: 1; |
michael@0 | 688 | border-radius: 0 10000px 10000px 0; |
michael@0 | 689 | } |
michael@0 | 690 | |
michael@0 | 691 | #back-button:-moz-locale-dir(rtl) { |
michael@0 | 692 | border-radius: 10000px 0 0 10000px; |
michael@0 | 693 | } |
michael@0 | 694 | |
michael@0 | 695 | #back-button > menupopup { |
michael@0 | 696 | margin-top: -1px; |
michael@0 | 697 | } |
michael@0 | 698 | |
michael@0 | 699 | #back-button > .toolbarbutton-icon { |
michael@0 | 700 | border-radius: 10000px; |
michael@0 | 701 | background-clip: padding-box; |
michael@0 | 702 | padding: 6px; |
michael@0 | 703 | border: none; |
michael@0 | 704 | box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, |
michael@0 | 705 | 0 0 0 1px hsla(0,0%,100%,.3) inset, |
michael@0 | 706 | 0 0 0 1px hsla(210,54%,20%,.25), |
michael@0 | 707 | 0 1px 0 hsla(210,54%,20%,.35); |
michael@0 | 708 | background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1)); |
michael@0 | 709 | transition-property: background-color, box-shadow; |
michael@0 | 710 | transition-duration: 250ms; |
michael@0 | 711 | } |
michael@0 | 712 | |
michael@0 | 713 | #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { |
michael@0 | 714 | background-color: hsla(210,48%,96%,.75); |
michael@0 | 715 | box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, |
michael@0 | 716 | 0 0 0 1px hsla(0,0%,100%,.3) inset, |
michael@0 | 717 | 0 0 0 1px hsla(210,54%,20%,.3), |
michael@0 | 718 | 0 1px 0 hsla(210,54%,20%,.4), |
michael@0 | 719 | 0 0 4px hsla(210,54%,20%,.2); |
michael@0 | 720 | } |
michael@0 | 721 | |
michael@0 | 722 | #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, |
michael@0 | 723 | #back-button[open="true"] > .toolbarbutton-icon { |
michael@0 | 724 | background-color: hsla(210,54%,20%,.15); |
michael@0 | 725 | box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset, |
michael@0 | 726 | 0 0 1px hsla(210,54%,20%,.2) inset, |
michael@0 | 727 | 0 0 0 1px hsla(210,54%,20%,.4), |
michael@0 | 728 | 0 1px 0 hsla(210,54%,20%,.2); |
michael@0 | 729 | transition: none; |
michael@0 | 730 | } |
michael@0 | 731 | |
michael@0 | 732 | #main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon { |
michael@0 | 733 | box-shadow: 0 0 0 1px hsla(210,54%,20%,.55), |
michael@0 | 734 | 0 1px 0 hsla(210,54%,20%,.65) !important; |
michael@0 | 735 | transition: none; |
michael@0 | 736 | } |
michael@0 | 737 | |
michael@0 | 738 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
michael@0 | 739 | transform: scaleX(-1); |
michael@0 | 740 | } |
michael@0 | 741 | |
michael@0 | 742 | #forward-button { |
michael@0 | 743 | -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ |
michael@0 | 744 | padding: 0; |
michael@0 | 745 | } |
michael@0 | 746 | |
michael@0 | 747 | #forward-button > .toolbarbutton-icon { |
michael@0 | 748 | background-clip: padding-box; |
michael@0 | 749 | padding-left: 9px; |
michael@0 | 750 | padding-right: 3px; |
michael@0 | 751 | border: 1px solid #9a9a9a; |
michael@0 | 752 | border-left-style: none; |
michael@0 | 753 | border-radius: 0; |
michael@0 | 754 | } |
michael@0 | 755 | |
michael@0 | 756 | @conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { |
michael@0 | 757 | transition: margin-left @forwardTransitionLength@ ease-out; |
michael@0 | 758 | } |
michael@0 | 759 | |
michael@0 | 760 | @conditionalForwardWithUrlbar@ > #forward-button[disabled] { |
michael@0 | 761 | margin-left: -@conditionalForwardWithUrlbarWidth@px; |
michael@0 | 762 | } |
michael@0 | 763 | |
michael@0 | 764 | @conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] { |
michael@0 | 765 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
michael@0 | 766 | transition-delay: 100s; |
michael@0 | 767 | } |
michael@0 | 768 | |
michael@0 | 769 | @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] { |
michael@0 | 770 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
michael@0 | 771 | margin-left: -@conditionalForwardWithUrlbarWidth@.01px; |
michael@0 | 772 | } |
michael@0 | 773 | |
michael@0 | 774 | /* tabview menu item */ |
michael@0 | 775 | |
michael@0 | 776 | #menu_tabview { |
michael@0 | 777 | list-style-image: url(chrome://browser/skin/tabview/tabview.png); |
michael@0 | 778 | -moz-image-region: rect(0, 80px, 16px, 64px); |
michael@0 | 779 | } |
michael@0 | 780 | |
michael@0 | 781 | #menu_tabview[groups="0"] { |
michael@0 | 782 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 783 | } |
michael@0 | 784 | |
michael@0 | 785 | #menu_tabview[groups="1"] { |
michael@0 | 786 | -moz-image-region: rect(0, 32px, 16px, 16px); |
michael@0 | 787 | } |
michael@0 | 788 | |
michael@0 | 789 | #menu_tabview[groups="2"] { |
michael@0 | 790 | -moz-image-region: rect(0, 48px, 16px, 32px); |
michael@0 | 791 | } |
michael@0 | 792 | |
michael@0 | 793 | #menu_tabview[groups="3"] { |
michael@0 | 794 | -moz-image-region: rect(0, 64px, 16px, 48px); |
michael@0 | 795 | } |
michael@0 | 796 | |
michael@0 | 797 | #bookmarks-button { |
michael@0 | 798 | -moz-image-region: rect(0px 72px 24px 48px); |
michael@0 | 799 | } |
michael@0 | 800 | |
michael@0 | 801 | #new-tab-button { |
michael@0 | 802 | -moz-image-region: rect(0px 96px 24px 72px); |
michael@0 | 803 | } |
michael@0 | 804 | |
michael@0 | 805 | #new-window-button { |
michael@0 | 806 | -moz-image-region: rect(0px 120px 24px 96px); |
michael@0 | 807 | } |
michael@0 | 808 | |
michael@0 | 809 | #sync-button { |
michael@0 | 810 | -moz-image-region: rect(0px 144px 24px 120px); |
michael@0 | 811 | } |
michael@0 | 812 | #sync-button[cui-areatype="toolbar"][status="active"] { |
michael@0 | 813 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); |
michael@0 | 814 | -moz-image-region: rect(0px 18px 18px 0px); |
michael@0 | 815 | } |
michael@0 | 816 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
michael@0 | 817 | list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); |
michael@0 | 818 | -moz-image-region: rect(0px 32px 32px 0px); |
michael@0 | 819 | } |
michael@0 | 820 | |
michael@0 | 821 | #feed-button { |
michael@0 | 822 | -moz-image-region: rect(0px 168px 24px 144px); |
michael@0 | 823 | } |
michael@0 | 824 | |
michael@0 | 825 | #feed-button[disabled] > .toolbarbutton-icon { |
michael@0 | 826 | opacity: .4; |
michael@0 | 827 | } |
michael@0 | 828 | |
michael@0 | 829 | #webrtc-status-button { |
michael@0 | 830 | -moz-image-region: rect(0px 192px 24px 168px); |
michael@0 | 831 | } |
michael@0 | 832 | |
michael@0 | 833 | .unified-nav-back[_moz-menuactive] { |
michael@0 | 834 | list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important; |
michael@0 | 835 | } |
michael@0 | 836 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { |
michael@0 | 837 | list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important; |
michael@0 | 838 | } |
michael@0 | 839 | .unified-nav-forward[_moz-menuactive] { |
michael@0 | 840 | list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important; |
michael@0 | 841 | } |
michael@0 | 842 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { |
michael@0 | 843 | list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important; |
michael@0 | 844 | } |
michael@0 | 845 | |
michael@0 | 846 | /* Menu panel buttons */ |
michael@0 | 847 | |
michael@0 | 848 | %include ../shared/toolbarbuttons.inc.css |
michael@0 | 849 | %include ../shared/menupanel.inc.css |
michael@0 | 850 | |
michael@0 | 851 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, |
michael@0 | 852 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, |
michael@0 | 853 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, |
michael@0 | 854 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
michael@0 | 855 | #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { |
michael@0 | 856 | opacity: 0.4; |
michael@0 | 857 | } |
michael@0 | 858 | |
michael@0 | 859 | /* Fullscreen window controls */ |
michael@0 | 860 | #window-controls { |
michael@0 | 861 | -moz-box-align: start; |
michael@0 | 862 | -moz-margin-start: 10px; |
michael@0 | 863 | } |
michael@0 | 864 | |
michael@0 | 865 | #minimize-button { |
michael@0 | 866 | list-style-image: url("chrome://global/skin/icons/Minimize.gif"); |
michael@0 | 867 | } |
michael@0 | 868 | #restore-button { |
michael@0 | 869 | list-style-image: url("chrome://global/skin/icons/Restore.gif"); |
michael@0 | 870 | } |
michael@0 | 871 | #close-button { |
michael@0 | 872 | list-style-image: url("chrome://global/skin/icons/Close.gif"); |
michael@0 | 873 | } |
michael@0 | 874 | |
michael@0 | 875 | /* Location bar */ |
michael@0 | 876 | #urlbar, |
michael@0 | 877 | .searchbar-textbox { |
michael@0 | 878 | -moz-appearance: none; |
michael@0 | 879 | padding: 1px; |
michael@0 | 880 | border: 1px solid ThreeDShadow; |
michael@0 | 881 | border-radius: 2px; |
michael@0 | 882 | margin: 0 3px; |
michael@0 | 883 | } |
michael@0 | 884 | |
michael@0 | 885 | #urlbar[focused], |
michael@0 | 886 | .searchbar-textbox[focused] { |
michael@0 | 887 | border-color: Highlight; |
michael@0 | 888 | } |
michael@0 | 889 | |
michael@0 | 890 | #urlbar { |
michael@0 | 891 | background-color: -moz-field; |
michael@0 | 892 | } |
michael@0 | 893 | |
michael@0 | 894 | .urlbar-textbox-container { |
michael@0 | 895 | -moz-appearance: none; |
michael@0 | 896 | -moz-box-align: stretch; |
michael@0 | 897 | } |
michael@0 | 898 | |
michael@0 | 899 | .urlbar-input-box { |
michael@0 | 900 | -moz-margin-start: 0; |
michael@0 | 901 | } |
michael@0 | 902 | |
michael@0 | 903 | .urlbar-history-dropmarker { |
michael@0 | 904 | -moz-appearance: toolbarbutton-dropdown; |
michael@0 | 905 | } |
michael@0 | 906 | |
michael@0 | 907 | #urlbar-container { |
michael@0 | 908 | -moz-box-align: center; |
michael@0 | 909 | } |
michael@0 | 910 | |
michael@0 | 911 | @conditionalForwardWithUrlbar@ > #urlbar { |
michael@0 | 912 | -moz-border-start: none; |
michael@0 | 913 | margin-left: 0; |
michael@0 | 914 | } |
michael@0 | 915 | |
michael@0 | 916 | @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) { |
michael@0 | 917 | border-top-left-radius: 0; |
michael@0 | 918 | border-bottom-left-radius: 0; |
michael@0 | 919 | } |
michael@0 | 920 | |
michael@0 | 921 | @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { |
michael@0 | 922 | border-top-right-radius: 0; |
michael@0 | 923 | border-bottom-right-radius: 0; |
michael@0 | 924 | } |
michael@0 | 925 | |
michael@0 | 926 | @conditionalForwardWithUrlbar@ { |
michael@0 | 927 | clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path"); |
michael@0 | 928 | -moz-margin-start: -5px; |
michael@0 | 929 | } |
michael@0 | 930 | |
michael@0 | 931 | @conditionalForwardWithUrlbar@:-moz-locale-dir(rtl), |
michael@0 | 932 | @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { |
michael@0 | 933 | /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
michael@0 | 934 | transform: scaleX(-1); |
michael@0 | 935 | } |
michael@0 | 936 | |
michael@0 | 937 | @conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) { |
michael@0 | 938 | -moz-box-direction: reverse; |
michael@0 | 939 | } |
michael@0 | 940 | |
michael@0 | 941 | #urlbar-icons { |
michael@0 | 942 | -moz-box-align: center; |
michael@0 | 943 | } |
michael@0 | 944 | |
michael@0 | 945 | .urlbar-icon { |
michael@0 | 946 | cursor: pointer; |
michael@0 | 947 | padding: 0 3px; |
michael@0 | 948 | } |
michael@0 | 949 | |
michael@0 | 950 | #urlbar-search-splitter { |
michael@0 | 951 | -moz-appearance: none; |
michael@0 | 952 | width: 8px; |
michael@0 | 953 | -moz-margin-start: -4px; |
michael@0 | 954 | } |
michael@0 | 955 | |
michael@0 | 956 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
michael@0 | 957 | -moz-margin-start: 0; |
michael@0 | 958 | } |
michael@0 | 959 | |
michael@0 | 960 | #urlbar-display-box { |
michael@0 | 961 | margin-top: -1px; |
michael@0 | 962 | margin-bottom: -1px; |
michael@0 | 963 | -moz-border-end: 1px solid #AAA; |
michael@0 | 964 | -moz-margin-end: 3px; |
michael@0 | 965 | } |
michael@0 | 966 | |
michael@0 | 967 | #urlbar-display { |
michael@0 | 968 | margin-top: 0; |
michael@0 | 969 | margin-bottom: 0; |
michael@0 | 970 | -moz-margin-start: 0; |
michael@0 | 971 | color: GrayText; |
michael@0 | 972 | } |
michael@0 | 973 | |
michael@0 | 974 | #search-container { |
michael@0 | 975 | min-width: calc(54px + 11ch); |
michael@0 | 976 | } |
michael@0 | 977 | |
michael@0 | 978 | /* identity box */ |
michael@0 | 979 | |
michael@0 | 980 | #identity-box { |
michael@0 | 981 | padding: 1px; |
michael@0 | 982 | font-size: .9em; |
michael@0 | 983 | } |
michael@0 | 984 | |
michael@0 | 985 | #identity-box:-moz-locale-dir(ltr) { |
michael@0 | 986 | border-top-left-radius: 1.5px; |
michael@0 | 987 | border-bottom-left-radius: 1.5px; |
michael@0 | 988 | } |
michael@0 | 989 | |
michael@0 | 990 | #identity-box:-moz-locale-dir(rtl) { |
michael@0 | 991 | border-top-right-radius: 1.5px; |
michael@0 | 992 | border-bottom-right-radius: 1.5px; |
michael@0 | 993 | } |
michael@0 | 994 | |
michael@0 | 995 | #notification-popup-box:not([hidden]) + #identity-box { |
michael@0 | 996 | -moz-padding-start: 10px; |
michael@0 | 997 | border-radius: 0; |
michael@0 | 998 | } |
michael@0 | 999 | |
michael@0 | 1000 | @conditionalForwardWithUrlbar@ > #urlbar > #identity-box { |
michael@0 | 1001 | border-radius: 0; |
michael@0 | 1002 | } |
michael@0 | 1003 | |
michael@0 | 1004 | @conditionalForwardWithUrlbar@:not([switchingtabs]) > #urlbar > #identity-box { |
michael@0 | 1005 | transition: padding-left, padding-right; |
michael@0 | 1006 | } |
michael@0 | 1007 | |
michael@0 | 1008 | @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
michael@0 | 1009 | padding-left: 5px; |
michael@0 | 1010 | } |
michael@0 | 1011 | |
michael@0 | 1012 | @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
michael@0 | 1013 | padding-right: 5px; |
michael@0 | 1014 | } |
michael@0 | 1015 | |
michael@0 | 1016 | @conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box { |
michael@0 | 1017 | /* forward button hiding is delayed when hovered */ |
michael@0 | 1018 | transition-delay: 100s; |
michael@0 | 1019 | } |
michael@0 | 1020 | |
michael@0 | 1021 | @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
michael@0 | 1022 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
michael@0 | 1023 | padding-left: 5.01px; |
michael@0 | 1024 | } |
michael@0 | 1025 | |
michael@0 | 1026 | @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
michael@0 | 1027 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
michael@0 | 1028 | padding-right: 5.01px; |
michael@0 | 1029 | } |
michael@0 | 1030 | |
michael@0 | 1031 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
michael@0 | 1032 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
michael@0 | 1033 | -moz-margin-end: 4px; |
michael@0 | 1034 | } |
michael@0 | 1035 | |
michael@0 | 1036 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
michael@0 | 1037 | background-color: #fff; |
michael@0 | 1038 | } |
michael@0 | 1039 | |
michael@0 | 1040 | #identity-box:-moz-focusring { |
michael@0 | 1041 | outline: 1px dotted #000; |
michael@0 | 1042 | outline-offset: -3px; |
michael@0 | 1043 | } |
michael@0 | 1044 | |
michael@0 | 1045 | #identity-icon-labels { |
michael@0 | 1046 | -moz-padding-start: 2px; |
michael@0 | 1047 | -moz-padding-end: 5px; |
michael@0 | 1048 | } |
michael@0 | 1049 | |
michael@0 | 1050 | %include ../shared/identity-block.inc.css |
michael@0 | 1051 | |
michael@0 | 1052 | #page-proxy-favicon { |
michael@0 | 1053 | margin-top: 1px; |
michael@0 | 1054 | margin-bottom: 1px; |
michael@0 | 1055 | -moz-margin-start: 3px; |
michael@0 | 1056 | -moz-margin-end: 1px; |
michael@0 | 1057 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 1058 | } |
michael@0 | 1059 | |
michael@0 | 1060 | #identity-box:hover > #page-proxy-favicon { |
michael@0 | 1061 | -moz-image-region: rect(0, 32px, 16px, 16px); |
michael@0 | 1062 | } |
michael@0 | 1063 | |
michael@0 | 1064 | #identity-box:hover:active > #page-proxy-favicon, |
michael@0 | 1065 | #identity-box[open=true] > #page-proxy-favicon { |
michael@0 | 1066 | -moz-image-region: rect(0, 48px, 16px, 32px); |
michael@0 | 1067 | } |
michael@0 | 1068 | |
michael@0 | 1069 | /* Identity popup icons */ |
michael@0 | 1070 | #identity-popup-icon { |
michael@0 | 1071 | height: 64px; |
michael@0 | 1072 | width: 64px; |
michael@0 | 1073 | padding: 0; |
michael@0 | 1074 | list-style-image: url("chrome://browser/skin/identity.png"); |
michael@0 | 1075 | -moz-image-region: rect(0px, 64px, 64px, 0px); |
michael@0 | 1076 | } |
michael@0 | 1077 | |
michael@0 | 1078 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { |
michael@0 | 1079 | -moz-image-region: rect(64px, 64px, 128px, 0px); |
michael@0 | 1080 | } |
michael@0 | 1081 | |
michael@0 | 1082 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { |
michael@0 | 1083 | -moz-image-region: rect(128px, 64px, 192px, 0px); |
michael@0 | 1084 | } |
michael@0 | 1085 | |
michael@0 | 1086 | /* Identity popup body text */ |
michael@0 | 1087 | .identity-popup-description { |
michael@0 | 1088 | white-space: pre-wrap; |
michael@0 | 1089 | -moz-padding-start: 15px; |
michael@0 | 1090 | margin: 2px 0 4px; |
michael@0 | 1091 | } |
michael@0 | 1092 | |
michael@0 | 1093 | .identity-popup-label { |
michael@0 | 1094 | white-space: pre-wrap; |
michael@0 | 1095 | -moz-padding-start: 15px; |
michael@0 | 1096 | margin: 0; |
michael@0 | 1097 | } |
michael@0 | 1098 | |
michael@0 | 1099 | #identity-popup-content-host , |
michael@0 | 1100 | #identity-popup-content-owner { |
michael@0 | 1101 | font-weight: bold; |
michael@0 | 1102 | max-width: 300px; |
michael@0 | 1103 | } |
michael@0 | 1104 | |
michael@0 | 1105 | #identity-popup-content-host , |
michael@0 | 1106 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
michael@0 | 1107 | font-size: 140%; |
michael@0 | 1108 | } |
michael@0 | 1109 | |
michael@0 | 1110 | #identity-popup-content-owner { |
michael@0 | 1111 | margin-bottom: 0 !important; |
michael@0 | 1112 | } |
michael@0 | 1113 | |
michael@0 | 1114 | #identity-popup-content-verifier { |
michael@0 | 1115 | margin: 4px 0 2px; |
michael@0 | 1116 | } |
michael@0 | 1117 | |
michael@0 | 1118 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
michael@0 | 1119 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { |
michael@0 | 1120 | margin-top: 10px; |
michael@0 | 1121 | -moz-margin-start: -18px; |
michael@0 | 1122 | } |
michael@0 | 1123 | |
michael@0 | 1124 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
michael@0 | 1125 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { |
michael@0 | 1126 | list-style-image: url("chrome://browser/skin/Secure.png"); |
michael@0 | 1127 | } |
michael@0 | 1128 | |
michael@0 | 1129 | #identity-popup-help-icon { |
michael@0 | 1130 | -moz-appearance: none; |
michael@0 | 1131 | margin-left: 0px; |
michael@0 | 1132 | border: none; |
michael@0 | 1133 | background: none; |
michael@0 | 1134 | min-width: 0; |
michael@0 | 1135 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
michael@0 | 1136 | cursor: pointer; |
michael@0 | 1137 | } |
michael@0 | 1138 | |
michael@0 | 1139 | #identity-popup-help-icon > .button-box > .button-text { |
michael@0 | 1140 | display: none; |
michael@0 | 1141 | } |
michael@0 | 1142 | |
michael@0 | 1143 | #identity-popup-help-icon > .button-box > .button-icon { |
michael@0 | 1144 | height: 16px; |
michael@0 | 1145 | width: 16px; |
michael@0 | 1146 | } |
michael@0 | 1147 | |
michael@0 | 1148 | #identity-popup-help-icon:-moz-focusring { |
michael@0 | 1149 | outline: 1px dotted; |
michael@0 | 1150 | outline-offset: 1px; |
michael@0 | 1151 | } |
michael@0 | 1152 | |
michael@0 | 1153 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
michael@0 | 1154 | padding: 0; |
michael@0 | 1155 | } |
michael@0 | 1156 | |
michael@0 | 1157 | #identity-popup-container { |
michael@0 | 1158 | min-width: 280px; |
michael@0 | 1159 | padding: 10px; |
michael@0 | 1160 | } |
michael@0 | 1161 | |
michael@0 | 1162 | #identity-popup-button-container { |
michael@0 | 1163 | background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent); |
michael@0 | 1164 | padding: 10px; |
michael@0 | 1165 | margin-top: 5px; |
michael@0 | 1166 | } |
michael@0 | 1167 | |
michael@0 | 1168 | /* Notification popup */ |
michael@0 | 1169 | #notification-popup { |
michael@0 | 1170 | min-width: 280px; |
michael@0 | 1171 | } |
michael@0 | 1172 | |
michael@0 | 1173 | .popup-notification-icon { |
michael@0 | 1174 | width: 64px; |
michael@0 | 1175 | height: 64px; |
michael@0 | 1176 | -moz-margin-end: 10px; |
michael@0 | 1177 | } |
michael@0 | 1178 | |
michael@0 | 1179 | .popup-notification-icon[popupid="geolocation"] { |
michael@0 | 1180 | list-style-image: url(chrome://browser/skin/Geolocation-64.png); |
michael@0 | 1181 | } |
michael@0 | 1182 | |
michael@0 | 1183 | .popup-notification-icon[popupid="xpinstall-disabled"], |
michael@0 | 1184 | .popup-notification-icon[popupid="addon-progress"], |
michael@0 | 1185 | .popup-notification-icon[popupid="addon-install-cancelled"], |
michael@0 | 1186 | .popup-notification-icon[popupid="addon-install-blocked"], |
michael@0 | 1187 | .popup-notification-icon[popupid="addon-install-failed"], |
michael@0 | 1188 | .popup-notification-icon[popupid="addon-install-complete"] { |
michael@0 | 1189 | list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); |
michael@0 | 1190 | width: 32px; |
michael@0 | 1191 | height: 32px; |
michael@0 | 1192 | } |
michael@0 | 1193 | |
michael@0 | 1194 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
michael@0 | 1195 | list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); |
michael@0 | 1196 | } |
michael@0 | 1197 | |
michael@0 | 1198 | .popup-notification-icon[popupid="plugins-not-found"] { |
michael@0 | 1199 | list-style-image: url(chrome://browser/skin/pluginInstall-64.png); |
michael@0 | 1200 | } |
michael@0 | 1201 | |
michael@0 | 1202 | .popup-notification-icon[popupid="web-notifications"] { |
michael@0 | 1203 | list-style-image: url(chrome://browser/skin/notification-64.png); |
michael@0 | 1204 | } |
michael@0 | 1205 | |
michael@0 | 1206 | .addon-progress-description { |
michael@0 | 1207 | width: 350px; |
michael@0 | 1208 | max-width: 350px; |
michael@0 | 1209 | } |
michael@0 | 1210 | |
michael@0 | 1211 | .popup-progress-label, |
michael@0 | 1212 | .popup-progress-meter { |
michael@0 | 1213 | -moz-margin-start: 0; |
michael@0 | 1214 | -moz-margin-end: 0; |
michael@0 | 1215 | } |
michael@0 | 1216 | |
michael@0 | 1217 | .popup-progress-cancel { |
michael@0 | 1218 | -moz-appearance: none; |
michael@0 | 1219 | background: transparent; |
michael@0 | 1220 | border: none; |
michael@0 | 1221 | padding: 0; |
michael@0 | 1222 | margin: 0; |
michael@0 | 1223 | -moz-margin-start: 5px; |
michael@0 | 1224 | min-height: 0; |
michael@0 | 1225 | min-width: 0; |
michael@0 | 1226 | list-style-image: url("moz-icon://stock/gtk-cancel?size=menu"); |
michael@0 | 1227 | } |
michael@0 | 1228 | |
michael@0 | 1229 | .popup-notification-icon[popupid="canvas-permissions-prompt"] { |
michael@0 | 1230 | list-style-image: url(chrome://browser/skin/canvas-popup.svg); |
michael@0 | 1231 | } |
michael@0 | 1232 | |
michael@0 | 1233 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
michael@0 | 1234 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
michael@0 | 1235 | .popup-notification-icon[popupid*="offline-app-requested"], |
michael@0 | 1236 | .popup-notification-icon[popupid="offline-app-usage"] { |
michael@0 | 1237 | list-style-image: url(chrome://global/skin/icons/question-64.png); |
michael@0 | 1238 | } |
michael@0 | 1239 | |
michael@0 | 1240 | .popup-notification-icon[popupid="password-save"], |
michael@0 | 1241 | .popup-notification-icon[popupid="password-change"] { |
michael@0 | 1242 | list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); |
michael@0 | 1243 | } |
michael@0 | 1244 | |
michael@0 | 1245 | .popup-notification-icon[popupid="webapps-install-progress"], |
michael@0 | 1246 | .popup-notification-icon[popupid="webapps-install"] { |
michael@0 | 1247 | list-style-image: url(chrome://global/skin/icons/webapps-64.png); |
michael@0 | 1248 | } |
michael@0 | 1249 | |
michael@0 | 1250 | .popup-notification-icon[popupid="mixed-content-blocked"] { |
michael@0 | 1251 | list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); |
michael@0 | 1252 | } |
michael@0 | 1253 | |
michael@0 | 1254 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
michael@0 | 1255 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
michael@0 | 1256 | list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); |
michael@0 | 1257 | } |
michael@0 | 1258 | |
michael@0 | 1259 | .popup-notification-icon[popupid="webRTC-sharingMicrophone"], |
michael@0 | 1260 | .popup-notification-icon[popupid="webRTC-shareMicrophone"] { |
michael@0 | 1261 | list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64.png); |
michael@0 | 1262 | } |
michael@0 | 1263 | |
michael@0 | 1264 | .popup-notification-icon[popupid="pointerLock"] { |
michael@0 | 1265 | list-style-image: url(chrome://browser/skin/pointerLock-64.png); |
michael@0 | 1266 | } |
michael@0 | 1267 | |
michael@0 | 1268 | /* Notification icon box */ |
michael@0 | 1269 | #notification-popup-box { |
michael@0 | 1270 | position: relative; |
michael@0 | 1271 | background-color: #fff; |
michael@0 | 1272 | background-clip: padding-box; |
michael@0 | 1273 | padding-left: 3px; |
michael@0 | 1274 | border-radius: 2.5px 0 0 2.5px; |
michael@0 | 1275 | border-width: 0 8px 0 0; |
michael@0 | 1276 | border-style: solid; |
michael@0 | 1277 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill; |
michael@0 | 1278 | -moz-margin-end: -8px; |
michael@0 | 1279 | margin-top: -1px; |
michael@0 | 1280 | margin-bottom: -1px; |
michael@0 | 1281 | } |
michael@0 | 1282 | |
michael@0 | 1283 | @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box { |
michael@0 | 1284 | padding-left: 7px; |
michael@0 | 1285 | } |
michael@0 | 1286 | |
michael@0 | 1287 | #notification-popup-box:not([hidden]) + #identity-box { |
michael@0 | 1288 | -moz-padding-start: 10px; |
michael@0 | 1289 | border-radius: 0; |
michael@0 | 1290 | } |
michael@0 | 1291 | |
michael@0 | 1292 | #notification-popup-box:-moz-locale-dir(rtl), |
michael@0 | 1293 | .notification-anchor-icon:-moz-locale-dir(rtl) { |
michael@0 | 1294 | transform: scaleX(-1); |
michael@0 | 1295 | } |
michael@0 | 1296 | |
michael@0 | 1297 | .notification-anchor-icon { |
michael@0 | 1298 | width: 16px; |
michael@0 | 1299 | height: 16px; |
michael@0 | 1300 | margin: 0 2px; |
michael@0 | 1301 | } |
michael@0 | 1302 | |
michael@0 | 1303 | .notification-anchor-icon:-moz-focusring { |
michael@0 | 1304 | outline: 1px dotted -moz-DialogText; |
michael@0 | 1305 | } |
michael@0 | 1306 | |
michael@0 | 1307 | .default-notification-icon, |
michael@0 | 1308 | #default-notification-icon { |
michael@0 | 1309 | list-style-image: url(chrome://global/skin/icons/information-16.png); |
michael@0 | 1310 | } |
michael@0 | 1311 | |
michael@0 | 1312 | .identity-notification-icon, |
michael@0 | 1313 | #identity-notification-icon { |
michael@0 | 1314 | list-style-image: url(chrome://mozapps/skin/profile/profileicon.png); |
michael@0 | 1315 | } |
michael@0 | 1316 | |
michael@0 | 1317 | .geo-notification-icon, |
michael@0 | 1318 | #geo-notification-icon { |
michael@0 | 1319 | list-style-image: url(chrome://browser/skin/Geolocation-16.png); |
michael@0 | 1320 | } |
michael@0 | 1321 | |
michael@0 | 1322 | #addons-notification-icon { |
michael@0 | 1323 | list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png); |
michael@0 | 1324 | } |
michael@0 | 1325 | |
michael@0 | 1326 | #canvas-notification-icon { |
michael@0 | 1327 | list-style-image: url(chrome://browser/skin/canvas-popup.svg); |
michael@0 | 1328 | } |
michael@0 | 1329 | |
michael@0 | 1330 | .indexedDB-notification-icon, |
michael@0 | 1331 | #indexedDB-notification-icon { |
michael@0 | 1332 | list-style-image: url(chrome://global/skin/icons/question-16.png); |
michael@0 | 1333 | } |
michael@0 | 1334 | |
michael@0 | 1335 | #password-notification-icon { |
michael@0 | 1336 | list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); |
michael@0 | 1337 | } |
michael@0 | 1338 | |
michael@0 | 1339 | #webapps-notification-icon { |
michael@0 | 1340 | list-style-image: url(chrome://global/skin/icons/webapps-16.png); |
michael@0 | 1341 | } |
michael@0 | 1342 | |
michael@0 | 1343 | #plugins-notification-icon { |
michael@0 | 1344 | list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); |
michael@0 | 1345 | } |
michael@0 | 1346 | #plugins-notification-icon.plugin-hidden { |
michael@0 | 1347 | list-style-image: url(chrome://browser/skin/notification-pluginAlert.png); |
michael@0 | 1348 | } |
michael@0 | 1349 | #plugins-notification-icon.plugin-blocked { |
michael@0 | 1350 | list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png); |
michael@0 | 1351 | } |
michael@0 | 1352 | |
michael@0 | 1353 | #plugins-notification-icon { |
michael@0 | 1354 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 1355 | } |
michael@0 | 1356 | |
michael@0 | 1357 | #plugins-notification-icon:hover { |
michael@0 | 1358 | -moz-image-region: rect(0, 32px, 16px, 16px); |
michael@0 | 1359 | } |
michael@0 | 1360 | |
michael@0 | 1361 | #plugins-notification-icon:active { |
michael@0 | 1362 | -moz-image-region: rect(0, 48px, 16px, 32px); |
michael@0 | 1363 | } |
michael@0 | 1364 | |
michael@0 | 1365 | #plugin-install-notification-icon { |
michael@0 | 1366 | list-style-image: url(chrome://browser/skin/pluginInstall-16.png); |
michael@0 | 1367 | } |
michael@0 | 1368 | |
michael@0 | 1369 | #notification-popup-box[hidden] { |
michael@0 | 1370 | /* Override display:none to make the pluginBlockedNotification animation work |
michael@0 | 1371 | when showing the notification repeatedly. */ |
michael@0 | 1372 | display: -moz-box; |
michael@0 | 1373 | visibility: collapse; |
michael@0 | 1374 | } |
michael@0 | 1375 | |
michael@0 | 1376 | #plugins-notification-icon.plugin-blocked[showing] { |
michael@0 | 1377 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; |
michael@0 | 1378 | } |
michael@0 | 1379 | |
michael@0 | 1380 | @keyframes pluginBlockedNotification { |
michael@0 | 1381 | from { |
michael@0 | 1382 | opacity: 0; |
michael@0 | 1383 | } |
michael@0 | 1384 | to { |
michael@0 | 1385 | opacity: 1; |
michael@0 | 1386 | } |
michael@0 | 1387 | } |
michael@0 | 1388 | |
michael@0 | 1389 | .mixed-content-blocked-notification-icon, |
michael@0 | 1390 | #mixed-content-blocked-notification-icon { |
michael@0 | 1391 | list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png); |
michael@0 | 1392 | } |
michael@0 | 1393 | |
michael@0 | 1394 | .webRTC-shareDevices-notification-icon, |
michael@0 | 1395 | #webRTC-shareDevices-notification-icon { |
michael@0 | 1396 | list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); |
michael@0 | 1397 | } |
michael@0 | 1398 | |
michael@0 | 1399 | .webRTC-sharingDevices-notification-icon, |
michael@0 | 1400 | #webRTC-sharingDevices-notification-icon { |
michael@0 | 1401 | list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); |
michael@0 | 1402 | } |
michael@0 | 1403 | |
michael@0 | 1404 | .webRTC-shareMicrophone-notification-icon, |
michael@0 | 1405 | #webRTC-shareMicrophone-notification-icon { |
michael@0 | 1406 | list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16.png); |
michael@0 | 1407 | } |
michael@0 | 1408 | |
michael@0 | 1409 | .webRTC-sharingMicrophone-notification-icon, |
michael@0 | 1410 | #webRTC-sharingMicrophone-notification-icon { |
michael@0 | 1411 | list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16.png); |
michael@0 | 1412 | } |
michael@0 | 1413 | |
michael@0 | 1414 | .web-notifications-notification-icon, |
michael@0 | 1415 | #web-notifications-notification-icon { |
michael@0 | 1416 | list-style-image: url(chrome://browser/skin/notification-16.png); |
michael@0 | 1417 | } |
michael@0 | 1418 | |
michael@0 | 1419 | #pointerLock-notification-icon { |
michael@0 | 1420 | list-style-image: url(chrome://browser/skin/pointerLock-16.png); |
michael@0 | 1421 | } |
michael@0 | 1422 | #pointerLock-cancel { |
michael@0 | 1423 | margin: 0px; |
michael@0 | 1424 | } |
michael@0 | 1425 | |
michael@0 | 1426 | .translate-notification-icon, |
michael@0 | 1427 | #translate-notification-icon { |
michael@0 | 1428 | list-style-image: url(chrome://browser/skin/translation-16.png); |
michael@0 | 1429 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
michael@0 | 1430 | } |
michael@0 | 1431 | |
michael@0 | 1432 | .translated-notification-icon, |
michael@0 | 1433 | #translated-notification-icon { |
michael@0 | 1434 | list-style-image: url(chrome://browser/skin/translation-16.png); |
michael@0 | 1435 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 1436 | } |
michael@0 | 1437 | |
michael@0 | 1438 | #treecolAutoCompleteImage { |
michael@0 | 1439 | max-width : 36px; |
michael@0 | 1440 | } |
michael@0 | 1441 | |
michael@0 | 1442 | .ac-result-type-bookmark, |
michael@0 | 1443 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { |
michael@0 | 1444 | list-style-image: url("chrome://browser/skin/places/star-icons.png"); |
michael@0 | 1445 | -moz-image-region: rect(0px 32px 16px 16px); |
michael@0 | 1446 | width: 16px; |
michael@0 | 1447 | height: 16px; |
michael@0 | 1448 | } |
michael@0 | 1449 | |
michael@0 | 1450 | .ac-result-type-keyword, |
michael@0 | 1451 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { |
michael@0 | 1452 | list-style-image: url(moz-icon://stock/gtk-find?size=menu); |
michael@0 | 1453 | width: 16px; |
michael@0 | 1454 | height: 16px; |
michael@0 | 1455 | } |
michael@0 | 1456 | |
michael@0 | 1457 | .ac-result-type-tag, |
michael@0 | 1458 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { |
michael@0 | 1459 | list-style-image: url("chrome://browser/skin/places/tag.png"); |
michael@0 | 1460 | width: 16px; |
michael@0 | 1461 | height: 16px; |
michael@0 | 1462 | } |
michael@0 | 1463 | |
michael@0 | 1464 | .ac-comment { |
michael@0 | 1465 | font-size: 1.05em; |
michael@0 | 1466 | } |
michael@0 | 1467 | |
michael@0 | 1468 | .ac-extra > .ac-comment { |
michael@0 | 1469 | font-size: inherit; |
michael@0 | 1470 | } |
michael@0 | 1471 | |
michael@0 | 1472 | .ac-url-text, |
michael@0 | 1473 | .ac-action-text { |
michael@0 | 1474 | color: -moz-nativehyperlinktext; |
michael@0 | 1475 | font-size: 0.9em; |
michael@0 | 1476 | } |
michael@0 | 1477 | |
michael@0 | 1478 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { |
michael@0 | 1479 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); |
michael@0 | 1480 | padding: 0 3px; |
michael@0 | 1481 | } |
michael@0 | 1482 | |
michael@0 | 1483 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
michael@0 | 1484 | color: GrayText; |
michael@0 | 1485 | } |
michael@0 | 1486 | |
michael@0 | 1487 | .ac-comment[selected="true"], |
michael@0 | 1488 | .ac-url-text[selected="true"], |
michael@0 | 1489 | .ac-action-text[selected="true"] { |
michael@0 | 1490 | color: inherit !important; |
michael@0 | 1491 | } |
michael@0 | 1492 | |
michael@0 | 1493 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
michael@0 | 1494 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { |
michael@0 | 1495 | color: GrayText; |
michael@0 | 1496 | font-size: smaller; |
michael@0 | 1497 | } |
michael@0 | 1498 | |
michael@0 | 1499 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { |
michael@0 | 1500 | border-top: 1px solid GrayText; |
michael@0 | 1501 | } |
michael@0 | 1502 | |
michael@0 | 1503 | /* Combined go/reload/stop button in location bar */ |
michael@0 | 1504 | |
michael@0 | 1505 | #urlbar > toolbarbutton { |
michael@0 | 1506 | -moz-appearance: none; |
michael@0 | 1507 | padding: 0 2px; |
michael@0 | 1508 | cursor: pointer; |
michael@0 | 1509 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
michael@0 | 1510 | } |
michael@0 | 1511 | |
michael@0 | 1512 | #urlbar-reload-button { |
michael@0 | 1513 | -moz-image-region: rect(0, 14px, 14px, 0); |
michael@0 | 1514 | } |
michael@0 | 1515 | |
michael@0 | 1516 | #urlbar-reload-button:not([disabled]):hover { |
michael@0 | 1517 | background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.2), hsla(200,100%,70%,0)); |
michael@0 | 1518 | -moz-image-region: rect(14px, 14px, 28px, 0); |
michael@0 | 1519 | } |
michael@0 | 1520 | |
michael@0 | 1521 | #urlbar-reload-button:not([disabled]):hover:active { |
michael@0 | 1522 | background-image: radial-gradient(circle closest-side, hsla(200,100%,60%,.1), hsla(200,100%,60%,0)); |
michael@0 | 1523 | -moz-image-region: rect(28px, 14px, 42px, 0); |
michael@0 | 1524 | } |
michael@0 | 1525 | |
michael@0 | 1526 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
michael@0 | 1527 | transform: scaleX(-1); |
michael@0 | 1528 | } |
michael@0 | 1529 | |
michael@0 | 1530 | #urlbar-go-button { |
michael@0 | 1531 | -moz-image-region: rect(0, 42px, 14px, 28px); |
michael@0 | 1532 | } |
michael@0 | 1533 | |
michael@0 | 1534 | #urlbar-go-button:hover { |
michael@0 | 1535 | background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.2), hsla(110,70%,50%,0)); |
michael@0 | 1536 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
michael@0 | 1537 | } |
michael@0 | 1538 | |
michael@0 | 1539 | #urlbar-go-button:hover:active { |
michael@0 | 1540 | background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.1), hsla(110,70%,50%,0)); |
michael@0 | 1541 | -moz-image-region: rect(28px, 42px, 42px, 28px); |
michael@0 | 1542 | } |
michael@0 | 1543 | |
michael@0 | 1544 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
michael@0 | 1545 | transform: scaleX(-1); |
michael@0 | 1546 | } |
michael@0 | 1547 | |
michael@0 | 1548 | #urlbar-stop-button { |
michael@0 | 1549 | -moz-image-region: rect(0, 28px, 14px, 14px); |
michael@0 | 1550 | } |
michael@0 | 1551 | |
michael@0 | 1552 | #urlbar-stop-button:not([disabled]):hover { |
michael@0 | 1553 | background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.3), hsla(5,100%,75%,0)); |
michael@0 | 1554 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
michael@0 | 1555 | } |
michael@0 | 1556 | |
michael@0 | 1557 | #urlbar-stop-button:hover:active { |
michael@0 | 1558 | background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0)); |
michael@0 | 1559 | -moz-image-region: rect(28px, 28px, 42px, 14px); |
michael@0 | 1560 | } |
michael@0 | 1561 | |
michael@0 | 1562 | /* Popup blocker button */ |
michael@0 | 1563 | #page-report-button { |
michael@0 | 1564 | list-style-image: url("chrome://browser/skin/Info.png"); |
michael@0 | 1565 | } |
michael@0 | 1566 | |
michael@0 | 1567 | |
michael@0 | 1568 | /* social share panel */ |
michael@0 | 1569 | |
michael@0 | 1570 | .social-share-frame { |
michael@0 | 1571 | background: linear-gradient(to bottom, rgba(242,242,242,.99), rgba(242,242,242,.95)); |
michael@0 | 1572 | border-left: 1px solid #f8f8f8; |
michael@0 | 1573 | width: 330px; |
michael@0 | 1574 | height: 150px; |
michael@0 | 1575 | /* we resize our panels dynamically, make it look nice */ |
michael@0 | 1576 | transition: height 100ms ease-out, width 100ms ease-out; |
michael@0 | 1577 | } |
michael@0 | 1578 | |
michael@0 | 1579 | .social-share-toolbar { |
michael@0 | 1580 | border-right: 1px solid #dedede; |
michael@0 | 1581 | background: linear-gradient(to bottom, rgba(247,247,247,.99), rgba(247,247,247,.95)); |
michael@0 | 1582 | } |
michael@0 | 1583 | |
michael@0 | 1584 | #social-share-provider-buttons { |
michael@0 | 1585 | border-right: 1px solid #fbfbfb; |
michael@0 | 1586 | padding: 6px; |
michael@0 | 1587 | } |
michael@0 | 1588 | |
michael@0 | 1589 | #social-share-provider-buttons > .share-provider-button { |
michael@0 | 1590 | padding: 6px; |
michael@0 | 1591 | margin: 0; |
michael@0 | 1592 | border: none; |
michael@0 | 1593 | border-radius: 2px; |
michael@0 | 1594 | } |
michael@0 | 1595 | |
michael@0 | 1596 | #social-share-provider-buttons > .share-provider-button[checked], |
michael@0 | 1597 | #social-share-provider-buttons > .share-provider-button:active { |
michael@0 | 1598 | padding: 5px; |
michael@0 | 1599 | border: 1px solid #b5b5b8; |
michael@0 | 1600 | box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2); |
michael@0 | 1601 | } |
michael@0 | 1602 | |
michael@0 | 1603 | #social-share-provider-buttons > .share-provider-button[checked] { |
michael@0 | 1604 | background: linear-gradient(to bottom, #d9d9d9, #e3e3e3); |
michael@0 | 1605 | } |
michael@0 | 1606 | |
michael@0 | 1607 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { |
michael@0 | 1608 | display: none; |
michael@0 | 1609 | } |
michael@0 | 1610 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { |
michael@0 | 1611 | width: 16px; |
michael@0 | 1612 | min-height: 16px; |
michael@0 | 1613 | max-height: 16px; |
michael@0 | 1614 | } |
michael@0 | 1615 | |
michael@0 | 1616 | /* social recommending panel */ |
michael@0 | 1617 | |
michael@0 | 1618 | #social-mark-button { |
michael@0 | 1619 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 1620 | } |
michael@0 | 1621 | |
michael@0 | 1622 | /* bookmarks menu-button */ |
michael@0 | 1623 | |
michael@0 | 1624 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
michael@0 | 1625 | -moz-appearance: none !important; |
michael@0 | 1626 | -moz-box-align: center; |
michael@0 | 1627 | } |
michael@0 | 1628 | |
michael@0 | 1629 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
michael@0 | 1630 | margin-top: 3px; |
michael@0 | 1631 | margin-bottom: 3px; |
michael@0 | 1632 | } |
michael@0 | 1633 | |
michael@0 | 1634 | #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-icon, |
michael@0 | 1635 | #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menu-dropmarker, |
michael@0 | 1636 | #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker, |
michael@0 | 1637 | #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
michael@0 | 1638 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { |
michael@0 | 1639 | opacity: .4; |
michael@0 | 1640 | } |
michael@0 | 1641 | |
michael@0 | 1642 | #BMB_bookmarksPopup[side="top"], |
michael@0 | 1643 | #BMB_bookmarksPopup[side="bottom"] { |
michael@0 | 1644 | margin-left: -16px; |
michael@0 | 1645 | margin-right: -16px; |
michael@0 | 1646 | } |
michael@0 | 1647 | |
michael@0 | 1648 | #BMB_bookmarksPopup[side="left"], |
michael@0 | 1649 | #BMB_bookmarksPopup[side="right"] { |
michael@0 | 1650 | margin-top: -16px; |
michael@0 | 1651 | margin-bottom: -16px; |
michael@0 | 1652 | } |
michael@0 | 1653 | |
michael@0 | 1654 | #nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel, |
michael@0 | 1655 | #nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel { |
michael@0 | 1656 | margin-top: -4px; |
michael@0 | 1657 | } |
michael@0 | 1658 | |
michael@0 | 1659 | /* Bookmarking panel */ |
michael@0 | 1660 | #editBookmarkPanelStarIcon { |
michael@0 | 1661 | list-style-image: url("chrome://browser/skin/places/starred48.png"); |
michael@0 | 1662 | width: 48px; |
michael@0 | 1663 | height: 48px; |
michael@0 | 1664 | } |
michael@0 | 1665 | |
michael@0 | 1666 | #editBookmarkPanelStarIcon[unstarred] { |
michael@0 | 1667 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); |
michael@0 | 1668 | } |
michael@0 | 1669 | |
michael@0 | 1670 | #editBookmarkPanelTitle { |
michael@0 | 1671 | font-size: 130%; |
michael@0 | 1672 | } |
michael@0 | 1673 | |
michael@0 | 1674 | #editBookmarkPanelHeader, |
michael@0 | 1675 | #editBookmarkPanelContent { |
michael@0 | 1676 | margin-bottom: .5em; |
michael@0 | 1677 | } |
michael@0 | 1678 | |
michael@0 | 1679 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ |
michael@0 | 1680 | #editBMPanel_folderTree { |
michael@0 | 1681 | min-width: 27em; |
michael@0 | 1682 | } |
michael@0 | 1683 | |
michael@0 | 1684 | .panel-promo-box { |
michael@0 | 1685 | margin: 8px -10px -10px -10px; |
michael@0 | 1686 | padding: 8px 10px; |
michael@0 | 1687 | border-top: 1px solid ThreeDShadow; |
michael@0 | 1688 | background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px); |
michael@0 | 1689 | } |
michael@0 | 1690 | |
michael@0 | 1691 | .panel-promo-icon { |
michael@0 | 1692 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); |
michael@0 | 1693 | -moz-margin-end: 10px; |
michael@0 | 1694 | vertical-align: middle; |
michael@0 | 1695 | } |
michael@0 | 1696 | |
michael@0 | 1697 | .panel-promo-closebutton { |
michael@0 | 1698 | -moz-appearance: none; |
michael@0 | 1699 | height: 16px; |
michael@0 | 1700 | width: 16px; |
michael@0 | 1701 | } |
michael@0 | 1702 | |
michael@0 | 1703 | .panel-promo-closebutton > .toolbarbutton-text { |
michael@0 | 1704 | padding: 0; |
michael@0 | 1705 | margin: 0; |
michael@0 | 1706 | } |
michael@0 | 1707 | |
michael@0 | 1708 | /* Content area */ |
michael@0 | 1709 | #sidebar { |
michael@0 | 1710 | background-color: Window; |
michael@0 | 1711 | } |
michael@0 | 1712 | |
michael@0 | 1713 | .browserContainer > findbar { |
michael@0 | 1714 | background-color: -moz-dialog; |
michael@0 | 1715 | color: -moz-DialogText; |
michael@0 | 1716 | text-shadow: none; |
michael@0 | 1717 | } |
michael@0 | 1718 | |
michael@0 | 1719 | /* Tabstrip */ |
michael@0 | 1720 | |
michael@0 | 1721 | %include ../shared/tabs.inc.css |
michael@0 | 1722 | |
michael@0 | 1723 | #tabbrowser-tabs { |
michael@0 | 1724 | /* override the global style to allow the selected tab to be above the nav-bar */ |
michael@0 | 1725 | z-index: auto; |
michael@0 | 1726 | } |
michael@0 | 1727 | |
michael@0 | 1728 | #TabsToolbar { |
michael@0 | 1729 | min-height: 0; |
michael@0 | 1730 | padding: 0; |
michael@0 | 1731 | position: relative; |
michael@0 | 1732 | } |
michael@0 | 1733 | |
michael@0 | 1734 | /* |
michael@0 | 1735 | * Draw the bottom border of the tabstrip: |
michael@0 | 1736 | */ |
michael@0 | 1737 | #TabsToolbar::after { |
michael@0 | 1738 | content: ""; |
michael@0 | 1739 | position: absolute; |
michael@0 | 1740 | bottom: @tabToolbarNavbarOverlap@; |
michael@0 | 1741 | left: 0; |
michael@0 | 1742 | right: 0; |
michael@0 | 1743 | z-index: 0; |
michael@0 | 1744 | border-bottom: 1px solid hsla(0,0%,0%,.3); |
michael@0 | 1745 | } |
michael@0 | 1746 | |
michael@0 | 1747 | #TabsToolbar:not(:-moz-lwtheme) { |
michael@0 | 1748 | -moz-appearance: menubar; |
michael@0 | 1749 | color: -moz-menubartext; |
michael@0 | 1750 | } |
michael@0 | 1751 | |
michael@0 | 1752 | #toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag), |
michael@0 | 1753 | #TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { |
michael@0 | 1754 | -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag"); |
michael@0 | 1755 | } |
michael@0 | 1756 | |
michael@0 | 1757 | .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label { |
michael@0 | 1758 | outline: 1px dotted; |
michael@0 | 1759 | } |
michael@0 | 1760 | |
michael@0 | 1761 | #context_reloadTab { |
michael@0 | 1762 | list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); |
michael@0 | 1763 | } |
michael@0 | 1764 | |
michael@0 | 1765 | #context_closeOtherTabs { |
michael@0 | 1766 | list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); |
michael@0 | 1767 | } |
michael@0 | 1768 | |
michael@0 | 1769 | #context_closeOtherTabs[disabled] { |
michael@0 | 1770 | list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled"); |
michael@0 | 1771 | } |
michael@0 | 1772 | |
michael@0 | 1773 | #context_undoCloseTab { |
michael@0 | 1774 | list-style-image: url("moz-icon://stock/gtk-undelete?size=menu"); |
michael@0 | 1775 | } |
michael@0 | 1776 | |
michael@0 | 1777 | #context_closeTab { |
michael@0 | 1778 | list-style-image: url("moz-icon://stock/gtk-close?size=menu"); |
michael@0 | 1779 | } |
michael@0 | 1780 | |
michael@0 | 1781 | /* Tab drag and drop */ |
michael@0 | 1782 | .tab-drop-indicator { |
michael@0 | 1783 | list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); |
michael@0 | 1784 | margin-bottom: -9px; |
michael@0 | 1785 | z-index: 3; |
michael@0 | 1786 | } |
michael@0 | 1787 | |
michael@0 | 1788 | /* Tab close button */ |
michael@0 | 1789 | .tab-close-button:not([selected]):not(:hover) { |
michael@0 | 1790 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48); |
michael@0 | 1791 | } |
michael@0 | 1792 | |
michael@0 | 1793 | .tab-close-button:not([selected]):not(:hover):-moz-lwtheme-brighttext { |
michael@0 | 1794 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); |
michael@0 | 1795 | } |
michael@0 | 1796 | |
michael@0 | 1797 | .tab-close-button:not([selected]):not(:hover):-moz-lwtheme-darktext { |
michael@0 | 1798 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80); |
michael@0 | 1799 | } |
michael@0 | 1800 | |
michael@0 | 1801 | /* Tabstrip new tab button */ |
michael@0 | 1802 | .tabs-newtab-button, |
michael@0 | 1803 | #TabsToolbar > #new-tab-button , |
michael@0 | 1804 | #TabsToolbar > #wrapper-new-tab-button > #new-tab-button { |
michael@0 | 1805 | list-style-image: url("moz-icon://stock/gtk-add?size=menu"); |
michael@0 | 1806 | -moz-image-region: auto; |
michael@0 | 1807 | } |
michael@0 | 1808 | |
michael@0 | 1809 | /* Tabbrowser arrowscrollbox arrows */ |
michael@0 | 1810 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
michael@0 | 1811 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
michael@0 | 1812 | -moz-appearance: none; |
michael@0 | 1813 | margin: 0 0 @tabToolbarNavbarOverlap@; |
michael@0 | 1814 | } |
michael@0 | 1815 | |
michael@0 | 1816 | .tabbrowser-arrowscrollbox > .scrollbutton-up { |
michael@0 | 1817 | -moz-border-start: 0; |
michael@0 | 1818 | -moz-border-end: 2px solid transparent; |
michael@0 | 1819 | } |
michael@0 | 1820 | |
michael@0 | 1821 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
michael@0 | 1822 | -moz-border-start: 2px solid transparent; |
michael@0 | 1823 | -moz-border-end: 0; |
michael@0 | 1824 | transition: 1s box-shadow ease-out; |
michael@0 | 1825 | border-radius: 4px; |
michael@0 | 1826 | } |
michael@0 | 1827 | |
michael@0 | 1828 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
michael@0 | 1829 | box-shadow: 0 0 5px 5px Highlight inset; |
michael@0 | 1830 | transition: none; |
michael@0 | 1831 | } |
michael@0 | 1832 | |
michael@0 | 1833 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr), |
michael@0 | 1834 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) { |
michael@0 | 1835 | border-width: 0 2px 0 0; |
michael@0 | 1836 | border-style: solid; |
michael@0 | 1837 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; |
michael@0 | 1838 | } |
michael@0 | 1839 | |
michael@0 | 1840 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr), |
michael@0 | 1841 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) { |
michael@0 | 1842 | border-width: 0 0 0 2px; |
michael@0 | 1843 | border-style: solid; |
michael@0 | 1844 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; |
michael@0 | 1845 | } |
michael@0 | 1846 | |
michael@0 | 1847 | #TabsToolbar .toolbarbutton-1 { |
michael@0 | 1848 | margin-bottom: @tabToolbarNavbarOverlap@; |
michael@0 | 1849 | } |
michael@0 | 1850 | |
michael@0 | 1851 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon, |
michael@0 | 1852 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, |
michael@0 | 1853 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
michael@0 | 1854 | margin-top: -2px; |
michael@0 | 1855 | margin-bottom: -2px; |
michael@0 | 1856 | } |
michael@0 | 1857 | |
michael@0 | 1858 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
michael@0 | 1859 | margin-bottom: -2px; |
michael@0 | 1860 | } |
michael@0 | 1861 | |
michael@0 | 1862 | #alltabs-button > .toolbarbutton-icon { |
michael@0 | 1863 | display: none; |
michael@0 | 1864 | } |
michael@0 | 1865 | |
michael@0 | 1866 | /* All tabs menupopup */ |
michael@0 | 1867 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { |
michael@0 | 1868 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
michael@0 | 1869 | } |
michael@0 | 1870 | |
michael@0 | 1871 | .alltabs-item[selected="true"] { |
michael@0 | 1872 | font-weight: bold; |
michael@0 | 1873 | } |
michael@0 | 1874 | |
michael@0 | 1875 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { |
michael@0 | 1876 | list-style-image: url("chrome://global/skin/icons/loading_16.png"); |
michael@0 | 1877 | } |
michael@0 | 1878 | |
michael@0 | 1879 | .alltabs-item[tabIsVisible] { |
michael@0 | 1880 | /* box-shadow instead of background-color to work around native styling */ |
michael@0 | 1881 | box-shadow: inset -5px 0 ThreeDShadow; |
michael@0 | 1882 | } |
michael@0 | 1883 | |
michael@0 | 1884 | /* Sidebar */ |
michael@0 | 1885 | #sidebar-throbber[loading="true"] { |
michael@0 | 1886 | list-style-image: url("chrome://global/skin/icons/loading_16.png"); |
michael@0 | 1887 | -moz-margin-end: 4px; |
michael@0 | 1888 | } |
michael@0 | 1889 | |
michael@0 | 1890 | toolbarbutton.chevron { |
michael@0 | 1891 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
michael@0 | 1892 | } |
michael@0 | 1893 | |
michael@0 | 1894 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
michael@0 | 1895 | transform: scaleX(-1); |
michael@0 | 1896 | } |
michael@0 | 1897 | |
michael@0 | 1898 | toolbarbutton.chevron > .toolbarbutton-text, |
michael@0 | 1899 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
michael@0 | 1900 | display: none; |
michael@0 | 1901 | } |
michael@0 | 1902 | |
michael@0 | 1903 | toolbarbutton.chevron > .toolbarbutton-icon { |
michael@0 | 1904 | margin: 0; |
michael@0 | 1905 | } |
michael@0 | 1906 | |
michael@0 | 1907 | /* Ctrl-Tab */ |
michael@0 | 1908 | |
michael@0 | 1909 | .ctrlTab-preview { |
michael@0 | 1910 | -moz-appearance: toolbarbutton; |
michael@0 | 1911 | } |
michael@0 | 1912 | |
michael@0 | 1913 | .tabPreview-canvas { |
michael@0 | 1914 | box-shadow: 0 0 5px ThreeDShadow; |
michael@0 | 1915 | } |
michael@0 | 1916 | |
michael@0 | 1917 | .ctrlTab-preview:focus .tabPreview-canvas, |
michael@0 | 1918 | .ctrlTab-preview:hover .tabPreview-canvas { |
michael@0 | 1919 | box-shadow: none; |
michael@0 | 1920 | } |
michael@0 | 1921 | |
michael@0 | 1922 | .ctrlTab-favicon[src] { |
michael@0 | 1923 | background-color: white; |
michael@0 | 1924 | width: 20px; |
michael@0 | 1925 | height: 20px; |
michael@0 | 1926 | padding: 2px; |
michael@0 | 1927 | } |
michael@0 | 1928 | |
michael@0 | 1929 | #ctrlTab-panel { |
michael@0 | 1930 | padding: 10px; |
michael@0 | 1931 | } |
michael@0 | 1932 | |
michael@0 | 1933 | .ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas { |
michael@0 | 1934 | margin-bottom: 2px; |
michael@0 | 1935 | } |
michael@0 | 1936 | |
michael@0 | 1937 | #ctrlTab-showAll { |
michael@0 | 1938 | -moz-appearance: button; |
michael@0 | 1939 | color: ButtonText; |
michael@0 | 1940 | padding: 0 3px; |
michael@0 | 1941 | margin-top: 10px; |
michael@0 | 1942 | } |
michael@0 | 1943 | |
michael@0 | 1944 | /* Sync Panel */ |
michael@0 | 1945 | |
michael@0 | 1946 | .sync-panel-icon { |
michael@0 | 1947 | height:32px; |
michael@0 | 1948 | width: 32px; |
michael@0 | 1949 | background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; |
michael@0 | 1950 | } |
michael@0 | 1951 | |
michael@0 | 1952 | .sync-panel-inner { |
michael@0 | 1953 | width: 0; |
michael@0 | 1954 | padding-left: 10px; |
michael@0 | 1955 | } |
michael@0 | 1956 | |
michael@0 | 1957 | .sync-panel-button-box { |
michael@0 | 1958 | margin-top: 1em; |
michael@0 | 1959 | } |
michael@0 | 1960 | |
michael@0 | 1961 | #sync-error-panel-title, |
michael@0 | 1962 | #sync-start-panel-title { |
michael@0 | 1963 | font-size: 120%; |
michael@0 | 1964 | font-weight: bold; |
michael@0 | 1965 | margin-bottom: 5px; |
michael@0 | 1966 | } |
michael@0 | 1967 | |
michael@0 | 1968 | #sync-start-panel-subtitle, |
michael@0 | 1969 | #sync-error-panel-subtitle { |
michael@0 | 1970 | margin: 0; |
michael@0 | 1971 | } |
michael@0 | 1972 | |
michael@0 | 1973 | /* Status panel */ |
michael@0 | 1974 | |
michael@0 | 1975 | .statuspanel-label { |
michael@0 | 1976 | margin: 0; |
michael@0 | 1977 | padding: 2px 4px; |
michael@0 | 1978 | background: linear-gradient(#fff, #ddd); |
michael@0 | 1979 | border: 1px none #ccc; |
michael@0 | 1980 | border-top-style: solid; |
michael@0 | 1981 | color: #333; |
michael@0 | 1982 | text-shadow: none; |
michael@0 | 1983 | } |
michael@0 | 1984 | |
michael@0 | 1985 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), |
michael@0 | 1986 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { |
michael@0 | 1987 | border-right-style: solid; |
michael@0 | 1988 | border-top-right-radius: .3em; |
michael@0 | 1989 | margin-right: 1em; |
michael@0 | 1990 | } |
michael@0 | 1991 | |
michael@0 | 1992 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), |
michael@0 | 1993 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { |
michael@0 | 1994 | border-left-style: solid; |
michael@0 | 1995 | border-top-left-radius: .3em; |
michael@0 | 1996 | margin-left: 1em; |
michael@0 | 1997 | } |
michael@0 | 1998 | |
michael@0 | 1999 | #full-screen-warning-message { |
michael@0 | 2000 | background-image: url("chrome://browser/skin/fullscreen-darknoise.png"); |
michael@0 | 2001 | color: white; |
michael@0 | 2002 | border-radius: 4px; |
michael@0 | 2003 | margin-top: 30px; |
michael@0 | 2004 | padding: 30px 50px; |
michael@0 | 2005 | box-shadow: 0 0 2px white; |
michael@0 | 2006 | } |
michael@0 | 2007 | |
michael@0 | 2008 | #full-screen-warning-container[obscure-browser] { |
michael@0 | 2009 | background-color: rgba(0,0,0,0.3); |
michael@0 | 2010 | } |
michael@0 | 2011 | |
michael@0 | 2012 | .full-screen-description { |
michael@0 | 2013 | font-size: 150%; |
michael@0 | 2014 | } |
michael@0 | 2015 | |
michael@0 | 2016 | #full-screen-domain-text { |
michael@0 | 2017 | font-size: 300%; |
michael@0 | 2018 | } |
michael@0 | 2019 | |
michael@0 | 2020 | .full-screen-approval-button, |
michael@0 | 2021 | #full-screen-remember-decision { |
michael@0 | 2022 | font-size: 120%; |
michael@0 | 2023 | } |
michael@0 | 2024 | |
michael@0 | 2025 | %include ../shared/devtools/responsivedesign.inc.css |
michael@0 | 2026 | %include ../shared/devtools/highlighter.inc.css |
michael@0 | 2027 | %include ../shared/devtools/commandline.inc.css |
michael@0 | 2028 | %include ../shared/plugin-doorhanger.inc.css |
michael@0 | 2029 | |
michael@0 | 2030 | %include downloads/indicator.css |
michael@0 | 2031 | |
michael@0 | 2032 | .gcli-panel { |
michael@0 | 2033 | padding: 0; |
michael@0 | 2034 | } |
michael@0 | 2035 | |
michael@0 | 2036 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
michael@0 | 2037 | color: hsl(210,11%,16%); |
michael@0 | 2038 | } |
michael@0 | 2039 | |
michael@0 | 2040 | /* Error counter */ |
michael@0 | 2041 | |
michael@0 | 2042 | #developer-toolbar-toolbox-button[error-count]:before { |
michael@0 | 2043 | color: #FDF3DE; |
michael@0 | 2044 | min-width: 16px; |
michael@0 | 2045 | text-shadow: none; |
michael@0 | 2046 | background-image: linear-gradient(#B4211B, #8A1915); |
michael@0 | 2047 | border-radius: 1px; |
michael@0 | 2048 | -moz-margin-end: 2px; |
michael@0 | 2049 | } |
michael@0 | 2050 | |
michael@0 | 2051 | /* Social toolbar item */ |
michael@0 | 2052 | |
michael@0 | 2053 | #social-provider-button { |
michael@0 | 2054 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 2055 | list-style-image: url(chrome://browser/skin/social/services-16.png); |
michael@0 | 2056 | } |
michael@0 | 2057 | |
michael@0 | 2058 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
michael@0 | 2059 | display: none; |
michael@0 | 2060 | } |
michael@0 | 2061 | |
michael@0 | 2062 | .toolbarbutton-badge-container { |
michael@0 | 2063 | margin: 5px 3px; |
michael@0 | 2064 | position: relative; |
michael@0 | 2065 | } |
michael@0 | 2066 | |
michael@0 | 2067 | toolbar[iconsize="small"] .toolbarbutton-badge-container { |
michael@0 | 2068 | margin: 0; |
michael@0 | 2069 | } |
michael@0 | 2070 | |
michael@0 | 2071 | .toolbarbutton-badge[badge]:not([badge=""])::after { |
michael@0 | 2072 | /* The |content| property is set in the content stylesheet. */ |
michael@0 | 2073 | font-size: 9px; |
michael@0 | 2074 | font-weight: bold; |
michael@0 | 2075 | padding: 0 1px; |
michael@0 | 2076 | color: #fff; |
michael@0 | 2077 | background-color: rgb(240,61,37); |
michael@0 | 2078 | border: 1px solid rgb(216,55,34); |
michael@0 | 2079 | border-radius: 2px; |
michael@0 | 2080 | box-shadow: 0 1px 0 rgba(0,39,121,0.77); |
michael@0 | 2081 | position: absolute; |
michael@0 | 2082 | top: 0; |
michael@0 | 2083 | right: 0; |
michael@0 | 2084 | } |
michael@0 | 2085 | |
michael@0 | 2086 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
michael@0 | 2087 | left: 2px; |
michael@0 | 2088 | right: auto; |
michael@0 | 2089 | } |
michael@0 | 2090 | |
michael@0 | 2091 | .popup-notification-icon[popupid="servicesInstall"] { |
michael@0 | 2092 | list-style-image: url(chrome://browser/skin/social/services-64.png); |
michael@0 | 2093 | } |
michael@0 | 2094 | #servicesInstall-notification-icon { |
michael@0 | 2095 | list-style-image: url(chrome://browser/skin/social/services-16.png); |
michael@0 | 2096 | } |
michael@0 | 2097 | #social-undoactivation-button { |
michael@0 | 2098 | -moz-margin-start: 0; /* override default label margin to match description margin */ |
michael@0 | 2099 | } |
michael@0 | 2100 | |
michael@0 | 2101 | .social-activation-icon { |
michael@0 | 2102 | width: auto; |
michael@0 | 2103 | height: auto; |
michael@0 | 2104 | max-height: 64px; |
michael@0 | 2105 | max-width: 64px; |
michael@0 | 2106 | } |
michael@0 | 2107 | |
michael@0 | 2108 | #social-activation-message { |
michael@0 | 2109 | max-width: 250px; |
michael@0 | 2110 | } |
michael@0 | 2111 | |
michael@0 | 2112 | #social-activation-message > label { |
michael@0 | 2113 | margin: 0; |
michael@0 | 2114 | } |
michael@0 | 2115 | |
michael@0 | 2116 | /* social toolbar provider menu */ |
michael@0 | 2117 | #social-statusarea-popup { |
michael@0 | 2118 | margin-top: 0; |
michael@0 | 2119 | margin-left: -12px; |
michael@0 | 2120 | margin-right: -12px; |
michael@0 | 2121 | } |
michael@0 | 2122 | |
michael@0 | 2123 | .social-statusarea-user { |
michael@0 | 2124 | list-style-image:url("chrome://global/skin/icons/information-32.png"); |
michael@0 | 2125 | } |
michael@0 | 2126 | |
michael@0 | 2127 | .social-statusarea-user-portrait { |
michael@0 | 2128 | width: 32px; |
michael@0 | 2129 | height: 32px; |
michael@0 | 2130 | border-radius: 2px; |
michael@0 | 2131 | margin: 10px; |
michael@0 | 2132 | } |
michael@0 | 2133 | |
michael@0 | 2134 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
michael@0 | 2135 | padding: 0; |
michael@0 | 2136 | } |
michael@0 | 2137 | |
michael@0 | 2138 | %include ../shared/social/chat.inc.css |
michael@0 | 2139 | |
michael@0 | 2140 | .chat-titlebar { |
michael@0 | 2141 | background-color: #d9d9d9; |
michael@0 | 2142 | background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); |
michael@0 | 2143 | } |
michael@0 | 2144 | |
michael@0 | 2145 | .chat-titlebar[selected] { |
michael@0 | 2146 | background-color: #f0f0f0; |
michael@0 | 2147 | } |
michael@0 | 2148 | |
michael@0 | 2149 | .chatbar-button { |
michael@0 | 2150 | -moz-appearance: none; |
michael@0 | 2151 | background-color: #d9d9d9; |
michael@0 | 2152 | background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); |
michael@0 | 2153 | } |
michael@0 | 2154 | |
michael@0 | 2155 | .chatbar-button > .toolbarbutton-icon { |
michael@0 | 2156 | -moz-margin-end: 0; |
michael@0 | 2157 | } |
michael@0 | 2158 | |
michael@0 | 2159 | .chatbar-button:hover, |
michael@0 | 2160 | .chatbar-button[open="true"] { |
michael@0 | 2161 | background-color: #f0f0f0; |
michael@0 | 2162 | } |
michael@0 | 2163 | |
michael@0 | 2164 | .chatbar-button[activity] { |
michael@0 | 2165 | background-image: radial-gradient(circle farthest-corner at center 3px, rgb(233,242,252) 3%, rgba(172,206,255,0.75) 40%, rgba(87,151,201,0.5) 80%, rgba(87,151,201,0)); |
michael@0 | 2166 | } |
michael@0 | 2167 | |
michael@0 | 2168 | chatbox { |
michael@0 | 2169 | border-top-left-radius: 2.5px; |
michael@0 | 2170 | border-top-right-radius: 2.5px; |
michael@0 | 2171 | } |
michael@0 | 2172 | |
michael@0 | 2173 | /* Customization mode */ |
michael@0 | 2174 | |
michael@0 | 2175 | %include ../shared/customizableui/customizeMode.inc.css |
michael@0 | 2176 | |
michael@0 | 2177 | #main-window[customizing] > #tab-view-deck { |
michael@0 | 2178 | background: linear-gradient(to bottom, #bcbcbc, #b5b5b5); |
michael@0 | 2179 | } |
michael@0 | 2180 | |
michael@0 | 2181 | #main-window[customize-entered] > #tab-view-deck { |
michael@0 | 2182 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), |
michael@0 | 2183 | url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), |
michael@0 | 2184 | linear-gradient(to bottom, #bcbcbc, #b5b5b5); |
michael@0 | 2185 | background-attachment: fixed; |
michael@0 | 2186 | } |
michael@0 | 2187 | |
michael@0 | 2188 | #main-window[customize-entered] #browser-bottombox, |
michael@0 | 2189 | #main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar), |
michael@0 | 2190 | #main-window[customize-entered] #customization-container { |
michael@0 | 2191 | border: 3px solid hsla(0,0%,0%,.1); |
michael@0 | 2192 | border-top-width: 0; |
michael@0 | 2193 | background-clip: padding-box; |
michael@0 | 2194 | background-origin: padding-box; |
michael@0 | 2195 | -moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); |
michael@0 | 2196 | -moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); |
michael@0 | 2197 | -moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); |
michael@0 | 2198 | } |
michael@0 | 2199 | |
michael@0 | 2200 | #main-window[customize-entered] #customization-container, |
michael@0 | 2201 | #main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) { |
michael@0 | 2202 | border-bottom-width: 0; |
michael@0 | 2203 | } |
michael@0 | 2204 | |
michael@0 | 2205 | #main-window[customize-entered] #TabsToolbar { |
michael@0 | 2206 | -moz-appearance: none; |
michael@0 | 2207 | background-clip: padding-box; |
michael@0 | 2208 | border-right: 3px solid transparent; |
michael@0 | 2209 | border-left: 3px solid transparent; |
michael@0 | 2210 | } |
michael@0 | 2211 | |
michael@0 | 2212 | /* The :hover:active style from toolkit doesn't seem to work in this panel so just use :active. */ |
michael@0 | 2213 | .customization-tipPanel-closeBox > .close-icon:active { |
michael@0 | 2214 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32); |
michael@0 | 2215 | } |
michael@0 | 2216 | |
michael@0 | 2217 | /* End customization mode */ |
michael@0 | 2218 | |
michael@0 | 2219 | |
michael@0 | 2220 | #main-window[privatebrowsingmode=temporary] #private-browsing-indicator { |
michael@0 | 2221 | background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat; |
michael@0 | 2222 | width: 40px; |
michael@0 | 2223 | } |
michael@0 | 2224 | |
michael@0 | 2225 | %include ../shared/UITour.inc.css |
michael@0 | 2226 | |
michael@0 | 2227 | #UITourHighlight { |
michael@0 | 2228 | /* Below are some fixes for people without an X compositor on Linux. |
michael@0 | 2229 | This is why we can't have nice things: */ |
michael@0 | 2230 | /* Animations don't repaint properly without an X compositor. */ |
michael@0 | 2231 | animation-name: none !important; |
michael@0 | 2232 | /* Opacity rounds to 0 or 1 on Linux without an X compositor so make the |
michael@0 | 2233 | background be transparent in that case by having all alpha values < 0.5 */ |
michael@0 | 2234 | background-image: radial-gradient(50% 100%, rgba(0,149,220,0.3) 50%, rgba(0,149,220,0.49) 100%); |
michael@0 | 2235 | /* The highlight isn't anti-aliased without an X compositor so make it thicker. |
michael@0 | 2236 | Make it a darker color since we don't have the box-shadow in this case. */ |
michael@0 | 2237 | border: 4px solid rgb(0,149,220); |
michael@0 | 2238 | } |
michael@0 | 2239 | |
michael@0 | 2240 | #UITourTooltipDescription { |
michael@0 | 2241 | font-size: 1.05rem; |
michael@0 | 2242 | } |
michael@0 | 2243 | |
michael@0 | 2244 | #UITourTooltipClose { |
michael@0 | 2245 | -moz-margin-end: -4px; |
michael@0 | 2246 | height: 16px; |
michael@0 | 2247 | width: 16px; |
michael@0 | 2248 | } |
michael@0 | 2249 | |
michael@0 | 2250 | #UITourTooltipButtons { |
michael@0 | 2251 | margin-bottom: -10px; |
michael@0 | 2252 | } |