r2397 - Finally fixed the mutiple row tabs vs float issue (until scrolling is implemented) - fixe...
Author: klaus.hartl
Date: Sat Mar 28 11:59:55 2009
New Revision: 2397
Modified:
trunk/themes/base/ui.tabs.css
Log:
Finally fixed the mutiple row tabs vs float issue (until scrolling is
implemented) - fixes #4399. Also fixed: tabs not scrolling in IE when
contained in element with overflow set to auto or scroll, tab label text
wrap in IE 6.
Modified: trunk/themes/base/ui.tabs.css
==============================================================================
--- trunk/themes/base/ui.tabs.css (original)
+++ trunk/themes/base/ui.tabs.css Sat Mar 28 11:59:55 2009
@@ -1,11 +1,11 @@
/* Tabs
----------------------------------*/
-.ui-tabs { padding: .2em; zoom: 1; }
-.ui-tabs .ui-tabs-nav { list-style: none; position: relative;
padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { position: relative; float: left;
border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
-.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none;
padding: .5em 1em; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px;
border-bottom-width: 0; }
+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position:
relative prevents IE scroll bug (element with position: relative inside
container with overflow: auto appear as "fixed") */
+.ui-tabs .ui-tabs-nav { list-style: none; margin: 0; padding: .2em .2em 0;
}
+.ui-tabs .ui-tabs-nav li { float: left; position: relative; top: 1px;
margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space:
nowrap; }
+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em;
text-decoration: none; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0;
padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav
li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav
li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems
obsolete, but required to overcome bug in Opera applying cursor: text
overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block;
border-width: 0; background: none; }
+.ui-tabs .ui-tabs-panel { display: block; border: 0; padding: 1em 1.4em;
background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }