2010-03-29 03:04:05 -07:00
|
|
|
%define WINSTRIPE_AERO
|
2008-04-08 12:28:11 -07:00
|
|
|
%include browser.css
|
2010-03-29 03:04:05 -07:00
|
|
|
%undef WINSTRIPE_AERO
|
2008-04-08 12:28:11 -07:00
|
|
|
|
2010-08-31 12:24:31 -07:00
|
|
|
%define customToolbarColor hsl(214,44%,87%)
|
2010-10-26 10:50:10 -07:00
|
|
|
%define glassActiveBorderColor rgb(37, 44, 51)
|
|
|
|
%define glassInactiveBorderColor rgb(102, 102, 102)
|
2010-06-11 05:15:37 -07:00
|
|
|
|
2010-12-07 03:59:51 -08:00
|
|
|
@media not all and (-moz-windows-classic) {
|
2010-09-07 03:44:36 -07:00
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#appmenu-button {
|
2010-12-07 03:59:51 -08:00
|
|
|
border-width: 2px;
|
2011-04-13 12:04:10 -07:00
|
|
|
-moz-border-left-colors: @appMenuButtonBorderColor@;
|
|
|
|
-moz-border-bottom-colors: @appMenuButtonBorderColor@;
|
|
|
|
-moz-border-right-colors: @appMenuButtonBorderColor@;
|
2010-12-07 03:59:51 -08:00
|
|
|
margin-bottom: 1px; /* compensate white outer border */
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
|
2010-10-24 02:03:47 -07:00
|
|
|
0 0 2px 1px rgba(255,255,255,.25) inset;
|
2010-09-07 03:44:36 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 00:38:41 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary] #appmenu-button {
|
2010-09-22 14:23:19 -07:00
|
|
|
-moz-border-left-colors: rgba(255,255,255,.5) rgba(43,8,65,.9);
|
|
|
|
-moz-border-bottom-colors: rgba(255,255,255,.5) rgba(43,8,65,.9);
|
|
|
|
-moz-border-right-colors: rgba(255,255,255,.5) rgba(43,8,65,.9);
|
|
|
|
}
|
|
|
|
|
2010-11-11 17:01:20 -08:00
|
|
|
#appmenu-popup {
|
|
|
|
margin-top: -1px;
|
|
|
|
-moz-margin-start: 1px;
|
2010-09-07 03:44:36 -07:00
|
|
|
}
|
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),
|
2011-10-02 04:53:00 -07:00
|
|
|
#browser-bottombox:not(:-moz-lwtheme) {
|
2010-12-07 03:59:51 -08:00
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
}
|
|
|
|
|
2011-01-13 00:19:38 -08:00
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme),
|
|
|
|
.tabs-newtab-button:not(:-moz-lwtheme) {
|
2011-02-09 17:36:26 -08:00
|
|
|
background-image: @toolbarShadowOnTab@, @bgTabTexture@,
|
|
|
|
-moz-linear-gradient(@customToolbarColor@, @customToolbarColor@);
|
2011-01-13 00:19:38 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme):hover,
|
|
|
|
.tabs-newtab-button:not(:-moz-lwtheme):hover {
|
2011-02-09 17:36:26 -08:00
|
|
|
background-image: @toolbarShadowOnTab@, @bgTabTextureHover@,
|
|
|
|
-moz-linear-gradient(@customToolbarColor@, @customToolbarColor@);
|
2011-01-13 00:19:38 -08:00
|
|
|
}
|
|
|
|
|
2010-12-07 03:59:51 -08:00
|
|
|
.tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
|
2011-02-09 17:36:26 -08:00
|
|
|
background-image: -moz-linear-gradient(white, @toolbarHighlight@ 50%),
|
|
|
|
-moz-linear-gradient(@customToolbarColor@, @customToolbarColor@);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
|
|
|
|
background-image: @toolbarShadowOnTab@,
|
|
|
|
-moz-linear-gradient(white, @toolbarHighlight@ 50%),
|
2010-12-07 03:59:51 -08:00
|
|
|
-moz-linear-gradient(@customToolbarColor@, @customToolbarColor@);
|
|
|
|
}
|
2010-09-07 03:44:36 -07:00
|
|
|
|
2012-03-13 15:31:29 -07:00
|
|
|
#navigator-toolbox[tabsontop=true] #urlbar:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop=true] .searchbar-textbox:not(:-moz-lwtheme) {
|
|
|
|
border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[tabsontop=true] #urlbar:not(:-moz-lwtheme):not([focused]):hover,
|
|
|
|
#navigator-toolbox[tabsontop=true] .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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[tabsontop=true] #urlbar:not(:-moz-lwtheme)[focused],
|
|
|
|
#navigator-toolbox[tabsontop=true] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
|
|
|
|
border-color: hsla(206,100%,60%,.65) hsla(206,100%,55%,.65) hsla(206,100%,50%,.65);
|
|
|
|
}
|
|
|
|
|
2010-09-07 03:44:36 -07:00
|
|
|
#sidebar-splitter {
|
|
|
|
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
|
|
|
|
|
|
|
.menu-accel,
|
|
|
|
.menu-iconic-accel {
|
|
|
|
color: graytext;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[chromemargin^="0,"][sizemode=normal] #navigator-toolbox {
|
2010-10-21 04:30:51 -07:00
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container:-moz-lwtheme {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
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-12-07 03:59:51 -08:00
|
|
|
#appmenu-button {
|
|
|
|
margin-bottom: -1px; /* compensate white outer border */
|
|
|
|
}
|
|
|
|
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=fullscreen]:not(:-moz-lwtheme) {
|
2010-06-22 13:20:52 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #556;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#toolbar-menubar:not(:-moz-lwtheme),
|
2011-02-09 17:36:26 -08:00
|
|
|
#TabsToolbar[tabsontop=true]:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop=false] > #nav-bar:not(:-moz-lwtheme),
|
|
|
|
#nav-bar + #customToolbars + #PersonalToolbar[collapsed=true] + #TabsToolbar[tabsontop=false]:last-child:not(:-moz-lwtheme) {
|
|
|
|
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-08-04 04:50:12 -07:00
|
|
|
#toolbar-menubar :-moz-any(@primaryToolbarButtons@):not(:-moz-any(#alltabs-button,#tabview-button,#new-tab-button,#sync-button[status])) > .toolbarbutton-icon:not(:-moz-lwtheme),
|
|
|
|
#TabsToolbar[tabsontop=true] :-moz-any(@primaryToolbarButtons@):not(:-moz-any(#alltabs-button,#tabview-button,#new-tab-button,#sync-button[status])) > .toolbarbutton-icon:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop=false] > #nav-bar :-moz-any(@primaryToolbarButtons@):not(:-moz-any(#alltabs-button,#tabview-button,#new-tab-button,#sync-button[status])) > .toolbarbutton-icon:not(:-moz-lwtheme),
|
|
|
|
#nav-bar + #customToolbars + #PersonalToolbar[collapsed=true] + #TabsToolbar[tabsontop=false]:last-child :-moz-any(@primaryToolbarButtons@):not(:-moz-any(#alltabs-button,#tabview-button,#new-tab-button,#sync-button[status])) > .toolbarbutton-icon:not(:-moz-lwtheme) {
|
2011-07-21 06:50:33 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
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,
|
|
|
|
#main-window[sizemode=normal] #navigator-toolbox[tabsontop=true] > toolbar:not(#toolbar-menubar):not(#TabsToolbar),
|
|
|
|
#main-window[sizemode=normal] #navigator-toolbox[tabsontop=false] > toolbar:not(#toolbar-menubar):not(#nav-bar) {
|
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-02-11 13:45:06 -08:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox > toolbar:-moz-lwtheme {
|
|
|
|
border-color: transparent !important;
|
|
|
|
}
|
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
|
|
|
#main-window[sizemode=normal][tabsontop=false] #PersonalToolbar:not(:-moz-lwtheme) {
|
2012-02-21 15:13:27 -08:00
|
|
|
border-top-left-radius: 2.5px;
|
|
|
|
border-top-right-radius: 2.5px;
|
2010-10-15 08:22:00 -07:00
|
|
|
}
|
2010-11-12 22:35:02 -08:00
|
|
|
|
2011-02-09 17:36:26 -08:00
|
|
|
/* Toolbar shadow behind tabs */
|
|
|
|
/* 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. */
|
2012-02-19 03:58:23 -08:00
|
|
|
#main-window[sizemode=normal] #navigator-toolbox[tabsontop=true] > #nav-bar:not(:-moz-lwtheme),
|
|
|
|
#main-window[sizemode=normal] #navigator-toolbox[tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + toolbar:not(:-moz-lwtheme),
|
|
|
|
#main-window[sizemode=normal] #navigator-toolbox[tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme),
|
2011-08-08 03:12:28 -07:00
|
|
|
#main-window[sizemode=normal][tabsontop=true][disablechrome] #navigator-toolbox:not(:-moz-lwtheme)::after {
|
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-08-08 03:12:28 -07:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar[tabsontop=true]:not(:-moz-lwtheme) {
|
2011-02-09 17:36:26 -08:00
|
|
|
margin-bottom: -1px;
|
|
|
|
background-image: none !important;
|
2011-01-17 00:29:50 -08:00
|
|
|
}
|
2011-08-08 03:12:28 -07:00
|
|
|
#main-window[sizemode=normal] #tabbrowser-tabs[tabsontop=true] > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox:not(:-moz-lwtheme) {
|
2011-02-18 08:05:00 -08:00
|
|
|
position: relative;
|
|
|
|
}
|
2011-01-17 00:29:50 -08:00
|
|
|
|
2011-02-11 13:45:06 -08:00
|
|
|
#navigator-toolbox[tabsontop=false] > #PersonalToolbar {
|
2011-03-25 03:09:23 -07:00
|
|
|
margin-top: 3px;
|
2011-02-11 13:45:06 -08:00
|
|
|
}
|
|
|
|
#navigator-toolbox[tabsontop=false] > #PersonalToolbar:not(:-moz-lwtheme) {
|
2011-03-25 03:09:23 -07:00
|
|
|
margin-top: 2px;
|
|
|
|
border-top: 1px solid @toolbarShadowColor@;
|
2011-02-11 13:45:06 -08:00
|
|
|
background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
|
2010-11-25 01:09:39 -08:00
|
|
|
}
|
|
|
|
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar[tabsontop=true] {
|
2010-10-15 08:22:00 -07:00
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
2010-06-11 05:15:37 -07:00
|
|
|
}
|
|
|
|
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar[tabsontop=false] {
|
2011-03-02 21:40:41 -08:00
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
|
2011-08-08 03:12:28 -07:00
|
|
|
/* Rounded corners for when chrome is disabled */
|
|
|
|
#main-window[sizemode=normal][tabsontop=true][disablechrome] #navigator-toolbox:not(:-moz-lwtheme)::after {
|
|
|
|
visibility: visible;
|
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
background-image: -moz-linear-gradient(@toolbarHighlight@, @toolbarHighlight@);
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:13:59 -07:00
|
|
|
/* Make the window draggable by glassed toolbars (bug 555081) */
|
|
|
|
#toolbar-menubar:not([autohide="true"]),
|
2010-07-20 10:36:48 -07:00
|
|
|
#TabsToolbar[tabsontop="true"],
|
|
|
|
#navigator-toolbox[tabsontop="false"] > #nav-bar,
|
|
|
|
#nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child,
|
2010-06-30 10:57:14 -07:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):-moz-lwtheme {
|
2010-06-24 10:13:59 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2011-10-17 13:40:48 -07:00
|
|
|
#navigator-toolbox[tabsontop=false] #urlbar:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop=false] .searchbar-textbox:not(:-moz-lwtheme) {
|
2010-03-26 05:14:03 -07:00
|
|
|
background-color: rgba(255,255,255,.725);
|
2010-06-12 00:00:09 -07:00
|
|
|
@navbarTextboxCustomBorder@
|
2010-03-26 05:14:03 -07:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2011-10-17 13:40:48 -07:00
|
|
|
#navigator-toolbox[tabsontop=false] html|*.urlbar-input:not(:-moz-lwtheme):-moz-placeholder,
|
|
|
|
#navigator-toolbox[tabsontop=false] .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:not(:-moz-lwtheme):-moz-placeholder {
|
2010-03-26 05:14:03 -07:00
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
2011-10-17 13:40:48 -07:00
|
|
|
#navigator-toolbox[tabsontop=false] #urlbar:not(:-moz-lwtheme):hover,
|
|
|
|
#navigator-toolbox[tabsontop=false] .searchbar-textbox:not(:-moz-lwtheme):hover {
|
2010-03-26 05:14:03 -07:00
|
|
|
background-color: rgba(255,255,255,.898);
|
|
|
|
}
|
|
|
|
|
2011-10-17 13:40:48 -07:00
|
|
|
#navigator-toolbox[tabsontop=false] #urlbar:not(:-moz-lwtheme)[focused],
|
|
|
|
#navigator-toolbox[tabsontop=false] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
|
2010-03-26 05:14:03 -07:00
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2010-11-25 01:10:22 -08:00
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme) {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] .statuspanel-inner {
|
2011-02-07 19:48:16 -08:00
|
|
|
/* align with the browser's side borders */
|
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
#allTabs-panel,
|
|
|
|
#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"),
|
|
|
|
-moz-linear-gradient(rgba(255,255,255,0), #CCD9EA 200px, #C7D5E7);
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
2008-07-11 13:40:35 -07:00
|
|
|
}
|
|
|
|
|
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),
|
|
|
|
#TabsToolbar[tabsontop=true]:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop=false] > toolbar:not(#toolbar-menubar):not(:-moz-lwtheme) {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
#toolbar-menubar[autohide=true] {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
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) {
|
|
|
|
-moz-transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
2011-03-02 13:21:24 -08:00
|
|
|
/* ::::: splitmenu highlight style that imitates Windows 7 start menu ::::: */
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2011-03-02 13:21:24 -08:00
|
|
|
.splitmenu-menuitem,
|
|
|
|
.splitmenu-menu {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
.splitmenu-menuitem {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
.splitmenu-menu {
|
|
|
|
-moz-margin-start: -1px;
|
|
|
|
}
|
|
|
|
.splitmenu-menuitem:-moz-locale-dir(ltr),
|
|
|
|
.splitmenu-menu:-moz-locale-dir(rtl) {
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
|
|
|
.splitmenu-menu:-moz-locale-dir(ltr),
|
|
|
|
.splitmenu-menuitem:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menuitem > .menu-text {
|
|
|
|
-moz-margin-start: 1px !important;
|
|
|
|
-moz-margin-end: 3px !important;
|
|
|
|
}
|
|
|
|
.splitmenu-menu > .menu-right {
|
|
|
|
-moz-margin-end: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menuitem[iconic],
|
|
|
|
.splitmenu-menu[iconic] {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
.splitmenu-menuitem[iconic] > .menu-iconic-left {
|
|
|
|
margin-top: -3px;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
-moz-margin-start: -1px;
|
|
|
|
}
|
|
|
|
.splitmenu-menuitem[iconic] > .menu-iconic-text {
|
|
|
|
-moz-margin-start: 2px !important;
|
|
|
|
-moz-margin-end: 3px !important;
|
|
|
|
}
|
|
|
|
.splitmenu-menu[iconic] > .menu-right {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menuitem[_moz-menuactive],
|
|
|
|
.splitmenu-menu[_moz-menuactive] {
|
2011-03-02 14:12:28 -08:00
|
|
|
background-color: transparent;
|
2011-03-02 13:21:24 -08:00
|
|
|
background-image: -moz-linear-gradient(#fafbfd, #ebf3fd);
|
|
|
|
border-color: #aeccf1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menuitem[disabled][_moz-menuactive],
|
|
|
|
.splitmenu-menu[disabled][_moz-menuactive] {
|
|
|
|
background-image: -moz-linear-gradient(#f8f9f9, #eaeaea);
|
|
|
|
border-color: #d8d7d7;
|
|
|
|
}
|
2011-03-02 14:12:28 -08:00
|
|
|
|
|
|
|
.splitmenu-menu[_moz-menuactive]:not(:hover):not([open]) {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2011-03-02 13:21:24 -08:00
|
|
|
}
|