home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / ieskin-0.0.3-IE5.5-skinVersion1.5.xpi / ieskin.jar / global / formatting.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-01-05  |  5.2 KB  |  226 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.  * Contributor(s):
  13.  *
  14.  * Alternatively, the contents of this file may be used under the terms of
  15.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  16.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  17.  * in which case the provisions of the GPL or the LGPL are applicable instead
  18.  * of those above. If you wish to allow use of your version of this file only
  19.  * under the terms of either the GPL or the LGPL, and not to allow others to
  20.  * use your version of this file under the terms of the NPL, indicate your
  21.  * decision by deleting the provisions above and replace them with the notice
  22.  * and other provisions required by the GPL or the LGPL. If you do not delete
  23.  * the provisions above, a recipient may use your version of this file under
  24.  * the terms of any one of the NPL, the GPL or the LGPL.
  25.  */
  26.  
  27. /* Modified for IE Skin by Bamm Gabriana, Jan 2004 */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30.  
  31. /* inset areas */
  32.  
  33. .inset {
  34.   border-left: 1px solid ThreeDShadow;
  35.   border-top: 1px solid ThreeDShadow;
  36.   border-right: 1px solid ThreeDHighlight;
  37.   border-bottom: 1px solid ThreeDHighlight;
  38.   margin: 0px 5px 5px 5px;
  39. }
  40.   
  41. .box-inset {
  42.   margin: 2px 4px;
  43.   border: 2px solid;
  44.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  45.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  46.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  47.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  48.   background-color: -moz-Field;
  49.   color: -moz-FieldText;
  50. }  
  51.   
  52. /* formatting */
  53. .groove-top {
  54.   border-top: 2px groove ThreeDFace;  
  55. }
  56.   
  57. .groove-right {
  58.   border-right: 2px groove ThreeDFace;
  59. }
  60.   
  61. .groove-left {
  62.   border-left: 2px groove ThreeDFace;
  63. }
  64.   
  65. .groove-bottom {
  66.   border-bottom: 2px groove ThreeDFace;
  67. }
  68.   
  69. .outset {
  70.   border-left: 1px solid ThreeDHighlight;
  71.   border-top: 1px solid ThreeDHighlight;
  72.   border-right: 1px solid ThreeDShadow;
  73.   border-bottom: 1px solid ThreeDShadow;
  74. }
  75.   
  76. .outset-top-bottom {
  77.   border-top: 1px solid ThreeDHighlight;
  78.   border-bottom: 1px solid ThreeDShadow;
  79. }   
  80.  
  81.   
  82. /*::::: separator rules::::: */
  83.  
  84. /* standard separators */
  85.  
  86. separator, separator[orient="horizontal"] {
  87.   height: 1.5em;
  88. }
  89.   
  90. separator[orient="vertical"] {
  91.   width: 1.5em;
  92. }
  93.  
  94. /* thinner separators (50% size) */
  95.  
  96. separator.thin, separator.thin[orient="horizontal"] {
  97.   height: 0.5em;
  98. }
  99.   
  100. separator.thin[orient="vertical"] {
  101.   width: 0.5em;
  102. }
  103.  
  104. /* groove separators (50% size) */
  105.  
  106. separator.groove,
  107. separator.groove[orient="horizontal"] {
  108.   border-top: 1px solid ThreeDShadow;
  109.   border-bottom: 1px solid ThreeDHighlight;
  110.   height: 0px;
  111.   margin-top: 0.4em;
  112.   margin-bottom: 0.4em;
  113. }
  114.   
  115. separator.groove[orient="vertical"] {
  116.   border-left: 1px solid ThreeDShadow;
  117.   border-right: 1px solid ThreeDHighlight;
  118.   margin-left: 0.4em;
  119.   margin-right: 0.4em;
  120. }
  121.   
  122. /* groove separators (0 padding, for dividing effects) */  
  123.  
  124. separator.groove-thin {
  125.   border-top: 1px solid ThreeDShadow;
  126.   border-bottom: 1px solid ThreeDHighlight;
  127.   height: 0px;
  128. }
  129.   
  130. separator[orient="vertical"].groove-thin {
  131.   border-left: 1px solid ThreeDShadow;
  132.   border-right: 1px solid ThreeDHighlight;
  133. }
  134.  
  135. /*::::: text formatting rules::::: */
  136.  
  137. /* label (with margins) */
  138.  
  139. /** Reduced Margin for some UI **/
  140.  
  141. .small-margin {
  142.   margin: 1px 2px;
  143. }
  144.     
  145. .plain {
  146.   margin: 0px !important;
  147.   border: none;
  148.   padding: 0px;
  149. }
  150.  
  151. label[disabled="true"] {
  152.   color: GrayText;
  153. }
  154.  
  155. description, label {
  156.   cursor: default;
  157.   margin: 2px 2px 2px 5px;
  158. }
  159.  
  160. .header {
  161.   font-weight: bold;
  162. }
  163.  
  164. .larger-text {
  165.   font-size: larger;
  166. }
  167.  
  168. .smaller-text {
  169.   font-size: smaller;
  170. }
  171.    
  172. .monospace {
  173.   font-family: monospace;
  174. }
  175.     
  176. .indent {
  177.   margin-left: 23px;
  178. }
  179.  
  180. .box-padded {
  181.   padding: 5px;
  182. }    
  183.  
  184. .spaced {
  185.   margin: 3px 5px 4px 5px;
  186. }    
  187.  
  188. .wizard-box {
  189.   padding: 20px 44px 10px 44px;
  190. }    
  191.  
  192. /* Double Border Boxes */
  193.  
  194. /* top only */
  195.  
  196. .double-box-top {
  197.   -moz-binding: url("chrome://global/skin/classicBindings.xml#double-box");
  198.   border-top: 1px solid ThreeDShadow;
  199.   background-color: #FFFFFF;
  200.   margin: 0px;
  201. }
  202.   
  203. .double-box-top > .db-internal-box {
  204.   border-top: 1px solid ThreeDDarkShadow;
  205. }          
  206.     
  207. /* all round */    
  208.  
  209. .double-box {
  210.   -moz-binding: url("chrome://global/skin/classicBindings.xml#double-box");
  211.   border-left: 1px solid ThreeDShadow;
  212.   border-top: 1px solid ThreeDShadow;
  213.   border-bottom: 1px solid ThreeDHighlight;
  214.   border-right: 1px solid ThreeDHighlight;
  215.   background-color: #FFFFFF;
  216.   margin: 0px;
  217. }
  218.   
  219. .double-box > .db-internal-box {
  220.   border: 1px solid ThreeDDarkShadow;
  221. }   
  222.  
  223. .caption-text {
  224.   margin: 0px 2px 0px 1px !important;
  225. }
  226.