1 % This Source Code Form is subject to the terms of the Mozilla Public
2 % License
, v
. 2.0. If a copy of the MPL was not distributed with this
3 % file
, You can obtain one at
http://mozilla
.org
/MPL
/2.0/.
5 %include
../shared
/devedition
.inc
.css
7 /* Use forward-facing magnifying glasses for the search box */
8 :root
[devtoolstheme
="dark"] {
9 --search-button-image: url
("chrome://browser/skin/devedition/search.svg#search-icon-mac-inverted");
11 :root
[devtoolstheme
="light"] {
12 --search-button-image: url
("chrome://browser/skin/devedition/search.svg#search-icon-mac");
15 /* Use only 1px separator between nav toolbox and page content */
16 #navigator-toolbox::after
{
17 background: linear-gradient
(to top
, var
(--chrome-navigator-toolbox-separator-color
), var
(--chrome-navigator-toolbox-separator-color
) 1px, transparent
1px);
20 /* Include extra space on left/right for dragging since there is no space above
22 #main-window[tabsintitlebar
] #TabsToolbar
{
25 margin-bottom: 0; /* Don't overlap the inner highlight at the top of the nav-bar */
28 /* Get rid of 1px bright strip at the top of window */
29 #main-window[tabsintitlebar
] #titlebar-content
{
30 background: var
(--chrome-background-color
);
33 /* Resize things so that the native titlebar is in line with the tabs */
34 #main-window[tabsintitlebar
] > #titlebar
> #titlebar-content
> #titlebar-buttonbox-container
,
35 #main-window[tabsintitlebar
] > #titlebar
> #titlebar-content
> #titlebar-secondary-buttonbox
> #titlebar-fullscreen-button
{
39 /* Square back and forward buttons. Need !important on these because there
40 are a lot of more specific selectors sprinkled around elsewhere for changing
41 background / shadows for different states */
44 height: 22px !important
;
45 box-shadow: none
!important
;
46 border: none
!important
;
47 background: var
(--chrome-nav-buttons-background
) !important
;
50 #back-button:hover:not
([disabled
="true"]),
51 #forward-button:hover:not
([disabled
="true"]) {
52 background: var
(--chrome-nav-buttons-hover-background
) !important
;
56 border-radius: 3px 0 0 3px !important
;
57 padding: 0 !important
;
61 #back-button:hover:active:not
([disabled
="true"]) {
62 -moz-image-region: rect
(18px, 54px, 36px, 36px);
65 /* Use smaller back button icon */
66 @media (min-resolution: 2dppx) {
68 -moz-image-region: rect
(0, 108px, 36px, 72px);
71 #back-button:hover:active:not
([disabled
="true"]) {
72 -moz-image-region: rect
(36px, 108px, 72px, 72px);
76 #forward-button:hover:active:not
(:-moz-lwtheme
) {
77 background-image: none
;
81 /* Don't use the default background for tabs toolbar */
83 -moz-appearance: none
!important
;
86 /* Tab styling - make sure to use an inverted icon for the selected tab
87 (brighttext only covers the unselected tabs) */
88 .tab-close-button[selected=true]:not(:hover) {
89 -moz-image-region: rect
(0, 64px, 16px, 48px);
91 @media (min-resolution: 2dppx) {
92 .tab-close-button[selected=true]:not(:hover) {
93 -moz-image-region: rect
(0, 128px, 32px, 96px);