Improves styles for admin buttons and selects
This commit is contained in:
@@ -47,6 +47,10 @@ body.admin {
|
||||
.is-featured {
|
||||
margin-top: rem-calc(36);
|
||||
}
|
||||
|
||||
.select-order {
|
||||
min-width: rem-calc(160);
|
||||
}
|
||||
}
|
||||
|
||||
// 02. Sidebar
|
||||
@@ -201,12 +205,16 @@ body.admin {
|
||||
|
||||
.button.tiny.success {
|
||||
margin-left: rem-calc(12);
|
||||
|
||||
&.no-margin {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.moderation-description {
|
||||
max-height: rem-calc(65);
|
||||
overflow: hidden;
|
||||
max-width: rem-calc(750);
|
||||
max-width: rem-calc(590);
|
||||
|
||||
&:hover {
|
||||
cursor: text;
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
restore_admin_debate_path(debate, request.query_parameters),
|
||||
method: :put,
|
||||
data: { confirm: t("admin.actions.confirm") },
|
||||
class: "button radius tiny success right" %>
|
||||
|
||||
class: "button radius tiny success no-margin" %>
|
||||
</td>
|
||||
<td>
|
||||
<% unless debate.confirmed_hide? %>
|
||||
<%= link_to t("admin.actions.confirm_hide"),
|
||||
confirm_hide_admin_debate_path(debate, request.query_parameters),
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
restore_admin_proposal_path(proposal, request.query_parameters),
|
||||
method: :put,
|
||||
data: { confirm: t("admin.actions.confirm") },
|
||||
class: "button radius tiny success right" %>
|
||||
|
||||
class: "button radius tiny success no-margin" %>
|
||||
</td>
|
||||
<td>
|
||||
<% unless proposal.confirmed_hide? %>
|
||||
<%= link_to t("admin.actions.confirm_hide"),
|
||||
confirm_hide_admin_proposal_path(proposal, request.query_parameters),
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<%= form_tag moderate_moderation_debates_path(request.query_parameters), method: :put do %>
|
||||
<p class="right js-check">
|
||||
<p class="left js-check">
|
||||
<%= t('shared.check') %>:
|
||||
<%= link_to t('shared.check_all'), '#', data: {check_all: "debate_ids[]"} %>
|
||||
|
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<%= form_tag moderate_moderation_proposals_path(request.query_parameters), method: :put do %>
|
||||
<p class="right js-check">
|
||||
<p class="left js-check">
|
||||
<%= t('shared.check') %>:
|
||||
<%= link_to t('shared.check_all'), '#', data: {check_all: "proposal_ids[]"} %>
|
||||
|
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%>
|
||||
|
||||
<form class="inline-block">
|
||||
<select class="js-location-changer js-order-selector" data-order="<%= @current_order %>" name="order-selector">
|
||||
<select class="js-location-changer js-order-selector select-order" data-order="<%= @current_order %>" name="order-selector">
|
||||
<% @valid_orders.each do |order| %>
|
||||
<option <%= 'selected' if order == @current_order %>
|
||||
value='<%= current_path_with_query_params(order: order, page: 1) %>'>
|
||||
|
||||
Reference in New Issue
Block a user