stylesheet_advanced.tpl 3.6 KB

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