diff options
author | Klaus Hartl <klaus.hartl@googlemail.com> | 2009-02-02 21:16:31 +0000 |
---|---|---|
committer | Klaus Hartl <klaus.hartl@googlemail.com> | 2009-02-02 21:16:31 +0000 |
commit | d7090f6bacf5ee56d19a02ab318c22ab8aab6d32 (patch) | |
tree | f5f9ed169c5710e163a73caae36e7e793b0cd71f | |
parent | 24c51e5a9537c3cfa15f1872f0b31de7a250fdfe (diff) | |
download | jquery-ui-d7090f6bacf5ee56d19a02ab318c22ab8aab6d32.tar.gz jquery-ui-d7090f6bacf5ee56d19a02ab318c22ab8aab6d32.zip |
Tabs: a better cursor for selected and collapsible tabs
-rw-r--r-- | themes/base/ui.tabs.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/base/ui.tabs.css b/themes/base/ui.tabs.css index 70ed3ef4a..b0063a1d3 100644 --- a/themes/base/ui.tabs.css +++ b/themes/base/ui.tabs.css @@ -1,9 +1,11 @@ /* Tabs ----------------------------------*/ -.ui-tabs {padding: .2em;} +.ui-tabs { padding: .2em; } .ui-tabs .ui-tabs-nav { padding: .2em .2em 0 .2em; position: relative; } .ui-tabs .ui-tabs-nav li { float: left; border-bottom: 0 !important; margin: 0 .2em -1px 0; padding: 0; list-style: none; } .ui-tabs .ui-tabs-nav li a { display:block; text-decoration: none; padding: .5em 1em; } .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: .1em; border-bottom: 0; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected 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: 0; background: none; } .ui-tabs .ui-tabs-hide { display: none !important; }
\ No newline at end of file |