Skip to content

Commit ccac8cd

Browse files
committed
Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active.
1 parent 08b6a2b commit ccac8cd

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

demos/demos.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ div.demo-description {
320320
#widget-docs .ui-tabs-nav li a:hover,
321321
#widget-docs .ui-tabs-nav li a:active { font-size:14px; padding:4px 1.2em 3px; color:#fff; }
322322

323-
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:link,
324-
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:visited,
325-
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:hover,
326-
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:active { color:#e6820E; }
323+
#widget-docs .ui-tabs-nav li.ui-tabs-active a:link,
324+
#widget-docs .ui-tabs-nav li.ui-tabs-active a:visited,
325+
#widget-docs .ui-tabs-nav li.ui-tabs-active a:hover,
326+
#widget-docs .ui-tabs-nav li.ui-tabs-active a:active { color:#e6820E; }
327327

328328
#widget-docs .ui-tabs-panel { padding:20px 9px; font-size:12px; line-height:1.4; color:#000; }
329329

demos/tabs/bottom.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.tabs-bottom .ui-tabs-panel { height: 140px; overflow: auto; }
2424
.tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
2525
.tabs-bottom .ui-tabs-nav li { margin-top: -2px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; }
26-
.ui-tabs-selected { margin-top: -3px !important; }
2726
</style>
2827
</head>
2928
<body>

demos/tabs/vertical.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
2121
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
2222
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
23-
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
23+
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
2424
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;}
2525
</style>
2626
</head>

tests/unit/tabs/tabs_deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ test('selected', function() {
130130
el.tabs('destroy');
131131
el = $('#tabs1').tabs({ selected: -1 });
132132
equals(el.tabs('option', 'selected'), -1, 'should be -1 for all tabs unselected');
133-
equals( $('li.ui-tabs-selected', el).length, 0, 'no tab should be selected' );
133+
equals( $('li.ui-tabs-active', el).length, 0, 'no tab should be selected' );
134134
equals( $('div:hidden', '#tabs1').length, 3, 'all panels should be hidden' );
135135

136136
el.tabs('destroy');

tests/unit/tabs/tabs_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test('active', function() {
5555
el.tabs('destroy');
5656
el.tabs({ active: false });
5757
equals(el.tabs('option', 'active'), false, 'should be false for all tabs deactive');
58-
equals( $('li.ui-tabs-selected', el).length, 0, 'no tab should be active' );
58+
equals( $('li.ui-tabs-active', el).length, 0, 'no tab should be active' );
5959
equals( $('div:hidden', '#tabs1').length, 3, 'all panels should be hidden' );
6060

6161
el.tabs('destroy');

0 commit comments

Comments
 (0)