diff --git a/static/images/delete.gif b/client/galaxy/images/delete.gif similarity index 100% rename from static/images/delete.gif rename to client/galaxy/images/delete.gif diff --git a/static/images/star.gif b/client/galaxy/images/star.gif similarity index 100% rename from static/images/star.gif rename to client/galaxy/images/star.gif diff --git a/client/galaxy/style/jquery.rating.css b/client/galaxy/style/jquery.rating.css deleted file mode 100644 index aaf43e8d20a..00000000000 --- a/client/galaxy/style/jquery.rating.css +++ /dev/null @@ -1,12 +0,0 @@ -/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */ -div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden} -div.rating-cancel,div.rating-cancel a{background:url(../images/delete.gif) no-repeat 0 -16px} -div.star-rating,div.star-rating a{background:url(../images/star.gif) no-repeat 0 0px} -div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0} -div.star-rating-on a{background-position:0 -16px!important} -div.star-rating-hover a{background-position:0 -32px} -/* Read Only CSS */ -div.star-rating-readonly a{cursor:default !important} -/* Partial Star CSS */ -div.star-rating{background:transparent!important;overflow:hidden!important} -/* END jQuery.Rating Plugin CSS */ \ No newline at end of file diff --git a/client/galaxy/style/scss/base.scss b/client/galaxy/style/scss/base.scss index d00fe05d1c0..706e3cdf17a 100644 --- a/client/galaxy/style/scss/base.scss +++ b/client/galaxy/style/scss/base.scss @@ -16,8 +16,7 @@ $fa-font-path: "../../../node_modules/font-awesome/fonts/"; } @import "select2.scss"; -// TODO: import sub-styles here, for bundling? -// @import "jquery.rating.css"; +@import "jquery.rating.scss"; /* fix for zero width select2 - remove when fixed there */ .select2-minwidth { diff --git a/client/galaxy/style/scss/jquery.rating.scss b/client/galaxy/style/scss/jquery.rating.scss new file mode 100644 index 00000000000..c635ae429e0 --- /dev/null +++ b/client/galaxy/style/scss/jquery.rating.scss @@ -0,0 +1,44 @@ +/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */ +div.rating-cancel, +div.star-rating { + float: left; + width: 17px; + height: 15px; + text-indent: -999em; + cursor: pointer; + display: block; + background: transparent; + overflow: hidden; +} +div.rating-cancel, +div.rating-cancel a { + background: url(../../images/delete.gif) no-repeat 0 -16px; +} +div.star-rating, +div.star-rating a { + background: url(../../images/star.gif) no-repeat 0 0px; +} +div.rating-cancel a, +div.star-rating a { + display: block; + width: 16px; + height: 100%; + background-position: 0 0px; + border: 0; +} +div.star-rating-on a { + background-position: 0 -16px !important; +} +div.star-rating-hover a { + background-position: 0 -32px; +} +/* Read Only CSS */ +div.star-rating-readonly a { + cursor: default !important; +} +/* Partial Star CSS */ +div.star-rating { + background: transparent !important; + overflow: hidden !important; +} +/* END jQuery.Rating Plugin CSS */