aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Jehl <scott@scottjehl.com>2008-12-19 15:13:27 +0000
committerScott Jehl <scott@scottjehl.com>2008-12-19 15:13:27 +0000
commitd5d5204f02572ff8c4fc4bb718986f6916681568 (patch)
treeaf4471cd12bb0ac84a8eda27c6dbc5d1bd70c30e
parent03f07556bdefc83f1b3738cc100cb199c80ec590 (diff)
downloadjquery-ui-d5d5204f02572ff8c4fc4bb718986f6916681568.tar.gz
jquery-ui-d5d5204f02572ff8c4fc4bb718986f6916681568.zip
Changed slider range and progressbar value divs to use ui-widget-header 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.
-rw-r--r--tests/static/progressbar.html2
-rw-r--r--tests/static/slider.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/static/progressbar.html b/tests/static/progressbar.html
index 431150b92..be675fae2 100644
--- a/tests/static/progressbar.html
+++ b/tests/static/progressbar.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>
diff --git a/tests/static/slider.html b/tests/static/slider.html
index 6c014791f..c78328dd2 100644
--- a/tests/static/slider.html
+++ b/tests/static/slider.html
@@ -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>