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/. */
|
|
|
|
|
2013-02-23 10:47:52 +04:00
|
|
|
%define WINDOWS_AERO
|
2008-04-08 23:28:11 +04:00
|
|
|
%include browser.css
|
2013-02-23 10:47:52 +04:00
|
|
|
%undef WINDOWS_AERO
|
2008-04-08 23:28:11 +04:00
|
|
|
|
2010-10-26 21:50:10 +04:00
|
|
|
%define glassActiveBorderColor rgb(37, 44, 51)
|
|
|
|
%define glassInactiveBorderColor rgb(102, 102, 102)
|
2010-06-11 16:15:37 +04:00
|
|
|
|
2013-09-18 23:32:16 +04:00
|
|
|
%include downloads/indicator-aero.css
|
|
|
|
|
2010-12-07 14:59:51 +03:00
|
|
|
@media not all and (-moz-windows-classic) {
|
2013-02-14 19:59:13 +04:00
|
|
|
#main-window[sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
|
2010-09-07 14:44:36 +04:00
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2011-05-24 08:16:39 +04:00
|
|
|
.panel-promo-message {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2010-12-07 14:59:51 +03:00
|
|
|
}
|
|
|
|
|
2014-03-21 20:42:16 +04:00
|
|
|
@media (-moz-windows-default-theme) {
|
2013-12-17 09:37:30 +04:00
|
|
|
.sidebar-header,
|
2013-07-15 22:36:26 +04:00
|
|
|
#sidebar-header {
|
|
|
|
-moz-appearance: none;
|
|
|
|
color: black;
|
|
|
|
background-color: #EEF3FA;
|
|
|
|
border-bottom: none;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2013-12-17 09:37:30 +04:00
|
|
|
.sidebar-title,
|
2013-07-15 22:36:26 +04:00
|
|
|
#sidebar-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-08-01 04:37:58 +04:00
|
|
|
.sidebar-splitter {
|
2010-09-07 14:44:36 +04:00
|
|
|
border: 0;
|
|
|
|
-moz-border-end: 1px solid #A9B7C9;
|
|
|
|
min-width: 0;
|
|
|
|
width: 3px;
|
|
|
|
background-color: transparent;
|
|
|
|
-moz-margin-start: -3px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2011-11-29 19:18:03 +04:00
|
|
|
|
2012-08-01 04:37:58 +04:00
|
|
|
#appcontent ~ .sidebar-splitter {
|
|
|
|
-moz-border-start: 1px solid #A9B7C9;
|
|
|
|
-moz-border-end: none;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: -3px;
|
|
|
|
}
|
2014-03-21 20:42:16 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
|
|
|
|
(-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
|
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme),
|
|
|
|
#browser-bottombox:not(:-moz-lwtheme),
|
|
|
|
.browserContainer > findbar {
|
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-background-middle[selected=true]:not(:-moz-lwtheme) {
|
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox:not(:-moz-lwtheme)::after {
|
|
|
|
background-color: #aabccf;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:not(:-moz-lwtheme),
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme) {
|
|
|
|
border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:not(:-moz-lwtheme):not([focused]):hover,
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme):not([focused]):hover {
|
|
|
|
border-color: hsla(210,54%,20%,.35) hsla(210,54%,20%,.37) hsla(210,54%,20%,.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:not(:-moz-lwtheme)[focused],
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme)[focused] {
|
|
|
|
border-color: hsla(206,100%,60%,.65) hsla(206,100%,55%,.65) hsla(206,100%,50%,.65);
|
|
|
|
}
|
2012-08-01 04:37:58 +04:00
|
|
|
|
2011-11-29 19:18:03 +04:00
|
|
|
.menu-accel,
|
|
|
|
.menu-iconic-accel {
|
|
|
|
color: graytext;
|
|
|
|
}
|
2012-08-21 04:52:26 +04:00
|
|
|
|
|
|
|
.chatbar-button,
|
|
|
|
chatbar > chatbox {
|
|
|
|
border-color: #A9B7C9;
|
|
|
|
}
|
|
|
|
|
2010-06-11 16:15:37 +04:00
|
|
|
}
|
|
|
|
|
2012-01-06 14:38:39 +04:00
|
|
|
@media (-moz-windows-compositor) {
|
2011-02-12 00:45:06 +03:00
|
|
|
/* These should be hidden w/ glass enabled. Windows draws its own buttons. */
|
2010-10-19 21:02:24 +04:00
|
|
|
.titlebar-button {
|
2010-08-25 07:03:37 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-19 21:02:24 +04:00
|
|
|
#main-window[sizemode="maximized"] #titlebar-buttonbox {
|
2011-01-14 00:22:41 +03:00
|
|
|
-moz-margin-end: 3px;
|
2010-10-19 21:02:24 +04:00
|
|
|
}
|
|
|
|
|
2010-08-28 01:26:30 +04:00
|
|
|
#main-window {
|
2010-08-18 07:07:10 +04:00
|
|
|
-moz-appearance: -moz-win-borderless-glass;
|
2010-03-25 10:13:33 +03:00
|
|
|
background: transparent;
|
|
|
|
}
|
2008-04-17 20:00:08 +04:00
|
|
|
|
2011-05-13 20:40:46 +04:00
|
|
|
#appcontent {
|
|
|
|
-moz-appearance: -moz-win-exclude-glass;
|
|
|
|
}
|
|
|
|
|
2010-10-26 21:50:10 +04:00
|
|
|
/* Artificially draw window borders that are covered by lwtheme, see bug 591930. */
|
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme {
|
|
|
|
border-top: 2px solid;
|
|
|
|
-moz-border-top-colors: @glassActiveBorderColor@ rgba(255,255,255,.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme:-moz-window-inactive {
|
|
|
|
-moz-border-top-colors: @glassInactiveBorderColor@ rgba(255,255,255,.6);
|
|
|
|
}
|
|
|
|
|
2010-11-17 14:08:28 +03:00
|
|
|
#main-window[sizemode="normal"] #titlebar-buttonbox:-moz-lwtheme {
|
2010-10-26 21:50:10 +04:00
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2010-06-11 16:15:37 +04:00
|
|
|
#toolbar-menubar:not(:-moz-lwtheme),
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2011-02-10 04:36:26 +03:00
|
|
|
background-color: transparent !important;
|
2010-03-25 10:13:33 +03:00
|
|
|
color: black;
|
2011-02-12 00:45:06 +03:00
|
|
|
border-left-style: none !important;
|
|
|
|
border-right-style: none !important;
|
2010-03-25 10:13:33 +03:00
|
|
|
}
|
2008-04-23 05:07:38 +04:00
|
|
|
|
2014-03-21 04:23:36 +04:00
|
|
|
#main-window[darkwindowframe="true"] #toolbar-menubar:not(:-moz-lwtheme):not(:-moz-window-inactive),
|
|
|
|
#main-window[darkwindowframe="true"] #TabsToolbar:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme):not(:-moz-window-inactive),
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) #bookmarks-menu-button:not(:-moz-lwtheme) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-window-inactive) {
|
|
|
|
list-style-image: url(chrome://browser/skin/Toolbar-inverted.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[darkwindowframe="true"] .tabs-newtab-button:not(:-moz-lwtheme):not(:-moz-window-inactive),
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) > #new-tab-button:not(:-moz-lwtheme):not(:-moz-window-inactive),
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) > toolbarpaletteitem > #new-tab-button:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[darkwindowframe="true"] .tab-close-button:not(:-moz-any(:hover, [selected="true"], :-moz-lwtheme, :-moz-window-inactive)) {
|
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) > #sync-button[status="active"]:not(:-moz-lwtheme),
|
|
|
|
#main-window[darkwindowframe="true"] :-moz-any(#toolbar-menubar, #TabsToolbar) > toolbarpaletteitem > #sync-button[status="active"]:not(:-moz-lwtheme) {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-02-07 18:33:15 +04:00
|
|
|
#toolbar-menubar:not(:-moz-lwtheme) {
|
|
|
|
text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4);
|
|
|
|
}
|
|
|
|
|
2011-02-10 04:36:26 +03:00
|
|
|
/* Vertical toolbar border */
|
2011-05-09 22:52:59 +04:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox::after,
|
2013-06-05 02:08:55 +04:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2011-02-10 04:36:26 +03:00
|
|
|
border-left: 1px solid @toolbarShadowColor@;
|
|
|
|
border-right: 1px solid @toolbarShadowColor@;
|
2010-11-22 16:14:24 +03:00
|
|
|
background-clip: padding-box;
|
2010-10-15 19:22:00 +04:00
|
|
|
}
|
2011-05-09 22:52:59 +04:00
|
|
|
#main-window[sizemode=normal] #browser-border-start,
|
|
|
|
#main-window[sizemode=normal] #browser-border-end {
|
2010-12-10 11:34:29 +03:00
|
|
|
display: -moz-box;
|
2011-02-10 04:36:26 +03:00
|
|
|
background-color: @toolbarShadowColor@;
|
2010-12-10 11:34:29 +03:00
|
|
|
width: 1px;
|
|
|
|
}
|
2011-02-12 00:45:06 +03:00
|
|
|
#main-window[sizemode=normal] #browser-bottombox {
|
2011-02-10 04:36:26 +03:00
|
|
|
border: 1px solid @toolbarShadowColor@;
|
2010-12-10 11:34:29 +03:00
|
|
|
border-top-style: none;
|
2011-10-02 15:53:00 +04:00
|
|
|
background-clip: padding-box;
|
2010-12-10 11:34:29 +03:00
|
|
|
}
|
2010-10-15 19:22:00 +04:00
|
|
|
|
2011-02-10 04:36:26 +03:00
|
|
|
/* Toolbar shadow behind tabs */
|
2013-06-05 02:08:55 +04:00
|
|
|
#nav-bar {
|
2013-04-23 04:01:31 +04:00
|
|
|
border-top: 1px solid @toolbarShadowColor@ !important;
|
2012-06-08 22:05:00 +04:00
|
|
|
background-clip: padding-box;
|
2010-10-15 19:22:00 +04:00
|
|
|
}
|
2010-11-13 09:35:02 +03:00
|
|
|
|
2011-02-10 04:36:26 +03:00
|
|
|
/* This code is only needed for restored windows (i.e. sizemode=normal)
|
2011-05-09 22:52:59 +04:00
|
|
|
because of the border radius on the toolbar below the tab bar. */
|
2013-07-11 00:22:24 +04:00
|
|
|
#main-window[sizemode=normal] #nav-bar {
|
2011-02-10 04:36:26 +03:00
|
|
|
border-top: 1px solid @toolbarShadowColor@;
|
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
2011-01-17 11:29:50 +03:00
|
|
|
|
2013-04-23 04:01:31 +04:00
|
|
|
/* Cover the top border of the adjacent toolbar */
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar {
|
2011-02-10 04:36:26 +03:00
|
|
|
margin-bottom: -1px;
|
2011-03-03 08:40:41 +03:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar {
|
2013-05-01 19:10:56 +04:00
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
2011-08-08 14:12:28 +04:00
|
|
|
}
|
|
|
|
|
2010-06-24 21:13:59 +04:00
|
|
|
/* Make the window draggable by glassed toolbars (bug 555081) */
|
|
|
|
#toolbar-menubar:not([autohide="true"]),
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar,
|
2013-07-04 01:56:08 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#addon-bar):-moz-lwtheme {
|
2013-04-30 19:00:41 +04:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2010-06-24 21:13:59 +04:00
|
|
|
}
|
|
|
|
|
2011-01-05 10:00:29 +03:00
|
|
|
#appcontent:not(:-moz-lwtheme) {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
2010-08-25 17:12:57 +04:00
|
|
|
#main-menubar:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
|
|
|
background-color: rgba(255,255,255,.5);
|
2014-03-21 04:23:36 +04:00
|
|
|
color: black;
|
2014-02-26 13:23:42 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-os-version: windows-vista),
|
|
|
|
(-moz-os-version: windows-win7) {
|
|
|
|
#main-window[sizemode=normal] #nav-bar {
|
|
|
|
border-top-left-radius: 2.5px;
|
|
|
|
border-top-right-radius: 2.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-menubar:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2010-08-25 17:12:57 +04:00
|
|
|
}
|
|
|
|
|
2010-03-25 10:13:33 +03:00
|
|
|
#ctrlTab-panel {
|
|
|
|
background: transparent;
|
|
|
|
-moz-appearance: -moz-win-glass;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: 0;
|
2010-03-25 10:13:33 +03:00
|
|
|
border: none;
|
|
|
|
font: normal 1.2em "Segoe UI";
|
|
|
|
color: black;
|
2010-09-11 20:27:12 +04:00
|
|
|
text-shadow: white -1px -1px .35em, white -1px 1px .35em, white 1px 1px .35em, white 1px -1px .35em;
|
2010-03-25 10:13:33 +03:00
|
|
|
}
|
2011-01-25 04:40:34 +03:00
|
|
|
|
|
|
|
#tab-view:-moz-lwtheme {
|
|
|
|
background-image: url("chrome://browser/skin/tabview/grain.png"),
|
2013-01-05 19:00:32 +04:00
|
|
|
linear-gradient(rgba(255,255,255,0), #CCD9EA 200px, #C7D5E7);
|
2011-01-25 04:40:34 +03:00
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
2008-07-12 00:40:35 +04:00
|
|
|
}
|
|
|
|
|
2012-06-08 22:05:00 +04:00
|
|
|
@media (-moz-windows-glass) {
|
|
|
|
#main-window[sizemode=fullscreen]:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #556;
|
|
|
|
}
|
|
|
|
|
2014-02-25 16:14:03 +04:00
|
|
|
/* Use inverted icons for non-fogged glassed toolbars */
|
2013-10-21 16:26:59 +04:00
|
|
|
#toolbar-menubar > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-lwtheme),
|
|
|
|
#toolbar-menubar > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-lwtheme),
|
2013-11-22 18:00:21 +04:00
|
|
|
#toolbar-menubar > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
|
|
|
#toolbar-menubar > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
2013-10-21 16:26:59 +04:00
|
|
|
#toolbar-menubar > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme),
|
2014-02-25 16:14:03 +04:00
|
|
|
#toolbar-menubar > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme) {
|
2013-10-21 16:26:59 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
2014-03-18 18:10:00 +04:00
|
|
|
#toolbar-menubar > #sync-button[status="active"]:not(:-moz-lwtheme),
|
|
|
|
#toolbar-menubar > toolbarpaletteitem > #sync-button[status="active"]:not(:-moz-lwtheme) {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
2012-06-08 22:05:00 +04:00
|
|
|
/* Glass Fog */
|
|
|
|
|
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
|
|
|
background-image: none;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-03-03 09:19:39 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme)::after {
|
|
|
|
/* Because we use placeholders for window controls etc. in the tabstrip,
|
|
|
|
* and position those with ordinal attributes, and because our layout code
|
|
|
|
* expects :before/:after nodes to come first/last in the frame list,
|
|
|
|
* we have to reorder this element to come last, hence the
|
|
|
|
* ordinal group value (see bug 853415). */
|
|
|
|
-moz-box-ordinal-group: 1001;
|
2013-11-15 22:26:09 +04:00
|
|
|
box-shadow: 0 0 30px 30px rgba(174,189,204,0.85);
|
2012-06-08 22:05:00 +04:00
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
height: 0;
|
|
|
|
margin: 0 60px; /* (30px + 30px) from box-shadow */
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
top: 50%;
|
|
|
|
width: -moz-available;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
2013-07-01 05:00:34 +04:00
|
|
|
/* Need to constrain the glass fog to avoid overlapping layers, see bug 886281. */
|
2014-01-31 20:28:35 +04:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme) {
|
2014-01-08 21:20:05 +04:00
|
|
|
overflow: -moz-hidden-unscrollable;
|
2013-07-01 05:00:34 +04:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#main-window[sizemode=normal] .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox:not(:-moz-lwtheme) {
|
2012-06-08 22:05:00 +04:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* End Glass Fog */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-25 10:13:33 +03:00
|
|
|
@media not all and (-moz-windows-compositor) {
|
2011-12-28 03:49:17 +04:00
|
|
|
@media (-moz-windows-default-theme) {
|
|
|
|
#main-window {
|
|
|
|
background-color: rgb(185,209,234);
|
|
|
|
}
|
|
|
|
#main-window:-moz-window-inactive {
|
|
|
|
background-color: rgb(215,228,242);
|
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar-menubar:not([autohide=true]):not(:-moz-lwtheme),
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2013-05-22 13:42:39 +04:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2011-12-28 03:49:17 +04:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
#toolbar-menubar[autohide=true] {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
2013-10-30 01:27:08 +04:00
|
|
|
|
|
|
|
/* Render a window top border for lwthemes: */
|
|
|
|
#main-window[tabsintitlebar][sizemode="normal"] #titlebar-content:-moz-lwtheme {
|
|
|
|
background-image: linear-gradient(to bottom,
|
|
|
|
@glassActiveBorderColor@ 0, @glassActiveBorderColor@ 1px,
|
|
|
|
rgba(255,255,255,.6) 1px, rgba(255,255,255,.6) 2px, transparent 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[tabsintitlebar][sizemode="normal"] #titlebar-content:-moz-lwtheme:-moz-window-inactive {
|
|
|
|
background-image: linear-gradient(to bottom,
|
|
|
|
@glassInactiveBorderColor@ 0, @glassInactiveBorderColor@ 1px,
|
|
|
|
rgba(255,255,255,.6) 1px, rgba(255,255,255,.6) 2px, transparent 2px);
|
|
|
|
}
|
2011-02-16 23:19:15 +03:00
|
|
|
}
|
|
|
|
|
2010-03-25 10:13:33 +03:00
|
|
|
#print-preview-toolbar:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: -moz-win-browsertabbar-toolbox;
|
|
|
|
}
|
2008-04-25 20:28:50 +04:00
|
|
|
}
|
2008-10-01 10:05:44 +04:00
|
|
|
|
2014-03-10 21:21:02 +04:00
|
|
|
/* Win8 and beyond. */
|
|
|
|
@media not all and (-moz-os-version: windows-vista) {
|
|
|
|
@media not all and (-moz-os-version: windows-win7) {
|
|
|
|
#urlbar:not(:-moz-lwtheme),
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme) {
|
|
|
|
background-color: hsla(0,0%,100%,.9);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,0%,.01) inset,
|
|
|
|
0 1px 0 hsla(0,0%,100%,.1);
|
|
|
|
transition-property: border-color, background-color;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:not(:-moz-lwtheme)[focused],
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme)[focused] {
|
|
|
|
background-color: hsla(0,0%,100%,1);
|
|
|
|
border-color: #4595e5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Introducing an additional hover state for the Bookmark button */
|
|
|
|
#nav-bar .toolbarbutton-1[buttonover] > .toolbarbutton-menubutton-button:hover > .toolbarbutton-icon {
|
|
|
|
background-color: hsla(210,4%,10%,.08);
|
|
|
|
border-color: hsla(210,4%,10%,.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-06-03 20:01:26 +04:00
|
|
|
/* ::::: fullscreen window controls ::::: */
|
|
|
|
|
|
|
|
#window-controls {
|
|
|
|
-moz-box-align: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#restore-button,
|
|
|
|
#close-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
#close-button {
|
|
|
|
-moz-image-region: rect(0, 49px, 16px, 32px);
|
|
|
|
}
|
|
|
|
#close-button:hover {
|
|
|
|
-moz-image-region: rect(16px, 49px, 32px, 32px);
|
|
|
|
}
|
|
|
|
#close-button:hover:active {
|
|
|
|
-moz-image-region: rect(32px, 49px, 48px, 32px);
|
|
|
|
}
|
2011-03-03 00:21:24 +03:00
|
|
|
|
2011-03-25 00:43:17 +03:00
|
|
|
#minimize-button:-moz-locale-dir(rtl),
|
|
|
|
#restore-button:-moz-locale-dir(rtl),
|
|
|
|
#close-button:-moz-locale-dir(rtl) {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2011-03-25 00:43:17 +03:00
|
|
|
}
|
2014-03-13 03:02:00 +04:00
|
|
|
|
|
|
|
/* ::::: private browsing indicator ::::: */
|
|
|
|
|
|
|
|
@media (-moz-os-version: windows-vista),
|
|
|
|
(-moz-os-version: windows-win7) {
|
|
|
|
#TabsToolbar > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-tabstrip-XPVista7.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#private-browsing-indicator-titlebar > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-titlebar-XPVista7.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-windows-glass) {
|
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #titlebar-buttonbox-container > #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
#main-window[sizemode="maximized"] > #titlebar > #titlebar-content > #titlebar-buttonbox-container > #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This next block targets Aero Basic, which has different positioning for the
|
|
|
|
* window caption buttons, and therefore needs to be special-cased.
|
|
|
|
*/
|
|
|
|
@media (-moz-windows-default-theme) {
|
|
|
|
@media not all and (-moz-windows-compositor) {
|
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #titlebar-buttonbox-container > #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-titlebar-XPVista7-tall.png");
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|