aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-02 12:23:40 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-02 12:23:40 +0200
commit5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace (patch)
treef9ed3cff1a837c6efc235b708e9eb7cd4389f017 /app/assets
parentf608dd53b256d320d749715ca15632eb27b9a97e (diff)
downloadhmnoweb-5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace.tar.gz
hmnoweb-5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace.tar.bz2
hmnoweb-5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace.zip
Use dashed asset helpers in stylesheets.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_header.scss2
-rw-r--r--app/assets/stylesheets/hmno_page.scss2
-rw-r--r--app/assets/stylesheets/hmno_sidebars.scss2
-rw-r--r--app/assets/stylesheets/refinery/blog/backend.css.scss28
-rw-r--r--app/assets/stylesheets/refinery/layout.css.scss76
5 files changed, 55 insertions, 55 deletions
diff --git a/app/assets/stylesheets/hmno_header.scss b/app/assets/stylesheets/hmno_header.scss
index 4f722fd..2fd2c93 100644
--- a/app/assets/stylesheets/hmno_header.scss
+++ b/app/assets/stylesheets/hmno_header.scss
@@ -18,7 +18,7 @@
#header {
background: {
color: $header-bg;
- image: image_url("header-metal-bg.jpg");
+ image: image-url("header-metal-bg.jpg");
repeat: repeat-y;
}
diff --git a/app/assets/stylesheets/hmno_page.scss b/app/assets/stylesheets/hmno_page.scss
index 476da14..46cdaee 100644
--- a/app/assets/stylesheets/hmno_page.scss
+++ b/app/assets/stylesheets/hmno_page.scss
@@ -41,7 +41,7 @@
footer {
background: {
color: $header-bg;
- image: image_url("header-metal-bg.jpg");
+ image: image-url("header-metal-bg.jpg");
repeat: no-repeat;
}
border-top: 1px solid $fg;
diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss
index c196ac2..ca1dcdd 100644
--- a/app/assets/stylesheets/hmno_sidebars.scss
+++ b/app/assets/stylesheets/hmno_sidebars.scss
@@ -21,7 +21,7 @@
color: $link-fg;
background: {
color: $header-bg;
- image: image_url("module-header-bg.jpg");
+ image: image-url("module-header-bg.jpg");
repeat: repeat;
}
}
diff --git a/app/assets/stylesheets/refinery/blog/backend.css.scss b/app/assets/stylesheets/refinery/blog/backend.css.scss
index 681159b..b2f674a 100644
--- a/app/assets/stylesheets/refinery/blog/backend.css.scss
+++ b/app/assets/stylesheets/refinery/blog/backend.css.scss
@@ -1,35 +1,35 @@
.comments_icon {
- background-image: image_url('refinery/blog/icons/comments.png');
+ background-image: image-url('refinery/blog/icons/comments.png');
}
.comment_icon {
- background-image: image_url('refinery/blog/icons/comment.png');
+ background-image: image-url('refinery/blog/icons/comment.png');
}
.comment_cross_icon {
- background-image: image_url('refinery/blog/icons/comment_cross.png');
+ background-image: image-url('refinery/blog/icons/comment_cross.png');
}
.comment_tick_icon {
- background-image: image_url('refinery/blog/icons/comment_tick.png');
+ background-image: image-url('refinery/blog/icons/comment_tick.png');
}
.folder_icon {
- background-image: image_url('refinery/blog/icons/folder.png');
+ background-image: image-url('refinery/blog/icons/folder.png');
}
.folder_add_icon {
- background-image: image_url('refinery/blog/icons/folder_add.png');
+ background-image: image-url('refinery/blog/icons/folder_add.png');
}
.folder_edit_icon {
- background-image: image_url('refinery/blog/icons/folder_edit.png');
+ background-image: image-url('refinery/blog/icons/folder_edit.png');
}
.settings_icon {
- background-image: image_url('refinery/blog/icons/cog.png');
+ background-image: image-url('refinery/blog/icons/cog.png');
}
.page_icon {
- background-image: image_url('refinery/blog/icons/page.png');
+ background-image: image-url('refinery/blog/icons/page.png');
}
.page_copy_icon {
- background-image: image_url('refinery/blog/icons/page_copy.png');
+ background-image: image-url('refinery/blog/icons/page_copy.png');
}
.page_add_icon {
- background-image: image_url('refinery/blog/icons/page_add.png');
+ background-image: image-url('refinery/blog/icons/page_add.png');
}
ul.collapsible_menu li {
position: relative;
@@ -44,10 +44,10 @@ ul.collapsible_menu li span.arrow {
cursor: pointer;
}
ul.collapsible_menu li span.arrow {
- background-image: image_url('refinery/blog/icons/up.gif');
+ background-image: image-url('refinery/blog/icons/up.gif');
}
ul.collapsible_menu li.closed span.arrow {
- background-image: image_url('refinery/blog/icons/down.gif');
+ background-image: image-url('refinery/blog/icons/down.gif');
}
ul.collapsible_menu > div {
width: 93%;
@@ -64,7 +64,7 @@ ul.blog_categories, ul.blog_categories li {
margin:5px 0;
}
a#copy_body_link {
- background: image_url('refinery/blog/icons/add.png') no-repeat scroll 0 6px transparent;
+ background: image-url('refinery/blog/icons/add.png') no-repeat scroll 0 6px transparent;
border-bottom: 0 none;
display: inline;
line-height: 29px;
diff --git a/app/assets/stylesheets/refinery/layout.css.scss b/app/assets/stylesheets/refinery/layout.css.scss
index 19670da..39d8a33 100644
--- a/app/assets/stylesheets/refinery/layout.css.scss
+++ b/app/assets/stylesheets/refinery/layout.css.scss
@@ -38,7 +38,7 @@ body {
font-size: 10px;
font-family: Verdana;
line-height: 1.5em;
- background: #303030 image_url('refinery/page_bg.png') repeat;
+ background: #303030 image-url('refinery/page_bg.png') repeat;
}
acronym {
cursor: help;
@@ -133,7 +133,7 @@ hr {
}
}
.errorExplanation {
- background: 7px 10px no-repeat image_url('refinery/icons/cancel.png') #FFB1B1;
+ background: 7px 10px no-repeat image-url('refinery/icons/cancel.png') #FFB1B1;
padding: 0px 5px 5px 30px;
font-weight: bold;
margin-top: 5px;
@@ -163,7 +163,7 @@ hr {
.flash_notice, .flash_message {
border: 1px solid #00A017;
color: #00A017;
- background: 7px 7px no-repeat image_url('refinery/icons/accept.png') #E0F5E0;
+ background: 7px 7px no-repeat image-url('refinery/icons/accept.png') #E0F5E0;
}
.flash_notice, .flash_notice * {
color: #00A017;
@@ -171,7 +171,7 @@ hr {
.flash_error, .flash_alert {
border: 1px solid #A00027;
color: #A00027;
- background: 7px 7px no-repeat image_url('refinery/icons/cancel.png') #FFB1B1;
+ background: 7px 7px no-repeat image-url('refinery/icons/cancel.png') #FFB1B1;
}
.flash.flash_notice #flash_close, .flash.flash_error #flash_close, .flash.flash_alert #flash_close {
text-transform: lowercase;
@@ -427,7 +427,7 @@ header {
display: block;
padding: 9px 13px;
font-size: 13px;
- background: image_url('refinery/nav_inactive_background.png') transparent repeat;
+ background: image-url('refinery/nav_inactive_background.png') transparent repeat;
margin-top:4px;
color: white;
font-weight: normal;
@@ -546,7 +546,7 @@ pre {
width: 100%;
}
#pagination ul a:hover, #pagination .on {
- background: image_url('refinery/hover-gradient.jpg') repeat-x bottom #D4D4C6;
+ background: image-url('refinery/hover-gradient.jpg') repeat-x bottom #D4D4C6;
}
#records.tree ul li ul, .tree ul li ul {
padding: 0;
@@ -554,19 +554,19 @@ pre {
#records.tree ul li, .tree ul li {
margin: 0px;
padding: 4px 0 0 40px;
- background: image_url('refinery/branch.gif') no-repeat 15px 0px;
+ background: image-url('refinery/branch.gif') no-repeat 15px 0px;
}
#records.tree li.record ul {
margin-left: 0;
}
#records.tree .on-hover, #pagination ul.tree a:hover, #pagination .tree .on {
- background: image_url('refinery/branch.gif') no-repeat 15px 0px;
+ background: image-url('refinery/branch.gif') no-repeat 15px 0px;
}
#records.tree ul li.branch_start, .tree ul li.branch_start {
- background-image: image_url('refinery/branch-start.gif');
+ background-image: image-url('refinery/branch-start.gif');
}
#records.tree ul li.branch_end, .tree ul li.branch_end {
- background-image: image_url('refinery/branch-end.gif');
+ background-image: image-url('refinery/branch-end.gif');
}
#records.tree li {
line-height: 25px;
@@ -674,32 +674,32 @@ label.stripped {
min-height:16px;
background-repeat:no-repeat;
background-position:left;
- background-image: image_url('refinery/icons/folder_page_white.png');
+ background-image: image-url('refinery/icons/folder_page_white.png');
}
#dialog_main #resource_file_area .pages_list ul li a.page_link{
background-position:5px center;
display:block;
}
#records.files .record .title.pdf, #dialog_main #resource_file_area .pages_list ul li a.page_link.pdf {
- background-image: image_url('refinery/icons/pdf.png');
+ background-image: image-url('refinery/icons/pdf.png');
}
#records.files .record .title.jpg, #records.files .record .title.gif, #records.files .record .title.jpeg, #records.files .record .title.png, #records.files .record .title.tiff, #dialog_main #resource_file_area .pages_list ul li a.page_link.jpg, #dialog_main #resource_file_area .pages_list ul li a.page_link.jpeg, #dialog_main #resource_file_area .pages_list ul li a.page_link.gif, #dialog_main #resource_file_area .pages_list ul li a.page_link.png, #dialog_main #resource_file_area .pages_list ul li a.page_link.tiff {
- background-image: image_url('refinery/icons/img.png');
+ background-image: image-url('refinery/icons/img.png');
}
#records.files .record .title.doc, #records.files .record .title.pages, #records.files .record .title.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.doc, #dialog_main #resource_file_area .pages_list ul li a.page_link.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.pages {
- background-image: image_url('refinery/icons/doc.png');
+ background-image: image-url('refinery/icons/doc.png');
}
#records.files .record .title.ppt, #records.files .record .title.keynote, #dialog_main #resource_file_area .pages_list ul li a.page_link.ppt, #dialog_main #resource_file_area .pages_list ul li a.page_link.keynote {
- background-image: image_url('refinery/icons/ppt.png');
+ background-image: image-url('refinery/icons/ppt.png');
}
#records.files .record .title.xls, #records.files .record .title.numbers, #dialog_main #resource_file_area .pages_list ul li a.page_link.xls, #dialog_main #resource_file_area .pages_list ul li a.page_link.numbers {
- background-image: image_url('refinery/icons/xls.png');
+ background-image: image-url('refinery/icons/xls.png');
}
#records.files .record .title.zip, #records.files .record .title.rar, #dialog_main #resource_file_area .pages_list ul li a.page_link.zip, #dialog_main #resource_file_area .pages_list ul li a.page_link.rar {
- background-image: image_url('refinery/icons/zip.png');
+ background-image: image-url('refinery/icons/zip.png');
}
#records.files .record .title.mp3, #records.files .record .title.wav, #records.files .record .title.aiff, #records.files .record .title.m4a, #dialog_main #resource_file_area .pages_list ul li a.page_link.mp3, #dialog_main #resource_file_area .pages_list ul li a.page_link.wav, #dialog_main #resource_file_area .pages_list ul li a.page_link.aiff, #dialog_main #resource_file_area .pages_list ul li a.page_link.m4a {
- background-image: image_url('refinery/icons/music.png');
+ background-image: image-url('refinery/icons/music.png');
}
#records .actions {
position: absolute;
@@ -746,18 +746,18 @@ label.stripped {
width: 16px;
height: 16px;
margin: 3px 3px 0 0;
- background: image_url('refinery/icons/page.png') center center no-repeat;
+ background: image-url('refinery/icons/page.png') center center no-repeat;
&.toggle {
cursor: pointer;
- background-image: image_url('refinery/icons/folder.png');
+ background-image: image-url('refinery/icons/folder.png');
}
&.toggle.expanded {
- background-image: image_url('refinery/icons/folder_open.png');
+ background-image: image-url('refinery/icons/folder_open.png');
}
}
#records.tree li.loading > div > span.icon {
- background-image: image_url('refinery/icons/ajax-loader.gif') !important;
+ background-image: image-url('refinery/icons/ajax-loader.gif') !important;
}
#image_grid .actions a img {
padding: 4px 4px 1px 4px;
@@ -977,7 +977,7 @@ body.dialog form {
.pages_list .linked a, .pages_list .linked a:hover {
border: 1px solid #00A017;
color: #00A017;
- background: 7px 7px no-repeat image_url('refinery/icons/accept.png') #E0F5E0;
+ background: 7px 7px no-repeat image-url('refinery/icons/accept.png') #E0F5E0;
}
.pages_list .linked a em {
color: #00A017;
@@ -1051,20 +1051,20 @@ a img {
border: 0px none;
}
/* icons */
-.add_icon { background-image: image_url('refinery/icons/add.png'); }
-.delete_icon { background-image: image_url('refinery/icons/delete.png'); }
-.edit_icon { background-image: image_url('refinery/icons/application_edit.png'); }
-.reorder_icon { background-image: image_url('refinery/icons/arrow_switch.png'); }
-.reorder_icon.loading { background-image:image_url('refinery/icons/ajax-loader.gif'); }
-.user_comment_icon { background-image: image_url('refinery/icons/user_comment.png'); }
-.edit_email_icon { background-image: image_url('refinery/icons/email_edit.png'); }
-.spam_icon { background-image: image_url('refinery/icons/bin.png'); }
-.spam_empty_icon { background-image: image_url('refinery/icons/bin_closed.png'); }
-.email_icon { background-image: image_url('refinery/icons/email.png'); }
-.back_icon { background-image: image_url('refinery/icons/arrow_left.png'); }
-.go_icon { background-image: image_url('refinery/icons/application_go.png'); }
-.success_icon { background-image: image_url('refinery/icons/tick.png'); padding: 0px 8px; }
-.failure_icon { background-image: image_url('refinery/icons/cross.png'); padding: 0px 8px; }
+.add_icon { background-image: image-url('refinery/icons/add.png'); }
+.delete_icon { background-image: image-url('refinery/icons/delete.png'); }
+.edit_icon { background-image: image-url('refinery/icons/application_edit.png'); }
+.reorder_icon { background-image: image-url('refinery/icons/arrow_switch.png'); }
+.reorder_icon.loading { background-image:image-url('refinery/icons/ajax-loader.gif'); }
+.user_comment_icon { background-image: image-url('refinery/icons/user_comment.png'); }
+.edit_email_icon { background-image: image-url('refinery/icons/email_edit.png'); }
+.spam_icon { background-image: image-url('refinery/icons/bin.png'); }
+.spam_empty_icon { background-image: image-url('refinery/icons/bin_closed.png'); }
+.email_icon { background-image: image-url('refinery/icons/email.png'); }
+.back_icon { background-image: image-url('refinery/icons/arrow_left.png'); }
+.go_icon { background-image: image-url('refinery/icons/application_go.png'); }
+.success_icon { background-image: image-url('refinery/icons/tick.png'); padding: 0px 8px; }
+.failure_icon { background-image: image-url('refinery/icons/cross.png'); padding: 0px 8px; }
/* page parts */
ul#page_parts {
float: left;
@@ -1102,7 +1102,7 @@ ul#page_parts_controls img {
clear:left;
}
a#toggle_advanced_options {
- background: image_url('refinery/icons/page_white_gear.png') no-repeat 0px 3px;
+ background: image-url('refinery/icons/page_white_gear.png') no-repeat 0px 3px;
padding: 5px 5px 5px 22px;
border-bottom: none;
}