From cb285aeec1c94870c5d3f073bc2c3dc300c78a45 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 25 Jun 2017 15:16:42 +0000 Subject: [PATCH] Unify query_form structure on calendar/gantt views (#26125). This: * moves the p with inline style on the calendar view (which wraps the navigation buttons) out of div#query_form_content and adds the contextual class to the element to unify this with the gantt view (and to remove the inline style from the element now that it's styled through a stylesheets' style [.contextual in fact]); * restores the 12px font-size of the calendar navigation buttons; * increases the font-size of the gantt zoom buttons to 12px; * increases the margin of the calendar navigation and gantt zoom buttons to 12px 0px. Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16703 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/calendars/show.html.erb | 8 ++++---- public/stylesheets/application.css | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb index e0ea4b0a6..060789b18 100644 --- a/app/views/calendars/show.html.erb +++ b/app/views/calendars/show.html.erb @@ -12,12 +12,12 @@ <%= render :partial => 'queries/filters', :locals => {:query => @query} %> - -

- <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %> -

+

+ <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %> +

+

<%= label_tag('month', l(:label_month)) %> <%= select_month(@month, :prefix => "month", :discard_type => true) %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 97108c5eb..52673c39c 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -365,6 +365,7 @@ div.table-list.boards .table-list-cell.name {width: 30%;} table.messages td.last_message {text-align:left;} #query_form_content {font-size:90%;} +#query_form_with_buttons > p.contextual {font-size:12px; margin:12px 0px;} .query_sort_criteria_count { display: inline-block; -- 2.39.5