Commit ee5bb998a90afdc08fe35f6624c515a9188f1f41
1 parent
f43f3589
Exists in
master
and in
1 other branch
Changed image links in css files to use relative urls
Showing
3 changed files
with
13 additions
and
13 deletions
Show diff stats
app/assets/stylesheets/issue_tracker_icons.css.erb
@@ -3,16 +3,16 @@ | @@ -3,16 +3,16 @@ | ||
3 | 3 | ||
4 | <% trackers.each do |tracker| %> | 4 | <% trackers.each do |tracker| %> |
5 | div.issue_tracker.nested label.<%= tracker %> { | 5 | div.issue_tracker.nested label.<%= tracker %> { |
6 | - background: url(/assets/<%= tracker %>_inactive.png) no-repeat; | 6 | + background: url(<%= tracker %>_inactive.png) no-repeat; |
7 | } | 7 | } |
8 | div.issue_tracker.nested label.r_on.<%= tracker %> { | 8 | div.issue_tracker.nested label.r_on.<%= tracker %> { |
9 | - background: url(/assets/<%= tracker %>_create.png) no-repeat; | 9 | + background: url(<%= tracker %>_create.png) no-repeat; |
10 | } | 10 | } |
11 | #action-bar a.<%= tracker %>_create { | 11 | #action-bar a.<%= tracker %>_create { |
12 | - background: transparent url(/assets/<%= tracker %>_create.png) 6px 5px no-repeat; | 12 | + background: transparent url(<%= tracker %>_create.png) 6px 5px no-repeat; |
13 | } | 13 | } |
14 | #action-bar a.<%= tracker %>_goto { | 14 | #action-bar a.<%= tracker %>_goto { |
15 | - background: transparent url(/assets/<%= tracker %>_goto.png) 6px 5px no-repeat; | 15 | + background: transparent url(<%= tracker %>_goto.png) 6px 5px no-repeat; |
16 | } | 16 | } |
17 | <% end %> | 17 | <% end %> |
18 | 18 |
app/assets/stylesheets/jquery.alerts.css
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | text-align: center; | 17 | text-align: center; |
18 | line-height: 1.75em; | 18 | line-height: 1.75em; |
19 | color: #666; | 19 | color: #666; |
20 | - background: #CCC url(/images/alerts/title.gif) top repeat-x; | 20 | + background: #CCC url(alerts/title.gif) top repeat-x; |
21 | border: solid 1px #FFF; | 21 | border: solid 1px #FFF; |
22 | border-bottom: solid 1px #999; | 22 | border-bottom: solid 1px #999; |
23 | cursor: default; | 23 | cursor: default; |
@@ -26,21 +26,21 @@ | @@ -26,21 +26,21 @@ | ||
26 | } | 26 | } |
27 | 27 | ||
28 | #popup_content { | 28 | #popup_content { |
29 | - background: 16px 16px no-repeat url(/images/alerts/info.gif); | 29 | + background: 16px 16px no-repeat url(alerts/info.gif); |
30 | padding: 1em 1.75em; | 30 | padding: 1em 1.75em; |
31 | margin: 0em; | 31 | margin: 0em; |
32 | } | 32 | } |
33 | 33 | ||
34 | #popup_content.alert { | 34 | #popup_content.alert { |
35 | - background-image: url(/images/alerts/info.gif); | 35 | + background-image: url(alerts/info.gif); |
36 | } | 36 | } |
37 | 37 | ||
38 | #popup_content.confirm { | 38 | #popup_content.confirm { |
39 | - background-image: url(/images/alerts/important.gif); | 39 | + background-image: url(alerts/important.gif); |
40 | } | 40 | } |
41 | 41 | ||
42 | #popup_content.prompt { | 42 | #popup_content.prompt { |
43 | - background-image: url(/images/alerts/help.gif); | 43 | + background-image: url(alerts/help.gif); |
44 | } | 44 | } |
45 | 45 | ||
46 | #popup_message { | 46 | #popup_message { |
app/assets/stylesheets/notification_service_icons.css.erb
@@ -3,16 +3,16 @@ | @@ -3,16 +3,16 @@ | ||
3 | 3 | ||
4 | <% notification_services.each do |notification_service| %> | 4 | <% notification_services.each do |notification_service| %> |
5 | div.notification_service.nested label.<%= notification_service %> { | 5 | div.notification_service.nested label.<%= notification_service %> { |
6 | - background: url(/assets/<%= notification_service %>_inactive.png) no-repeat; | 6 | + background: url(<%= notification_service %>_inactive.png) no-repeat; |
7 | } | 7 | } |
8 | div.notification_service.nested label.r_on.<%= notification_service %> { | 8 | div.notification_service.nested label.r_on.<%= notification_service %> { |
9 | - background: url(/assets/<%= notification_service %>_create.png) no-repeat; | 9 | + background: url(<%= notification_service %>_create.png) no-repeat; |
10 | } | 10 | } |
11 | #action-bar a.<%= notification_service %>_create { | 11 | #action-bar a.<%= notification_service %>_create { |
12 | - background: transparent url(/assets/<%= notification_service %>_create.png) 6px 5px no-repeat; | 12 | + background: transparent url(<%= notification_service %>_create.png) 6px 5px no-repeat; |
13 | } | 13 | } |
14 | #action-bar a.<%= notification_service %>_goto { | 14 | #action-bar a.<%= notification_service %>_goto { |
15 | - background: transparent url(/assets/<%= notification_service %>_goto.png) 6px 5px no-repeat; | 15 | + background: transparent url(<%= notification_service %>_goto.png) 6px 5px no-repeat; |
16 | } | 16 | } |
17 | <% end %> | 17 | <% end %> |
18 | 18 |