gecko-dev/themes/classic/global/win/textfield.css

108 строки
2.9 KiB
CSS
Исходник Обычный вид История

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
/** generic text fields (in dialogs)
**/
/* outer frame */
textfield
{
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px solid threedhighlight;
font : inherit;
color : windowtext;
padding : 0px;
2000-08-12 13:12:23 +04:00
margin : 1px 5px 2px 5px;
background-color : window;
cursor : text;
}
textfield[readonly="true"]
{
background-color : threedface;
}
/* internal frame */
.textfield-internal-box
{
margin : 0px;
padding : 1px 2px 1px 2px;
cursor : text;
border-left : 1px solid threeddarkshadow;
border-top : 1px solid threeddarkshadow;
border-right : 1px solid threedface;
border-bottom : 1px solid threedface;
background-color : inherit;
color : inherit;
}
.textarea-internal-box
{
2000-08-12 13:12:23 +04:00
border-left : 1px solid threeddarkshadow;
border-top : 1px solid threeddarkshadow;
border-right : 1px solid threedface;
border-bottom : 1px solid threedface;
padding : 0px 0px 0px 2px;
}
/* internal text widget */
.textfield-input, .textfield-textarea
{
border : none !important;
margin : 0px;
font : inherit;
background-color : inherit;
color : inherit;
}
textfield[disabled="true"]
{
cursor : default ! important;
background-color : threedface;
color : graytext;
}
/** plain atomic textfields, class="plain" **/
textfield.plain,
textfield.plain > .textfield-internal-box,
textfield.plain > .textarea-internal-box
{
padding : 0px !important;
margin : 0px !important;
border : none !important;
}
2000-08-12 13:12:23 +04:00
.autocomplete-icon
{
border : none;
margin : 0px;
}
.autocomplete-icon > .autocomplete-icon-internal-box
{
border : none;
padding : 0px;
margin : 0px;
}
.autocomplete-icon-icon
{
margin : 2px 3px 2px 3px;
list-style-image : inherit;
cursor : default !important;
}
.autocomplete-icon-input
{
border : none !important;
}
/* autocomplete text field */
.textfield-popup > menuitem
{
max-width : none !important;
}