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-06-11 05:15:37 -07:00
|
|
|
%define customToolbarColor rgb(227,237,246)
|
|
|
|
|
|
|
|
@media all and (-moz-windows-default-theme) {
|
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
|
|
|
|
background-color: @customToolbarColor@;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[tabsontop="true"] > #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
|
|
|
|
background-image: -moz-radial-gradient(center top, white, rgba(255,255,255,0) 60%),
|
|
|
|
-moz-linear-gradient(left, transparent, transparent 1px,
|
|
|
|
@toolbarHighlight@ 1px, @toolbarHighlight@),
|
|
|
|
-moz-linear-gradient(left, transparent, transparent 1px,
|
|
|
|
@customToolbarColor@ 1px, @customToolbarColor@);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
@media all and (-moz-windows-compositor) {
|
|
|
|
#main-window:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: -moz-win-glass;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2008-04-17 09:00:08 -07:00
|
|
|
|
2010-06-27 23:03:47 -07:00
|
|
|
/* the new titlebar requires this, or content will be clipped at the top of the screen. */
|
2010-06-29 20:20:02 -07:00
|
|
|
#main-window[sizemode="maximized"][chromemargin^="0,"] {
|
2010-06-27 23:03:47 -07:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2010-06-30 23:30:42 -07:00
|
|
|
#main-window[sizemode="normal"][chromemargin^="0,"] {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:20:52 -07:00
|
|
|
#main-window:not(:-moz-lwtheme)[inFullscreen="true"] {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #556;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#toolbar-menubar:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[tabsontop="true"] > #TabsToolbar:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar:last-child:not(:-moz-lwtheme) {
|
|
|
|
background: transparent !important;
|
2010-03-25 00:13:33 -07:00
|
|
|
color: black;
|
2010-03-27 09:05:45 -07:00
|
|
|
text-shadow: 0 0 .7em white, 0 0 .7em white, 0 1px 0 rgba(255,255,255,.4);
|
2010-03-25 00:13:33 -07:00
|
|
|
}
|
2008-04-22 18:07:38 -07:00
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#navigator-toolbox[tabsontop="true"] > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
|
|
|
border-left: 1px solid ThreeDShadow;
|
|
|
|
border-right: 1px solid ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:13:59 -07:00
|
|
|
/* Make the window draggable by glassed toolbars (bug 555081) */
|
|
|
|
#toolbar-menubar:not([autohide="true"]),
|
|
|
|
#navigator-toolbox[tabsontop="true"] > #TabsToolbar,
|
|
|
|
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar,
|
|
|
|
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar: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");
|
|
|
|
}
|
|
|
|
|
2010-03-28 01:47:51 -07:00
|
|
|
#browser:not(:-moz-lwtheme),
|
|
|
|
#browser-bottombox:not(:-moz-lwtheme) {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
2010-03-26 05:14:03 -07:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*XXX :-moz-placeholder isn't implemented yet (bug 457801)
|
|
|
|
#urlbar > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder,
|
|
|
|
.searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#urlbar:hover,
|
|
|
|
.searchbar-textbox:hover {
|
|
|
|
background-color: rgba(255,255,255,.898);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2010-04-27 22:54:51 -07:00
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme):not([selected="true"]),
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button:not(:-moz-lwtheme) {
|
2010-04-20 00:33:08 -07:00
|
|
|
background-image: -moz-linear-gradient(left, transparent, transparent 1px,
|
|
|
|
rgba(255,255,255,.4) 1px, rgba(255,255,255,.4));
|
2010-03-27 09:05:45 -07:00
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.4);
|
2010-03-25 00:13:33 -07:00
|
|
|
}
|
2008-04-08 12:28:11 -07:00
|
|
|
|
2010-04-20 00:33:08 -07:00
|
|
|
.tabbrowser-tab:not(:-moz-lwtheme):not([selected="true"]):hover,
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button:not(:-moz-lwtheme):hover {
|
2010-04-20 00:33:08 -07:00
|
|
|
background-image: -moz-linear-gradient(left, transparent, transparent 1px,
|
|
|
|
rgba(255,255,255,.6) 1px, rgba(255,255,255,.6));
|
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
#allTabs-panel,
|
|
|
|
#ctrlTab-panel {
|
|
|
|
background: transparent;
|
|
|
|
-moz-appearance: -moz-win-glass;
|
|
|
|
-moz-border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
font: normal 1.2em "Segoe UI";
|
|
|
|
color: black;
|
|
|
|
text-shadow: white -1px -1px .5em, white -1px 1px .5em, white 1px 1px .5em, white 1px -1px .5em;
|
|
|
|
}
|
2008-07-11 13:40:35 -07:00
|
|
|
}
|
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
@media not all and (-moz-windows-compositor) {
|
|
|
|
#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
|
|
|
|
2010-03-25 00:13:33 -07:00
|
|
|
@media all and (-moz-windows-default-theme) {
|
|
|
|
/* Bug 413060, comment 16: Vista Aero is a special case where we use a
|
|
|
|
tooltip appearance for the address bar popup panels */
|
|
|
|
#identity-popup,
|
2010-04-09 10:45:25 -07:00
|
|
|
#editBookmarkPanel,
|
|
|
|
#notification-popup {
|
2010-03-25 00:13:33 -07:00
|
|
|
-moz-appearance: tooltip;
|
|
|
|
color: InfoText;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make the left and right paddings smaller, to compensate for the horizontal
|
|
|
|
space added by the tooltip appearance, see bug 432529. */
|
|
|
|
#identity-popup-container {
|
|
|
|
-moz-padding-start: 6px;
|
|
|
|
-moz-padding-end: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-splitter {
|
|
|
|
border: 0;
|
|
|
|
-moz-border-end: 1px solid #A9B7C9;
|
|
|
|
min-width: 0;
|
|
|
|
width: 3px;
|
|
|
|
background-color: transparent;
|
|
|
|
-moz-margin-start: -3px;
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
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);
|
|
|
|
}
|