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