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