Skip to content

Commit 593fa6e

Browse files
committed
use sass helpers for image-url instead of erb
1 parent 9de5eae commit 593fa6e

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed
File renamed without changes.

app/assets/stylesheets/recurring_select.css.scss.erb renamed to app/assets/stylesheets/recurring_select.css.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ select {
3333
display:inline-block; min-width:200px; margin-left:-125px; overflow:hidden; position:relative;
3434
.rs_dialog_content { padding:10px;
3535
h1 { font-size:16px; padding:0px; margin:0 0 10px 0;
36-
a {float:right; display:inline-block; height:16px; width:16px; background-image:url(<%=asset_path "recurring_select/cancel.png"%>); background-position:center; background-repeat:no-repeat;}
36+
a {float:right; display:inline-block; height:16px; width:16px; background-image:image-url("recurring_select/cancel.png"); background-position:center; background-repeat:no-repeat;}
3737
}
3838

3939
p { padding:5px 0; margin:0; line-height: 14px;
@@ -80,7 +80,7 @@ select {
8080
.rs_summary { padding:0px; margin-top:15px; border-top:1px solid #ccc;
8181
span {font-weight:bold; border-top:1px solid #fff; display:block; padding:10px 0 5px 0;}
8282
&.fetching {color:#999;
83-
span {background-image:url(<%=asset_path "recurring_select/throbber_13x13.gif" %>); background-position:center; background-repeat:no-repeat; display:inline-block; height:13px; width:13px; margin-top:-4px; padding-right:5px;}
83+
span {background-image:image-url("recurring_select/throbber_13x13.gif"); background-position:center; background-repeat:no-repeat; display:inline-block; height:13px; width:13px; margin-top:-4px; padding-right:5px;}
8484
}
8585
label {font-weight:normal;}
8686
}

spec/dummy/app/assets/stylesheets/application.css renamed to spec/dummy/app/assets/stylesheets/application.css.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* the top of the compiled file, but it's generally better to create a new file per style scope.
55
*= require_self
66
*= require recurring_select
7-
*= require_tree .
87
*/
98

109

spec/dummy/app/assets/stylesheets/sample.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)