Code

Move from equal tabulator length to variable tabulator length
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 13:36:40 +0000 (13:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 13:36:40 +0000 (13:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4078 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
include/class_tabs.inc

index 755b7ea751334a7987e022b2f1ef774162d46725..37d40101bf3e5cb4f030908ef4e0181ff35b4208 100644 (file)
@@ -452,7 +452,6 @@ font.must {
 div.tab_active {
        text-align:center;
        height:25px;
-       width:100px;
        background-color:#f0f0f0;
        border-style:solid;
        border-color:black;
@@ -462,12 +461,13 @@ div.tab_active {
        border-right-width:1px;
        margin-top:0px;
        padding-top:1px;
+       padding-left:8px;
+       padding-right:8px;
 }
 
 div.tab_left {
        text-align:center;
        height:20px;
-       width:100px;
        background-color:#c0c0c0;
        border-style:solid;
        border-color:black;
@@ -477,12 +477,13 @@ div.tab_left {
        border-right-width:0px;
        margin-top:5px;
        padding-top:1px;
+       padding-left:8px;
+       padding-right:8px;
 }
 
 div.tab_right {
        text-align:center;
        height:20px;
-       width:100px;
        background-color:#c0c0c0;
        border-style:solid;
        border-color:black;
@@ -492,12 +493,13 @@ div.tab_right {
        border-right-width:1px;
        margin-top:5px;
        padding-top:1px;
+       padding-left:8px;
+       padding-right:8px;
 }
 
 div.tab_near_active {
        text-align:center;
        height:20px;
-       width:100px;
        background-color:#c0c0c0;
        border-style:solid;
        border-color:black;
@@ -507,6 +509,8 @@ div.tab_near_active {
        border-right-width:1px;
        margin-top:5px;
        padding-top:1px;
+       padding-left:8px;
+       padding-right:8px;
 }
 
 div.tab_border {
@@ -523,7 +527,6 @@ div.tab_border {
 a.tab_active, input.tab_active {
        border:0px;
        margin:0px;
-       width:100px;
        height:22px;
        font-family:arial,helvetica,sans-serif;
        background-color:#f0f0f0;
@@ -534,7 +537,6 @@ a.tab_active, input.tab_active {
 }
 
 a.tab_right, input.tab_right {
-       width:100px;
        height:20px;
        border:0px;
        margin:0px;
@@ -547,7 +549,6 @@ a.tab_right, input.tab_right {
 }
 
 a.tab_left, input.tab_left {
-       width:100px;
        height:20px;
        border:0px;
        margin:0px;
@@ -560,7 +561,6 @@ a.tab_left, input.tab_left {
 }
 
 a.tab_near_active, input.tab_near_active {
-       width:100px;
        height:20px;
        border:0px;
        margin:0px;
index e0e8dbe422b0bf555c7fe25940a04bdf3b5aa0bf..bef90ef9633a3563930dc9632ecd82c9f2d2d92d 100644 (file)
@@ -137,7 +137,7 @@ class tabs
                }
 
                /* Paint tab */
-               $display.= "<td style=\"vertical-align:bottom; width:100px;\">";
+               $display.= "<td style=\"vertical-align:bottom;width:1px;\">";
 
                /* Shorten string if its too long for the tab headers*/
                $title= _($name);