Templating for searching email
[squirrelmail.git] / templates / default / stylesheet.tpl
index e43d58a6358f01d7adfa97eb0cebda40fba81724..0ae3d9ceb33439937a0fbc3b868c8e66eba53ae2 100644 (file)
@@ -126,21 +126,64 @@ table.table_empty, table.table_blank    {
     width: 100%;
 }
 
+table.table1    {
+    border: 1px solid <?php echo $color[0]; ?>;
+    width: 90%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+table.table1    td  {
+    padding-left: 2px;
+    padding-right: 2px;
+}
+
+table.table2    {
+    border: 1px solid <?php echo $color[9]; ?>;
+    width: 80%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+table.table2    td  {
+    padding-left: 2px;
+    padding-right: 2px;
+}
+
+td.emptyList    {
+    text-align: center;
+    font-weight: bold;
+}
+
 td.header1  {
     background: <?php echo $color[0]; ?>;
     text-align: center;
     font-weight: bold;
 }
 
-
 td.header2  {
     background: <?php echo $color[9]; ?>;
+    text-align: center;
+    font-weight: bold;
+    padding-top: 2px;
+    padding-bottom: 2px;
+}
+
+td.header3  {
     text-align: center;
     font-weight: bold;
     padding-top: 4px;
     padding-bottom: 4px;
 }
 
+td.header4  {
+    background: <?php echo $color[5]; ?>;
+    font-weight: bold;
+    padding-top:2px;
+    padding-bottom: 2px;
+    text-align: center;
+}
+
 tr.even {
     background: <?php echo $color[12]; ?>;
 }
@@ -307,7 +350,7 @@ tr.odd  {
     margin-left: auto;
     margin-right: auto;
     width: 80%;
-    text-align: left;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
 }
 
 /* addressbook_list.tpl defs */
@@ -333,7 +376,7 @@ tr.odd  {
 }
 
 #addressList    td  {
-    text-align: left;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
     padding: 2px;
 }
 
@@ -343,7 +386,7 @@ tr.odd  {
 }
 #addressList    td.abookSwitch  {
     background: <?php echo $color[0]; ?>;
-    text-align: right;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
 }
 
 #addressList    td.abookButtons  {
@@ -435,7 +478,7 @@ tr.odd  {
 }
 
 #addrAddEdit    td.fieldName   {
-    text-align: right;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
     width: 30%;
 }
 
@@ -444,7 +487,7 @@ tr.odd  {
 }
 
 #addrAddEdit    td  {
-    text-align: left;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
     padding: 2px;
 }
 
@@ -493,12 +536,12 @@ tr.odd  {
 
 #optionGroups   td.optionName   {
     background: <?php echo $color[9]; ?>;
-    text-align: left;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
     height: 1%;
 }
 
 #optionGroups   td.optionDesc   {
-    text-align: left;
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
     background: <?php echo $color[0]; ?>;
 }
 
@@ -525,9 +568,287 @@ tr.odd  {
 }
 
 #optionDisplay  td.optionName   {
-    text-align: right;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
 }
 
 #optionDisplay  td.optionValue  {
