Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tabs: a better cursor for selected and collapsible tabs
- Loading branch information
Klaus Hartl
committed
Feb 2, 2009
1 parent
24c51e5
commit d7090f6
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } |