Add templates for message highlighting.
[squirrelmail.git] / templates / default_advanced / stylesheet_advanced.tpl
CommitLineData
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 &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
37/* retrieve the template vars */
38extract($t);
39?>
40
393a696c 41/* advanced option order defs */
42#optionHighlight td.divider {
43 border-top: 1px solid <?php echo $color[0]; ?>;
44 border-bottom: 1px solid <?php echo $color[0]; ?>;
45 background: <?php echo $color[0]; ?>;
46 font-weight: bold;
47 padding-top: 2px;
48 padding-bottom: 2px;
49}
50
3cecf1cd 51/* Advanced Tree definitions */
52.dtree {
53 font-size:11px;
54 white-space:nowrap;
55}
56.dtree p {
57 margin-top:12px;
58 margin-bottom:2px;
59 padding-bottom:4px;
60 text-align:center;
61 overflow: hidden;
62}
63.dtree a:hover {
64 text-decoration: underline;
65}
66.dtree a {
67 text-decoration:none;
68}
69.dtree img {
70 border:0;
71 vertical-align: middle;
72}
73.dtree a.node, .dtree a.nodeSel {
74 white-space: nowrap;
75 padding: 1px 2px 1px 2px;
76}
77.dtree a.node:hover, .dtree a.nodeSel:hover {
78 color: <?php echo SQM_TEXT_HIGHLIGHT; ?>;
79}
80.dtree a.nodeSel {
81 color: <?php echo SQM_TEXT_HIGHLIGHT; ?>;
82}
83.dtree .clip {
84 overflow: hidden;
85}