1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2017-06-25 15:16:42 +00:00
parent 136dab8ad6
commit cb285aeec1
2 changed files with 5 additions and 4 deletions

View File

@ -12,12 +12,12 @@
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
<p style="float:right;">
<%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
</p>
</div>
<p class="contextual">
<%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
</p>
<p class="buttons">
<%= label_tag('month', l(:label_month)) %>
<%= select_month(@month, :prefix => "month", :discard_type => true) %>

View File

@ -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;