Bug 459372 Move filefield style rules to toolkit r=Mano

--HG--
rename : browser/themes/gnomestripe/browser/preferences/preferences.css => toolkit/themes/gnomestripe/global/filefield.css
rename : browser/themes/pinstripe/browser/preferences/preferences.css => toolkit/themes/pinstripe/global/filefield.css
rename : browser/themes/winstripe/browser/preferences/preferences.css => toolkit/themes/winstripe/global/filefield.css
This commit is contained in:
Neil Rashbrook 2008-12-03 14:11:37 +00:00
Родитель 3195c45062
Коммит 4823a661f3
11 изменённых файлов: 207 добавлений и 101 удалений

Просмотреть файл

@ -82,43 +82,6 @@ radio[pane=paneAdvanced] {
-moz-box-flex: 1;
}
/* File Field Widget */
filefield {
margin: 2px 4px;
-moz-appearance: textfield;
}
.fileFieldContentBox {
background-color: -moz-Dialog;
color: -moz-DialogText;
margin: 1px;
}
.fileFieldContentBox[disabled="true"] {
opacity: 0.5;
}
.fileFieldIcon[disabled="true"] {
opacity: 0.2;
}
.fileFieldIcon {
width: 16px;
height: 16px;
margin-top: 2px;
margin-bottom: 2px;
-moz-margin-start: 2px;
-moz-margin-end: 4px;
}
.fileFieldLabel {
-moz-appearance: none;
background-color: transparent;
border: none;
padding: 1px 0px 0px 0px;
margin: 0px;
}
/* Modeless Window Dialogs */
.windowDialog,
.windowDialog prefpane {

Просмотреть файл

@ -176,30 +176,6 @@ description {
margin-bottom: 4px !important;
}
#downloadFolderIcon {
width: 16px;
height: 16px;
}
#downloadFolderContainer {
margin: 2px 4px 2px 27px;
-moz-appearance: textfield;
}
#downloadFolderContainer2 {
background-color: -moz-Dialog;
color: -moz-DialogText;
margin: 1px;
padding: 0px 0px 0px 3px;
}
#downloadFolder {
-moz-appearance: none;
background-color: transparent;
border: none;
padding: 1px 0px 0px 0px;
}
prefpane .groupbox-body {
-moz-appearance: none;
padding: 8px 4px 4px 4px;

Просмотреть файл

@ -109,43 +109,6 @@ radio[pane=paneAdvanced][selected="true"] {
-moz-box-flex: 1;
}
/* File Field Widget */
filefield {
margin: 2px 4px;
-moz-appearance: textfield;
}
.fileFieldContentBox {
background-color: -moz-Dialog;
color: -moz-DialogText;
margin: 1px;
}
.fileFieldContentBox[disabled="true"] {
opacity: 0.5;
}
.fileFieldIcon[disabled="true"] {
opacity: 0.2;
}
.fileFieldIcon {
width: 16px;
height: 16px;
margin-top: 2px;
margin-bottom: 2px;
-moz-margin-start: 2px;
-moz-margin-end: 4px;
}
.fileFieldLabel {
-moz-appearance: none;
background-color: transparent;
border: none;
padding: 1px 0px 0px 0px;
margin: 0px;
}
/* Modeless Window Dialogs */
.windowDialog,
.windowDialog prefpane {

Просмотреть файл

@ -6,6 +6,9 @@
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="filefield" extends="chrome://global/content/bindings/general.xml#basetext">
<resources>
<stylesheet src="chrome://global/skin/filefield.css"/>
</resources>
<content>
<xul:stringbundle anonid="bundle" src="chrome://global/locale/filefield.properties"/>
<xul:hbox class="fileFieldContentBox" align="center" flex="1" xbl:inherits="disabled">

Просмотреть файл

@ -1,3 +0,0 @@
filefield {
-moz-binding: url("chrome://mozapps/content/preferences/preferences.xml#fileField");
}

Просмотреть файл

@ -0,0 +1,69 @@
/*
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Firefox Preferences System.
#
# The Initial Developer of the Original Code is
# Ben Goodger.
# Portions created by the Initial Developer are Copyright (C) 2005
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Ben Goodger <ben@mozilla.org>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
*/
/* File Field Widget */
filefield {
margin: 2px 4px;
-moz-appearance: textfield;
}
.fileFieldContentBox {
background-color: -moz-Dialog;
}
.fileFieldIcon[disabled="true"] {
opacity: 0.4;
}
.fileFieldIcon {
width: 16px;
height: 16px;
margin-top: 1px;
margin-bottom: 1px;
-moz-margin-start: 1px;
-moz-margin-end: 4px;
}
.fileFieldLabel {
-moz-appearance: none;
background-color: transparent;
border: none;
margin: 0px;
}

Просмотреть файл

@ -24,6 +24,7 @@ classic.jar:
+ skin/classic/global/printPreview.css
+ skin/classic/global/printPageSetup.css
+ skin/classic/global/preferences.css
+ skin/classic/global/filefield.css
+ skin/classic/global/console/console.css (console/console.css)
+ skin/classic/global/console/console.png (console/console.png)
+ skin/classic/global/console/console-toolbar.png (console/console-toolbar.png)

Просмотреть файл

@ -0,0 +1,62 @@
/*
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Firefox Preferences System.
#
# The Initial Developer of the Original Code is
# Ben Goodger.
# Portions created by the Initial Developer are Copyright (C) 2005
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Ben Goodger <ben@mozilla.org>
# Kevin Gerich <webmail@kmgerich.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
*/
.fileFieldIcon {
width: 16px;
height: 16px;
}
filefield {
margin: 2px 4px 2px 27px;
-moz-appearance: textfield;
}
.fileFieldContentBox {
background-color: -moz-Dialog;
color: -moz-DialogText;
padding: 0px 0px 0px 3px;
}
.fileFieldLabel {
-moz-appearance: none;
background-color: transparent;
border: none;
}

Просмотреть файл

@ -18,6 +18,7 @@ classic.jar:
+ skin/classic/global/customizeToolbar.css
+ skin/classic/global/dialog.css
+ skin/classic/global/dropmarker.css
+ skin/classic/global/filefield.css
+ skin/classic/global/filepicker.css
+ skin/classic/global/findBar.css
+ skin/classic/global/global.css

Просмотреть файл

@ -0,0 +1,69 @@
/*
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Firefox Preferences System.
#
# The Initial Developer of the Original Code is
# Ben Goodger.
# Portions created by the Initial Developer are Copyright (C) 2005
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Ben Goodger <ben@mozilla.org>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
*/
/* File Field Widget */
filefield {
margin: 2px 4px;
-moz-appearance: textfield;
}
.fileFieldContentBox {
background-color: -moz-Dialog;
}
.fileFieldIcon[disabled="true"] {
opacity: 0.4;
}
.fileFieldIcon {
width: 16px;
height: 16px;
margin-top: 1px;
margin-bottom: 1px;
-moz-margin-start: 1px;
-moz-margin-end: 4px;
}
.fileFieldLabel {
-moz-appearance: none;
background-color: transparent;
border: none;
margin: 0px;
}

Просмотреть файл

@ -17,6 +17,7 @@ classic.jar:
skin/classic/global/dialog.css
skin/classic/global/dropmarker.css
skin/classic/global/expander.css
skin/classic/global/filefield.css
skin/classic/global/filepicker.css
skin/classic/global/findBar.css
* skin/classic/global/global.css
@ -183,6 +184,7 @@ classic.jar:
skin/classic/aero/global/dialog.css
skin/classic/aero/global/dropmarker.css
skin/classic/aero/global/expander.css
skin/classic/aero/global/filefield.css
skin/classic/aero/global/filepicker.css
skin/classic/aero/global/findBar.css
* skin/classic/aero/global/global.css