From 4f981fb35cc94de9a7e3562483bbcfa51a6b33c6 Mon Sep 17 00:00:00 2001 From: Arne Zeising Date: Wed, 8 Jul 2015 14:44:19 +0200 Subject: [PATCH] Made jsoneditor.css to scss for asset pipeline Fixed a bug that caused the styles not to find the image sprite in production mode due to asset pipeline. --- .../{jsoneditor.css => jsoneditor.scss} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename vendor/assets/stylesheets/jsoneditor/{jsoneditor.css => jsoneditor.scss} (96%) diff --git a/vendor/assets/stylesheets/jsoneditor/jsoneditor.css b/vendor/assets/stylesheets/jsoneditor/jsoneditor.scss similarity index 96% rename from vendor/assets/stylesheets/jsoneditor/jsoneditor.css rename to vendor/assets/stylesheets/jsoneditor/jsoneditor.scss index f44cec9b..624c01ef 100644 --- a/vendor/assets/stylesheets/jsoneditor/jsoneditor.css +++ b/vendor/assets/stylesheets/jsoneditor/jsoneditor.scss @@ -33,12 +33,12 @@ } .jsoneditor .field.empty { - background-image: url("img/jsoneditor-icons.png"); + background-image: image-url("img/jsoneditor-icons.png"); background-position: 0 -144px; } .jsoneditor .value.empty { - background-image: url("img/jsoneditor-icons.png"); + background-image: image-url("img/jsoneditor-icons.png"); background-position: -48px -144px; } @@ -87,7 +87,7 @@ margin: 0; border: none; cursor: pointer; - background: transparent url("img/jsoneditor-icons.png"); + background: transparent image-url("img/jsoneditor-icons.png"); } .jsoneditor div.tree button.collapsed { @@ -182,7 +182,7 @@ } .jsoneditor div.tree button.dragarea { - background: url("img/jsoneditor-icons.png") -72px -72px; + background: image-url("img/jsoneditor-icons.png") -72px -72px; cursor: move; } @@ -280,7 +280,7 @@ border: none; padding: 0; margin: 0; - background-image: url("img/jsoneditor-icons.png"); + background-image: image-url("img/jsoneditor-icons.png"); } .jsoneditor-contextmenu ul li button div.expand { @@ -289,7 +289,7 @@ height: 24px; padding: 0; margin: 0 4px 0 0; - background: url("img/jsoneditor-icons.png") 0 -72px; + background: image-url("img/jsoneditor-icons.png") 0 -72px; opacity: 0.4; } @@ -463,7 +463,7 @@ padding: 0; border-radius: 2px; border: 1px solid #aec0f8; - background: #e3eaf6 url("img/jsoneditor-icons.png"); + background: #e3eaf6 image-url("img/jsoneditor-icons.png"); color: #4D4D4D; opacity: 0.8; font-family: arial, sans-serif; @@ -589,7 +589,7 @@ padding: 0; margin: 0; border: none; - background: url("img/jsoneditor-icons.png"); + background: image-url("img/jsoneditor-icons.png"); vertical-align: top; } @@ -619,4 +619,4 @@ .jsoneditor .search button.previous:hover { background-position: -148px -49px; -} \ No newline at end of file +}