gecko-dev/themes/classic/global/win/checkbox.css
ben%netscape.com 76449744ad Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt.
Bookmarks CSS file organization, a=hewitt
2001-03-11 07:38:42 +00:00

89 lines
2.2 KiB
CSS

/* stylesheet for XUL <checkbox> element */
/* default checkbox for dialogs */
/* outer frame */
checkbox
{
-moz-binding : url("chrome://global/skin/classicBindings.xml#checkbox");
margin : 3px 5px 3px 5px;
}
.checkbox-checkmark-box-1
{
border-top : 1px solid ThreeDShadow;
border-left : 1px solid ThreeDShadow;
border-right : 1px solid ThreeDHighlight;
border-bottom : 1px solid ThreeDHighlight;
color : ThreeDFace;
background-color : -moz-field;
margin : 2px 2px 0px 0px;
width : 13px;
height : 13px;
-moz-user-focus : ignore;
}
.checkbox-checkmark-box-1[disabled="true"]
{
background-color : ThreeDFace;
}
.checkbox-checkmark-box-2
{
border-left : 1px solid ThreeDDarkShadow;
border-top : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow;
padding : 1px;
width : 11px;
height : 11px;
}
/* ensure that no list-style-image is inherited in from the Outside */
.checkbox-check
{
list-style-image : none;
}
.checkbox-check[checked="true"]
{
list-style-image : url(chrome://global/skin/check-check.gif);
}
.checkbox-check[checked="true"][disabled="true"]
{
list-style-image : url(chrome://global/skin/check-check-disabled.gif);
}
checkbox:hover:active > .checkbox-internal-box > .checkbox-checkmark-box-1
{
background-color : ThreeDFace;
}
/* text/icon frames */
.checkbox-text
{
margin : 0px 0px 0px 2px;
padding : 1px;
}
.checkbox-icon
{
list-style-image : inherit;
}
.checkbox-text[disabled="true"]
{
color : GrayText;
}
checkbox:focus > .checkbox-internal-box > .checkbox-text
{
border : 1px dotted ThreeDDarkShadow;
padding : 0px;
}
.checkbox-internal-box
{
-moz-user-focus : none;
}