stylesheet_advanced.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?php
  2. /**
  3. FIXME!! This was a .tpl file needs to be changed to css file!!
  4. * SquirrelMail CSS template for additional definitions needed by the advanced
  5. * template
  6. *
  7. * Template is used by style.php script to generate css file used by
  8. * SquirrelMail scripts.
  9. *
  10. * Available constants
  11. *
  12. * Color codes used by selected theme:
  13. * <ul>
  14. * <li>SQM_BACKGROUND - background color
  15. * <li>SQM_BACKGROUND_LEFT - background of folder tree
  16. * <li>SQM_TEXT_STANDARD - text color
  17. * <li>SQM_TEXT_STANDARD_LEFT - text color of folder tree
  18. * <li>SQM_LINK - color of links
  19. * <li>SQM_LINK_LEFT - color of links in folder tree
  20. * <li>SQM_TEXT_SPECIAL - color of special folder links in folder tree
  21. * <li>todo: other constants should be documented here
  22. * </ul>
  23. *
  24. * Optional template variables
  25. * <ul>
  26. * <li>fontfamily - string with list of fonts used by selected style.
  27. * <li>fontsize - integer with selected font size value.
  28. * </ul>
  29. * Variables are set to empty string, when value is not set.
  30. *
  31. * @copyright &copy; 2005-2006 The SquirrelMail Project Team
  32. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  33. * @version $Id$
  34. * @package squirrelmail
  35. * @subpackage templates
  36. */
  37. /* retrieve the template vars */
  38. extract($t);
  39. ?>
  40. /* advacned login page defs */
  41. #sqm_login {
  42. margin-top: 25px;
  43. text-align: center;
  44. }
  45. #sqm_login table {
  46. border: 0;
  47. padding: 0;
  48. margin-left: auto;
  49. margin-right: auto;
  50. width: auto;
  51. }
  52. #sqm_login td {
  53. padding-left: 2px;
  54. padding-right: 2px;
  55. padding-top: 0px;
  56. padding-bottom: 0px;
  57. color: #726b58;
  58. font-family: verdana, sans-serif;
  59. width: auto;
  60. text-align: center;
  61. }
  62. #sqm_login td.orgName {
  63. font-weight: bold;
  64. background: none;
  65. font-size: 90%;
  66. }
  67. #sqm_login td.orgLogo {
  68. width: 155px;
  69. text-align: center;
  70. vertical-align: center;
  71. }
  72. #sqm_login td.orgLogo img {
  73. width: 150px;
  74. padding:0;
  75. }
  76. #sqm_login td.attr {
  77. font-size: 70%;
  78. padding-top:5px;
  79. padding-bottom: 10px;
  80. }
  81. #sqm_login td.fieldName {
  82. font-size: 10pt;
  83. font-weight: bold;
  84. text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
  85. width: 50%;
  86. }
  87. #sqm_login td.fieldInput {
  88. text-align: <?php echo SQM_ALIGN_LEFT; ?>;
  89. padding-top: 1px;
  90. padding-bottom: 1px;
  91. }
  92. #sqm_login td.loginSubmit {
  93. padding-top: 15px;
  94. }
  95. #sqm_login input.input {
  96. font-size: 80%;
  97. color: #110f08;
  98. border: 1px solid #726b58;
  99. padding: 1px;
  100. background: url(<?php echo $icon_theme_path; ?>/login2.png) repeat-y;
  101. width: 160px;
  102. }
  103. /* advanced option order defs */
  104. #optionHighlight td.divider {
  105. border-top: 1px solid <?php echo $color[0]; ?>;
  106. border-bottom: 1px solid <?php echo $color[0]; ?>;
  107. background: <?php echo $color[0]; ?>;
  108. font-weight: bold;
  109. padding-top: 2px;
  110. padding-bottom: 2px;
  111. }
  112. /* advanced message editing defs */
  113. #colorSample {
  114. width: 50px;
  115. padding-left:10px;
  116. }
  117. #optionHighlightAdd table.colorTable {
  118. margin-left: 0;
  119. margin-top: 2px;
  120. }
  121. #optionHighlightAdd td.fieldValue {
  122. font-size: 75%;
  123. font-weight: bold;
  124. }
  125. /* Advanced Tree definitions */
  126. .dtree {
  127. font-size:11px;
  128. white-space:nowrap;
  129. }
  130. .dtree p {
  131. margin-top:12px;
  132. margin-bottom:2px;
  133. padding-bottom:4px;
  134. text-align:center;
  135. overflow: hidden;
  136. }
  137. .dtree a:hover {
  138. text-decoration: underline;
  139. }
  140. .dtree a {
  141. text-decoration:none;
  142. }
  143. .dtree img {
  144. border:0;
  145. vertical-align: middle;
  146. }
  147. .dtree a.node, .dtree a.nodeSel {
  148. white-space: nowrap;
  149. padding: 1px 2px 1px 2px;
  150. }
  151. .dtree a.node:hover, .dtree a.nodeSel:hover {
  152. color: <?php echo SQM_TEXT_HIGHLIGHT; ?>;
  153. }
  154. .dtree a.nodeSel {
  155. color: <?php echo SQM_TEXT_HIGHLIGHT; ?>;
  156. }
  157. .dtree .clip {
  158. overflow: hidden;
  159. }