Code

[COSMETIC] Removed default styles for <input> and <img>. Use class='' instead.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 09:46:18 +0000 (09:46 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 09:46:18 +0000 (09:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2061 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
ihtml/themes/default/framework.tpl

index 1cf0b28d9257bb08b15110c094f968a0f81d8531..0fedb77af75c8b35c4331a485567913e56c04bb9 100644 (file)
@@ -530,12 +530,17 @@ a.tab_near_active, input.tab_near_active {
        font-weight:bold;
 }
 
-img {
+img.center {
        text-align:center;
        vertical-align:middle;
 }
 
-input {
+input.center {
+       text-align:left;
+       vertical-align:middle;
+}
+
+a.center {
        text-align:left;
        vertical-align:middle;
 }
index 04c3282582eb2165b539c57dc2c786228cccf145..2b068128a08342e0a3e562093409a721b2ba857d 100644 (file)
       <table style="margin-left:20px;" border=0 summary="">
        <tr>
         <td valign="middle">
-        <a class=maintitlebar href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' style="vertical-align:middle;">
-         <img src='{$go_home}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Main{/t}
+        <a class=maintitlebar href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' class="center">
+         <img src='{$go_home}' class='center' border="0" alt="GOSA2">&nbsp;{t}Main{/t}
         </a>
        </td>
         <td>
-        <a class=maintitlebar style="margin-left:35px; vertical-align:middle;" {$help_method}>
-          <img src='{$go_help}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Help{/t}
+        <a class=maintitlebar class='center' style="margin-left:35px" {$help_method}>
+          <img src='{$go_help}' class='center' border="0" alt="GOSA2">&nbsp;{t}Help{/t}
          </a>
        </td>
        <td>
-        <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_out}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
+        <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' class='center' style="margin-left:35px;">
+          <img src='{$go_out}' class='center' border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
          </a>
        </td>
        </tr>