-    text-align: left;
-}
\ No newline at end of file
+    text-align:<?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+#optionOrder  {
+    text-align:center;
+}
+
+#optionOrder    table   {
+    margin-left: auto;
+    margin-right: auto;
+    margin-top: 8px;
+    margin-bottom: 8px;
+    width: 95%;
+    border: 1px solid <?php echo $color[0]; ?>
+}
+
+#optionOrder    table.moveFields    {
+    width: auto;
+}
+
+#optionOrder    table.moveFields    td  {
+    border-left: 1px solid <?php echo $color[0]; ?>;
+    border-right: 1px solid <?php echo $color[0]; ?>;
+    padding-left: 2px;
+    padding-right: 2px;
+}
+
+#optionOrder    td.moveLink  {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-size: 75%;
+    vertical-align: bottom;
+}
+
+#optionOrder    td.fieldName    {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+#optionHightlightList   {
+    text-align: center;
+}
+
+#optionHighlightList    table   table   {
+    margin-top: 10px;
+    margin-bottom: 10px;
+    width: 75%;
+}
+
+#optionHighlightList    td.ruleButtons  {
+    text-align: center;
+    width: 1%;
+}
+
+#optionHighlightList    td.ruleName {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+    width: 30%;
+    padding-left: 4px;
+    padding-right: 4px;
+}
+
+#optionHighlightAdd {
+    text-align: center;
+}
+
+#optionHighlightAdd    table   table   {
+    margin-top: 10px;
+    margin-bottom: 10px;
+    width: 75%;
+}
+
+#optionHighlightAdd td.ruleField    {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-weight: bold;
+    width: 40%;
+}
+
+#optionHighlightAdd td.fieldValue   {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+#optionHighlightAdd td.colorTable  {
+    text-align: center;
+}
+
+#optionHighlightAdd table.colorTable    {
+    margin-left: auto;
+    margin-right: auto;
+}
+
+/* help defs */
+#help   {
+    text-align: center;
+}
+
+#help   td.help  {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+#help   li  {
+    padding-left: 0px;
+}
+
+#help   ul  {
+    padding-left: 20px;
+    padding-right: 75px;
+}
+
+#help   td.nav  {
+    text-align: center;
+    color: <?php echo $color[0]; ?>;
+    padding-top: 15px;
+    padding-bottom: 5px;
+}
+
+#help   h1  {
+    font-size: 14pt;
+    font-weight: bold;
+    margin-top: 2px;
+    margin-bottom: 0px;
+}
+
+#help   h2  {
+    font-size: 10pt;
+    font-weight: normal;
+    margin-bottom: 2px;
+    margin-top: 0;
+}
+
+#help   h3  {
+    font-weight: bold;
+    font-size: 10pt;
+    margin: 0;
+    padding: 0;
+}
+
+#help   td.help p   {
+    margin-top: 2px;
+    margin-bottom: 10px;
+}
+
+#help   td.help  li   {
+    margin-left: 10px;
+}
+
+#optionsIdentity    table   {
+    margin-top: 10px;
+    margin-bottom: 10px;
+}
+
+#optionsIdentity    table.table2 tr  {
+    background: <?php echo $color[0]; ?>;
+}
+
+#optionsIdentity    td.fieldName    {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    width: 30%;
+}
+
+#optionsIdentity    td.fieldValue   {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+#optionsIdentity    td.actionButtons  {
+    text-align: center;
+}
+
+#optionsIdentity hr  {
+    width: 95%;
+    border: 1px solid <?php echo $color[9]; ?>;
+}
+
+#vCard  {
+    text-align: center;
+}
+
+#vCard  table   {
+    margin-left: auto;
+    margin-right: auto;
+    margin-top: 10px;
+    margin-bottom: 10px;
+}
+
+#vCard  td.fieldName   {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-weight: bold;
+    vertical-align: top;
+}
+
+#vCard  td.fieldValue   {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+.search table   {
+    margin-top: 12px;
+    margin-bottom: 12px;
+}
+
+.search td.header4  {
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+    vertical-align: bottom;
+}
+
+.search td.queryAction {
+    text-align: center;
+    font-size: small;
+    width: 1%;
+    padding-left: 8px;
+    padding-right: 8px;
+    border-left: 1px solid <?php echo $color[9]; ?>;
+    border-top: 1px solid <?php echo $color[9]; ?>;
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+}
+
+.search td.queryDesc  {
+    border-top: 1px solid <?php echo $color[9]; ?>;
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+}
+
+.search span {
+    padding-left: 2px;
+    padding-right: 2px;
+}
+
+.search span.operator {
+    font-weight: normal;
+    text-decoration: underline;
+    font-style: italic;
+}
+
+.search span.mailbox {
+    font-weight: bold
+}
+
+.search span.conditions {
+    font-weight: normal;
+    text-decoration: underline;
+    font-style: italic;
+}
+
+.search span.value {
+    font-weight: bold;
+}
+
+.search span.error  {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    font-size: 125%;
+}
+
+.search td.searchForm  {
+    border-right: 1px solid <?php echo $color[0]; ?>;
+    border-left: 1px solid <?php echo $color[0]; ?>;
+    font-weight: bold;
+    text-align: center;
+}
+
+.search td.queryError {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    text-align: center;
+    padding: 4px;
+}
+
+.search td.header1 input {
+    font-size: 80%;
+    margin: 2px;
+}
+
+.search h1 {
+    font-weight: bold;
+    font-size: 150%;
+    margin-top: 6px;
+    margin-bottom: 2px;
+}
+
+.search h2 {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    text-align: center;
+}
+