Code

Applied "non-uniq-tab-len" patch to 2.5
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Oct 2006 17:15:37 +0000 (17:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Oct 2006 17:15:37 +0000 (17:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4853 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 caadc2c578c60c067b5b9422f76df0503cd645f5..864c7e87c3ccfdd59ab50cc18e88f6c9ef6733d0 100644 (file)
@@ -143,7 +143,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);