2000-05-23 08:04:02 +04:00
|
|
|
/* stylesheet for XUL <checkbox> element */
|
|
|
|
|
|
|
|
/* default checkbox for dialogs */
|
|
|
|
|
|
|
|
/* outer checkbox frame */
|
|
|
|
checkbox
|
|
|
|
{
|
|
|
|
margin: 3px 5px 3px 5px;
|
2000-09-06 06:17:26 +04:00
|
|
|
-moz-user-focus: ignore;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2001-10-25 06:57:31 +04:00
|
|
|
|
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
/* checkmark outer frame */
|
|
|
|
checkbox > .internal-box > .checkmark-box
|
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
margin-right: 2px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
2001-10-25 06:57:31 +04:00
|
|
|
|
|
|
|
checkbox > .internal-box > .checkbox-label
|
|
|
|
{
|
|
|
|
vertical-align: center !important;
|
|
|
|
}
|
2000-05-23 08:04:02 +04:00
|
|
|
|
|
|
|
checkbox[disabled="true"] > .internal-box > .checkmark-box,
|
|
|
|
checkbox[disabled="true"]:hover > .internal-box > .checkmark-box
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/* checkmark inner frame */
|
|
|
|
checkbox > .internal-box > .checkmark-box > .checkbox-check
|
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
list-style-image: url(chrome://global/skin/check-cb-uncheck.gif);
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[checked="true"] > .internal-box > .checkmark-box > .checkbox-check
|
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
list-style-image: url(chrome://global/skin/check-cb-check.gif);
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check
|
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
list-style-image: url(chrome://global/skin/check-cb-check-disable.gif);
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox:hover:active > .internal-box > .checkmark-box > .checkbox-check
|
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
list-style-image: url(chrome://global/skin/check-cb-uncheck-active.gif);
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-07-07 02:22:19 +04:00
|
|
|
checkbox[disabled="true"] > .internal-box > .checkmark-box > .checkbox-check
|
2000-05-23 08:04:02 +04:00
|
|
|
{
|
2000-07-07 02:22:19 +04:00
|
|
|
list-style-image: url(chrome://global/skin/check-cb-uncheck-disable.gif);
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[checked="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check
|
|
|
|
{
|
|
|
|
list-style-image: url(chrome://global/skin/check-cb-check-active.gif);
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox > .internal-box > .checkbox-icon
|
|
|
|
{
|
|
|
|
list-style-image: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* checkmark label/icon frame */
|
2001-10-25 06:57:31 +04:00
|
|
|
checkbox > .internal-box > html
|
2000-05-23 08:04:02 +04:00
|
|
|
{
|
2001-10-25 06:57:31 +04:00
|
|
|
margin: 0px 0px 2px 0px !important;
|
2000-07-07 02:22:19 +04:00
|
|
|
padding: 2px 0px 0px 0px; /* 7pt: 2px 0px 0px 1px */
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[disabled="true"][value] > .internal-box > html
|
|
|
|
{
|
2000-07-18 03:00:45 +04:00
|
|
|
color: #777777;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|