New icon theming. Also added basic template for left_main.php
[squirrelmail.git] / templates / default / stylesheet.tpl
index 633d9d3caed63d9a0206b8ee433d9156547701fa..c2c00f2882825a6e37636c915dbfda1aba10c1b8 100644 (file)
@@ -2,9 +2,9 @@
 /**
  * SquirrelMail CSS template
  *
- * Template is used by style.php script to generate css file used by 
+ * Template is used by style.php script to generate css file used by
  * SquirrelMail scripts.
- * 
+ *
  * Available constants
  *
  * Color codes used by selected theme:
@@ -26,7 +26,7 @@
  * </ul>
  * Variables are set to empty string, when value is not set.
  *
- * @copyright &copy; 1999-2005 The SquirrelMail Project Team
+ * @copyright &copy; 2005-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -40,23 +40,23 @@ extract($t);
 /* older css template */
 body, td, th, dd, dt, h1, h2, h3, h4, h5, h6, p, ol, ul, li {
 <?php
-  if($fontfamily) echo '  font-family: '.$fontfamily.";\n";
+if($fontfamily) echo '  font-family: '.$fontfamily.";\n";
 ?>
 }
 body, small {
 <?php
-  if($fontsize) echo '  font-size: '.($fontsize-2)."pt;\n";
+if($fontsize) echo '  font-size: '.($fontsize-2)."pt;\n";
 ?>
 }
 td, th {
 <?php
-  if($fontsize) echo '  font-size: '.$fontsize."pt;\n";
+if($fontsize) echo '  font-size: '.$fontsize."pt;\n";
 ?>
 }
 textarea, pre {
-  font-family: monospace;
+font-family: monospace;
 <?php
-  if($fontsize) echo '  font-size: '.($fontsize-1)."pt;\n";
+if($fontsize) echo '  font-size: '.($fontsize-1)."pt;\n";
 ?>
 }
 
@@ -65,9 +65,10 @@ body {
     color:  <?php echo SQM_TEXT_STANDARD; ?>;
     background-color: <?php echo SQM_BACKGROUND; ?>;
 }
