aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/static/tabs.html4
-rw-r--r--themes/base/ui.tabs.css3
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/static/tabs.html b/tests/static/tabs.html
index caf1d44ef..96516ed56 100644
--- a/tests/static/tabs.html
+++ b/tests/static/tabs.html
@@ -8,8 +8,8 @@
<h1>jQuery UI Tabs Static Markup Test Page</h1>
-<div class="ui-tabs ui-widget">
- <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-top">
+<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
+ <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-tabs-selected ui-state-active ui-corner-top"><a href="#fragment-1">First Section</a></li>
<li class="ui-state-default ui-corner-top"><a href="#fragment-2">Second Section</span></a></li>
<li class="ui-state-default ui-corner-top"><a href="#fragment-3">Third Section</a></li>
diff --git a/themes/base/ui.tabs.css b/themes/base/ui.tabs.css
index a63d8cca4..d9df81775 100644
--- a/themes/base/ui.tabs.css
+++ b/themes/base/ui.tabs.css
@@ -1,11 +1,12 @@
/* Tabs
----------------------------------*/
+.ui-tabs {padding: .2em;}
.ui-tabs-nav { padding: .2em .2em 0 .2em; border-bottom: 0; bottom: -1px; position: relative; }
.ui-tabs-nav li { float: left; border-bottom: 0; margin-right: .1em; margin-bottom: 0; padding: 0; }
.ui-tabs-nav li.ui-tabs-selected { position: relative; z-index: 10; }
.ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; position: relative; }
.ui-tabs-nav li.ui-tabs-selected a { padding-bottom: .6em; }
-.ui-tabs-panel { clear:left; padding: 1em 1.6em; display: block; }
+.ui-tabs-panel { clear:left; padding: 1em 1.4em; display: block; border: 0; }
.ui-tabs-hide { display: none !important; }
.ui-tabs-nav li a.ui-has-icon { text-indent: 1em; }
.ui-tabs-nav li a .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: .5em; } \ No newline at end of file