Skip to content
Permalink
Browse files

Changed tabs container padding slightly to match dialog and datepicke…

…r's design.
  • Loading branch information
Scott Jehl
Scott Jehl committed Dec 8, 2008
1 parent 7d006a1 commit 547c989e22983a01d65741e0365154ede3da738b
Showing with 4 additions and 3 deletions.
  1. +2 −2 tests/static/tabs.html
  2. +2 −1 themes/base/ui.tabs.css
@@ -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>
@@ -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; }

0 comments on commit 547c989

Please sign in to comment.
You can’t perform that action at this time.