зеркало из https://github.com/mozilla/gecko-dev.git
96 строки
2.2 KiB
CSS
96 строки
2.2 KiB
CSS
/* stylesheet for XUL <radio> element */
|
|
|
|
/* default radio for dialogs */
|
|
/* outer frame */
|
|
radio
|
|
{
|
|
margin : 3px 5px 3px 5px;
|
|
}
|
|
|
|
.radio-checkmark-box-1
|
|
{
|
|
border-top : 1px solid ThreeDShadow;
|
|
border-left : 1px solid ThreeDShadow;
|
|
border-right : 1px solid ThreeDHighlight;
|
|
border-bottom : 1px solid ThreeDHighlight;
|
|
background-color : -moz-Field;
|
|
-moz-border-radius : 50%;
|
|
margin : 2px 2px 0px 0px;
|
|
width : 12px;
|
|
height : 12px;
|
|
}
|
|
|
|
.radio-checkmark-box-1[disabled="true"]
|
|
{
|
|
background-color : -moz-Dialog;
|
|
}
|
|
|
|
.radio-checkmark-box-2
|
|
{
|
|
border-left : 1px solid ThreeDDarkShadow;
|
|
border-top : 1px solid ThreeDDarkShadow;
|
|
border-right : 1px solid ThreeDLightShadow;
|
|
border-bottom : 1px solid ThreeDLightShadow;
|
|
-moz-border-radius : 50%;
|
|
padding : 2px;
|
|
width : 10px;
|
|
height : 10px;
|
|
}
|
|
|
|
/* ensure that no list-style-image is inherited in from the Outside */
|
|
.radio-check
|
|
{
|
|
list-style-image : none;
|
|
}
|
|
|
|
.radio-check[checked="true"]
|
|
{
|
|
list-style-image : url(chrome://global/skin/check-radio.gif);
|
|
}
|
|
|
|
.radio-check[checked="true"][disabled="true"]
|
|
{
|
|
list-style-image : url(chrome://global/skin/check-radio-disabled.gif);
|
|
}
|
|
|
|
radio:hover:active > .radio-internal-box > .radio-checkmark-box-1
|
|
{
|
|
background-color : -moz-Dialog;
|
|
}
|
|
|
|
/* text/icon frames */
|
|
.radio-text
|
|
{
|
|
margin : 0px 0px 0px 2px;
|
|
}
|
|
|
|
.radio-icon
|
|
{
|
|
list-style-image : inherit;
|
|
}
|
|
|
|
.radio-text
|
|
{
|
|
margin : 0px !important;
|
|
}
|
|
|
|
.radio-text[disabled="true"]
|
|
{
|
|
color : GrayText;
|
|
}
|
|
|
|
radio[focused="true"] > .radio-internal-box > .radio-text-container
|
|
{
|
|
border : 1px dotted ThreeDDarkShadow;
|
|
}
|
|
|
|
.radio-text-container
|
|
{
|
|
border : 1px solid transparent;
|
|
}
|
|
|
|
.radio-internal-box
|
|
{
|
|
-moz-user-focus : ignore;
|
|
}
|