-body.leftmain {
+body.sqm_leftMain {
     color:  <?php echo SQM_TEXT_STANDARD_LEFT; ?>;
     background-color: <?php echo SQM_BACKGROUND_LEFT; ?>;
+    text-align: left;
 }
 
 /* right links */
@@ -76,12 +77,15 @@ a:link, a:visited, a:hover, a:active {
 }
 
 /* left links */
-.leftmain a:link, .leftmain a:visited, .leftmain a:hover, .leftmain a:active {
+.sqm_leftMain a:link, .sqm_leftMain a:visited, .sqm_leftMain a:hover, .sqm_leftMain a:active {
     color:  <?php echo SQM_LINK_LEFT; ?>;
 }
-.leftspecial, .leftspecial a:link, .leftspecial a:visited, .leftspecial a:hover, .leftspecial a:active {
+.leftunseen, .leftspecial, .leftspecial a:link, .leftspecial a:visited, .leftspecial a:hover, .leftspecial a:active {
     color:  <?php echo SQM_TEXT_SPECIAL; ?>;
 }
+.leftrecent {
+    font-weight:bold;
+}
 .leftnoselect a:link, .leftnoselect a:visited, .leftnoselect a:hover, .leftnoselect a:active {
     color:  <?php echo SQM_TEXT_HIGHLIGHT; ?>;
 }
@@ -91,6 +95,33 @@ a:link, a:visited, a:hover, a:active {
     color:  <?php echo SQM_TEXT_HIGHLIGHT; ?>;
 }
 
+/* left_main.tpl definitions */
+.sqm_wrapperTable   {
+    border:0;
+    padding:0;
+    margin-left:0;
+    border-spacing:0;
+    width:99%
+}
+sqm_leftMain table {
+    border:0;
+    padding:0;
+    margin:0;
+    border-spacing:0;
+}
+.sqm_folderHeader {
+    font-size:18px;
+    font-weight:bold;
+    text-align:center;
+}
+.sqm_clock {
+}
+.sqm_lastRefreshTime {
+    white-space: nowrap;
+}
+.sqm_refreshButton {
+}
+
 /* formating of error template */
 .thead_caption {
     font-weight: bold;
@@ -146,3 +177,221 @@ input.sqmresetfield {
 }
 input.sqmtextarea {
 }
+
+/* basic definitions */
+.table_empty {
+    width:100%;
+    border:0;
+    margin:0;
+    padding:0;
+    border-spacing:0;
+}
+
+.table_standard {
+    width:100%;
+    border:1px solid <?php echo $color[0]; ?>;
+    padding:0;
+    margin:0;
+    border-spacing:0;
+}
+
+em             {
+    font-weight:bold;
+    font-style:normal;
+}
+
+small  {
+    font-size:80%;
+}
+img   {
+    border:0;
+}
+
+/* login.tpl definitions */
+#sqm_login table {
+    border:0;
+    margin:0;
+    padding:0;
+    border-spacing:0;
+    margin-left:auto;
+    margin-right:auto;
+}
+#sqm_login td {
+    padding:2px;
+}
+
+.sqm_loginImage {
+    margin-left:auto;
+    margin-right:auto;
+    padding:2px;
+}
+.sqm_loginTop {
+    text-align:center;
+    font-size:80%;
+}
+.sqm_loginOrgName {
+    font-weight:bold;
+    text-align:center;
+    background: <?php echo $color[0]; ?>;
+    width:350px;
+    border:0;
+}
+.sqm_loginFieldName {
+    text-align:right;
+    width:30%;
+}
+.sqm_loginFieldInput {
+    text-align:left;
+}
+.sqm_loginSubmit {
+    text-align:center;
+}
+
+/* page_header.tpl definitions */
+.sqm_currentFolder     {
+    background: <?php echo $color[9]; ?>;
+    padding:2px;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+.sqm_headerSignout     {
+    background: <?php echo $color[9]; ?>;
+    padding:2px;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-weight:bold;
+}
+.sqm_topNavigation     {
+    padding:2px;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+.sqm_providerInfo      {
+    padding:2px;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+}
+
+/* message_list.tpl definitions */
+.table_messageListWrapper      {
+    width:100%;
+    padding:0;
+    border-spacing:0;
+    border:0;
+    text-align:center;
+    margin-left:auto;
+    margin-right:auto;
+    background: <?php echo $color[9]; ?>;
+}
+
+.table_messageList     {
+    width:100%;
+    padding:0;
+    border-spacing:0;
+    border:0;
+    text-align:center;
+    margin-left:auto;
+    margin-right:auto;
+    background: <?php echo $color[5]; ?>;
+}
+
+.table_messageList     a       {
+    white-space:nowrap;
+}
+
+.table_messageList     tr.headerRow    {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+    white-space:nowrap;
+    font-weight:bold;
+}
+.table_messageList td.spacer {
+    height:1px;
+    background: <?php echo $color[0]; ?>;
+}
+
+.table_messageList     tr              {
+    vertical-align:top;
+}
+.table_messageList     tr.even {
+    background: <?php echo $color[12]; ?>;
+}
+.table_messageList     tr.odd  {
+    background: <?php echo $color[4]; ?>;
+}
+.table_messageList     tr.mouse_over   {
+    background: <?php echo $color[5]; ?>;
+}
+.table_messageList     tr.clicked      {
+    background: <?php echo (!empty($color[16])) ? $color[16] : $color[2]; ?>;
+}
+
+.table_messageList     td      {
+    white-space:nowrap;
+}
+.table_messageList     td.col_check    {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+.table_messageList     td.col_subject  {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+.table_messageList     td.col_flags    {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+.table_messageList     td.col_date     {
+    text-align:center;
+}
+.table_messageList     td.col_text     {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+.unread                {
+    font-weight:bold;
+}
+.deleted       {
+    color: <?php echo $color[9]; ?>;
+}
+.flagged       {
+    color: <?php echo $color[2]; ?>;
+}
+.high_priority {
+    color: <?php echo $color[1]; ?>;
+}
+.low_priority  {
+    color: <?php echo $color[8]; ?>;
+}
+
+.col_checked   {
+}
+
+.links_paginator                       {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+.message_count                         {
+    text-align:right;
+    font-size:8pt;
+}
+
+.message_list_controls {
+    background: <? echo $color[0]; ?>;
+}
+
+.message_control_button {
+    padding:0px;
+    margin:0px;
+}
+.message_control_buttons {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+    font-size:10px;            /* replaces <small> tags to allow greater control of fonts w/ using an id. */
+}
+.message_control_delete {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-size:10px;            /* replaces <small> tags to allow greater control of fonts w/ using an id. */
+}
+.message_control_move {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-size:10px;            /* replaces <small> tags to allow greater control of fonts w/ using an id. */
+}
+
+.spacer        {
+    height:5px;
+    background: <?php echo $color[4]; ?>;
+}
+
+