XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
/*
|
|
|
|
* The contents of this file are subject to the Netscape 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/NPL/
|
|
|
|
*
|
|
|
|
* 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 Mozilla Communicator client code, released
|
|
|
|
* March 31, 1998.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Joe Hewitt (hewitt@netscape.com)
|
|
|
|
*/
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
/* ===== textbox.css ==================================================
|
|
|
|
== Styles used by the XUL textbox element.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@import url("chrome://global/content/autocomplete.css");
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
|
|
|
|
|
|
/* ::::: textbox ::::: */
|
2001-05-12 08:51:28 +04:00
|
|
|
|
2002-01-06 04:43:17 +03:00
|
|
|
textbox
|
|
|
|
{
|
|
|
|
-moz-appearance: textfield;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
cursor: text;
|
|
|
|
margin: 2px 4px;
|
|
|
|
border: 2px solid;
|
|
|
|
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
|
|
|
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
|
|
|
|
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
|
|
|
|
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
|
|
|
|
padding: 1px 0px 1px 2px;
|
|
|
|
background-color: -moz-Field;
|
|
|
|
color: -moz-FieldText;
|
|
|
|
}
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
html|*.textbox-input,
|
|
|
|
html|*.textbox-textarea {
|
|
|
|
margin: 0px !important;
|
|
|
|
border: none !important;
|
|
|
|
padding: 0px !important;
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
font: inherit;
|
|
|
|
}
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
/* ..... readonly state ..... */
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
textbox[readonly="true"] {
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
}
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
/* ..... disabled state ..... */
|
2001-05-12 08:51:28 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
textbox[disabled="true"] {
|
|
|
|
cursor: default;
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: plain textbox ::::: */
|
|
|
|
|
|
|
|
textbox.plain {
|
2002-03-29 05:46:01 +03:00
|
|
|
-moz-appearance: none !important;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
padding: 0px !important;
|
|
|
|
margin: 0px !important;
|
|
|
|
border: none !important;
|
|
|
|
}
|
2001-05-12 08:51:28 +04:00
|
|
|
|