Skip to content
Snippets Groups Projects
Commit f3f8cb67 authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Removed grey background from logged out message in learning object view and added info icon

parent 80182af0
No related branches found
No related tags found
No related merge requests found
...@@ -142,12 +142,23 @@ $checked_icon: 'icons/checked.png'; ...@@ -142,12 +142,23 @@ $checked_icon: 'icons/checked.png';
white-space: nowrap; white-space: nowrap;
} }
.rating-panel { .rating-panel {
background-color: $background-grey;
width: 100%; width: 100%;
height: 100px; height: 100px;
padding: 10px; padding-top: 60px;
padding-left: 20px;
padding-right: 20px; h4{
position: relative;
padding-left: 40px;
}
h4:after{
content: '\f05a';
font-family: fontAwesome;
font-size: 2em;
color: #FFC300;
position: absolute;
left: 0;
top: 0;
}
.rating { .rating {
text-align: right; text-align: right;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="rating-panel"> <div class="rating-panel">
<% if user_signed_in? %> <% if user_signed_in? %>
<div class="actions"> <div class="actions">
<div class="col-sm-3 action"> <div class="col-sm-2 action">
<%= link_to like_learning_object_path(id: @learning_object.id), class: 'vote',method: :post, remote: true do %> <%= link_to like_learning_object_path(id: @learning_object.id), class: 'vote',method: :post, remote: true do %>
<% if @liked %> <% if @liked %>
<%= image_tag "icons/Curtir_02.png", alt: "Descurtir" %> <%= image_tag "icons/Curtir_02.png", alt: "Descurtir" %>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<div class="col-sm-2 action"> <div class="col-sm-2 action">
<%= render 'complaints/complaints_button' %> <%= render 'complaints/complaints_button' %>
</div> </div>
<div class="col-sm-3 action"> <div class="col-sm-2 action">
<a tabindex="1" role="button" title="Compartilhar" data-toggle="modal" data-target="#share_modal"> <a tabindex="1" role="button" title="Compartilhar" data-toggle="modal" data-target="#share_modal">
<%= image_tag "icons/collection-add.png", alt: "Compartilhar" %> <%= image_tag "icons/collection-add.png", alt: "Compartilhar" %>
<h6>Compartilhar</h6> <h6>Compartilhar</h6>
...@@ -80,7 +80,6 @@ ...@@ -80,7 +80,6 @@
</div> </div>
</div> </div>
<% else %> <% else %>
<br/>
<h4>Logue-se para poder curtir, adicionar o objeto em uma coleção, baixar o counteúdo ou denunciar.</h4> <h4>Logue-se para poder curtir, adicionar o objeto em uma coleção, baixar o counteúdo ou denunciar.</h4>
<% end %> <% end %>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment