]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #1401: Tabsheet render is broken.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Tue, 13 May 2008 13:28:22 +0000 (13:28 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Tue, 13 May 2008 13:28:22 +0000 (13:28 +0000)
svn changeset:4452/svn branch:trunk

WebContent/ITMILL/themes/default/styles.css
WebContent/ITMILL/themes/default/tabsheet/tabsheet.css

index fdf20c9074300c560eb59e5ad90b443bdcfa97d6..98466629747d6e40bca4d6ee558a2887ecd3d653 100644 (file)
 .i-tabsheet-tabs .gwt-TabBarItem-selected {
        border: none;
        background: transparent url(panel/img/top-left.png) no-repeat;
-       margin-top: -9px;
-       padding-left: 16px;
-       height: 30px;
+       margin: 0;
+       padding: 0;
+       height: 48px;
        cursor: default;
        color: #ee5311;
 }
        color: #ee5311;
 }
 
-.i-tabsheet-tabs .gwt-TabBarItem-selected:before {
-       display: block;
-       height: 9px;
+.i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
        background: transparent url(panel/img/top-right.png) repeat-x right top;
-       content: "";
-       margin: -9px -16px 9px -6px;
+       margin: 0 -1px 0 9px;
+       height: 18px;
+       padding: 16px 16px 0 7px
 }
 
 .i-tabsheet-content {
        color: #ee5311;
 }
 
+* html .i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
+       background: transparent;
+       padding: 0;
+       margin: 0;
+}
+*+html .i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
+       background: transparent;
+       padding: 0;
+       margin: 0;
+}
+
 * html .i-tabsheet-deco {
        height: 1px;
        background: #babfc0;
index 636e853591a17dda48a3021b452f0979eb14f378..b7faac6171e76726a65bd0f9663069ddde776cb9 100644 (file)
@@ -50,9 +50,9 @@
 .i-tabsheet-tabs .gwt-TabBarItem-selected {
        border: none;
        background: transparent url(../panel/img/top-left.png) no-repeat;
-       margin-top: -9px;
-       padding-left: 16px;
-       height: 30px;
+       margin: 0;
+       padding: 0;
+       height: 48px;
        cursor: default;
        color: #ee5311;
 }
        color: #ee5311;
 }
 
-.i-tabsheet-tabs .gwt-TabBarItem-selected:before {
-       display: block;
-       height: 9px;
+.i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
        background: transparent url(../panel/img/top-right.png) repeat-x right top;
-       content: "";
-       margin: -9px -16px 9px -6px;
+       margin: 0 -1px 0 9px;
+       height: 18px;
+       padding: 16px 16px 0 7px
 }
 
 .i-tabsheet-content {
        color: #ee5311;
 }
 
+* html .i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
+       background: transparent;
+       padding: 0;
+       margin: 0;
+}
+*+html .i-tabsheet-tabs .gwt-TabBarItem-selected .i-caption {
+       background: transparent;
+       padding: 0;
+       margin: 0;
+}
+
 * html .i-tabsheet-deco {
        height: 1px;
        background: #babfc0;