home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / global / radio.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-08-04  |  3.1 KB  |  103 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ===== radio.css ======================================================
  25.   == Styles used by the XUL radio element.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: radio ::::: */
  31.  
  32. radio {
  33.   border: 2px solid transparent;
  34.   margin: 0px 3px 0px 3px;
  35. }
  36.  
  37. /* ..... focused state ..... */
  38.  
  39. radio[focused="true"] {
  40.   border-color: #98A5B2;
  41.   -moz-border-radius: 4px 5px 4px 5px;
  42. }
  43.   
  44. /* ..... disabled state ..... */
  45.  
  46. radio[disabled="true"][label] > .internal-box > .checkbox-label {
  47.   color: #9FA6AE;
  48. }
  49.  
  50. /* ..... internal box ..... */
  51.  
  52. radio > .internal-box {
  53.   -moz-user-focus: ignore;
  54. }
  55.  
  56. radio > .internal-box > .checkmark-box {
  57.   margin: 1px 2px 1px 3px;
  58. }
  59.  
  60. /* ::::: radio icon and label ::::: */
  61.  
  62. radio[label] > .internal-box > .checkbox-label,
  63. radio.iconic > .internal-box > .icon {
  64.   margin: 2px 5px !important;
  65. }
  66.  
  67. radio.iconic > .internal-box > .checkbox-label {
  68.   margin-left: 2px;
  69. }
  70.     
  71. /* ::::: checkmark image ::::: */
  72.  
  73. radio > .internal-box > .checkmark-box > .checkbox-check {
  74.   width: 13px;
  75.   height: 13px;
  76.   list-style-image: url("chrome://global/skin/radio/radio.gif");
  77. }
  78.  
  79. radio:hover:active > .internal-box > .checkmark-box > .checkbox-check {
  80.   list-style-image: url("chrome://global/skin/radio/radio-act.gif");
  81. }
  82.  
  83. radio[disabled="true"] > .internal-box > .checkmark-box > .checkbox-check,
  84. radio[disabled="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
  85.   list-style-image: url("chrome://global/skin/radio/radio-dis.gif");
  86. }
  87.  
  88. /* ..... checked state ..... */
  89.  
  90. radio[checked="true"] > .internal-box > .checkmark-box > .checkbox-check {
  91.   list-style-image: url("chrome://global/skin/radio/radio-check.gif");
  92. }
  93.   
  94. radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check,
  95. radio[checked="true"][disabled="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
  96.   list-style-image: url("chrome://global/skin/radio/radio-dis-check.gif");
  97. }
  98.  
  99. radio[checked="true"]:hover:active > .internal-box > .checkmark-box > .checkbox-check {
  100.   list-style-image: url("chrome://global/skin/radio/radio-act-check.gif");  
  101. }
  102.  
  103.