full_height_layout.diff

Bernhard Rohloff, 2019-08-27 13:06

Download (2.02 KB)

View differences:

app/views/layouts/base.html.erb (working copy)
112 112
        <div style="clear:both;"></div>
113 113
    </div>
114 114
</div>
115
<div id="footer">
116
    Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2019 Jean-Philippe Lang
115 117
</div>
118
</div>
116 119

  
117 120
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
118 121
<div id="ajax-modal" style="display:none;"></div>
119 122

  
120
<div id="footer">
121
    Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2019 Jean-Philippe Lang
122 123
</div>
123 124
</div>
124
</div>
125 125
<%= call_hook :view_layouts_base_body_bottom %>
126 126
</body>
127 127
</html>
public/stylesheets/application.css (working copy)
1
html, body { min-height: 100vh; }
1 2
html {overflow-y:scroll;}
2 3
body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
3 4

  
......
10 11
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
11 12

  
12 13
/***** Layout *****/
14
div[id^="wrapper"] { min-height: inherit; }
13 15
#wrapper {background: white;overflow: hidden;}
16
#wrapper3 { display: flex; flex-direction: column; }
14 17

  
15 18
#top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
16 19
#top-menu ul {margin: 0;  padding: 0;}
......
80 83
#admin-menu ul {margin: 0;  padding: 0;}
81 84
#admin-menu li {margin: 0;  padding: 0 0 6px 0; list-style-type:none;}
82 85

  
83
#main {display: flex; flex-direction: row-reverse;}
86
#main {flex-grow: 2; display: flex; flex-direction: row-reverse;}
84 87

  
85 88
#sidebar{ flex-shrink: 0; width: 22%; padding-left: 20px; background: #EEEEEE; border-left: 1px solid #ddd}
86 89
#sidebar h3{ font-size: 14px; margin-top:14px; color: #666;  }