Code

Updated style
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 13:56:58 +0000 (13:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 13:56:58 +0000 (13:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5838 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
include/sieve/templates/element_address.tpl
include/sieve/templates/element_allof.tpl
include/sieve/templates/element_anyof.tpl
include/sieve/templates/element_boolean.tpl
include/sieve/templates/element_envelope.tpl
include/sieve/templates/element_exists.tpl
include/sieve/templates/element_header.tpl
include/sieve/templates/element_if.tpl
include/sieve/templates/element_size.tpl

index 1a630d0a16c43e0aac71e31aa62432410fb2d906..841d2a002967f2716143e2c28e900b22d2e5f07e 100644 (file)
@@ -1356,8 +1356,58 @@ textarea.sieve_vacation_input {
 }
 
 
+/*************
+ * Sieve allof 
+ *************/
+
+table.sieve_allof_container {
+    width:100%;
+    margin: 0px;
+    border-spacing: 0px ;
+    padding:0px;
+       border: solid 2px #CCCCCC;
+}
+
+/* Container */
+td.sieve_allof_left {
+       text-align:center;
+       vertical-align: middle;
+       width:35px;
+       background-color: #BDBDBD;
+       border: solid 0px #EEEEEE
+}
+
+
+/*************
+ * Sieve anyof 
+ *************/
 
+table.sieve_anyof_container {
+    width:100%;
+    margin: 0px;
+    border-spacing: 0px ;
+    padding:0px;
+       border: solid 2px #CCCCCC;
+}
 
+/* Container */
+td.sieve_anyof_left {
+       text-align:center;
+       vertical-align: middle;
+       width:35px;
+       background-color: #BDBDBD;
+       border: solid 0px #EEEEEE
+}
 
+/*************
+ * Sieve Test Cases  
+ *************/
+
+table.sieve_test_case {
+       width:100%;
+       margin: 0px;
+       border-spacing: 0px ;
+       padding:0px;
+}
 
 
index fda6260dbfadf1453d048de885bf48e34fb784cf..db7558e03c56d71ee9f7512602896618a6daa497 100755 (executable)
@@ -1,14 +1,4 @@
-
-{if $LastError != ""}
-       <table style='width:100%;'> 
-               <tr>
-                       <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                               <img src='images/warning.png' alt='{t}Error{/t}'>
-                       </td>
-                       <td>
-{/if}
-
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        {if $Expert}
        {if $LastError != ""}
                <tr>
         {/if}
        <tr>
                <td style='vertical-align:top;'>
-                       {t}If{/t}
-                       &nbsp;
                        <b>{t}Address{/t}</b>
                
                        {if $Inverse}
        </tr>
        {/if}
 </table>
-{if $LastError != ""}
-
-                       </td>
-               </tr>
-       </table>
-{/if}
index d39d5985fea35b71501421e365efc48cf064ebda..7e244d50d942bc61efce74e22a39284e456d63a5 100644 (file)
@@ -1,20 +1,15 @@
-<table width='100%'  cellspacing=0 cellpadding=0>
+<table class='sieve_allof_container'>
        <tr>
-       <td style='     text-align:center; 
-                                       vertical-align: middle; 
-                                       width:45px;
-                                       background-color: #BDBDBD;
-                                       border: solid 1px #EEEEEE 
-                                       '>
-                       <b>{t}All of{/t}</b>
+       <td class='sieve_allof_left'>
             {if $Inverse}
                 <input type='submit' name='toggle_inverse_{$ID}' value='{t}Not{/t}'>
             {else}
                 <input type='submit' name='toggle_inverse_{$ID}' value='{t}-{/t}'>
             {/if}
-
+                       <br>
+                       <b>{t}All of{/t}</b>
                </td>
-        <td style='background-color:#BDBDBD ; border: solid 1px #EEEEEE'>
+        <td style='background-color:#BDBDBD ; border: solid 0px #EEEEEE'>
                        {$Contents}
         </td>
        </tr>
index e0b02054f55f677cbe311d75f65c9a38aaf7ee99..19d8d77b478713c65a9a81d530d2919323f0c7d9 100644 (file)
@@ -1,19 +1,15 @@
-<table width='100%'  cellspacing=0 cellpadding=0>
+<table class='sieve_anyof_container'>
        <tr>
-       <td style='     text-align:center; 
-                                       vertical-align: middle; 
-                                       width:45px;
-                                       background-color: #AAAAAA; 
-                                       border: solid 1px #EEEEEE
-                                       '>
-                       <b>{t}Any of{/t}</b>
+       <td class='sieve_anyof_left'>
             {if $Inverse}
                 <input type='submit' name='toggle_inverse_{$ID}' value='{t}Not{/t}'>
             {else}
                 <input type='submit' name='toggle_inverse_{$ID}' value='{t}-{/t}'>
             {/if}
+                       <br>
+                       <b>{t}Any of{/t}</b>
                </td>
-        <td style='background-color:#BDBDBD ; border: solid 1px #EEEEEE'>
+        <td style='background-color:#BDBDBD ; border: solid 0px #EEEEEE'>
                        {$Contents}
         </td>
        </tr>
index 47a97c1b28b84a0a8252ef776b77f5b64f349099..44f5f7b52e7794c152a339edb334a90fe6758f5e 100755 (executable)
@@ -1,4 +1,4 @@
-<table cellspacing=0 cellpadding=2 style='background-color:#DDDDFF;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        <tr>
                <td>
                        <b>{t}Bool{/t}</b>
index cd68dcac15d2b6d959a31662ff8d1ffd16decf14..c2dc16891027929f292461ba640d25a029f02eb7 100755 (executable)
@@ -1,15 +1,4 @@
-
-
-{if $LastError != ""}
-       <table style='width:100%;'> 
-               <tr>
-                       <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                               <img src='images/warning.png' alt='{t}Error{/t}'>
-                       </td>
-                       <td>
-{/if}
-
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        {if $Expert}
        {if $LastError != ""}
                <tr>
        </tr>
        {/if}
 </table>
-{if $LastError != ""}
-
-                       </td>
-               </tr>
-       </table>
-{/if}
index 8e3866c8c74dab973ee1bf295798075aad535c96..4417d66b4f99ece43c7d589fd0c57c85967332d9 100644 (file)
@@ -1,4 +1,4 @@
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
     <tr>
         <td style='vertical-align:top; width:200px;'>
             {if $LastError != ""}
index 84a4bfb307d693b76442c8fcbbedab1ccbead9fd..b944c4b62b63dfc3eb4dccda6e236eae20eb5b13 100755 (executable)
@@ -1,14 +1,4 @@
-
-{if $LastError != ""}
-       <table style='width:100%;'> 
-               <tr>
-                       <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                               <img src='images/warning.png' alt='{t}Error{/t}'>
-                       </td>
-                       <td>
-{/if}
-
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        {if $Expert}
        {if $LastError != ""}
                <tr>
@@ -93,8 +83,6 @@
         {/if}
                 <tr>
         <td style='vertical-align:top;'>
-            {t}If{/t}
-            &nbsp;
             <b>{t}Header{/t}</b>
 
             {if $Inverse}
 
        {/if}
 </table>
-{if $LastError != ""}
-
-                       </td>
-               </tr>
-       </table>
-{/if}
index c81467ac4aaaaa410b857d771639e635dad11fbd..98f9b4a5d85863f17e4809b23863fc253382b57f 100644 (file)
@@ -1,7 +1,7 @@
-<table cellspacing=0 width='100%'>
+<table class='sieve_default_table'>
        <tr>
-       <td style='width:100%;background-color:#f2bf4c; padding:5px;'>
-                       <b>{t}If{/t}</b>
+       <td>
+                       <b>{t}Condition{/t}</b>
                        {$Contents}
        </td>
        </tr>
index aedb7c39e95e253cb22e14a30b2bae82ea3a6d05..a42d77243617268e4077c8c1e23bf3dfd27646c2 100644 (file)
@@ -1,4 +1,4 @@
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        <tr>
                <td>
 <b>{t}Size{/t}</b>