From 1053f83506074f12fdc67183674c04face698e4c Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 13 May 2008 13:28:22 +0000 Subject: [PATCH] Fixes #1401: Tabsheet render is broken. svn changeset:4452/svn branch:trunk --- WebContent/ITMILL/themes/default/styles.css | 26 +++++++++++++------ .../themes/default/tabsheet/tabsheet.css | 26 +++++++++++++------ 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index fdf20c9074..9846662974 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -1324,9 +1324,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; } @@ -1339,12 +1339,11 @@ 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 { @@ -1424,6 +1423,17 @@ 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; diff --git a/WebContent/ITMILL/themes/default/tabsheet/tabsheet.css b/WebContent/ITMILL/themes/default/tabsheet/tabsheet.css index 636e853591..b7faac6171 100644 --- a/WebContent/ITMILL/themes/default/tabsheet/tabsheet.css +++ b/WebContent/ITMILL/themes/default/tabsheet/tabsheet.css @@ -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; } @@ -65,12 +65,11 @@ 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 { @@ -150,6 +149,17 @@ 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; -- 2.39.5