Fixed reversed gradients, again
The gradients that were fixed in #2002 had the wrong target value. Most of them were targetting the bottom, though not all of them, and the code set them to target the top.
This commit is contained in:
parent
a97b908a2a
commit
e2cccc9988
10
select2.css
10
select2.css
@ -53,7 +53,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
|||||||
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
||||||
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
|
||||||
background-image: linear-gradient(to top, #eee 0%, #fff 50%);
|
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-container.select2-drop-above .select2-choice {
|
.select2-container.select2-drop-above .select2-choice {
|
||||||
@ -65,7 +65,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
|||||||
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
||||||
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
||||||
background-image: linear-gradient(to top, #eee 0%, #fff 90%);
|
background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
||||||
@ -236,7 +236,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
|||||||
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||||
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||||
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||||
background: url('select2.png') no-repeat 100% -22px, linear-gradient(to top, #fff 85%, #eee 99%);
|
background: url('select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-drop.select2-drop-above .select2-search input {
|
.select2-drop.select2-drop-above .select2-search input {
|
||||||
@ -248,7 +248,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
|||||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||||
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||||
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to top, #fff 85%, #eee 99%);
|
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-container-active .select2-choice,
|
.select2-container-active .select2-choice,
|
||||||
@ -438,7 +438,7 @@ disabled look for disabled choices in the results dropdown
|
|||||||
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
||||||
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
||||||
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
||||||
background-image: linear-gradient(to top, #eee 1%, #fff 15%);
|
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-locked {
|
.select2-locked {
|
||||||
|
Loading…
Reference in New Issue
Block a user