From a08630c2da670d1d47fe32c821a098c6d71846e1 Mon Sep 17 00:00:00 2001 From: Alexandre Arias <apa13@inf.ufpr.br> Date: Fri, 2 Oct 2015 10:07:15 -0300 Subject: [PATCH] edit complaints popver style Signed-off-by: Alexandre Arias <apa13@inf.ufpr.br> --- app/assets/stylesheets/application.scss | 10 ++++++++++ app/views/learning_objects/_complaints_button.html.erb | 2 +- app/views/learning_objects/_complaints_form.html.erb | 6 ++++-- app/views/learning_objects/show.html.erb | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index db2bf47b..509b150c 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -69,6 +69,16 @@ a, a:focus, a:hover { } +.popover-title { + background-color: #2178f5; + align-content: center; + font-style: oblique; + font: bold; + font-size: 150%; + color: white; + +} + //// HEADER header { border: 0; diff --git a/app/views/learning_objects/_complaints_button.html.erb b/app/views/learning_objects/_complaints_button.html.erb index 33b19701..85b69967 100644 --- a/app/views/learning_objects/_complaints_button.html.erb +++ b/app/views/learning_objects/_complaints_button.html.erb @@ -1,4 +1,4 @@ -<button type="button" class="btn btn-default btn-xs add_to_complaint" data-toggle="button" aria-pressed="false" autocomplete="off" title="Denunciar Objeto"> +<button type="button" class="btn btn-default btn-xs add_to_complaint" data-toggle="button" aria-pressed="false" autocomplete="off" title="Denunciar Objeto" > <%= image_tag "icons/report-circle.png", alt: "Denunciar objeto" %> </button> diff --git a/app/views/learning_objects/_complaints_form.html.erb b/app/views/learning_objects/_complaints_form.html.erb index 185205de..d31d12c6 100644 --- a/app/views/learning_objects/_complaints_form.html.erb +++ b/app/views/learning_objects/_complaints_form.html.erb @@ -2,9 +2,11 @@ <%= form_tag(:action => "report_object", :method => "get") do %> <fieldset> -<!-- Exemplo com Radio button --> + <div class="ls-label " align="center"> - <p><b>Escolha a razão da denúncia:</b></p> + + <h4 class="ls-title-4"><p><b>Escolha a razão da denúncia:</b></p></h4> + <br><br> <div class="checkbox"> <input type="checkbox" name="message" > diff --git a/app/views/learning_objects/show.html.erb b/app/views/learning_objects/show.html.erb index 1fc280b1..fa1d7e4a 100644 --- a/app/views/learning_objects/show.html.erb +++ b/app/views/learning_objects/show.html.erb @@ -80,7 +80,7 @@ <div class="col-md-3 action"></div> <div class="col-md-3 action"> - + <%= render "learning_objects/complaints_button" %> <h6>denunciar objeto</h6> </div> -- GitLab