2012-05-21 04:12:37 -07: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-22 22:47:52 -08:00
|
|
|
%define WINDOWS_AERO
|
2008-04-08 12:28:11 -07:00
|
|
|
%include browser.css
|
2013-02-22 22:47:52 -08:00
|
|
|
%undef WINDOWS_AERO
|
2008-04-08 12:28:11 -07:00
|
|
|
|
2010-10-26 10:50:10 -07:00
|
|
|
%define glassActiveBorderColor rgb(37, 44, 51)
|
|
|
|
%define glassInactiveBorderColor rgb(102, 102, 102)
|
2013-11-22 06:00:21 -08:00
|
|
|
%define nestedButtons #zoom-out-button, #zoom-in-button, #cut-button, #copy-button, #paste-button
|
2010-06-11 05:15:37 -07:00
|
|
|
|
2013-09-18 12:32:16 -07:00
|
|
|
%include downloads/indicator-aero.css
|
|
|
|
|
2010-12-07 03:59:51 -08:00
|
|
|
@media not all and (-moz-windows-classic) {
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
|
2010-09-07 03:44:36 -07:00
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2011-05-23 21:16:39 -07:00
|
|
|
.panel-promo-message {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2010-12-07 03:59:51 -08:00
|
|
|
}
|
|
|
|
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2011-02-04 23:59:54 -08:00
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme),
|
2013-07-07 16:14:00 -07:00
|
|
|
#browser-bottombox:not(:-moz-lwtheme),
|
|
|
|
.browserContainer > findbar {
|
2010-12-07 03:59:51 -08:00
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
}
|
|
|
|
|
2012-06-08 11:05:00 -07:00
|
|
|
.tab-background-middle[selected=true]:not(:-moz-lwtheme) {
|
2013-09-13 17:28:11 -07:00
|
|
|
background-color: @customToolbarColor@;
|
2010-12-07 03:59:51 -08:00
|
|
|
}
|
2010-09-07 03:44:36 -07:00
|
|
|
|
2012-03-26 14:15:30 -07:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme)::after {
|
|
|
|
background-color: #aabccf;
|
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#urlbar:not(:-moz-lwtheme),
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme) {
|
2012-03-13 15:31:29 -07:00
|
|
|
border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3);
|
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#urlbar:not(:-moz-lwtheme):not([focused]):hover,
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme):not([focused]):hover {
|
2012-03-13 15:31:29 -07:00
|
|
|
border-color: hsla(210,54%,20%,.35) hsla(210,54%,20%,.37) hsla(210,54%,20%,.4);
|
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#urlbar:not(:-moz-lwtheme)[focused],
|
|
|
|
.searchbar-textbox:not(:-moz-lwtheme)[focused] {
|
2012-03-13 15:31:29 -07:00
|
|
|
border-color: hsla(206,100%,60%,.65) hsla(206,100%,55%,.65) hsla(206,100%,50%,.65);
|
|
|
|
}
|
|
|
|
|
2013-12-16 21:37:30 -08:00
|
|
|
.sidebar-header,
|
2013-07-15 11:36:26 -07:00
|
|
|
#sidebar-header {
|
|
|
|
-moz-appearance: none;
|
|
|
|
color: black;
|
|
|
|
background-color: #EEF3FA;
|
|
|
|
border-bottom: none;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2013-12-16 21:37:30 -08:00
|
|
|
.sidebar-title,
|
2013-07-15 11:36:26 -07:00
|
|
|
#sidebar-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-07-31 17:37:58 -07:00
|
|
|
.sidebar-splitter {
|
2010-09-07 03:44:36 -07: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 07:18:03 -08:00
|
|
|
|
2012-07-31 17:37:58 -07:00
|
|
|
#appcontent ~ .sidebar-splitter {
|
|
|
|
-moz-border-start: 1px solid #A9B7C9;
|
|
|
|
-moz-border-end: none;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: -3px;
|
|
|
|
}
|
|
|
|
|
2011-11-29 07:18:03 -08:00
|
|
|
.menu-accel,
|
|
|
|
.menu-iconic-accel {
|
|
|
|
color: graytext;
|
|
|
|
}
|
2012-08-20 17:52:26 -07:00
|
|
|
|
|
|
|
.chatbar-button,
|
|
|
|
chatbar > chatbox {
|
|
|
|
border-color: #A9B7C9;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
}
|
|
|
|
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-compositor) {
|
2011-02-11 13:45:06 -08:00
|
|
|
/* These should be hidden w/ glass enabled. Windows draws its own buttons. */
|
2010-10-19 10:02:24 -07:00
|
|
|
.titlebar-button {
|
2010-08-24 20:03:37 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-19 10:02:24 -07:00
|
|
|
#main-window[sizemode="maximized"] #titlebar-buttonbox {
|
2011-01-13 13:22:41 -08:00
|
|
|
-moz-margin-end: 3px;
|
2010-10-19 10:02:24 -07:00
|
|
|
}
|
|
|
|
|
2010-08-27 14:26:30 -07:00
|
|
|
#main-window {
|
2010-08-17 20:07:10 -07:00
|
|
|
-moz-appearance: -moz-win-borderless-glass;
|
2010-03-25 00:13:33 -07:00
|
|
|
background: transparent;
|
|
|
|
}
|
2008-04-17 09:00:08 -07:00
|
|
|
|
2011-05-13 09:40:46 -07:00
|
|
|
#appcontent {
|
|
|
|
-moz-appearance: -moz-win-exclude-glass;
|
|
|
|
}
|
|
|
|
|
2010-10-26 10:50:10 -07: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 03:08:28 -08:00
|
|
|
#main-window[sizemode="normal"] #titlebar-buttonbox:-moz-lwtheme {
|
2010-10-26 10:50:10 -07:00
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#toolbar-menubar:not(:-moz-lwtheme),
|
2013-06-04 15:08:55 -07:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2011-02-09 17:36:26 -08:00
|
|
|
background-color: transparent !important;
|
2010-03-25 00:13:33 -07:00
|
|
|
color: black;
|
2010-09-11 09:27:12 -07:00
|
|
|
text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4);
|
2011-02-11 13:45:06 -08:00
|
|
|
border-left-style: none !important;
|
|
|
|
border-right-style: none !important;
|
2010-03-25 00:13:33 -07:00
|
|
|
}
|
2008-04-22 18:07:38 -07:00
|
|
|
|
2011-02-09 17:36:26 -08:00
|
|
|
/* Vertical toolbar border */
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox::after,
|
2013-06-04 15:08:55 -07:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2011-02-09 17:36:26 -08:00
|
|
|
border-left: 1px solid @toolbarShadowColor@;
|
|
|
|
border-right: 1px solid @toolbarShadowColor@;
|
2010-11-22 05:14:24 -08:00
|
|
|
background-clip: padding-box;
|
2010-10-15 08:22:00 -07:00
|
|
|
}
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] #browser-border-start,
|
|
|
|
#main-window[sizemode=normal] #browser-border-end {
|
2010-12-10 00:34:29 -08:00
|
|
|
display: -moz-box;
|
2011-02-09 17:36:26 -08:00
|
|
|
background-color: @toolbarShadowColor@;
|
2010-12-10 00:34:29 -08:00
|
|
|
width: 1px;
|
|
|
|
}
|
2011-02-11 13:45:06 -08:00
|
|
|
#main-window[sizemode=normal] #browser-bottombox {
|
2011-02-09 17:36:26 -08:00
|
|
|
border: 1px solid @toolbarShadowColor@;
|
2010-12-10 00:34:29 -08:00
|
|
|
border-top-style: none;
|
2011-10-02 04:53:00 -07:00
|
|
|
background-clip: padding-box;
|
2010-12-10 00:34:29 -08:00
|
|
|
}
|
2010-10-15 08:22:00 -07:00
|
|
|
|
2011-02-09 17:36:26 -08:00
|
|
|
/* Toolbar shadow behind tabs */
|
2013-06-04 15:08:55 -07:00
|
|
|
#nav-bar {
|
2013-04-22 17:01:31 -07:00
|
|
|
border-top: 1px solid @toolbarShadowColor@ !important;
|
2012-06-08 11:05:00 -07:00
|
|
|
background-clip: padding-box;
|
2010-10-15 08:22:00 -07:00
|
|
|
}
|
2010-11-12 22:35:02 -08:00
|
|
|
|
2011-02-09 17:36:26 -08:00
|
|
|
/* This code is only needed for restored windows (i.e. sizemode=normal)
|
2011-05-09 11:52:59 -07:00
|
|
|
because of the border radius on the toolbar below the tab bar. */
|
2013-07-10 13:22:24 -07:00
|
|
|
#main-window[sizemode=normal] #nav-bar {
|
2011-02-09 17:36:26 -08:00
|
|
|
border-top: 1px solid @toolbarShadowColor@;
|
2012-02-21 15:13:27 -08:00
|
|
|
border-top-left-radius: 2.5px;
|
|
|
|
border-top-right-radius: 2.5px;
|
2011-02-09 17:36:26 -08:00
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
2011-01-17 00:29:50 -08:00
|
|
|
|
2013-04-22 17:01:31 -07:00
|
|
|
/* Cover the top border of the adjacent toolbar */
|
2013-06-04 15:08:55 -07:00
|
|
|
#TabsToolbar {
|
2011-02-09 17:36:26 -08:00
|
|
|
margin-bottom: -1px;
|
2011-03-02 21:40:41 -08:00
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar {
|
2013-05-01 08:10:56 -07:00
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
2011-08-08 03:12:28 -07:00
|
|
|
}
|
|
|
|
|
2010-06-24 10:13:59 -07:00
|
|
|
/* Make the window draggable by glassed toolbars (bug 555081) */
|
|
|
|
#toolbar-menubar:not([autohide="true"]),
|
2013-06-04 15:08:55 -07:00
|
|
|
#TabsToolbar,
|
2013-07-03 14:56:08 -07:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#addon-bar):-moz-lwtheme {
|
2013-04-30 08:00:41 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2010-06-24 10:13:59 -07:00
|
|
|
}
|
|
|
|
|
2011-01-04 23:00:29 -08:00
|
|
|
#appcontent:not(:-moz-lwtheme) {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
2010-08-25 06:12:57 -07:00
|
|
|
#main-menubar:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
|
|
|
background-color: rgba(255,255,255,.5);
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 4px;
|
2010-08-25 06:12:57 -07:00
|
|
|
}
|
|
|
|
|
2010-11-25 01:10:22 -08:00
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme) {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
#ctrlTab-panel {
|
|
|
|
background: transparent;
|
|
|
|
-moz-appearance: -moz-win-glass;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 0;
|
2010-03-25 00:13:33 -07:00
|
|
|
border: none;
|
|
|
|
font: normal 1.2em "Segoe UI";
|
|
|
|
color: black;
|
2010-09-11 09:27:12 -07:00
|
|
|
text-shadow: white -1px -1px .35em, white -1px 1px .35em, white 1px 1px .35em, white 1px -1px .35em;
|
2010-03-25 00:13:33 -07:00
|
|
|
}
|
2011-01-24 17:40:34 -08:00
|
|
|
|
|
|
|
#tab-view:-moz-lwtheme {
|
|
|
|
background-image: url("chrome://browser/skin/tabview/grain.png"),
|
2013-01-05 07:00:32 -08:00
|
|
|
linear-gradient(rgba(255,255,255,0), #CCD9EA 200px, #C7D5E7);
|
2011-01-24 17:40:34 -08:00
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
2008-07-11 13:40:35 -07:00
|
|
|
}
|
|
|
|
|
2012-06-08 11:05:00 -07:00
|
|
|
@media (-moz-windows-glass) {
|
|
|
|
#main-window[sizemode=fullscreen]:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #556;
|
|
|
|
}
|
|
|
|
|
2013-10-21 05:26:59 -07:00
|
|
|
/* Use inverted icons for glassed toolbars */
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-lwtheme),
|
|
|
|
#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 06:00:21 -08:00
|
|
|
#toolbar-menubar > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
|
|
|
#toolbar-menubar > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar > toolbaritem > :-moz-any(@nestedButtons@):not(:-moz-lwtheme),
|
2013-10-21 05:26:59 -07:00
|
|
|
#toolbar-menubar > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme),
|
|
|
|
#toolbar-menubar > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar > :-moz-any(@primaryToolbarButtons@):not(:-moz-lwtheme) {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
2012-06-08 11:05:00 -07:00
|
|
|
/* Glass Fog */
|
|
|
|
|
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
|
|
|
background-image: none;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar:not(:-moz-lwtheme)::before {
|
2013-11-15 10:26:09 -08:00
|
|
|
box-shadow: 0 0 30px 30px rgba(174,189,204,0.85);
|
2012-06-08 11:05:00 -07: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-06-30 18:00:34 -07:00
|
|
|
/* Need to constrain the glass fog to avoid overlapping layers, see bug 886281. */
|
2013-11-06 20:42:31 -08:00
|
|
|
#main-window:not([customizing]) #navigator-toolbox:not(:-moz-lwtheme) {
|
2013-06-30 18:00:34 -07:00
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#main-window[sizemode=normal] .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox:not(:-moz-lwtheme) {
|
2012-06-08 11:05:00 -07:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* End Glass Fog */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
@media not all and (-moz-windows-compositor) {
|
2011-12-27 15:49:17 -08: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-04 15:08:55 -07:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2013-05-22 02:42:39 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2011-12-27 15:49:17 -08:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
#toolbar-menubar[autohide=true] {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
2013-10-29 14:27:08 -07: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 12:19:15 -08:00
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
#print-preview-toolbar:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: -moz-win-browsertabbar-toolbox;
|
|
|
|
}
|
2008-04-25 09:28:50 -07:00
|
|
|
}
|
2008-09-30 23:05:44 -07:00
|
|
|
|
2009-06-03 09:01:26 -07: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-02 13:21:24 -08:00
|
|
|
|
2011-03-24 14:43:17 -07:00
|
|
|
#minimize-button:-moz-locale-dir(rtl),
|
|
|
|
#restore-button:-moz-locale-dir(rtl),
|
|
|
|
#close-button:-moz-locale-dir(rtl) {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-03-24 14:43:17 -07:00
|
|
|
}
|