diff --git a/select2.css b/select2.css index fb34b37e..f0bdfb82 100755 --- a/select2.css +++ b/select2.css @@ -508,4 +508,17 @@ disabled look for already selected choices in the results dropdown .select2-result-unselectable .select2-result-selectable .select2-match { text-decoration: underline; } .select2-result-unselectable .select2-match { text-decoration: none; } -.select2-offscreen { position: absolute; left: -10000px; } \ No newline at end of file +.select2-offscreen { position: absolute; left: -10000px; } + +/* Retina-ize icons */ + +@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { + .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b { + background-image: url(select2x2.png) !important; + background-repeat: no-repeat !important; + background-size: 60px 40px !important; + } + .select2-search input { + background-position: 100% -21px !important; + } +} \ No newline at end of file diff --git a/select2.png b/select2.png old mode 100755 new mode 100644 index d08e4b7e..1d804ffb Binary files a/select2.png and b/select2.png differ diff --git a/select2x2.png b/select2x2.png new file mode 100644 index 00000000..4bdd5c96 Binary files /dev/null and b/select2x2.png differ