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
|
|
|
|
|
|
|
@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");
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2017-02-24 22:07:21 +03:00
|
|
|
%include ../shared/browser.inc.css
|
|
|
|
|
2014-10-29 02:49:50 +03:00
|
|
|
:root {
|
2017-08-03 10:15:23 +03:00
|
|
|
--toolbar-non-lwt-bgcolor: -moz-dialog;
|
|
|
|
--toolbar-non-lwt-textcolor: -moz-dialogtext;
|
|
|
|
--toolbar-non-lwt-bgimage: linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15));
|
|
|
|
--toolbar-bgcolor: var(--toolbar-non-lwt-bgcolor);
|
|
|
|
--toolbar-bgimage: var(--toolbar-non-lwt-bgimage);
|
|
|
|
|
2017-07-19 12:27:39 +03:00
|
|
|
--toolbarbutton-border-radius: 4px;
|
2017-05-26 23:15:49 +03:00
|
|
|
--toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) - 1px);
|
2017-09-15 14:00:40 +03:00
|
|
|
--toolbarbutton-icon-fill-opacity: .85;
|
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-08-21 18:05:41 +03:00
|
|
|
|
|
|
|
--toolbox-border-bottom-color: ThreeDShadow;
|
2017-02-22 22:13:09 +03:00
|
|
|
}
|
|
|
|
|
2018-02-02 17:54:52 +03:00
|
|
|
#navigator-toolbox {
|
|
|
|
--tabs-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbrowser-tabs {
|
|
|
|
--tab-line-color: highlight;
|
|
|
|
}
|
|
|
|
|
2017-08-03 10:15:23 +03:00
|
|
|
:root:-moz-lwtheme {
|
|
|
|
--toolbar-bgcolor: rgba(255,255,255,.4);
|
|
|
|
--toolbar-bgimage: none;
|
2017-08-21 18:05:41 +03:00
|
|
|
|
|
|
|
--toolbox-border-bottom-color: rgba(0,0,0,.3);
|
2018-02-11 20:32:33 +03:00
|
|
|
|
|
|
|
--panel-separator-color: hsla(210,4%,10%,.14);
|
2017-08-03 10:15:23 +03:00
|
|
|
}
|
|
|
|
|
2018-03-28 22:22:29 +03:00
|
|
|
:root[lwt-popup-brighttext] {
|
2018-06-06 12:27:14 +03:00
|
|
|
--panel-separator-color: rgba(249,249,250,.1);
|
2018-06-01 18:13:27 +03:00
|
|
|
|
|
|
|
--arrowpanel-dimmed: rgba(249,249,250,.1);
|
|
|
|
--arrowpanel-dimmed-further: rgba(249,249,250,.15);
|
|
|
|
--arrowpanel-dimmed-even-further: rgba(249,249,250,.2);
|
2018-03-28 22:22:29 +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
|
|
|
}
|
|
|
|
|
2018-08-30 13:13:58 +03:00
|
|
|
.browser-toolbar {
|
2017-11-01 13:17:50 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2018-08-30 13:13:58 +03:00
|
|
|
.browser-toolbar:not(.titlebar-color) {
|
2017-08-03 10:15:23 +03:00
|
|
|
background-color: var(--toolbar-bgcolor);
|
|
|
|
background-image: var(--toolbar-bgimage);
|
2017-08-30 16:23:58 +03:00
|
|
|
color: var(--toolbar-color, inherit);
|
2010-09-04 12:46:24 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
}
|
|
|
|
|
2014-04-22 19:23:49 +04:00
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
2017-11-03 21:00:51 +03:00
|
|
|
box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color);
|
2017-10-24 13:37:43 +03:00
|
|
|
/* This is needed for some toolbar button animations. Gross :( */
|
2014-04-22 19:23:49 +04:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
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/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 */
|
2018-08-17 15:36:19 +03:00
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#restore-button,
|
|
|
|
#close-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 6px 12px;
|
|
|
|
-moz-context-properties: stroke;
|
|
|
|
stroke: currentColor;
|
|
|
|
color: inherit;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button {
|
2018-08-17 15:36:19 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/window-controls/minimize.svg);
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
2018-08-17 15:36:19 +03:00
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
#restore-button {
|
2018-08-17 15:36:19 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/window-controls/restore.svg);
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
2018-08-17 15:36:19 +03:00
|
|
|
|
|
|
|
#minimize-button:hover,
|
|
|
|
#restore-button:hover {
|
|
|
|
background-color: hsla(0,0%,0%,.12);
|
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button:hover:active,
|
|
|
|
#restore-button:hover:active {
|
|
|
|
background-color: hsla(0,0%,0%,.22);
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar[brighttext] > #window-controls > #minimize-button:hover,
|
|
|
|
#TabsToolbar[brighttext] > #window-controls > #restore-button:hover {
|
|
|
|
background-color: hsla(0,0%,100%,.12);
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar[brighttext] > #window-controls > #minimize-button:hover:active,
|
|
|
|
#TabsToolbar[brighttext] > #window-controls > #restore-button:hover:active {
|
|
|
|
background-color: hsla(0,0%,100%,.22);
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
#close-button {
|
2018-08-17 15:36:19 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/window-controls/close.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#close-button:hover {
|
2018-08-22 08:38:03 +03:00
|
|
|
background-color: #d70022;
|
2018-08-17 15:36:19 +03:00
|
|
|
stroke: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#close-button:hover:active {
|
2018-08-22 08:38:03 +03:00
|
|
|
background-color: #ff0039;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Location bar */
|
2015-10-13 21:50:04 +03:00
|
|
|
|
2017-05-18 14:23:09 +03:00
|
|
|
%include ../shared/urlbar-searchbar.inc.css
|
2017-05-15 17:02:55 +03:00
|
|
|
|
2017-05-22 16:40:19 +03:00
|
|
|
#urlbar:not(:-moz-lwtheme):not([focused="true"]),
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme):not([focused="true"]) {
|
|
|
|
border-color: ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2017-07-06 10:37:19 +03:00
|
|
|
#identity-box:not(:active):-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;
|
|
|
|
}
|
|
|
|
|
2017-06-09 22:59:04 +03:00
|
|
|
.popup-notification-description[popupid="addon-webext-permissions"],
|
2018-01-19 21:04:25 +03:00
|
|
|
.popup-notification-description[popupid="addon-webext-permissions-notification"] {
|
|
|
|
margin-inline-start: -1px;
|
2017-06-01 23:20:29 +03:00
|
|
|
}
|
|
|
|
|
2017-06-09 22:59:04 +03:00
|
|
|
.addon-webext-perm-notification-content,
|
2017-06-01 23:20:29 +03:00
|
|
|
.addon-installed-notification-content {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
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-06-01 23:20:29 +03:00
|
|
|
.addon-addon-icon,
|
|
|
|
.addon-toolbar-icon {
|
2017-01-20 21:28:47 +03:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2017-06-01 23:20:29 +03:00
|
|
|
vertical-align: bottom;
|
|
|
|
margin-bottom: 1px;
|
2017-07-27 16:24:21 +03:00
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: currentColor;
|
2017-06-01 23:20:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon-addon-icon {
|
2017-08-10 15:58:58 +03:00
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.svg");
|
2017-01-20 21:28:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon-toolbar-icon {
|
2017-04-28 19:17:07 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/menu.svg");
|
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
|
2017-08-17 14:35:05 +03:00
|
|
|
%include ../shared/urlbar-autocomplete.inc.css
|
2016-08-20 00:15:56 +03:00
|
|
|
|
2018-02-02 18:09:22 +03:00
|
|
|
:root {
|
|
|
|
--urlbar-popup-url-color: -moz-nativehyperlinktext;
|
|
|
|
--urlbar-popup-action-color: -moz-nativehyperlinktext;
|
|
|
|
}
|
|
|
|
|
2016-10-19 20:55:06 +03:00
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2008-01-30 07:37:20 +03:00
|
|
|
/* Bookmarking panel */
|
|
|
|
|
2018-05-22 13:21:52 +03:00
|
|
|
%include ../shared/places/editBookmarkPanel.inc.css
|
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
|
|
|
|
|
2017-08-21 13:26:36 +03:00
|
|
|
#sidebar-box {
|
|
|
|
background-color: -moz-Field;
|
|
|
|
color: -moz-FieldText;
|
2007-11-07 08:09:12 +03:00
|
|
|
}
|
|
|
|
|
2017-05-29 23:37:56 +03:00
|
|
|
#sidebar-header {
|
|
|
|
border-bottom: 1px solid ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-splitter {
|
2017-09-07 21:22:58 +03:00
|
|
|
-moz-appearance: none;
|
|
|
|
width: 6px;
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
border: 1px ThreeDShadow;
|
|
|
|
border-style: none solid;
|
2017-05-29 23:37:56 +03:00
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2018-02-11 01:24:50 +03:00
|
|
|
.browserContainer > findbar:-moz-lwtheme {
|
|
|
|
background-color: var(--toolbar-bgcolor);
|
|
|
|
color: var(--toolbar-color, -moz-DialogText);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-10-07 14:58:37 +03:00
|
|
|
#nav-bar {
|
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
|
|
|
}
|
|
|
|
|
2017-10-07 14:58:37 +03:00
|
|
|
@media (-moz-menubar-drag) {
|
2018-02-14 17:50:01 +03:00
|
|
|
#toolbar-menubar:not([autohide="true"]),
|
|
|
|
#TabsToolbar {
|
2017-10-07 14:58:37 +03:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-07-25 15:51:20 +03:00
|
|
|
/* Tab bar scroll arrows */
|
2016-04-06 15:22:13 +03:00
|
|
|
|
2014-06-19 18:36:08 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2009-07-10 22:34:46 +04:00
|
|
|
/* All tabs menupopup */
|
|
|
|
|
2015-04-30 22:14:25 +03:00
|
|
|
.alltabs-item[selected="true"] {
|
2009-07-10 22:34:46 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2011-01-28 16:35:49 +03:00
|
|
|
/* Status panel */
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel-label {
|
2011-01-28 16:35:49 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2017-07-22 17:37:59 +03:00
|
|
|
background-color: -moz-dialog;
|
2016-08-06 09:46:14 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr),
|
|
|
|
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
|
2011-01-28 16:35:49 +03:00
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl),
|
|
|
|
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr) {
|
2011-01-28 16:35:49 +03:00
|
|
|
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
|
|
|
|
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
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +04:00
|
|
|
|
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;
|
2017-08-14 10:37:18 +03:00
|
|
|
/* Opacity rounds to 0 or 1 on Linux without an X compositor, making the
|
|
|
|
background color not visible. Anti-aliasing is not available either. Make a
|
|
|
|
thicker outline and cancel border-radius for that case. */
|
|
|
|
outline: 4px solid rgb(0,200,215);
|
|
|
|
border-radius: 0 !important;
|
2014-04-13 22:28:19 +04:00
|
|
|
}
|
|
|
|
|
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-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
|
|
|
|
2017-08-02 22:49:25 +03:00
|
|
|
.webextension-popup-browser,
|
|
|
|
.webextension-popup-stack {
|
2016-08-09 22:08:04 +03:00
|
|
|
border-radius: inherit;
|
|
|
|
}
|
2017-06-20 21:33:55 +03:00
|
|
|
|
2017-11-03 17:54:15 +03:00
|
|
|
/* Hide the titlebar explicitly on versions of GTK+ where
|
|
|
|
* it's rendered by window manager. */
|
|
|
|
@media (-moz-gtk-csd-available: 0) {
|
|
|
|
#titlebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* We draw to titlebar when Gkt+ CSD is available */
|
|
|
|
@media (-moz-gtk-csd-available) {
|
|
|
|
:root[tabsintitlebar] > #titlebar:-moz-lwtheme {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2017-12-06 14:31:33 +03:00
|
|
|
:root[tabsintitlebar] #titlebar-content:-moz-lwtheme {
|
2017-11-03 17:54:15 +03:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2018-04-24 18:58:53 +03:00
|
|
|
:root[tabsintitlebar] > #titlebar {
|
|
|
|
-moz-appearance: -moz-window-titlebar-maximized;
|
|
|
|
}
|
2017-11-03 17:54:15 +03:00
|
|
|
:root[tabsintitlebar][sizemode="normal"] > #titlebar {
|
|
|
|
-moz-appearance: -moz-window-titlebar;
|
|
|
|
}
|
|
|
|
|
2018-02-15 15:11:53 +03:00
|
|
|
/* Add extra space to titlebar for dragging */
|
|
|
|
:root[sizemode="normal"][chromehidden~="menubar"] #TabsToolbar,
|
|
|
|
:root[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar {
|
2018-03-07 12:58:17 +03:00
|
|
|
padding-top: var(--space-above-tabbar);
|
2018-02-15 15:11:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Private browsing and accessibility indicators */
|
|
|
|
:root[sizemode="normal"][chromehidden~="menubar"] #TabsToolbar > .private-browsing-indicator,
|
|
|
|
:root[sizemode="normal"][chromehidden~="menubar"] #TabsToolbar > .accessibility-indicator,
|
|
|
|
:root[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar > .private-browsing-indicator,
|
|
|
|
:root[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar > .accessibility-indicator {
|
2018-03-07 12:58:17 +03:00
|
|
|
padding-top: calc(-1 * var(--space-above-tabbar));
|
2018-02-15 15:11:53 +03:00
|
|
|
}
|
|
|
|
|
2018-02-28 16:34:39 +03:00
|
|
|
/* Make #TabsToolbar transparent as we style underlying #titlebar with
|
|
|
|
* -moz-window-titlebar (Gtk+ theme).
|
|
|
|
*/
|
2018-04-24 18:58:53 +03:00
|
|
|
:root[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #TabsToolbar,
|
|
|
|
:root[tabsintitlebar][sizemode="maximized"] #TabsToolbar,
|
2018-02-28 16:34:39 +03:00
|
|
|
:root[tabsintitlebar] #toolbar-menubar {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2017-11-03 17:54:15 +03:00
|
|
|
/* The button box must appear on top of the navigator-toolbox in order for
|
|
|
|
* click and hover mouse events to work properly for the button in the restored
|
|
|
|
* window state. Otherwise, elements in the navigator-toolbox, like the menubar,
|
|
|
|
* can swallow those events.
|
|
|
|
*/
|
|
|
|
#titlebar-buttonbox {
|
|
|
|
z-index: 1;
|
2018-02-21 18:39:59 +03:00
|
|
|
-moz-box-align: center;
|
2017-11-03 17:54:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Render titlebar command buttons according to system config.
|
|
|
|
* Use full scale icons here as the Gtk+ does.
|
|
|
|
*/
|
|
|
|
@media (-moz-gtk-csd-minimize-button) {
|
|
|
|
#titlebar-min {
|
|
|
|
-moz-appearance: -moz-window-button-minimize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (-moz-gtk-csd-minimize-button: 0) {
|
|
|
|
#titlebar-min {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-gtk-csd-maximize-button) {
|
|
|
|
#titlebar-max {
|
|
|
|
-moz-appearance: -moz-window-button-maximize;
|
|
|
|
}
|
|
|
|
:root[sizemode="maximized"] #titlebar-max {
|
|
|
|
-moz-appearance: -moz-window-button-restore;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (-moz-gtk-csd-maximize-button: 0) {
|
|
|
|
#titlebar-max {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-gtk-csd-close-button) {
|
|
|
|
#titlebar-close {
|
|
|
|
-moz-appearance: -moz-window-button-close;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (-moz-gtk-csd-close-button: 0) {
|
|
|
|
#titlebar-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|