home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / themes / Intermesh / menu.css < prev    next >
Cascading Style Sheet File  |  2004-03-08  |  5KB  |  281 lines

  1. /* ThemeMenu Style Sheet */
  2.  
  3. .ThemeMenu
  4. {
  5.     font-family:    arial, verdana, sans-serif;
  6.     font-size:    12px;
  7.     font-weight: bold;
  8.     color: #CCCCCC;
  9.  
  10.     padding:    0;
  11.  
  12.     white-space:    nowrap;
  13.     cursor:        default;
  14. }
  15.  
  16. .ThemeSubMenuTable
  17. {
  18.     font-family:    arial, verdana, sans-serif;
  19.     font-size:    12px;
  20.  
  21.     padding:    0;
  22.  
  23.     white-space:    nowrap;
  24.     cursor:        default;
  25. }
  26.  
  27. .ThemeSubMenu
  28. {
  29.     position:    absolute;
  30.     visibility:    hidden;
  31.  
  32.     /*
  33.        Netscape/Mozilla renders borders by increasing
  34.        their z-index.  The following line is necessary
  35.        to cover any borders underneath
  36.     */
  37.     z-index:    100;
  38.     padding:    0;
  39.  
  40.     overflow:    visible;
  41.     border-top:    1px solid #000000;
  42.     border-bottom:    1px solid #000000;
  43.     border-left:    1px solid #000000;
  44.     border-right:    1px solid #000000;
  45.  
  46.     /*filter:progid:DXImageTransform.Microsoft.Shadow(color=#BDC3BD, Direction=135, Strength=4);*/
  47. }
  48.  
  49. .ThemeSubMenuTable
  50. {
  51.     overflow:    visible;
  52. }
  53.  
  54. .ThemeMainItem,.ThemeMainItemHover,.ThemeMainItemActive,
  55. .ThemeMenuItem,.ThemeMenuItemHover,.ThemeMenuItemActive
  56. {
  57.     border:        0;
  58.     cursor:        default;
  59.     white-space:    nowrap;
  60. }
  61.  
  62. .ThemeMainItem
  63. {
  64.     padding-top:    5px;
  65.     padding-bottom:    3px;
  66.     padding-left:    3px;
  67.     padding-right:    3px;
  68.  
  69.     border:        0;
  70.     background-color:    #inherit;
  71. }
  72.  
  73. .ThemeMainItemHover,.ThemeMainItemActive
  74. {
  75.     padding-top:    5px;
  76.     padding-bottom:    3px;
  77.     padding-left:    3px;
  78.     padding-right:    3px;
  79.     color: white;
  80. }
  81.  
  82. .ThemeMenuItem
  83. {
  84.     background-color:    #F6F7F2;
  85. }
  86.  
  87. .ThemeMenuItemHover,.ThemeMenuItemActive
  88. {
  89.     background-color:    #E1751D;
  90.     color: #FFFFCC;
  91. }
  92.  
  93.  
  94. /* horizontal main menu */
  95.  
  96.  
  97. /*
  98. td.ThemeMainItemHover,td.ThemeMainItemActive
  99. {
  100.     padding:    2px;
  101.     border:        1px solid #00AAD6;
  102. }
  103. */
  104. .ThemeMainFolderLeft,.ThemeMainItemLeft,
  105. .ThemeMainFolderText,.ThemeMainItemText,
  106. .ThemeMainFolderRight,.ThemeMainItemRight
  107. {
  108.     background-color:    inherit;
  109. }
  110.  
  111. /* vertical main menu sub components */
  112.  
  113. td.ThemeMainFolderLeft,td.ThemeMainItemLeft
  114. {
  115.     padding-top:    2px;
  116.     padding-bottom:    2px;
  117.     padding-left:    0px;
  118.     padding-right:    2px;
  119.  
  120.     border-top:    1px solid #3169C6;
  121.     border-bottom:    1px solid #3169C6;
  122.     border-left:    1px solid #3169C6;
  123.  
  124.     background-color:    inherit;
  125. }
  126.  
  127. td.ThemeMainFolderText,td.ThemeMainItemText
  128. {
  129.     padding-top:    2px;
  130.     padding-bottom:    2px;
  131.     padding-left:    5px;
  132.     padding-right:    5px;
  133.  
  134.     border-top:    1px solid #3169C6;
  135.     border-bottom:    1px solid #3169C6;
  136.  
  137.     background-color:    inherit;
  138.     white-space:    nowrap;
  139. }
  140.  
  141. td.ThemeMainFolderRight,td.ThemeMainItemRight
  142. {
  143.     padding-top:    2px;
  144.     padding-bottom:    2px;
  145.     padding-left:    0px;
  146.     padding-right:    0px;
  147.  
  148.     border-top:    1px solid #3169C6;
  149.     border-bottom:    1px solid #3169C6;
  150.     border-right:    1px solid #3169C6;
  151.  
  152.     background-color:    inherit;
  153. }
  154.  
  155. tr.ThemeMainItem td.ThemeMainFolderLeft,
  156. tr.ThemeMainItem td.ThemeMainItemLeft
  157. {
  158.     padding-top:    3px;
  159.     padding-bottom:    3px;
  160.     padding-left:    1px;
  161.     padding-right:    2px;
  162.  
  163.     white-space:    nowrap;
  164.  
  165.     border:        0;
  166.     background-color:    inherit;
  167. }
  168.  
  169. tr.ThemeMainItem td.ThemeMainFolderText,
  170. tr.ThemeMainItem td.ThemeMainItemText
  171. {
  172.     padding-top:    3px;
  173.     padding-bottom:    3px;
  174.     padding-left:    5px;
  175.     padding-right:    5px;
  176.  
  177.     border:        0;
  178.     background-color:    inherit;
  179. }
  180.  
  181. tr.ThemeMainItem td.ThemeMainItemRight,
  182. tr.ThemeMainItem td.ThemeMainFolderRight
  183. {
  184.     padding-top:    3px;
  185.     padding-bottom:    3px;
  186.     padding-left:    0px;
  187.     padding-right:    1px;
  188.  
  189.     border:        0;
  190.     background-color:    inherit;
  191. }
  192.  
  193. /* sub menu sub components */
  194.  
  195. .ThemeMenuFolderLeft,.ThemeMenuItemLeft
  196. {
  197.  
  198.     background-color:    inherit;
  199.     white-space:    nowrap;
  200. }
  201.  
  202. .ThemeMenuFolderText,.ThemeMenuItemText
  203. {
  204.     padding-top:    2px;
  205.     padding-bottom:    2px;
  206.     padding-left:    3px;
  207.     padding-right:    40px;
  208.     background-color:    inherit;
  209.     white-space:    nowrap;
  210. }
  211.  
  212. .ThemeMenuFolderRight,.ThemeMenuItemRight
  213. {
  214.     background-color:    inherit;
  215.     white-space:    nowrap;
  216. }
  217.  
  218. .ThemeMenuItem .ThemeMenuFolderLeft,
  219. .ThemeMenuItem .ThemeMenuItemLeft
  220. {
  221.     white-space:    nowrap;
  222.  
  223.     border:        0;
  224.     background-color:    #F6F7F2;
  225. }
  226.  
  227. .ThemeMenuItem .ThemeMenuFolderText,
  228. .ThemeMenuItem .ThemeMenuItemText
  229. {
  230.     border:        0;
  231.     background-color:    inherit;
  232. }
  233.  
  234. .ThemeMenuItem .ThemeMenuFolderRight,
  235. .ThemeMenuItem .ThemeMenuItemRight
  236. {
  237.     border:        0;
  238.     background-color:    inherit;
  239. }
  240.  
  241. /* menu splits */
  242.  
  243. .ThemeMenuSplit
  244. {
  245.     margin:        0px;
  246.     height:        1px;
  247.     padding: 0px;
  248.  
  249.     background-color:    #000000;
  250.  
  251. }
  252.  
  253. /* image shadow animation */
  254.  
  255. /*
  256.     seq1:    image for normal
  257.     seq2:    image for hover and active
  258.  
  259.     To use, in the icon field, input the following:
  260.     <img class="seq1" src="normal.gif" /><img class="seq2" src="hover.gif" />
  261. */
  262.  
  263. .ThemeMenuItem img.seq1
  264. {
  265.     display:    inline;
  266. }
  267.  
  268. .ThemeMenuItemHover seq2,
  269. .ThemeMenuItemActive seq2
  270. {
  271.     display:    inline;
  272. }
  273.  
  274. .ThemeMenuItem .seq2,
  275. .ThemeMenuItemHover .seq1,
  276. .ThemeMenuItemActive .seq1
  277. {
  278.     display:    none;
  279. }
  280.  
  281.