2001-03-16 05:56:38 +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
|
2001-04-30 22:58:08 +04:00
|
|
|
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
2001-03-16 05:56:38 +03:00
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
2001-04-30 22:58:08 +04:00
|
|
|
*
|
2001-03-16 05:56:38 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* ===== radio.css ======================================================
|
|
|
|
== Styles used by the XUL radio element.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: radio ::::: */
|
|
|
|
|
|
|
|
radio {
|
|
|
|
border: 2px solid transparent;
|
2001-04-30 22:58:08 +04:00
|
|
|
margin: 0px 3px 0px 3px;
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ..... focused state ..... */
|
|
|
|
|
2001-06-16 05:09:29 +04:00
|
|
|
radio[focused="true"] {
|
2001-06-28 13:15:38 +04:00
|
|
|
border-color: #98A5B2;
|
2001-03-16 05:56:38 +03:00
|
|
|
-moz-border-radius: 4px 5px 4px 5px;
|
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... disabled state ..... */
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[disabled="true"][label] > .internal-box > .checkbox-label {
|
|
|
|
color: #9FA6AE;
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ..... internal box ..... */
|
|
|
|
|
|
|
|
radio > .internal-box {
|
2001-04-30 22:58:08 +04:00
|
|
|
-moz-user-focus: ignore;
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
radio > .internal-box > .checkmark-box {
|
|
|
|
margin: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: radio icon and label ::::: */
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[label] > .internal-box > .checkbox-label,
|
2001-04-30 22:58:08 +04:00
|
|
|
radio.iconic > .internal-box > .icon {
|
|
|
|
margin: 0px 0px 0px 0px;
|
2001-05-12 09:02:09 +04:00
|
|
|
padding: 0px 2px 0px 0px;
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio.iconic > .internal-box > .checkbox-label {
|
2001-04-30 22:58:08 +04:00
|
|
|
margin-left: 2px;
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ::::: checkmark image ::::: */
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio > .internal-box > .checkmark-box > .checkbox-check {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2001-03-16 05:56:38 +03:00
|
|
|
list-style-image: url("chrome://global/skin/radio/radio.gif");
|
|
|
|
}
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio:hover:active > .internal-box > .checkmark-box > .checkbox-check {
|
2001-03-16 05:56:38 +03:00
|
|
|
list-style-image: url("chrome://global/skin/radio/radio-act.gif");
|
|
|
|
}
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[disabled="true"] > .internal-box > .checkmark-box > .checkbox-check,
|
|
|
|
radio[disabled="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
|
2001-03-21 05:23:20 +03:00
|
|
|
list-style-image: url("chrome://global/skin/radio/radio-dis.gif");
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ..... checked state ..... */
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[checked="true"] > .internal-box > .checkmark-box > .checkbox-check {
|
2001-03-16 05:56:38 +03:00
|
|
|
list-style-image: url("chrome://global/skin/radio/radio-check.gif");
|
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check,
|
|
|
|
radio[checked="true"][disabled="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
|
|
|
|
list-style-image: url("chrome://global/skin/radio/radio-dis-check.gif");
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|
2001-05-23 08:23:22 +04:00
|
|
|
radio[checked="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/radio/radio-act-check.gif");
|
2001-03-16 05:56:38 +03:00
|
|
|
}
|
|
|
|
|