Skip to content

Commit 6b9b087

Browse files
authored
Merge pull request #1260 from shreesh-webkul/gli-2390
Fixed: jquery chosen, select and tinymce plugins used images not visible in different admin theme
2 parents 982305a + 0046348 commit 6b9b087

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

admin/themes/default/img/loader.gif

3.63 KB
Loading

admin/themes/default/sass/partials/_chosen.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $chosen-focus-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82,
2020
$chosen-focus-transition: border linear .2s, box-shadow linear .2s
2121
$chosen-height: $input-height-base
2222
$chosen-multi-height: $input-height-base + 6px
23-
$chosen-sprite-path: '../img/chosen-sprite.png'
23+
$chosen-sprite-path: '#{$img-path}/chosen-sprite.png'
2424

2525
.chosen-select
2626
width: 100%

admin/themes/default/sass/partials/_select2.scss

+11-11
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Version: 3.4.6 Timestamp: Sat Mar 22 22:30:15 EDT 2014
8686
text-decoration: none;
8787

8888
border: 0;
89-
background: url('../img/select2.png') right top no-repeat;
89+
background: url('#{$img-path}/select2.png') right top no-repeat;
9090
cursor: pointer;
9191
outline: 0;
9292
}
@@ -182,7 +182,7 @@ Version: 3.4.6 Timestamp: Sat Mar 22 22:30:15 EDT 2014
182182
display: block;
183183
width: 100%;
184184
height: 100%;
185-
background: url('../img/select2.png') no-repeat 0 1px;
185+
background: url('#{$img-path}/select2.png') no-repeat 0 1px;
186186
}
187187

188188
.select2-search {
@@ -215,17 +215,17 @@ Version: 3.4.6 Timestamp: Sat Mar 22 22:30:15 EDT 2014
215215
-webkit-box-shadow: none;
216216
box-shadow: none;
217217

218-
background: #fff url('../img/select2.png') no-repeat 100% -22px;
219-
background: url('../img/select2.png') no-repeat 100% -22px;
218+
background: #fff url('#{$img-path}/select2.png') no-repeat 100% -22px;
219+
background: url('#{$img-path}/select2.png') no-repeat 100% -22px;
220220
}
221221

222222
.select2-drop.select2-drop-above .select2-search input {
223223
margin-top: 4px;
224224
}
225225

226226
.select2-search input.select2-active {
227-
background: #fff url('../img/select2-spinner.gif') no-repeat 100%;
228-
background: url('../img/select2-spinner.gif') no-repeat 100%;
227+
background: #fff url('#{$img-path}/select2-spinner.gif') no-repeat 100%;
228+
background: url('#{$img-path}/select2-spinner.gif') no-repeat 100%;
229229
}
230230

231231
.select2-container-active .select2-choice,
@@ -369,7 +369,7 @@ disabled look for disabled choices in the results dropdown
369369
}
370370

371371
.select2-more-results.select2-active {
372-
background: #f4f4f4 url('../img/select2-spinner.gif') no-repeat 100%;
372+
background: #f4f4f4 url('#{$img-path}/select2-spinner.gif') no-repeat 100%;
373373
}
374374

375375
.select2-more-results {
@@ -456,7 +456,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices li
456456
}
457457

458458
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
459-
background: #fff url('../img/select2-spinner.gif') no-repeat 100% !important;
459+
background: #fff url('#{$img-path}/select2-spinner.gif') no-repeat 100% !important;
460460
}
461461

462462
.select2-default {
@@ -512,7 +512,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
512512

513513
font-size: 1px;
514514
outline: none;
515-
background: url('../img/select2.png') right top no-repeat;
515+
background: url('#{$img-path}/select2.png') right top no-repeat;
516516
}
517517
html[dir="rtl"] .select2-search-choice-close {
518518
right: auto;
@@ -590,7 +590,7 @@ html[dir="rtl"] .select2-search-choice-close {
590590
.select2-search-choice-close,
591591
.select2-container .select2-choice abbr,
592592
.select2-container .select2-choice .select2-arrow b {
593-
background-image: url('../img/select2x2.png') !important;
593+
background-image: url('#{$img-path}/select2x2.png') !important;
594594
background-repeat: no-repeat !important;
595595
background-size: 60px 40px !important;
596596
}
@@ -607,7 +607,7 @@ html[dir="rtl"] .select2-search-choice-close {
607607
}
608608

609609
.form-control .select2-choice .select2-arrow {
610-
border-radius: 0 2px 2px 0;
610+
border-radius: 0 2px 2px 0;
611611
}
612612

613613
.form-control.select2-container {

admin/themes/default/sass/partials/_tinymce.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ i.mce-i-resize
12101210
opacity: .6
12111211
filter: alpha(opacity = 60)
12121212
zoom: 1
1213-
background: white url('img/loader.gif') no-repeat center center
1213+
background: white url('#{$img-path}/loader.gif') no-repeat center center
12141214

12151215
.mce-i-none
12161216
width: 16px

0 commit comments

Comments
 (0)