Create template for errors when not logged in.
[squirrelmail.git] / templates / default / stylesheet.tpl
index 0afbbf32d2be6b0440758bd8332af5bc49edb470..18b0140bc9694beff4cae2305dac291d7872c6e5 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 {
@@ -77,12 +77,15 @@ a:link, a:visited, a:hover, a:active {
 }
 
 /* left links */
-.sqm_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; ?>;
 }
@@ -100,7 +103,7 @@ a:link, a:visited, a:hover, a:active {
     border-spacing:0;
     width:99%
 }
-.sqm_leftMain table {
+sqm_leftMain table {
     border:0;
     padding:0;
     margin:0;
@@ -200,6 +203,9 @@ em          {
 small  {
     font-size:80%;
 }
+img   {
+    border:0;
+}
 
 /* login.tpl definitions */
 #sqm_login table {
@@ -217,7 +223,6 @@ small       {
 .sqm_loginImage {
     margin-left:auto;
     margin-right:auto;
-    border:0;
     padding:2px;
 }
 .sqm_loginTop {
@@ -242,6 +247,116 @@ small     {
     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]; ?>;
+}
+
+/* error_logout.tpl definitions */
+#sqm_errorLogout {
+    width:100%;
+    text-align:center;
+}
+#sqm_errorLogout table {
+    border:0;
+    margin:0;
+    padding:0;
+    border-spacing:0;
+    margin-left:auto;
+    margin-right:auto;
+}
+#sqm_errorLogout td {
+    padding:2px;
+}
+.sqm_errorLogoutImage {
+    margin-left:auto;
+    margin-right:auto;
+    padding:2px;
+}
+.sqm_errorLogoutTop {
+    text-align:center;
+    font-size:80%;
+}
+
 /* page_header.tpl definitions */
 .sqm_currentFolder     {
     background: <?php echo $color[9]; ?>;
@@ -364,7 +479,7 @@ small       {
 }
 
 .message_list_controls {
-    background: <? echo $color[0]; ?>;
+    background: <?php echo $color[0]; ?>;
 }
 
 .message_control_button {