3cecf1cd |
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 © 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 | |
37 | /* retrieve the template vars */ |
38 | extract($t); |
39 | ?> |
40 | |
41 | /* Advanced Tree definitions */ |
42 | .dtree { |
43 | font-size:11px; |
44 | white-space:nowrap; |
45 | } |
46 | .dtree p { |
47 | margin-top:12px; |
48 | margin-bottom:2px; |
49 | padding-bottom:4px; |
50 | text-align:center; |
51 | overflow: hidden; |
52 | } |
53 | .dtree a:hover { |
54 | text-decoration: underline; |
55 | } |
56 | .dtree a { |
57 | text-decoration:none; |
58 | } |
59 | .dtree img { |
60 | border:0; |
61 | vertical-align: middle; |
62 | } |
63 | .dtree a.node, .dtree a.nodeSel { |
64 | white-space: nowrap; |
65 | padding: 1px 2px 1px 2px; |
66 | } |
67 | .dtree a.node:hover, .dtree a.nodeSel:hover { |
68 | color: <?php echo SQM_TEXT_HIGHLIGHT; ?>; |
69 | } |
70 | .dtree a.nodeSel { |
71 | color: <?php echo SQM_TEXT_HIGHLIGHT; ?>; |
72 | } |
73 | .dtree .clip { |
74 | overflow: hidden; |
75 | } |