2014-10-09 01:05:46 +04:00
|
|
|
% This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
% License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
% file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
%include ../shared/devedition.inc.css
|
2014-11-01 05:06:06 +03:00
|
|
|
|
2015-11-17 17:30:18 +03:00
|
|
|
:root {
|
|
|
|
--forwardbutton-width: 29px;
|
|
|
|
}
|
|
|
|
|
2016-03-17 14:30:35 +03:00
|
|
|
:root[devtoolstheme="light"] {
|
|
|
|
--urlbar-dropmarker-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg");
|
|
|
|
--urlbar-dropmarker-region: rect(0px, 11px, 14px, 0px);
|
|
|
|
--urlbar-dropmarker-hover-region: rect(0, 22px, 14px, 11px);
|
|
|
|
--urlbar-dropmarker-active-region: rect(0px, 33px, 14px, 22px);
|
|
|
|
--urlbar-dropmarker-2x-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg");
|
|
|
|
--urlbar-dropmarker-2x-region: rect(0px, 11px, 14px, 0px);
|
|
|
|
--urlbar-dropmarker-hover-2x-region: rect(0, 22px, 14px, 11px);
|
|
|
|
--urlbar-dropmarker-active-2x-region: rect(0px, 33px, 14px, 22px);
|
|
|
|
}
|
|
|
|
|
2015-11-17 18:19:47 +03:00
|
|
|
:root[devtoolstheme="dark"] .findbar-closebutton:not(:hover),
|
|
|
|
:root[devtoolstheme="dark"] #sidebar-header > .close-icon:not(:hover),
|
2015-05-12 03:13:14 +03:00
|
|
|
.tab-close-button[visuallyselected]:not(:hover) {
|
2014-11-01 05:06:06 +03:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
|
|
|
|
}
|
|
|
|
|
2014-12-23 19:41:21 +03:00
|
|
|
/* The menubar and tabs toolbar should match the devedition theme */
|
|
|
|
#TabsToolbar,
|
2014-11-01 05:06:06 +03:00
|
|
|
#toolbar-menubar {
|
2014-12-23 19:41:21 +03:00
|
|
|
-moz-appearance: none !important;
|
2014-11-01 05:06:06 +03:00
|
|
|
}
|
|
|
|
#main-menubar {
|
|
|
|
color: var(--chrome-color);
|
|
|
|
}
|
|
|
|
#main-menubar > menu:not([open]) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Allow buttons with -moz-appearance set to look normal on hover and open states */
|
2014-11-07 05:39:30 +03:00
|
|
|
#navigator-toolbox .toolbarbutton-1:-moz-any(:hover, [open="true"]),
|
|
|
|
#PlacesToolbar toolbarbutton.bookmark-item:-moz-any(:hover, [open="true"]) {
|
2014-11-01 05:06:06 +03:00
|
|
|
color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Square back and forward buttons */
|
2015-04-08 19:57:47 +03:00
|
|
|
#back-button > .toolbarbutton-icon,
|
|
|
|
#forward-button > .toolbarbutton-icon {
|
2014-11-01 05:06:06 +03:00
|
|
|
margin: 0;
|
2015-01-20 15:45:00 +03:00
|
|
|
border: 1px solid var(--chrome-nav-bar-controls-border-color);
|
|
|
|
padding: 2px 5px;
|
2014-11-08 02:29:25 +03:00
|
|
|
background: var(--chrome-nav-buttons-background);
|
2014-11-01 05:06:06 +03:00
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
2015-01-20 15:45:00 +03:00
|
|
|
#forward-button > .toolbarbutton-icon {
|
2016-05-13 08:19:58 +03:00
|
|
|
border-inline-start: none;
|
2015-01-20 15:45:00 +03:00
|
|
|
}
|
|
|
|
|
2014-11-01 05:06:06 +03:00
|
|
|
/* Override a box shadow for disabled back button */
|
|
|
|
#main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button:hover:not([disabled="true"]) > .toolbarbutton-icon,
|
|
|
|
#forward-button:hover:not([disabled="true"]) > .toolbarbutton-icon {
|
2014-11-08 02:29:25 +03:00
|
|
|
background: var(--chrome-nav-buttons-hover-background) !important;
|
2014-11-01 05:06:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#back-button > .toolbarbutton-icon {
|
|
|
|
border-radius: 2px 0 0 2px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 0 3px;
|
|
|
|
list-style-image: var(--urlbar-dropmarker-url);
|
|
|
|
-moz-image-region: var(--urlbar-dropmarker-region);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Add the proper background for tab overflow */
|
|
|
|
#alltabs-button,
|
|
|
|
#new-tab-button {
|
|
|
|
background: var(--chrome-background-color);
|
|
|
|
}
|
2014-11-08 02:29:25 +03:00
|
|
|
|
|
|
|
#new-tab-button:hover > .toolbarbutton-icon {
|
|
|
|
border-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prevent double border below tabs toolbar */
|
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
|
|
|
border-top-width: 0 !important;
|
|
|
|
}
|
2015-03-20 23:12:07 +03:00
|
|
|
|
2015-11-17 18:19:47 +03:00
|
|
|
/* Fix the bad-looking text-shadow in the sidebar header: */
|
|
|
|
.sidebar-header,
|
|
|
|
#sidebar-header {
|
|
|
|
text-shadow: none;
|
2015-03-20 23:12:07 +03:00
|
|
|
}
|
2015-11-17 18:19:47 +03:00
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-type-icon {
|
|
|
|
/* Left-align the type icon in awesomebar popup results with the icon in the
|
|
|
|
urlbar. */
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 11px;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|