Skip to content
Permalink
Browse files

Changed slider range and progressbar value divs to use ui-widget-head…

…er instead of ui-state-default in static pages.

Two main reasons: our clickable state is misleading on these static elements, and our header state tends to get better contrast over content areas than our buttons do (this is subjective to the theme designer of course).

Scripting should be updated to follow.
  • Loading branch information
Scott Jehl
Scott Jehl committed Dec 19, 2008
1 parent 03f0755 commit d5d5204f02572ff8c4fc4bb718986f6916681568
Showing with 3 additions and 3 deletions.
  1. +1 −1 tests/static/progressbar.html
  2. +2 −2 tests/static/slider.html
@@ -12,7 +12,7 @@

<!-- Progressbar -->
<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="13">
<div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:13%;"></div>
<div class="ui-progressbar-value ui-widget-header ui-corner-left" style="width:13%;"></div>
</div>

</body>
@@ -17,14 +17,14 @@
<div class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 15%;"></a>
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 30%;"></a>
<div class="ui-slider-range ui-state-default" style="left: 15%; width: 15%;"></div>
<div class="ui-slider-range ui-widget-header" style="left: 15%; width: 15%;"></div>
</div>

<!-- Slider: vertical -->
<div class="ui-slider ui-slider-vertical ui-widget ui-widget-content ui-corner-all" style="height: 100px;">
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="top: 15%;"></a>
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="top: 60%;"></a>
<div class="ui-slider-range ui-state-default" style="top: 15%; height: 45%;"></div>
<div class="ui-slider-range ui-widget-header" style="top: 15%; height: 45%;"></div>
</div>

</body>

0 comments on commit d5d5204

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