t12n of compose function. Paul, could you please check the plugin hook implementatio...
[squirrelmail.git] / templates / default / stylesheet.tpl
index 98d92ffeb54dba4b5f89c558c6856f9c515724a8..e57ae940b3b911182df86a27d0c6b5c37c60f0bb 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,18 +568,18 @@ tr.odd  {
 }
 
 #optionDisplay  td.optionName   {
-    text-align: right;
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
 }
 
 #optionDisplay  td.optionValue  {
-    text-align: left;
+    text-align:<?php echo SQM_ALIGN_LEFT; ?>;
 }
 
-#optionHighlight  {
+#optionOrder  {
     text-align:center;
 }
 
-#optionHighlight    table   {
+#optionOrder    table   {
     margin-left: auto;
     margin-right: auto;
     margin-top: 8px;
@@ -545,26 +588,334 @@ tr.odd  {
     border: 1px solid <?php echo $color[0]; ?>
 }
 
-#optionHighlight    table.moveFields    {
+#optionOrder    table.moveFields    {
     width: auto;
 }
 
-#optionHighlight    table.moveFields    td  {
+#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;
 }
 
-#optionHighlight    td.moveLink  {
-    text-align: center;
+#optionOrder    td.moveLink  {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
     font-size: 75%;
+    vertical-align: bottom;
 }
 
-#optionHighlight    td.fieldName    {
-    text-align: left;
+#optionOrder    td.fieldName    {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
 }
 
-#optionHighlight    select,input  {
-    font-size: 75%;
-}
\ No newline at end of file
+#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; ?>;
+}
+
+div.search table   {
+    margin-top: 12px;
+    margin-bottom: 12px;
+}
+
+div.search td.header4  {
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+    vertical-align: bottom;
+}
+
+div.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]; ?>;
+}
+
+div.search td.queryDesc  {
+    border-top: 1px solid <?php echo $color[9]; ?>;
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+}
+
+div.search span {
+    padding-left: 2px;
+    padding-right: 2px;
+}
+
+div.search span.operator {
+    font-weight: normal;
+    text-decoration: underline;
+    font-style: italic;
+}
+
+div.search span.mailbox {
+    font-weight: bold
+}
+
+div.search span.conditions {
+    font-weight: normal;
+    text-decoration: underline;
+    font-style: italic;
+}
+
+div.search span.value {
+    font-weight: bold;
+}
+
+div.search span.error  {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    font-size: 125%;
+}
+
+div.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;
+}
+
+div.search td.queryError {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    text-align: center;
+    padding: 4px;
+}
+
+div.search td.header1 input {
+    font-size: 80%;
+    margin: 2px;
+}
+
+div.search h1 {
+    font-weight: bold;
+    font-size: 150%;
+    margin-top: 6px;
+    margin-bottom: 2px;
+}
+
+div.search h2 {
+    color: <?php echo $color[2]; ?>;
+    font-weight: bold;
+    text-align: center;
+}
+
+div.compose    {
+    text-align: center;
+}
+
+div.compose table {
+    margin-top: 10px;
+    margin-bottom: 10px;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+div.compose td.fieldName {
+    text-align: <?php echo SQM_ALIGN_RIGHT; ?>;
+    font-weight: bold;
+    width: 30%;
+    vertical-align: top;
+}
+
+div.compose td.fieldValue {
+    text-align: <?php echo SQM_ALIGN_LEFT; ?>;
+}
+
+div.compose td.buttons {
+    text-align: center;
+}
+
+div.compose input {
+    font-size: 80%;
+}
+
+div.compose textarea {
+    margin-top: 5px;
+    margin-bottom: 5px;
+}
+
+div.compose td.bottomSend {
+    text-align: center;
+}
+
+div.compose tr.header {
+    background: <?php echo $color[9]; ?>;
+}
+
+div.compose tr.header td {
+    padding-top: 4px;
+    padding-bottom: 4px;
+}
+
+div.compose tr.attachment td {
+    background: <?php echo $color[0]; ?>;
+    border-top: 1px solid <?php echo $color[9]; ?>;
+    border-bottom: 1px solid <?php echo $color[9]; ?>;
+}
+
+div.compose table.close {
+    width: 100%;
+    background: <?php echo $color[0]; ?>;
+    border:1px solid <?php echo $color[9]; ?>;
+    text-align: center;
+    margin: 0;
+}
+
+div.readMenuBar table.table2 {
+    width: 100%;
+}
+
+