mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1150006 - Get rid of "-aero" file name suffixes in toolkit/themes/windows/, part 1: CSS files. r=gijs
This commit is contained in:
parent
ea4c6fe6cf
commit
25d4af5efa
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include autocomplete.css
|
||||
%undef WINDOWS_AERO
|
@ -105,27 +105,29 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-default-theme) {
|
||||
/*
|
||||
-moz-appearance: menuitem is almost right, but the hover effect is not
|
||||
transparent and is lighter than desired.
|
||||
*/
|
||||
.autocomplete-richlistitem[selected="true"] {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
/* four gradients for the bevel highlights on each edge, one for blue background */
|
||||
background-image:
|
||||
linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, transparent 3px),
|
||||
linear-gradient(to right, rgba(255,255,255,0.5) 3px, transparent 3px),
|
||||
linear-gradient(to left, rgba(255,255,255,0.5) 3px, transparent 3px),
|
||||
linear-gradient(to top, rgba(255,255,255,0.4) 3px, transparent 3px),
|
||||
linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3));
|
||||
background-clip: content-box;
|
||||
border-radius: 6px;
|
||||
outline: 1px solid rgb(124,163,206);
|
||||
-moz-outline-radius: 3px;
|
||||
outline-offset: -2px;
|
||||
%ifdef XP_WIN
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
/*
|
||||
-moz-appearance: menuitem is almost right, but the hover effect is not
|
||||
transparent and is lighter than desired.
|
||||
*/
|
||||
.autocomplete-richlistitem[selected="true"] {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
/* four gradients for the bevel highlights on each edge, one for blue background */
|
||||
background-image:
|
||||
linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, transparent 3px),
|
||||
linear-gradient(to right, rgba(255,255,255,0.5) 3px, transparent 3px),
|
||||
linear-gradient(to left, rgba(255,255,255,0.5) 3px, transparent 3px),
|
||||
linear-gradient(to top, rgba(255,255,255,0.4) 3px, transparent 3px),
|
||||
linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3));
|
||||
background-clip: content-box;
|
||||
border-radius: 6px;
|
||||
outline: 1px solid rgb(124,163,206);
|
||||
-moz-outline-radius: 3px;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
%endif
|
||||
@ -208,18 +210,20 @@ html|span.ac-emphasize-text {
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
%ifdef WINDOWS_AERO
|
||||
html|span.ac-emphasize-text {
|
||||
box-shadow: inset 0 0 1px 1px rgba(0,0,0,0.1);
|
||||
background-color: rgba(0,0,0,0.05);
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
html|span.ac-emphasize-text {
|
||||
box-shadow: inset 0 0 1px 1px rgba(0,0,0,0.1);
|
||||
background-color: rgba(0,0,0,0.05);
|
||||
}
|
||||
}
|
||||
%else
|
||||
.ac-url-text > html|span.ac-emphasize-text,
|
||||
.ac-action-text > html|span.ac-emphasize-text {
|
||||
box-shadow: inset 0 0 1px 1px rgba(202,214,201,0.3);
|
||||
background-color: rgba(202,214,201,0.2);
|
||||
|
||||
@media (-moz-os-version: windows-xp) {
|
||||
.ac-url-text > html|span.ac-emphasize-text,
|
||||
.ac-action-text > html|span.ac-emphasize-text {
|
||||
box-shadow: inset 0 0 1px 1px rgba(202,214,201,0.3);
|
||||
background-color: rgba(202,214,201,0.2);
|
||||
}
|
||||
}
|
||||
%endif
|
||||
}
|
||||
|
||||
.ac-title, .ac-url {
|
||||
|
@ -1,13 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include console.css
|
||||
|
||||
#ToolbarMode {
|
||||
-moz-appearance: -moz-win-browsertabbar-toolbox;
|
||||
}
|
||||
|
||||
#ToolbarEval {
|
||||
-moz-appearance: toolbox;
|
||||
}
|
@ -206,3 +206,15 @@ toolbar#ToolbarMode .toolbarbutton-text {
|
||||
-moz-padding-start: 0px;
|
||||
-moz-padding-end: 5px;
|
||||
}
|
||||
|
||||
%ifdef XP_WIN
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
#ToolbarMode {
|
||||
-moz-appearance: -moz-win-browsertabbar-toolbox;
|
||||
}
|
||||
|
||||
#ToolbarEval {
|
||||
-moz-appearance: toolbox;
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include inContentUI.css
|
||||
%undef WINDOWS_AERO
|
@ -24,7 +24,6 @@ html|html {
|
||||
font: message-box;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
|
||||
(-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
|
||||
*|*:root {
|
||||
@ -58,7 +57,6 @@ html|html {
|
||||
url("chrome://global/skin/inContentUI/background-texture.png");
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
/* Use the new in-content colors for #contentAreaDownloadsView. After landing
|
||||
of bug 989469 the colors can be moved to *|*:root */
|
||||
@ -77,15 +75,17 @@ html|html {
|
||||
border: 1px solid #C3CEDF;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-os-version: windows-vista),
|
||||
%ifdef XP_WIN
|
||||
@media (-moz-os-version: windows-xp),
|
||||
(-moz-os-version: windows-vista),
|
||||
(-moz-os-version: windows-win7) {
|
||||
%endif
|
||||
*|*.main-content {
|
||||
border-radius: 5px;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
%ifdef XP_WIN
|
||||
}
|
||||
%endif
|
||||
|
||||
@media (-moz-windows-glass) {
|
||||
/* Buttons */
|
||||
@ -152,7 +152,6 @@ html|html {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
colorpicker[type="button"] {
|
||||
margin: 1px 5px 2px 5px;
|
||||
|
@ -31,7 +31,7 @@ toolkit.jar:
|
||||
skin/classic/global/groupbox.css
|
||||
* skin/classic/global/inContentUI.css
|
||||
skin/classic/global/linkTree.css
|
||||
skin/classic/global/listbox.css
|
||||
* skin/classic/global/listbox.css
|
||||
* skin/classic/global/menu.css
|
||||
skin/classic/global/menulist.css
|
||||
skin/classic/global/netError.css
|
||||
@ -56,7 +56,7 @@ toolkit.jar:
|
||||
skin/classic/global/textbox.css
|
||||
skin/classic/global/toolbar.css
|
||||
skin/classic/global/toolbarbutton.css
|
||||
skin/classic/global/tree.css
|
||||
* skin/classic/global/tree.css
|
||||
skin/classic/global/wizard.css
|
||||
skin/classic/global/alerts/alert.css (alerts/alert.css)
|
||||
skin/classic/global/alerts/notification-48.png (alerts/notification-48.png)
|
||||
@ -83,7 +83,7 @@ toolkit.jar:
|
||||
skin/classic/global/arrow/panelarrow-vertical-themed.svg (arrow/panelarrow-vertical-themed.svg)
|
||||
skin/classic/global/checkbox/cbox-check.gif (checkbox/cbox-check.gif)
|
||||
skin/classic/global/checkbox/cbox-check-dis.gif (checkbox/cbox-check-dis.gif)
|
||||
skin/classic/global/console/console.css (console/console.css)
|
||||
* skin/classic/global/console/console.css (console/console.css)
|
||||
skin/classic/global/console/console-toolbar.png (console/console-toolbar.png)
|
||||
skin/classic/global/console/console-error-caret.gif (console/console-error-caret.gif)
|
||||
skin/classic/global/console/console-error-dash.gif (console/console-error-dash.gif)
|
||||
@ -206,17 +206,6 @@ toolkit.jar:
|
||||
skin/classic/global/tree/twisty-open.png (tree/twisty-open.png)
|
||||
|
||||
#ifdef XP_WIN
|
||||
* skin/classic/global/autocomplete-aero.css (autocomplete-aero.css)
|
||||
* skin/classic/global/inContentUI-aero.css (inContentUI-aero.css)
|
||||
* skin/classic/global/listbox-aero.css (listbox-aero.css)
|
||||
* skin/classic/global/menu-aero.css (menu-aero.css)
|
||||
* skin/classic/global/menulist-aero.css (menulist-aero.css)
|
||||
* skin/classic/global/notification-aero.css (notification-aero.css)
|
||||
* skin/classic/global/popup-aero.css (popup-aero.css)
|
||||
* skin/classic/global/textbox-aero.css (textbox-aero.css)
|
||||
* skin/classic/global/toolbarbutton-aero.css (toolbarbutton-aero.css)
|
||||
* skin/classic/global/tree-aero.css (tree-aero.css)
|
||||
* skin/classic/global/console/console-aero.css (console/console-aero.css)
|
||||
skin/classic/global/console/console-toolbar-aero.png (console/console-toolbar-aero.png)
|
||||
skin/classic/global/dirListing/folder-aero.png (dirListing/folder-aero.png)
|
||||
skin/classic/global/dirListing/local-aero.png (dirListing/local-aero.png)
|
||||
@ -271,17 +260,6 @@ toolkit.jar:
|
||||
skin/classic/global/tree/twisty-open-hover-aero.png (tree/twisty-open-hover-aero.png)
|
||||
skin/classic/global/tree/twisty-open-hover-rtl-aero.png (tree/twisty-open-hover-rtl-aero.png)
|
||||
|
||||
% override chrome://global/skin/autocomplete.css chrome://global/skin/autocomplete-aero.css osversion>=6
|
||||
% override chrome://global/skin/inContentUI.css chrome://global/skin/inContentUI-aero.css osversion>=6
|
||||
% override chrome://global/skin/listbox.css chrome://global/skin/listbox-aero.css osversion>=6
|
||||
% override chrome://global/skin/menu.css chrome://global/skin/menu-aero.css osversion>=6
|
||||
% override chrome://global/skin/menulist.css chrome://global/skin/menulist-aero.css osversion>=6
|
||||
% override chrome://global/skin/notification.css chrome://global/skin/notification-aero.css osversion>=6
|
||||
% override chrome://global/skin/popup.css chrome://global/skin/popup-aero.css osversion>=6
|
||||
% override chrome://global/skin/textbox.css chrome://global/skin/textbox-aero.css osversion>=6
|
||||
% override chrome://global/skin/toolbarbutton.css chrome://global/skin/toolbarbutton-aero.css osversion>=6
|
||||
% override chrome://global/skin/tree.css chrome://global/skin/tree-aero.css osversion>=6
|
||||
% override chrome://global/skin/console/console.css chrome://global/skin/console/console-aero.css osversion>=6
|
||||
% override chrome://global/skin/console/console-toolbar.png chrome://global/skin/console/console-toolbar-aero.png osversion>=6
|
||||
% override chrome://global/skin/dirListing/folder.png chrome://global/skin/dirListing/folder-aero.png osversion>=6
|
||||
% override chrome://global/skin/dirListing/local.png chrome://global/skin/dirListing/local-aero.png osversion>=6
|
||||
|
@ -1,67 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include listbox.css
|
||||
%filter substitution
|
||||
%define selectedBorderColor rgb(217,217,217)
|
||||
%define hoverAndFocusBorderColor rgb(125,162,206)
|
||||
%define selectedFocusBorderColor rgb(132,172,221)
|
||||
%define selectedGradientColor1 rgba(190,190,190,.1)
|
||||
%define selectedGradientColor2 rgba(190,190,190,.4)
|
||||
%define selectedFocusGradientColor1 rgba(131,183,249,.16)
|
||||
%define selectedFocusGradientColor2 rgba(131,183,249,.375)
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
listitem {
|
||||
color: -moz-FieldText;
|
||||
-moz-margin-start: 1px;
|
||||
-moz-margin-end: 1px;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
border-width: 1px;
|
||||
border-radius: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 -1px 0 1px rgba(255,255,255,.2);
|
||||
}
|
||||
|
||||
listitem[selected="true"] {
|
||||
border-color: @selectedBorderColor@;
|
||||
background-image: linear-gradient(@selectedGradientColor1@, @selectedGradientColor2@);
|
||||
background-color: rgba(190,190,190,.15);
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"] {
|
||||
border-color: @selectedFocusBorderColor@;
|
||||
background-image: linear-gradient(@selectedFocusGradientColor1@, @selectedFocusGradientColor2@);
|
||||
background-color: rgba(131,183,249,.02);
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[current="true"] {
|
||||
border-color: @hoverAndFocusBorderColor@;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"][current="true"] {
|
||||
background-color: rgba(131,183,249,.15);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win8) {
|
||||
listitem {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
listitem[selected="true"] {
|
||||
background-image: linear-gradient(@selectedGradientColor2@, @selectedGradientColor2@);
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"] {
|
||||
background-image: linear-gradient(@selectedFocusGradientColor2@, @selectedFocusGradientColor2@);
|
||||
}
|
||||
}
|
||||
}
|
@ -6,6 +6,15 @@
|
||||
== Styles used by XUL listbox-related elements.
|
||||
======================================================================= */
|
||||
|
||||
%filter substitution
|
||||
%define selectedBorderColor rgb(217,217,217)
|
||||
%define hoverAndFocusBorderColor rgb(125,162,206)
|
||||
%define selectedFocusBorderColor rgb(132,172,221)
|
||||
%define selectedGradientColor1 rgba(190,190,190,.1)
|
||||
%define selectedGradientColor2 rgba(190,190,190,.4)
|
||||
%define selectedFocusGradientColor1 rgba(131,183,249,.16)
|
||||
%define selectedFocusGradientColor2 rgba(131,183,249,.375)
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: listbox ::::: */
|
||||
@ -141,3 +150,59 @@ listheader[sortable="true"]:hover:active {
|
||||
min-height: 13px;
|
||||
background: -moz-Field no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
listitem {
|
||||
color: -moz-FieldText;
|
||||
-moz-margin-start: 1px;
|
||||
-moz-margin-end: 1px;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
border-width: 1px;
|
||||
border-radius: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 -1px 0 1px rgba(255,255,255,.2);
|
||||
}
|
||||
|
||||
listitem[selected="true"] {
|
||||
border-color: @selectedBorderColor@;
|
||||
background-image: linear-gradient(@selectedGradientColor1@, @selectedGradientColor2@);
|
||||
background-color: rgba(190,190,190,.15);
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"] {
|
||||
border-color: @selectedFocusBorderColor@;
|
||||
background-image: linear-gradient(@selectedFocusGradientColor1@, @selectedFocusGradientColor2@);
|
||||
background-color: rgba(131,183,249,.02);
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[current="true"] {
|
||||
border-color: @hoverAndFocusBorderColor@;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"][current="true"] {
|
||||
background-color: rgba(131,183,249,.15);
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win8) {
|
||||
listitem {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
listitem[selected="true"] {
|
||||
background-image: linear-gradient(@selectedGradientColor2@, @selectedGradientColor2@);
|
||||
}
|
||||
|
||||
listbox:focus > listitem[selected="true"] {
|
||||
background-image: linear-gradient(@selectedFocusGradientColor2@, @selectedFocusGradientColor2@);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include menu.css
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
menubar > menu:-moz-lwtheme {
|
||||
-moz-appearance: menuitem;
|
||||
}
|
||||
|
||||
menubar > menu:-moz-lwtheme[_moz-menuactive="true"]:not([disabled="true"]) {
|
||||
color: inherit !important;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
}
|
@ -140,6 +140,19 @@ menubar > menu:-moz-lwtheme[_moz-menuactive="true"]:not([disabled="true"]) {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
menubar > menu:-moz-lwtheme {
|
||||
-moz-appearance: menuitem;
|
||||
}
|
||||
|
||||
menubar > menu:-moz-lwtheme[_moz-menuactive="true"]:not([disabled="true"]) {
|
||||
color: inherit !important;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%ifdef XP_WIN
|
||||
menubar > menu:-moz-window-inactive {
|
||||
color: ThreeDShadow;
|
||||
|
@ -1,38 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
% include all of the Luna styles
|
||||
%include menulist.css
|
||||
|
||||
menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
|
||||
border: 1px dotted ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
.menulist-label-box {
|
||||
background-color: transparent !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.menulist-label {
|
||||
margin-top: -1px !important;
|
||||
margin-bottom: -1px !important;
|
||||
-moz-margin-start: 0 !important;
|
||||
}
|
||||
|
||||
.menulist-description {
|
||||
-moz-margin-start: 1ex !important;
|
||||
}
|
||||
|
||||
menulist:not([editable="true"]) > .menulist-dropmarker {
|
||||
margin-top: -2px;
|
||||
-moz-margin-start: 3px;
|
||||
-moz-margin-end: -3px;
|
||||
}
|
||||
|
||||
.menulist-icon {
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
}
|
@ -79,7 +79,13 @@ menulist:focus:not([open="true"]) > .menulist-label-box {
|
||||
}
|
||||
|
||||
menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
|
||||
border: 1px dotted #F5DB95;
|
||||
border: 1px dotted ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-xp) {
|
||||
menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
|
||||
border: 1px dotted #F5DB95;
|
||||
}
|
||||
}
|
||||
|
||||
/* ..... disabled state ..... */
|
||||
@ -105,3 +111,33 @@ html|*.menulist-editable-input {
|
||||
background: inherit;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
.menulist-label-box {
|
||||
background-color: transparent !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.menulist-label {
|
||||
margin-top: -1px !important;
|
||||
margin-bottom: -1px !important;
|
||||
-moz-margin-start: 0 !important;
|
||||
}
|
||||
|
||||
.menulist-description {
|
||||
-moz-margin-start: 1ex !important;
|
||||
}
|
||||
|
||||
menulist:not([editable="true"]) > .menulist-dropmarker {
|
||||
margin-top: -2px;
|
||||
-moz-margin-start: 3px;
|
||||
-moz-margin-end: -3px;
|
||||
}
|
||||
|
||||
.menulist-icon {
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include notification.css
|
||||
%undef WINDOWS_AERO
|
@ -109,7 +109,6 @@ XXX: apply styles to all themes until bug 509642 is fixed
|
||||
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-glass) {
|
||||
.popup-notification-menubutton:not([type="menu-button"]),
|
||||
.popup-notification-menubutton > .button-menubutton-button,
|
||||
@ -119,7 +118,7 @@ XXX: apply styles to all themes until bug 509642 is fixed
|
||||
box-shadow: 0 0 1px 1px rgba(255,255,255,.75) inset;
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
.popup-notification-menubutton > .button-menubutton-button {
|
||||
background-color: transparent;
|
||||
padding: 1px;
|
||||
@ -144,7 +143,6 @@ XXX: apply styles to all themes until bug 509642 is fixed
|
||||
outline-offset: -3px;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-glass) {
|
||||
.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(ltr),
|
||||
.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(rtl) {
|
||||
@ -156,7 +154,6 @@ XXX: apply styles to all themes until bug 509642 is fixed
|
||||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
.popup-notification-menubutton:not([type="menu-button"]):hover,
|
||||
.popup-notification-menubutton > .button-menubutton-button:hover,
|
||||
@ -171,25 +168,24 @@ XXX: apply styles to all themes until bug 509642 is fixed
|
||||
background-color: rgba(0,0,0,.05);
|
||||
box-shadow: 0 0 2px rgba(0,0,0,.65) inset;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-glass) {
|
||||
.popup-notification-menubutton:not([type="menu-button"]):hover,
|
||||
.popup-notification-menubutton > .button-menubutton-button:hover,
|
||||
.popup-notification-menubutton > .button-menubutton-dropmarker:hover {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
||||
box-shadow: 0 0 0 1px white inset,
|
||||
0 0 2px 1px rgba(255,255,255,.75) inset;
|
||||
|
||||
@media (-moz-windows-glass) {
|
||||
.popup-notification-menubutton:not([type="menu-button"]):hover,
|
||||
.popup-notification-menubutton > .button-menubutton-button:hover,
|
||||
.popup-notification-menubutton > .button-menubutton-dropmarker:hover {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
||||
box-shadow: 0 0 0 1px white inset,
|
||||
0 0 2px 1px rgba(255,255,255,.75) inset;
|
||||
}
|
||||
.popup-notification-menubutton:not([type="menu-button"]):hover:active,
|
||||
.popup-notification-menubutton > .button-menubutton-button:hover:active,
|
||||
.popup-notification-menubutton > .button-menubutton-dropmarker:hover:active,
|
||||
.popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
||||
}
|
||||
}
|
||||
.popup-notification-menubutton:not([type="menu-button"]):hover:active,
|
||||
.popup-notification-menubutton > .button-menubutton-button:hover:active,
|
||||
.popup-notification-menubutton > .button-menubutton-dropmarker:hover:active,
|
||||
.popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
||||
}
|
||||
}
|
||||
%endif
|
||||
/*}*/
|
||||
%endif
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
% 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/.
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include popup.css
|
||||
%undef WINDOWS_AERO
|
@ -63,15 +63,15 @@ panel[type="arrow"][side="right"] {
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-os-version: windows-vista),
|
||||
%ifdef XP_WIN
|
||||
@media (-moz-os-version: windows-xp),
|
||||
(-moz-os-version: windows-vista),
|
||||
(-moz-os-version: windows-win7) {
|
||||
%endif
|
||||
/* < Win8 */
|
||||
.panel-arrowcontent {
|
||||
border-radius: 4px;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
%ifdef XP_WIN
|
||||
}
|
||||
%endif
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include textbox.css
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
textbox html|*.textbox-input::-moz-placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +36,14 @@ html|*.textbox-textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
textbox html|*.textbox-input::-moz-placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.textbox-contextmenu {
|
||||
cursor: default;
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include toolbarbutton.css
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
toolbarbutton:-moz-lwtheme:not([disabled="true"]) {
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
}
|
@ -88,6 +88,13 @@ toolbarbutton[checked="true"]:not([disabled="true"]) {
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
toolbarbutton:-moz-lwtheme:not([disabled="true"]) {
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media not all and (-moz-windows-default-theme) {
|
||||
|
@ -1,199 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include tree.css
|
||||
%filter substitution
|
||||
%define selectedBorderColor rgb(217,217,217)
|
||||
%define hoverAndFocusBorderColor rgb(125,162,206)
|
||||
%define selectedFocusBorderColor rgb(132,172,221)
|
||||
%define hoverBorderColor rgb(184,214,251)
|
||||
%define whiteOpacityBorderColor rgba(255,255,255,.4)
|
||||
%define whiteOpacityBottomBorderColor rgba(255,255,255,.6)
|
||||
%define selectedGradientColor1 rgba(190,190,190,.1)
|
||||
%define selectedGradientColor2 rgba(190,190,190,.4)
|
||||
%define selectedFocusGradientColor1 rgba(131,183,249,.16)
|
||||
%define selectedFocusGradientColor2 rgba(131,183,249,.375)
|
||||
%define hoverAndCurrentFocusGradientColor1 rgba(131,183,249,.28)
|
||||
%define hoverAndCurrentFocusGradientColor2 rgba(131,183,249,.5)
|
||||
%define hoverGradientColor1 rgba(131,183,249,.05)
|
||||
%define hoverGradientColor2 rgba(131,183,249,.16)
|
||||
|
||||
/* ::::: twisty ::::: */
|
||||
|
||||
treechildren::-moz-tree-indentation {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-twisty {
|
||||
-moz-padding-end: 1px;
|
||||
width: 9px;
|
||||
}
|
||||
|
||||
/*
|
||||
Please note that the following RTL icons are only available in Aero themes:
|
||||
* chrome://global/skin/tree/twisty-clsd-hover.png
|
||||
* chrome://global/skin/tree/twisty-open-hover.png
|
||||
* chrome://global/skin/tree/twisty-clsd-rtl.png
|
||||
* chrome://global/skin/tree/twisty-open-rtl.png
|
||||
* chrome://global/skin/tree/twisty-clsd-hover-rtl.png
|
||||
* chrome://global/skin/tree/twisty-open-hover-rtl.png
|
||||
*/
|
||||
treechildren::-moz-tree-twisty(hover) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover.png");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover-rtl.png");
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row {
|
||||
height: 1.8em;
|
||||
color: -moz-FieldText;
|
||||
-moz-margin-start: 1px;
|
||||
-moz-margin-end: 1px;
|
||||
border-width: 2px;
|
||||
border-color: transparent;
|
||||
border-radius: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
-moz-outline-radius: 3px;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
|
||||
-moz-border-top-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @selectedBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@selectedGradientColor1@, @selectedGradientColor2@);
|
||||
background-color: transparent;
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(current, focus) {
|
||||
border-style: solid;
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(dropOn) {
|
||||
-moz-border-top-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @selectedFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@selectedFocusGradientColor1@, @selectedFocusGradientColor2@);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, current, focus) {
|
||||
border-style: solid;
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor1@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover) {
|
||||
-moz-border-top-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverGradientColor1@, @hoverGradientColor2@);
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, current) {
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverGradientColor1@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, selected) {
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor1@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
tree[disabled="true"] > treechildren::-moz-tree-row {
|
||||
background: none;
|
||||
-moz-border-top-colors: transparent;
|
||||
-moz-border-right-colors: transparent;
|
||||
-moz-border-left-colors: transparent;
|
||||
-moz-border-bottom-colors: transparent;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell(dropOn) {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text {
|
||||
padding-bottom: initial;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text(selected, focus) {
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win8) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row {
|
||||
border-width: 1px;
|
||||
border-radius: 0;
|
||||
-moz-outline-radius: 0;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
|
||||
background-image: linear-gradient(@selectedGradientColor2@, @selectedGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(dropOn) {
|
||||
background-image: linear-gradient(@selectedFocusGradientColor2@, @selectedFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, current, focus) {
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor2@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover) {
|
||||
background-image: linear-gradient(@hoverGradientColor2@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, current) {
|
||||
background-image: linear-gradient(@hoverGradientColor2@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, selected) {
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor2@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
}
|
||||
}
|
@ -6,6 +6,22 @@
|
||||
== Styles used by the XUL outline element.
|
||||
======================================================================= */
|
||||
|
||||
%filter substitution
|
||||
%define selectedBorderColor rgb(217,217,217)
|
||||
%define hoverAndFocusBorderColor rgb(125,162,206)
|
||||
%define selectedFocusBorderColor rgb(132,172,221)
|
||||
%define hoverBorderColor rgb(184,214,251)
|
||||
%define whiteOpacityBorderColor rgba(255,255,255,.4)
|
||||
%define whiteOpacityBottomBorderColor rgba(255,255,255,.6)
|
||||
%define selectedGradientColor1 rgba(190,190,190,.1)
|
||||
%define selectedGradientColor2 rgba(190,190,190,.4)
|
||||
%define selectedFocusGradientColor1 rgba(131,183,249,.16)
|
||||
%define selectedFocusGradientColor2 rgba(131,183,249,.375)
|
||||
%define hoverAndCurrentFocusGradientColor1 rgba(131,183,249,.28)
|
||||
%define hoverAndCurrentFocusGradientColor2 rgba(131,183,249,.5)
|
||||
%define hoverGradientColor1 rgba(131,183,249,.05)
|
||||
%define hoverGradientColor2 rgba(131,183,249,.16)
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: tree ::::: */
|
||||
@ -364,3 +380,186 @@ treechildren::-moz-tree-cell-text(selected, editing) {
|
||||
-moz-margin-start: -4px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
%ifdef XP_WIN
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
/* ::::: twisty ::::: */
|
||||
|
||||
treechildren::-moz-tree-indentation {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-twisty {
|
||||
-moz-padding-end: 1px;
|
||||
width: 9px;
|
||||
}
|
||||
|
||||
/*
|
||||
Please note that the following RTL icons are only available in Aero themes:
|
||||
* chrome://global/skin/tree/twisty-clsd-hover.png
|
||||
* chrome://global/skin/tree/twisty-open-hover.png
|
||||
* chrome://global/skin/tree/twisty-clsd-rtl.png
|
||||
* chrome://global/skin/tree/twisty-open-rtl.png
|
||||
* chrome://global/skin/tree/twisty-clsd-hover-rtl.png
|
||||
* chrome://global/skin/tree/twisty-open-hover-rtl.png
|
||||
*/
|
||||
treechildren::-moz-tree-twisty(hover) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover.png");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover-rtl.png");
|
||||
}
|
||||
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover-rtl.png");
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row {
|
||||
height: 1.8em;
|
||||
color: -moz-FieldText;
|
||||
-moz-margin-start: 1px;
|
||||
-moz-margin-end: 1px;
|
||||
border-width: 2px;
|
||||
border-color: transparent;
|
||||
border-radius: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
-moz-outline-radius: 3px;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
|
||||
-moz-border-top-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @selectedBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @selectedBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@selectedGradientColor1@, @selectedGradientColor2@);
|
||||
background-color: transparent;
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(current, focus) {
|
||||
border-style: solid;
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(dropOn) {
|
||||
-moz-border-top-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @selectedFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @selectedFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@selectedFocusGradientColor1@, @selectedFocusGradientColor2@);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, current, focus) {
|
||||
border-style: solid;
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor1@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover) {
|
||||
-moz-border-top-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverGradientColor1@, @hoverGradientColor2@);
|
||||
outline: 1px solid @whiteOpacityBorderColor@;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, current) {
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverGradientColor1@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, selected) {
|
||||
-moz-border-top-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-right-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-left-colors: @hoverAndFocusBorderColor@ @whiteOpacityBorderColor@;
|
||||
-moz-border-bottom-colors: @hoverAndFocusBorderColor@ @whiteOpacityBottomBorderColor@;
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor1@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
tree[disabled="true"] > treechildren::-moz-tree-row {
|
||||
background: none;
|
||||
-moz-border-top-colors: transparent;
|
||||
-moz-border-right-colors: transparent;
|
||||
-moz-border-left-colors: transparent;
|
||||
-moz-border-bottom-colors: transparent;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell(dropOn) {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text {
|
||||
padding-bottom: initial;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text(selected, focus) {
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win8) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row {
|
||||
border-width: 1px;
|
||||
border-radius: 0;
|
||||
-moz-outline-radius: 0;
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
|
||||
background-image: linear-gradient(@selectedGradientColor2@, @selectedGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(dropOn) {
|
||||
background-image: linear-gradient(@selectedFocusGradientColor2@, @selectedFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, current, focus) {
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor2@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover) {
|
||||
background-image: linear-gradient(@hoverGradientColor2@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, current) {
|
||||
background-image: linear-gradient(@hoverGradientColor2@, @hoverGradientColor2@);
|
||||
}
|
||||
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover, selected) {
|
||||
background-image: linear-gradient(@hoverAndCurrentFocusGradientColor2@, @hoverAndCurrentFocusGradientColor2@);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
@ -1,32 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%include downloads.css
|
||||
|
||||
@media (-moz-windows-compositor) {
|
||||
#downloadManager {
|
||||
-moz-appearance: -moz-win-glass;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#downloadView {
|
||||
/* Clamp glass bounds to the rich list so our glass haze stays constant. */
|
||||
-moz-appearance: -moz-win-exclude-glass;
|
||||
border: none;
|
||||
}
|
||||
|
||||
windowdragbox {
|
||||
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
||||
}
|
||||
|
||||
#clearListButton {
|
||||
-moz-margin-start: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#searchbox {
|
||||
-moz-margin-end: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
@ -110,3 +110,30 @@ richlistitem[type="download"] .dateTime {
|
||||
min-width: 0;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@media (-moz-windows-compositor) {
|
||||
#downloadManager {
|
||||
-moz-appearance: -moz-win-glass;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#downloadView {
|
||||
/* Clamp glass bounds to the rich list so our glass haze stays constant. */
|
||||
-moz-appearance: -moz-win-exclude-glass;
|
||||
border: none;
|
||||
}
|
||||
|
||||
windowdragbox {
|
||||
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
||||
}
|
||||
|
||||
#clearListButton {
|
||||
-moz-margin-start: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#searchbox {
|
||||
-moz-margin-end: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include extensions.css
|
||||
%undef WINDOWS_AERO
|
@ -179,8 +179,9 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-os-version: windows-vista),
|
||||
%ifdef XP_WIN
|
||||
@media (-moz-os-version: windows-xp),
|
||||
(-moz-os-version: windows-vista),
|
||||
(-moz-os-version: windows-win7) {
|
||||
%endif
|
||||
.category:-moz-locale-dir(ltr) {
|
||||
@ -192,7 +193,7 @@
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
%ifdef XP_WIN
|
||||
}
|
||||
%endif
|
||||
|
||||
@ -311,14 +312,15 @@
|
||||
background-color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-os-version: windows-vista),
|
||||
%ifdef XP_WIN
|
||||
@media (-moz-os-version: windows-xp),
|
||||
(-moz-os-version: windows-vista),
|
||||
(-moz-os-version: windows-win7) {
|
||||
%endif
|
||||
#header-search {
|
||||
border-radius: 2.5px;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
%ifdef XP_WIN
|
||||
}
|
||||
%endif
|
||||
|
||||
@ -1176,14 +1178,15 @@ button.button-link:not([disabled="true"]):active:hover {
|
||||
0 0 2px 1px rgba(255, 255, 255, 0.25) inset;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-os-version: windows-vista),
|
||||
%ifdef XP_WIN
|
||||
@media (-moz-os-version: windows-xp),
|
||||
(-moz-os-version: windows-vista),
|
||||
(-moz-os-version: windows-win7) {
|
||||
%endif
|
||||
.header-button {
|
||||
border-radius: 2.5px;
|
||||
}
|
||||
%ifdef WINDOWS_AERO
|
||||
%ifdef XP_WIN
|
||||
}
|
||||
%endif
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include newaddon.css
|
||||
%undef WINDOWS_AERO
|
@ -1,7 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
%define WINDOWS_AERO
|
||||
%include selectAddons.css
|
||||
%undef WINDOWS_AERO
|
@ -167,17 +167,21 @@
|
||||
|
||||
.progress-label,
|
||||
#footer-label {
|
||||
%ifdef WINDOWS_AERO
|
||||
font-style: italic;
|
||||
%endif
|
||||
color: GrayText;
|
||||
}
|
||||
|
||||
%ifdef WINDOWS_AERO
|
||||
@media (-moz-windows-default-theme) {
|
||||
#footer {
|
||||
background-color: #f1f5fb;
|
||||
box-shadow: 0px 1px 2px rgb(204,214,234) inset;
|
||||
%ifdef XP_WIN
|
||||
@media not all and (-moz-os-version: windows-xp) {
|
||||
.progress-label,
|
||||
#footer-label {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
#footer {
|
||||
background-color: #f1f5fb;
|
||||
box-shadow: 0px 1px 2px rgb(204,214,234) inset;
|
||||
}
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
@ -79,9 +79,6 @@ toolkit.jar:
|
||||
#ifdef XP_WIN
|
||||
skin/classic/mozapps/downloads/downloadButtons-aero.png (downloads/downloadButtons-aero.png)
|
||||
skin/classic/mozapps/downloads/downloadIcon-aero.png (downloads/downloadIcon-aero.png)
|
||||
* skin/classic/mozapps/downloads/downloads-aero.css (downloads/downloads-aero.css)
|
||||
* skin/classic/mozapps/extensions/extensions-aero.css (extensions/extensions-aero.css)
|
||||
* skin/classic/mozapps/extensions/selectAddons-aero.css (extensions/selectAddons-aero.css)
|
||||
skin/classic/mozapps/extensions/category-discover-aero.png (extensions/category-discover-aero.png)
|
||||
skin/classic/mozapps/extensions/category-plugins-aero.png (extensions/category-plugins-aero.png)
|
||||
skin/classic/mozapps/extensions/category-dictionaries-aero.png (extensions/category-dictionaries-aero.png)
|
||||
@ -96,7 +93,6 @@ toolkit.jar:
|
||||
skin/classic/mozapps/extensions/dictionaryGeneric-16-aero.png (extensions/dictionaryGeneric-16-aero.png)
|
||||
skin/classic/mozapps/extensions/localeGeneric-aero.png (extensions/localeGeneric-aero.png)
|
||||
skin/classic/mozapps/extensions/experimentGeneric-aero.png (extensions/experimentGeneric-aero.png)
|
||||
* skin/classic/mozapps/extensions/newaddon-aero.css (extensions/newaddon-aero.css)
|
||||
skin/classic/mozapps/plugins/pluginGeneric-aero.png (plugins/pluginGeneric-aero.png)
|
||||
skin/classic/mozapps/plugins/pluginBlocked-aero.png (plugins/pluginBlocked-aero.png)
|
||||
skin/classic/mozapps/plugins/pluginGeneric-16-aero.png (plugins/pluginGeneric-16-aero.png)
|
||||
@ -105,9 +101,6 @@ toolkit.jar:
|
||||
|
||||
% override chrome://mozapps/skin/downloads/downloadButtons.png chrome://mozapps/skin/downloads/downloadButtons-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/downloads/downloadIcon.png chrome://mozapps/skin/downloads/downloadIcon-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/downloads/downloads.css chrome://mozapps/skin/downloads/downloads-aero.css osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/extensions.css chrome://mozapps/skin/extensions/extensions-aero.css osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/selectAddons.css chrome://mozapps/skin/extensions/selectAddons-aero.css osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/category-discover.png chrome://mozapps/skin/extensions/category-discover-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/category-plugins.png chrome://mozapps/skin/extensions/category-plugins-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/category-dictionaries.png chrome://mozapps/skin/extensions/category-dictionaries-aero.png osversion>=6
|
||||
@ -122,7 +115,6 @@ toolkit.jar:
|
||||
% override chrome://mozapps/skin/extensions/dictionaryGeneric-16.png chrome://mozapps/skin/extensions/dictionaryGeneric-16-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/localeGeneric.png chrome://mozapps/skin/extensions/localeGeneric-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/experimentGeneric.png chrome://mozapps/skin/extensions/experimentGeneric-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/extensions/newaddon.css chrome://mozapps/skin/extensions/newaddon-aero.css osversion>=6
|
||||
% override chrome://mozapps/skin/plugins/pluginGeneric.png chrome://mozapps/skin/plugins/pluginGeneric-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/plugins/pluginBlocked.png chrome://mozapps/skin/plugins/pluginBlocked-aero.png osversion>=6
|
||||
% override chrome://mozapps/skin/plugins/pluginGeneric-16.png chrome://mozapps/skin/plugins/pluginGeneric-16-aero.png osversion>=6
|
||||
|
Loading…
Reference in New Issue
Block a user