From 7940321afcba8b2a1d66491dc93ed56d95cd3abb Mon Sep 17 00:00:00 2001 From: Fernando Brito Date: Wed, 4 Jun 2014 01:52:03 -0300 Subject: [PATCH] CSS deploy hacks --- app/assets/stylesheets/bootstrap.css.less | 4 ++-- app/views/v_libras/videos/index.haml | 16 +++++++++------- public/images/glyphicons-halflings-white.png | Bin 0 -> 8777 bytes public/images/glyphicons-halflings.png | Bin 0 -> 12799 bytes 4 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 public/images/glyphicons-halflings-white.png create mode 100644 public/images/glyphicons-halflings.png diff --git a/app/assets/stylesheets/bootstrap.css.less b/app/assets/stylesheets/bootstrap.css.less index 67d84eb..869d7bf 100644 --- a/app/assets/stylesheets/bootstrap.css.less +++ b/app/assets/stylesheets/bootstrap.css.less @@ -7,8 +7,8 @@ body { @import "twitter/bootstrap/responsive"; @import "twitter/bootstrap/sprites"; -@iconSpritePath: url("twitter/bootstrap/glyphicons-halflings.png"); -@iconWhiteSpritePath: url("twitter/bootstrap/glyphicons-halflings-white.png"); +@iconSpritePath: url("/images/glyphicons-halflings.png"); +@iconWhiteSpritePath: url("/images/glyphicons-halflings-white.png"); @navbarBackground: #DDD; @navbarBackgroundHighlight: #DDD; diff --git a/app/views/v_libras/videos/index.haml b/app/views/v_libras/videos/index.haml index eac2ee1..9b04a0c 100644 --- a/app/views/v_libras/videos/index.haml +++ b/app/views/v_libras/videos/index.haml @@ -15,13 +15,15 @@ - unless video.seen .ribbon-green Novo - %p - = link_to video.url_mp4, class: "btn btn-success" do - = content_tag(:span, '', :class => 'icon-download icon-white') - Baixar - - = link_to content_tag(:span, '', :class => 'icon-trash icon-white'), v_libras_video_path(video), method: :delete, - class: "btn btn-danger", data: { confirm: t('shared.confirm_delete') } + %div + %span + = link_to video.url_mp4, class: "btn btn-success" do + = content_tag(:span, '', :class => 'icon-download icon-white') + Baixar + + %span + = link_to content_tag(:span, '', :class => 'icon-trash icon-white'), v_libras_video_path(video), method: :delete, + class: "btn btn-danger", data: { confirm: t('shared.confirm_delete') } - if @requests.any? diff --git a/public/images/glyphicons-halflings-white.png b/public/images/glyphicons-halflings-white.png new file mode 100644 index 0000000..3bf6484 Binary files /dev/null and b/public/images/glyphicons-halflings-white.png differ diff --git a/public/images/glyphicons-halflings.png b/public/images/glyphicons-halflings.png new file mode 100644 index 0000000..a996999 Binary files /dev/null and b/public/images/glyphicons-halflings.png differ -- libgit2 0.21.2