Commit 7940321afcba8b2a1d66491dc93ed56d95cd3abb

Authored by Fernando Brito
1 parent 9002215d
Exists in master and in 2 other branches v2, wikilibras

CSS deploy hacks

app/assets/stylesheets/bootstrap.css.less
@@ -7,8 +7,8 @@ body { @@ -7,8 +7,8 @@ body {
7 @import "twitter/bootstrap/responsive"; 7 @import "twitter/bootstrap/responsive";
8 @import "twitter/bootstrap/sprites"; 8 @import "twitter/bootstrap/sprites";
9 9
10 -@iconSpritePath: url("twitter/bootstrap/glyphicons-halflings.png");  
11 -@iconWhiteSpritePath: url("twitter/bootstrap/glyphicons-halflings-white.png"); 10 +@iconSpritePath: url("/images/glyphicons-halflings.png");
  11 +@iconWhiteSpritePath: url("/images/glyphicons-halflings-white.png");
12 12
13 @navbarBackground: #DDD; 13 @navbarBackground: #DDD;
14 @navbarBackgroundHighlight: #DDD; 14 @navbarBackgroundHighlight: #DDD;
app/views/v_libras/videos/index.haml
@@ -15,13 +15,15 @@ @@ -15,13 +15,15 @@
15 - unless video.seen 15 - unless video.seen
16 .ribbon-green Novo 16 .ribbon-green Novo
17 17
18 - %p  
19 - = link_to video.url_mp4, class: "btn btn-success" do  
20 - = content_tag(:span, '', :class => 'icon-download icon-white')  
21 - Baixar  
22 -  
23 - = link_to content_tag(:span, '', :class => 'icon-trash icon-white'), v_libras_video_path(video), method: :delete,  
24 - class: "btn btn-danger", data: { confirm: t('shared.confirm_delete') } 18 + %div
  19 + %span
  20 + = link_to video.url_mp4, class: "btn btn-success" do
  21 + = content_tag(:span, '', :class => 'icon-download icon-white')
  22 + Baixar
  23 +
  24 + %span
  25 + = link_to content_tag(:span, '', :class => 'icon-trash icon-white'), v_libras_video_path(video), method: :delete,
  26 + class: "btn btn-danger", data: { confirm: t('shared.confirm_delete') }
25 27
26 28
27 - if @requests.any? 29 - if @requests.any?
public/images/glyphicons-halflings-white.png 0 → 100644

8.57 KB

public/images/glyphicons-halflings.png 0 → 100644

12.5 KB