Remove gradients and text-shadow from ui-slider-handle and restyle it to mimic buttons. Match the background color to the chosen color scheme's -color. See #25858.

Built from https://develop.svn.wordpress.org/trunk@26417


git-svn-id: http://core.svn.wordpress.org/trunk@26317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas
2013-11-26 21:38:10 +00:00
parent 36b2183f03
commit f11e29b4ef
15 changed files with 52 additions and 45 deletions

View File

@@ -1392,24 +1392,13 @@ table.diff .diff-addedline ins {
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #2ea2cc;
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#2ea2cc), color-stop(100%,#1e8cbe));
background: -webkit-linear-gradient(-45deg, #2ea2cc 0%,#1e8cbe 100%);
background: linear-gradient(135deg, #2ea2cc 0%,#1e8cbe 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=1 );
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
border: 1px solid #0074a2;
-webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15);
}
.wp-slider .ui-slider-handle:before {
color: #fff;
text-shadow: 0 1px 1px rgba(0,116,162,1);
}
.wp-slider .ui-slider-handle.ui-state-active {
background: #0074a2;
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#0074a2), color-stop(100%,#005684));
background: -webkit-linear-gradient(-45deg, #0074a2 0%,#005684 100%);
background: linear-gradient(135deg, #0074a2 0%,#005684 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0074a2', endColorstr='#005684',GradientType=1 );
}
/* edit image */