2007-11-07 11:50:18 +03:00
|
|
|
%if 0
|
2012-05-21 15:12:37 +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/. */
|
2007-11-07 11:50:18 +03:00
|
|
|
%endif
|
2007-11-07 08:07:40 +03:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2007-11-07 08:08:22 +03:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2014-03-14 01:36:48 +04:00
|
|
|
@namespace svg url("http://www.w3.org/2000/svg");
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2013-02-20 00:34:47 +04:00
|
|
|
%include ../shared/browser.inc
|
2013-05-02 20:42:17 +04:00
|
|
|
%include linuxShared.inc
|
2010-08-24 01:35:34 +04:00
|
|
|
|
2017-02-24 22:07:21 +03:00
|
|
|
%include ../shared/browser.inc.css
|
|
|
|
|
2014-10-29 02:49:50 +03:00
|
|
|
:root {
|
2017-04-05 14:48:16 +03:00
|
|
|
--backbutton-border-color: var(--urlbar-border-color-hover);
|
|
|
|
--backbutton-background: rgba(255,255,255,.15);
|
|
|
|
|
2017-05-15 17:02:55 +03:00
|
|
|
%ifdef MOZ_PHOTON_THEME
|
|
|
|
--toolbarbutton-border-radius: 2px;
|
|
|
|
%else
|
2017-04-05 14:48:16 +03:00
|
|
|
--toolbarbutton-border-radius: 1px;
|
2017-05-15 17:02:55 +03:00
|
|
|
%endif
|
2017-04-05 14:48:16 +03:00
|
|
|
|
2017-05-11 00:04:12 +03:00
|
|
|
--toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) - 1px);
|
2017-04-05 14:48:16 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-hover-background: rgba(255,255,255,.5) linear-gradient(rgba(255,255,255,.5), transparent);
|
|
|
|
--toolbarbutton-hover-bordercolor: rgba(0,0,0,.25);
|
|
|
|
--toolbarbutton-hover-boxshadow: none;
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-active-background: rgba(154,154,154,.5) linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.4));
|
|
|
|
--toolbarbutton-active-bordercolor: rgba(0,0,0,.3);
|
|
|
|
--toolbarbutton-active-boxshadow: 0 1px 1px rgba(0,0,0,.1) inset, 0 0 1px rgba(0,0,0,.3) inset;
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-checkedhover-backgroundcolor: rgba(200,200,200,.5);
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-08-05 19:55:53 +03:00
|
|
|
--panel-separator-color: ThreeDShadow;
|
2016-09-13 14:26:11 +03:00
|
|
|
--arrowpanel-dimmed: hsla(0,0%,80%,.3);
|
|
|
|
--arrowpanel-dimmed-further: hsla(0,0%,80%,.45);
|
|
|
|
--arrowpanel-dimmed-even-further: hsla(0,0%,80%,.8);
|
2015-09-03 21:06:00 +03:00
|
|
|
|
2016-08-11 20:50:54 +03:00
|
|
|
--urlbar-separator-color: ThreeDShadow;
|
2017-02-22 22:13:09 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:54 +03:00
|
|
|
#menubar-items {
|
|
|
|
-moz-box-orient: vertical; /* for flex hack */
|
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
#main-menubar {
|
2007-11-07 08:07:54 +03:00
|
|
|
-moz-box-flex: 1; /* make menu items expand to fill toolbar height */
|
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:24 +04:00
|
|
|
#navigator-toolbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: transparent;
|
|
|
|
border-top: none;
|
2014-02-08 04:27:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox::after {
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
2016-09-06 22:53:28 +03:00
|
|
|
border-bottom: 1px solid ThreeDShadow;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2015-08-19 17:32:58 +03:00
|
|
|
#navigator-toolbox:-moz-lwtheme::after {
|
2016-09-06 22:53:28 +03:00
|
|
|
border-bottom-color: rgba(0,0,0,.3);
|
2015-08-19 17:32:58 +03:00
|
|
|
}
|
|
|
|
|
2016-08-26 19:21:16 +03:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#addon-bar) {
|
2015-10-13 01:03:51 +03:00
|
|
|
background-image: linear-gradient(@toolbarHighlight@, @toolbarHighlight@);
|
|
|
|
}
|
|
|
|
|
2016-08-26 19:21:16 +03:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#addon-bar):-moz-lwtheme {
|
2016-04-08 17:10:41 +03:00
|
|
|
background-image: linear-gradient(@toolbarHighlightLWT@, @toolbarHighlightLWT@);
|
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) {
|
2010-09-04 12:46:24 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2014-06-20 16:11:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
max-height: 4em;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out;
|
2016-08-18 22:13:39 +03:00
|
|
|
padding: 1px 4px;
|
2014-06-20 16:11:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
|
|
|
|
min-height: 0.1px;
|
|
|
|
max-height: 0;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
|
|
|
|
}
|
|
|
|
|
2014-04-22 19:23:49 +04:00
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
2014-05-31 01:18:01 +04:00
|
|
|
border-top: 1px solid hsla(0,0%,0%,.3) !important;
|
|
|
|
background-clip: padding-box;
|
2015-08-09 12:13:27 +03:00
|
|
|
/* Move up into the TabsToolbar for the inner highlight at the top of the nav-bar */
|
|
|
|
margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap));
|
2014-04-22 19:23:49 +04:00
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2013-07-11 00:22:24 +04:00
|
|
|
#nav-bar {
|
2016-04-14 13:22:13 +03:00
|
|
|
box-shadow: 0 1px 0 @navbarInsetHighlight@ inset;
|
2013-11-12 23:44:34 +04:00
|
|
|
padding-top: 2px;
|
2013-11-12 22:35:50 +04:00
|
|
|
padding-bottom: 2px;
|
2013-05-17 00:32:15 +04:00
|
|
|
}
|
|
|
|
|
2014-03-28 17:58:44 +04:00
|
|
|
/* This only has an effect when this element is placed on the bookmarks toolbar.
|
|
|
|
* It's 30px to make sure buttons with 18px icons fit along with the default 16px
|
|
|
|
* icons, without changing the size of the toolbar.
|
|
|
|
*/
|
2010-09-04 12:46:24 +04:00
|
|
|
#personal-bookmarks {
|
2014-03-28 17:58:44 +04:00
|
|
|
min-height: 30px;
|
2007-11-07 08:08:25 +03:00
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:14 +04:00
|
|
|
#browser-bottombox {
|
2010-08-28 03:15:08 +04:00
|
|
|
/* opaque for layers optimization */
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2009-10-14 15:56:59 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-01-15 18:27:30 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark menus */
|
2007-11-07 08:07:40 +03:00
|
|
|
menu.bookmark-item,
|
|
|
|
menuitem.bookmark-item {
|
|
|
|
min-width: 0;
|
2011-01-13 02:49:29 +03:00
|
|
|
max-width: 32em;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-03-06 17:57:00 +04:00
|
|
|
.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
|
2007-11-07 08:08:23 +03:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-start: 0px;
|
2007-11-07 08:07:54 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark drag and drop styles */
|
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
/* rules for menupopup drop indicators */
|
|
|
|
.menupopup-drop-indicator-bar {
|
|
|
|
position: relative;
|
|
|
|
/* these two margins must together compensate the indicator's height */
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: -4em;
|
2008-02-21 05:17:52 +03:00
|
|
|
background-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2009-08-14 12:03:34 +04:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 17:28:04 +04:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 12:03:34 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2007-11-07 11:50:18 +03:00
|
|
|
}
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark items */
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item {
|
2011-08-12 04:50:09 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2007-11-21 04:45:38 +03:00
|
|
|
.bookmark-item[container] {
|
2007-11-28 02:48:41 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.bookmark-item[container][livemark] {
|
2008-02-27 04:03:36 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
2007-11-07 08:07:46 +03:00
|
|
|
}
|
|
|
|
|
2008-02-24 10:38:39 +03:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
2012-02-24 16:42:26 +04:00
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2008-02-24 10:38:39 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 16:27:48 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-21 04:45:38 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-02 01:50:03 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/calendar.png");
|
2008-04-15 21:09:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
2007-11-07 08:09:25 +03:00
|
|
|
}
|
|
|
|
|
2011-06-30 17:34:02 +04:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
%include ../shared/bookmarked-notification.inc.css
|
2014-03-27 21:17:34 +04:00
|
|
|
|
2008-02-23 12:39:51 +03:00
|
|
|
.unified-nav-back[_moz-menuactive] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important;
|
|
|
|
}
|
2009-08-07 12:42:16 +04:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 12:39:51 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important;
|
|
|
|
}
|
|
|
|
.unified-nav-forward[_moz-menuactive] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important;
|
|
|
|
}
|
2009-08-07 12:42:16 +04:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 12:39:51 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important;
|
|
|
|
}
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
2017-04-20 13:56:26 +03:00
|
|
|
%include ../shared/toolbarbutton-icons.inc.css
|
2013-07-10 08:04:17 +04:00
|
|
|
%include ../shared/menupanel.inc.css
|
2010-10-15 21:57:10 +04:00
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Fullscreen window controls */
|
2007-11-07 08:07:40 +03:00
|
|
|
#window-controls {
|
2007-11-07 08:08:25 +03:00
|
|
|
-moz-box-align: start;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 10px;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Minimize.gif");
|
|
|
|
}
|
|
|
|
#restore-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Restore.gif");
|
|
|
|
}
|
|
|
|
#close-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Close.gif");
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Location bar */
|
2016-05-04 18:10:16 +03:00
|
|
|
#main-window {
|
2015-10-13 21:50:04 +03:00
|
|
|
--urlbar-border-color: ThreeDShadow;
|
2017-04-05 14:48:16 +03:00
|
|
|
--urlbar-border-color-hover: var(--urlbar-border-color);
|
2017-05-17 16:18:06 +03:00
|
|
|
--urlbar-background-color: -moz-field;
|
2015-10-13 21:50:04 +03:00
|
|
|
}
|
|
|
|
|
2016-05-09 19:03:48 +03:00
|
|
|
#navigator-toolbox:-moz-lwtheme {
|
2015-10-13 21:50:04 +03:00
|
|
|
--urlbar-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
2017-05-18 14:23:09 +03:00
|
|
|
%include ../shared/urlbar-searchbar.inc.css
|
2017-05-15 17:02:55 +03:00
|
|
|
|
2017-05-18 18:26:09 +03:00
|
|
|
%ifdef MOZ_PHOTON_THEME
|
|
|
|
|
2017-05-15 17:02:55 +03:00
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
|
|
|
border-color: Highlight;
|
|
|
|
}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
-moz-appearance: none;
|
2015-07-22 19:11:34 +03:00
|
|
|
padding: 0;
|
2015-10-13 21:50:04 +03:00
|
|
|
border: 1px solid var(--urlbar-border-color);
|
2014-03-27 21:17:34 +04:00
|
|
|
border-radius: 2px;
|
2015-10-13 21:50:04 +03:00
|
|
|
background-clip: padding-box;
|
2014-05-02 20:26:52 +04:00
|
|
|
margin: 0 3px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[focused],
|
|
|
|
.searchbar-textbox[focused] {
|
|
|
|
border-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
#urlbar {
|
2014-03-27 21:17:34 +04:00
|
|
|
background-color: -moz-field;
|
2009-03-09 18:10:29 +03:00
|
|
|
}
|
|
|
|
|
2015-10-13 21:50:04 +03:00
|
|
|
#urlbar:-moz-lwtheme,
|
|
|
|
.searchbar-textbox:-moz-lwtheme {
|
|
|
|
background-color: rgba(255,255,255,.8);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:-moz-lwtheme[focused=true],
|
|
|
|
.searchbar-textbox:-moz-lwtheme[focused=true] {
|
|
|
|
background-color: white;
|
|
|
|
}
|
2017-05-15 17:02:55 +03:00
|
|
|
%endif
|
2015-10-13 21:50:04 +03:00
|
|
|
|
2011-02-03 09:48:39 +03:00
|
|
|
.urlbar-textbox-container {
|
2009-03-09 18:10:29 +03:00
|
|
|
-moz-appearance: none;
|
2011-02-11 03:59:40 +03:00
|
|
|
-moz-box-align: stretch;
|
2009-03-09 18:10:29 +03:00
|
|
|
}
|
|
|
|
|
2012-04-23 23:12:47 +04:00
|
|
|
.urlbar-input-box {
|
2017-05-10 19:53:58 +03:00
|
|
|
margin: 0;
|
2012-04-23 23:12:47 +04:00
|
|
|
}
|
|
|
|
|
2016-07-04 13:56:29 +03:00
|
|
|
.urlbar-input-box,
|
|
|
|
#urlbar-display-box {
|
|
|
|
padding-inline-start: 4px;
|
|
|
|
border-inline-start: 1px solid var(--urlbar-separator-color);
|
|
|
|
border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%);
|
|
|
|
border-image-slice: 1;
|
|
|
|
}
|
|
|
|
|
2010-09-15 09:41:16 +04:00
|
|
|
.urlbar-history-dropmarker {
|
2009-03-09 18:10:29 +03:00
|
|
|
-moz-appearance: toolbarbutton-dropdown;
|
2015-09-15 17:39:02 +03:00
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
}
|
|
|
|
|
2016-02-21 06:29:27 +03:00
|
|
|
#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2016-06-21 19:21:00 +03:00
|
|
|
#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
|
2015-09-15 17:39:02 +03:00
|
|
|
opacity: 0;
|
2007-11-07 08:08:23 +03:00
|
|
|
}
|
|
|
|
|
2017-05-11 01:36:54 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar {
|
2016-05-13 08:19:58 +03:00
|
|
|
border-inline-start: none;
|
2014-03-27 21:17:34 +04:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) {
|
2014-03-27 21:17:34 +04:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
2014-03-27 21:17:34 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ {
|
2015-06-10 00:18:35 +03:00
|
|
|
clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");
|
2015-07-22 19:11:34 +03:00
|
|
|
margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap));
|
2015-06-10 00:18:35 +03:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
2015-06-16 13:59:50 +03:00
|
|
|
/* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
|
2014-04-23 21:26:32 +04:00
|
|
|
transform: scaleX(-1);
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-direction: reverse;
|
2011-11-01 23:08:21 +04:00
|
|
|
}
|
2017-05-11 01:36:54 +03:00
|
|
|
%endif
|
2011-11-01 23:08:21 +04:00
|
|
|
|
2007-11-07 08:08:23 +03:00
|
|
|
#urlbar-icons {
|
2007-11-24 09:00:27 +03:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2008-02-07 12:05:53 +03:00
|
|
|
.urlbar-icon {
|
2011-09-24 15:03:09 +04:00
|
|
|
padding: 0 3px;
|
2015-10-16 01:15:04 +03:00
|
|
|
/* 16x16 icon with border-box sizing */
|
|
|
|
width: 22px;
|
|
|
|
height: 16px;
|
2008-02-07 12:05:53 +03:00
|
|
|
}
|
|
|
|
|
2016-08-12 20:48:59 +03:00
|
|
|
/* ::::: URL Bar Zoom Reset Button ::::: */
|
|
|
|
@keyframes urlbar-zoom-reset-pulse {
|
|
|
|
0% {
|
2016-08-17 01:24:15 +03:00
|
|
|
transform: scale(0);
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
transform: scale(1.5);
|
2016-08-12 20:48:59 +03:00
|
|
|
}
|
|
|
|
100% {
|
2016-08-17 01:24:15 +03:00
|
|
|
transform: scale(1.0);
|
2016-08-12 20:48:59 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-zoom-button {
|
|
|
|
-moz-appearance: none;
|
2016-10-11 17:25:25 +03:00
|
|
|
color: inherit;
|
2016-08-12 20:48:59 +03:00
|
|
|
}
|
|
|
|
|
2015-05-22 00:20:06 +03:00
|
|
|
#urlbar-search-footer {
|
2016-08-11 18:48:28 +03:00
|
|
|
border-top: 1px solid var(--panel-separator-color);
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-user-focus: ignore;
|
2016-06-21 18:21:36 +03:00
|
|
|
color: GrayText;
|
2015-05-22 00:20:06 +03:00
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 8px 20px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover {
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover:active {
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed-further);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
2011-01-22 14:21:35 +03:00
|
|
|
#urlbar-display-box {
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
2010-03-27 00:59:02 +03:00
|
|
|
}
|
|
|
|
|
2014-09-16 08:01:58 +04:00
|
|
|
.urlbar-display {
|
2011-01-22 14:21:35 +03:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 0;
|
2011-01-22 14:21:35 +03:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2015-08-07 06:13:00 +03:00
|
|
|
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
|
2015-07-21 11:57:39 +03:00
|
|
|
|
2013-11-28 17:25:34 +04:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
/* identity box */
|
2014-03-13 04:43:05 +04:00
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 1.5px;
|
|
|
|
border-bottom-left-radius: 1.5px;
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 1.5px;
|
|
|
|
border-bottom-right-radius: 1.5px;
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2010-08-12 11:39:50 +04:00
|
|
|
#identity-box:-moz-focusring {
|
2016-08-29 12:58:43 +03:00
|
|
|
outline: 1px dotted;
|
2011-03-19 00:21:02 +03:00
|
|
|
outline-offset: -3px;
|
2007-11-07 11:50:18 +03:00
|
|
|
}
|
|
|
|
|
2015-07-07 20:34:37 +03:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
2014-03-27 21:17:34 +04:00
|
|
|
|
2015-04-03 03:10:21 +03:00
|
|
|
%include ../shared/notification-icons.inc.css
|
2010-04-09 21:45:25 +04:00
|
|
|
|
2015-05-24 01:12:49 +03:00
|
|
|
.popup-notification-body[popupid="addon-progress"],
|
|
|
|
.popup-notification-body[popupid="addon-install-confirmation"] {
|
|
|
|
width: 28em;
|
|
|
|
max-width: 28em;
|
2012-04-14 02:01:43 +04:00
|
|
|
}
|
|
|
|
|
2015-03-25 00:24:49 +03:00
|
|
|
.addon-install-confirmation-name {
|
|
|
|
font-weight: bold;
|
2011-01-03 22:40:47 +03:00
|
|
|
}
|
|
|
|
|
2017-03-01 00:26:12 +03:00
|
|
|
html|*.addon-webext-perm-list {
|
|
|
|
margin-block-end: 0;
|
|
|
|
padding-inline-start: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-webext-perm-text {
|
|
|
|
margin-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-description[popupid="addon-webext-permissions"] {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-01-03 21:55:25 +03:00
|
|
|
}
|
|
|
|
|
2017-01-20 19:49:59 +03:00
|
|
|
.addon-webext-name {
|
2017-02-02 07:56:59 +03:00
|
|
|
display: inline;
|
2017-01-20 19:49:59 +03:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-01-20 21:28:47 +03:00
|
|
|
.addon-addon-icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
list-style-image: url("chrome://browser/skin/menuPanel.svg");
|
|
|
|
-moz-image-region: rect(0px, 288px, 32px, 256px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-toolbar-icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2017-04-28 19:17:07 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/menu.svg");
|
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: var(--toolbarbutton-icon-fill);
|
2017-01-20 21:28:47 +03:00
|
|
|
}
|
|
|
|
|
2010-04-09 21:45:25 +04:00
|
|
|
/* Notification icon box */
|
2011-03-19 00:21:02 +03:00
|
|
|
|
2010-06-23 20:53:09 +04:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
|
|
|
outline: 1px dotted -moz-DialogText;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
/* Translation infobar */
|
|
|
|
|
|
|
|
%include ../shared/translation/infobar.inc.css
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] {
|
|
|
|
min-height: 40px;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"],
|
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist {
|
2014-05-31 01:21:11 +04:00
|
|
|
min-height: 30px;
|
2014-05-20 14:10:17 +04:00
|
|
|
color: #5A5959;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] {
|
|
|
|
background-color: #F2F1F0;
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist {
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-end: 1ch;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] menulist {
|
|
|
|
border: 1px solid #C1C1C1;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button {
|
|
|
|
border: 1px solid #C1C1C1;
|
|
|
|
background-color: #F2F1F0;
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist,
|
|
|
|
notification[value="translation"] menulist > .menulist-label-box {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 1ch;
|
|
|
|
margin-inline-end: 1ch;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] button:hover,
|
|
|
|
notification[value="translation"] button:active,
|
|
|
|
notification[value="translation"] menulist:hover,
|
|
|
|
notification[value="translation"] menulist:active {
|
|
|
|
background-color: #E2E1E0;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button[anonid="translate"] {
|
|
|
|
color: #FFF;
|
|
|
|
background-image: linear-gradient(#9FB938, #8DA726);
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid #829C1C;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button[anonid="translate"]:hover,
|
|
|
|
notification[value="translation"] button[anonid="translate"]:active {
|
|
|
|
background-image: linear-gradient(#8DA726, #8DA726);
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button > .button-box,
|
|
|
|
notification[value="translation"] button[type="menu"] > .button-box > .button-menu-dropmarker {
|
|
|
|
padding: 0;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 3ch;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button:not([type="menu"]) > .button-box {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: 3ch;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] menulist > .menulist-dropmarker {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-08-20 00:15:56 +03:00
|
|
|
/* AutoComplete */
|
|
|
|
|
|
|
|
%include ../shared/autocomplete.inc.css
|
|
|
|
|
2016-10-19 20:55:06 +03:00
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:09:46 +03:00
|
|
|
#treecolAutoCompleteImage {
|
2012-05-09 01:47:19 +04:00
|
|
|
max-width : 36px;
|
2007-11-07 08:09:03 +03:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.autocomplete-richlistbox {
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-richlistitem {
|
|
|
|
height: 30px;
|
|
|
|
min-height: 30px;
|
|
|
|
font: message-box;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
2017-04-11 18:40:11 +03:00
|
|
|
|
|
|
|
.autocomplete-richlistitem:hover,
|
|
|
|
treechildren.searchbar-treebody::-moz-tree-row(hover) {
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.06);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-richlistitem[selected],
|
|
|
|
treechildren.searchbar-treebody::-moz-tree-row(selected) {
|
|
|
|
background-color: Highlight;
|
|
|
|
}
|
2016-04-06 04:56:54 +03:00
|
|
|
|
|
|
|
.ac-title {
|
2016-08-25 05:46:46 +03:00
|
|
|
font-size: 1.05em;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-separator,
|
|
|
|
.ac-url,
|
|
|
|
.ac-action,
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-tags {
|
2016-08-25 05:46:46 +03:00
|
|
|
font-size: 0.9em;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
html|span.ac-tag {
|
|
|
|
background-color: MenuText;
|
|
|
|
color: Menu;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: 0 1px;
|
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-separator:not([selected=true]),
|
|
|
|
.ac-url:not([selected=true]),
|
|
|
|
.ac-action:not([selected=true]) {
|
2016-04-06 04:56:54 +03:00
|
|
|
color: -moz-nativehyperlinktext;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-tags-text[selected] > html|span.ac-tag {
|
|
|
|
background-color: HighlightText;
|
|
|
|
color: Highlight;
|
|
|
|
}
|
|
|
|
|
2016-05-23 19:46:34 +03:00
|
|
|
html|span.ac-emphasize-text-title,
|
|
|
|
html|span.ac-emphasize-text-tag,
|
|
|
|
html|span.ac-emphasize-text-url {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-type-icon[type=bookmark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-type-icon[type=bookmark][selected][current] {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-type-icon[type=keyword],
|
2016-11-28 18:48:52 +03:00
|
|
|
.ac-site-icon[type=searchengine] {
|
2017-04-07 15:52:24 +03:00
|
|
|
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg);
|
2017-04-12 15:52:24 +03:00
|
|
|
-moz-context-properties: fill;
|
2017-04-07 15:52:24 +03:00
|
|
|
fill: GrayText;
|
2008-07-17 15:48:40 +04:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-type-icon[type=keyword][selected],
|
2016-11-28 18:48:52 +03:00
|
|
|
.ac-site-icon[type=searchengine][selected] {
|
2017-04-07 15:52:24 +03:00
|
|
|
fill: highlighttext;
|
2014-09-17 17:10:00 +04:00
|
|
|
}
|
|
|
|
|
2016-04-16 05:42:27 +03:00
|
|
|
.ac-type-icon[type=switchtab],
|
|
|
|
.ac-type-icon[type=remotetab] {
|
2016-04-06 04:56:54 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab");
|
2007-11-30 07:57:57 +03:00
|
|
|
}
|
|
|
|
|
2016-04-16 05:42:27 +03:00
|
|
|
.ac-type-icon[type=switchtab][selected],
|
|
|
|
.ac-type-icon[type=remotetab][selected] {
|
2016-04-06 04:56:54 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted");
|
2010-03-27 00:59:02 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
2007-11-30 07:57:57 +03:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
2007-11-07 11:50:18 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
|
2007-11-07 08:08:15 +03:00
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
2007-11-07 08:08:23 +03:00
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2010-09-03 06:20:12 +04:00
|
|
|
/* Combined go/reload/stop button in location bar */
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button,
|
|
|
|
#stop-button {
|
2010-09-03 06:20:12 +04:00
|
|
|
-moz-appearance: none;
|
2013-11-01 22:27:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2016-06-14 13:21:19 +03:00
|
|
|
padding: 0 9px;
|
2015-10-07 17:47:56 +03:00
|
|
|
margin-inline-start: 5px;
|
2015-09-03 21:06:00 +03:00
|
|
|
border-inline-start: 1px solid var(--urlbar-separator-color);
|
|
|
|
border-image: linear-gradient(transparent 15%,
|
|
|
|
var(--urlbar-separator-color) 15%,
|
|
|
|
var(--urlbar-separator-color) 85%,
|
|
|
|
transparent 85%);
|
|
|
|
border-image-slice: 1;
|
2013-11-01 22:27:55 +04:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover:active {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(28px, 14px, 42px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2013-11-01 22:27:55 +04:00
|
|
|
transform: scaleX(-1);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover {
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 42px, 42px, 28px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-01-27 16:15:56 +03:00
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2011-01-27 16:15:56 +03:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:not([disabled]):hover {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:hover:active {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(28px, 28px, 42px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2015-05-27 20:58:24 +03:00
|
|
|
@media (min-resolution: 1.1dppx) {
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button,
|
|
|
|
#stop-button {
|
2015-05-27 20:58:24 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
|
|
|
}
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button > .toolbarbutton-icon,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button > .toolbarbutton-icon,
|
|
|
|
#stop-button > .toolbarbutton-icon {
|
2015-09-03 21:06:00 +03:00
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
2015-05-27 20:58:24 +03:00
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 84px, 28px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover {
|
|
|
|
-moz-image-region: rect(28px, 84px, 56px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(56px, 84px, 84px, 56px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(0, 28px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(28px, 28px, 56px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover:active {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(56px, 28px, 84px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(0, 56px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:not([disabled]):hover {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(28px, 56px, 56px, 28px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:hover:active {
|
2015-05-27 20:58:24 +03:00
|
|
|
-moz-image-region: rect(56px, 56px, 84px, 28px);
|
|
|
|
}
|
|
|
|
}
|
2017-05-11 20:16:05 +03:00
|
|
|
%endif
|
2015-05-27 20:58:24 +03:00
|
|
|
|
2010-12-16 20:53:27 +03:00
|
|
|
/* Popup blocker button */
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/Info.png");
|
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
/* Reader mode button */
|
|
|
|
|
|
|
|
#reader-mode-button {
|
2015-03-21 03:28:03 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/readerMode.svg");
|
2015-01-03 04:20:12 +03:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2015-03-21 03:28:03 +03:00
|
|
|
#reader-mode-button:hover,
|
|
|
|
#reader-mode-button[readeractive]:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2015-02-11 18:29:34 +03:00
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
#reader-mode-button:hover:active,
|
|
|
|
#reader-mode-button[readeractive] {
|
2015-03-21 03:28:03 +03:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2015-01-03 04:20:12 +03:00
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
/* social share panel */
|
2016-08-24 01:24:07 +03:00
|
|
|
%include ../shared/social/social.inc.css
|
2013-05-07 10:02:58 +04:00
|
|
|
|
|
|
|
.social-share-frame {
|
2014-12-23 03:11:56 +03:00
|
|
|
border-top: 1px solid #f8f8f8;
|
|
|
|
width: 756px;
|
2013-05-07 10:02:58 +04:00
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#share-container {
|
|
|
|
min-width: 756px;
|
|
|
|
background-color: white;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
#share-container[loading] {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
|
|
|
|
}
|
|
|
|
#share-container > browser {
|
|
|
|
transition: opacity 150ms ease-in-out;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#share-container[loading] > browser {
|
|
|
|
opacity: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.social-share-toolbar {
|
|
|
|
border-bottom: 1px solid #dedede;
|
|
|
|
padding: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#social-share-provider-buttons {
|
|
|
|
padding: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button {
|
2013-05-07 10:02:58 +04:00
|
|
|
padding: 5px;
|
2014-12-23 03:11:56 +03:00
|
|
|
margin: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button > .toolbarbutton-text {
|
2013-05-07 10:02:58 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button > .toolbarbutton-icon {
|
2013-05-07 10:02:58 +04:00
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-01-30 07:37:20 +03:00
|
|
|
/* Bookmarking panel */
|
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelTitle {
|
|
|
|
font-size: 130%;
|
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBookmarkPanelHeader,
|
|
|
|
#editBookmarkPanelContent {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
2009-01-13 13:48:26 +03:00
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
|
|
#editBMPanel_folderTree {
|
2009-01-17 17:45:37 +03:00
|
|
|
min-width: 27em;
|
2009-01-13 13:48:26 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Content area */
|
2017-05-16 20:31:00 +03:00
|
|
|
|
|
|
|
%include ../shared/sidebar.inc.css
|
|
|
|
|
2007-11-07 08:09:12 +03:00
|
|
|
#sidebar {
|
|
|
|
background-color: Window;
|
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:24 +04:00
|
|
|
/* Tabstrip */
|
2007-11-07 08:07:46 +03:00
|
|
|
|
2013-03-20 22:01:00 +04:00
|
|
|
%include ../shared/tabs.inc.css
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2013-05-17 00:32:15 +04:00
|
|
|
#tabbrowser-tabs {
|
|
|
|
/* override the global style to allow the selected tab to be above the nav-bar */
|
|
|
|
z-index: auto;
|
2009-11-02 02:24:12 +03:00
|
|
|
}
|
|
|
|
|
2010-03-17 09:36:13 +03:00
|
|
|
#TabsToolbar {
|
|
|
|
min-height: 0;
|
|
|
|
padding: 0;
|
2015-01-09 22:42:00 +03:00
|
|
|
margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap));
|
2010-03-17 09:36:13 +03:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2011-02-17 21:40:41 +03:00
|
|
|
-moz-appearance: menubar;
|
|
|
|
color: -moz-menubartext;
|
2010-09-04 12:46:24 +04:00
|
|
|
}
|
|
|
|
|
2013-05-17 23:29:05 +04:00
|
|
|
#toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag),
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) {
|
2013-05-17 23:29:05 +04:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2015-07-20 18:43:39 +03:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content {
|
2010-09-04 12:46:24 +04:00
|
|
|
outline: 1px dotted;
|
2015-07-20 18:43:39 +03:00
|
|
|
outline-offset: -6px;
|
2010-09-03 00:08:37 +04:00
|
|
|
}
|
|
|
|
|
2008-02-25 11:47:24 +03:00
|
|
|
#context_reloadTab {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeOtherTabs {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeOtherTabs[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_undoCloseTab {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undelete?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeTab {
|
2009-11-03 11:31:30 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2008-02-25 11:47:24 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Tab drag and drop */
|
2007-11-07 08:08:54 +03:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 11:07:45 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 22:06:27 +04:00
|
|
|
margin-bottom: -9px;
|
|
|
|
z-index: 3;
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2014-04-25 16:30:18 +04:00
|
|
|
/* Tab close button */
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-close-button:not([selected]):not(:hover) {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48);
|
|
|
|
}
|
|
|
|
|
2015-10-13 01:03:51 +03:00
|
|
|
.tab-close-button:not(:hover):-moz-lwtheme-brighttext,
|
2016-08-24 17:40:11 +03:00
|
|
|
#TabsToolbar[brighttext] .tab-close-button:not([selected]):not(:hover) {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
|
|
|
|
}
|
|
|
|
|
2015-10-13 01:03:51 +03:00
|
|
|
.tab-close-button:not(:hover):-moz-lwtheme-darktext {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80);
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2009-01-23 11:13:13 +03:00
|
|
|
/* Tabstrip new tab button */
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button ,
|
2016-04-06 15:22:13 +03:00
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.svg);
|
2010-04-27 20:57:19 +04:00
|
|
|
-moz-image-region: auto;
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
|
|
|
|
2016-04-06 15:22:13 +03:00
|
|
|
#TabsToolbar[brighttext] .tabs-newtab-button,
|
|
|
|
#TabsToolbar[brighttext] > #new-tab-button,
|
|
|
|
#TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.svg);
|
|
|
|
}
|
|
|
|
|
2008-02-15 08:28:44 +03:00
|
|
|
/* Tabbrowser arrowscrollbox arrows */
|
2014-06-19 18:36:08 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2014-06-19 18:36:08 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2008-02-15 08:28:44 +03:00
|
|
|
}
|
|
|
|
|
2014-06-19 18:36:08 +04:00
|
|
|
#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
2014-06-26 15:35:27 +04:00
|
|
|
#alltabs-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
|
2010-09-14 14:56:22 +04:00
|
|
|
}
|
|
|
|
|
2014-06-26 15:35:27 +04:00
|
|
|
#TabsToolbar[brighttext] > #alltabs-button,
|
|
|
|
#TabsToolbar[brighttext] > toolbarpaletteitem > #alltabs-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs-inverted.png");
|
2009-07-10 15:20:03 +04:00
|
|
|
}
|
|
|
|
|
2014-06-26 15:35:27 +04:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2009-07-10 15:20:03 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-07-10 22:34:46 +04:00
|
|
|
/* All tabs menupopup */
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
2011-08-12 04:50:09 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2009-07-10 22:34:46 +04:00
|
|
|
}
|
|
|
|
|
2015-04-30 22:14:25 +03:00
|
|
|
.alltabs-item[selected="true"] {
|
2009-07-10 22:34:46 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
2016-03-15 13:04:22 +03:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading.png");
|
2009-07-10 22:34:46 +04:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
|
|
|
|
}
|
|
|
|
|
2016-07-06 17:19:20 +03:00
|
|
|
toolbar[brighttext] toolbarbutton.chevron {
|
2014-10-21 02:10:15 +04:00
|
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
|
|
|
|
}
|
|
|
|
|
2009-08-11 12:27:20 +04:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2007-11-07 08:07:48 +03:00
|
|
|
}
|
|
|
|
|
2009-02-22 11:43:59 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text,
|
2007-11-07 08:07:40 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-02-22 11:43:59 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2011-01-28 16:35:49 +03:00
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
.statuspanel-label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2016-08-06 09:46:14 +03:00
|
|
|
background: -moz-dialog;
|
|
|
|
border: 1px none ThreeDShadow;
|
2011-01-28 16:35:49 +03:00
|
|
|
border-top-style: solid;
|
2016-08-06 09:46:14 +03:00
|
|
|
color: -moz-dialogText;
|
2011-01-31 09:27:33 +03:00
|
|
|
text-shadow: none;
|
2011-01-28 16:35:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
|
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
|
|
border-left-style: solid;
|
|
|
|
border-top-left-radius: .3em;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 21:18:11 +04:00
|
|
|
|
2015-08-13 15:42:06 +03:00
|
|
|
%include ../shared/fullscreen/warning.inc.css
|
2016-09-07 17:25:50 +03:00
|
|
|
%include ../shared/ctrlTab.inc.css
|
2013-06-24 18:40:26 +04:00
|
|
|
%include ../shared/plugin-doorhanger.inc.css
|
2016-04-08 17:36:39 +03:00
|
|
|
|
|
|
|
notification.pluginVulnerable > .notification-inner > .messageCloseButton:not(:hover) {
|
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
|
|
|
|
}
|
|
|
|
|
2012-06-01 11:24:19 +04:00
|
|
|
|
2013-09-18 23:32:16 +04:00
|
|
|
%include downloads/indicator.css
|
|
|
|
|
2013-02-07 10:04:00 +04:00
|
|
|
.gcli-panel {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2012-10-05 03:46:38 +04:00
|
|
|
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
|
|
|
|
color: hsl(210,11%,16%);
|
2012-05-10 21:33:54 +04:00
|
|
|
}
|
|
|
|
|
2012-07-05 19:02:28 +04:00
|
|
|
/* Error counter */
|
|
|
|
|
2012-11-30 12:07:59 +04:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 19:02:28 +04:00
|
|
|
color: #FDF3DE;
|
|
|
|
min-width: 16px;
|
|
|
|
text-shadow: none;
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
2012-07-05 19:02:28 +04:00
|
|
|
border-radius: 1px;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: 2px;
|
2012-07-05 19:02:28 +04:00
|
|
|
}
|
2012-08-04 05:45:37 +04:00
|
|
|
|
2013-03-22 23:15:58 +04:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-15 09:34:52 +04:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-23 01:28:34 +04:00
|
|
|
|
2014-06-03 00:59:38 +04:00
|
|
|
#main-window[customize-entered] > #tab-view-deck {
|
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
linear-gradient(to bottom, #bcbcbc, #b5b5b5);
|
|
|
|
background-attachment: fixed;
|
2014-01-30 20:16:00 +04:00
|
|
|
}
|
|
|
|
|
2014-06-03 00:59:38 +04:00
|
|
|
#main-window[customization-lwtheme]:-moz-lwtheme {
|
2013-05-10 02:28:02 +04:00
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png"),
|
|
|
|
linear-gradient(to bottom, #bcbcbc, #b5b5b5);
|
2014-06-03 00:59:38 +04:00
|
|
|
background-color: #b5b5b5;
|
|
|
|
background-repeat: repeat;
|
2013-05-10 02:28:02 +04:00
|
|
|
background-attachment: fixed;
|
2014-06-03 00:59:38 +04:00
|
|
|
background-position: left top;
|
2013-05-10 02:28:02 +04:00
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #browser-bottombox,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar),
|
|
|
|
#main-window[customize-entered] #customization-container {
|
2013-05-22 00:18:40 +04:00
|
|
|
border: 3px solid hsla(0,0%,0%,.1);
|
|
|
|
border-top-width: 0;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-origin: padding-box;
|
|
|
|
-moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #customization-container,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2013-05-22 00:18:40 +04:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #TabsToolbar {
|
2013-05-22 00:18:40 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
2013-05-10 02:28:02 +04:00
|
|
|
}
|
|
|
|
|
2014-04-25 16:30:18 +04:00
|
|
|
/* The :hover:active style from toolkit doesn't seem to work in this panel so just use :active. */
|
|
|
|
.customization-tipPanel-closeBox > .close-icon:active {
|
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32);
|
|
|
|
}
|
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +04:00
|
|
|
|
2013-01-14 20:00:43 +04:00
|
|
|
|
2014-02-26 11:07:03 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
|
2013-01-14 20:00:43 +04:00
|
|
|
background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat;
|
|
|
|
width: 40px;
|
|
|
|
}
|
2013-11-17 13:32:40 +04:00
|
|
|
|
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-31 06:25:45 +04:00
|
|
|
|
2014-04-13 22:28:19 +04:00
|
|
|
#UITourHighlight {
|
|
|
|
/* Below are some fixes for people without an X compositor on Linux.
|
|
|
|
This is why we can't have nice things: */
|
|
|
|
/* Animations don't repaint properly without an X compositor. */
|
|
|
|
animation-name: none !important;
|
|
|
|
/* Opacity rounds to 0 or 1 on Linux without an X compositor so make the
|
|
|
|
background be transparent in that case by having all alpha values < 0.5 */
|
|
|
|
background-image: radial-gradient(50% 100%, rgba(0,149,220,0.3) 50%, rgba(0,149,220,0.49) 100%);
|
|
|
|
/* The highlight isn't anti-aliased without an X compositor so make it thicker.
|
|
|
|
Make it a darker color since we don't have the box-shadow in this case. */
|
|
|
|
border: 4px solid rgb(0,149,220);
|
|
|
|
}
|
|
|
|
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipDescription {
|
|
|
|
font-size: 1.05rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: -4px;
|
2014-03-16 01:21:20 +04:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
2016-04-15 17:30:07 +03:00
|
|
|
/**
|
2016-09-20 10:27:49 +03:00
|
|
|
* Override the --arrowpanel-padding so the background extends
|
2016-04-15 17:30:07 +03:00
|
|
|
* to the sides and bottom of the panel.
|
|
|
|
*/
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipButtons {
|
2016-04-15 17:30:07 +03:00
|
|
|
margin-left: -10px;
|
2014-03-16 01:21:20 +04:00
|
|
|
margin-bottom: -10px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
2014-05-13 01:35:39 +04:00
|
|
|
|
|
|
|
%include ../shared/contextmenu.inc.css
|
|
|
|
|
|
|
|
#context-navigation > .menuitem-iconic > .menu-iconic-left {
|
|
|
|
/* override toolkit/themes/linux/global/menu.css */
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-end: 0 !important;
|
|
|
|
margin-inline-end: 0 !important;
|
2014-05-13 01:35:39 +04:00
|
|
|
}
|
2015-06-04 01:34:44 +03:00
|
|
|
|
2015-10-16 01:15:04 +03:00
|
|
|
.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
2015-06-04 01:34:44 +03:00
|
|
|
padding: 0;
|
2015-10-22 21:36:47 +03:00
|
|
|
overflow: hidden;
|
2015-06-04 01:34:44 +03:00
|
|
|
}
|
2016-05-26 14:12:24 +03:00
|
|
|
|
2016-08-09 22:08:04 +03:00
|
|
|
.webextension-popup-browser {
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|