Add posibility of link in error box.
[squirrelmail.git] / templates / default / stylesheet.tpl
index b43ecf8e874af330a96be9328bf7cbe2957ac4c1..f8af6a7d3a8611bb873d8c73e03b7d369268a6f3 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * SquirrelMail CSS template
  *
@@ -35,7 +36,6 @@
 
 /* retrieve the template vars */
 extract($t);
-
 ?>
 /* older css template */
 body, td, th, dd, dt, h1, h2, h3, h4, h5, h6, p, ol, ul, li {
@@ -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;
@@ -172,6 +203,133 @@ em                {
 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;
+}
+
+/* note.tpl defs */
+.sqm_noteWrapper {
+    text-align:center;
+    width:100%;
+}
+.sqm_note {
+    margin-left:auto;
+    margin-right:auto;
+    font-weight:bold;
+    text-align:center;
+}
+
+/* motd.tpl defs */
+.sqm_motdWrapper {
+    text-align:center;
+    width:100%;
+    margin:1px;
+}
+.sqm_motd {
+    margin-left:auto;
+    margin-right:auto;
+    text-align:center;
+    background: <?php echo $color[9]; ?>;
+    width:70%;
+    padding:0;
+}
+.sqm_motd td {
+    text-align:center;
+    background: <?php echo $color[4]; ?>;
+    padding:5px;
+}
+
+/* empty_folder.tpl defs */
+.sqm_emptyFolderWrapper {
+    text-align:center;
+    width:100%;
+}
+.sqm_emptyFolder {
+    margin-left:auto;
+    margin-right:auto;
+    text-align:center;
+    background: <?php echo $color[9]; ?>;
+    padding:1;
+    width:100%;
+}
+.sqm_emptyFolder td {
+    text-align:center;
+    background: <?php echo $color[4]; ?>;
+    padding-top:15px;
+    padding-bottom:15px;
+}
+
+/* error_box.tpl definitions */
+.table_errorBoxWrapper   {
+    width:100%;
+    padding:0;
+    border-spacing:0;
+    border:0;
+    text-align:center;
+    margin-left:auto;
+    margin-right:auto;
+    background: <?php echo $color[9]; ?>;
+}
+
+.table_errorBox  {
+    width:100%;
+    padding:0;
+    border-spacing:0;
+    border:0;
+    text-align:center;
+    margin-left:auto;
+    margin-right:auto;
+    background: <?php echo $color[0]; ?>;
+}
+.error_header {
+    color: red;
+    font-weight:bold;
+    font-weight:bold;
+    font-style:normal;
+}
+.error_message {
+    background: <?php echo $color[4]; ?>;
+}
 
 /* page_header.tpl definitions */
 .sqm_currentFolder     {
@@ -295,7 +453,7 @@ small       {
 }
 
 .message_list_controls {
-    background: <? echo $color[0]; ?>;
+    background: <?php echo $color[0]; ?>;
 }
 
 .message_control_button {