.attr('class', 'control-key');
var button = $('<a>')
- .attr('class', 'control-button')
+ .attr('class', 'control-button mobile-hide')
.attr('href', '#')
.html('<span class="icon key"></span>')
.on('click', toggle)
.attr('class', 'control-layers');
var button = $('<a>')
- .attr('class', 'control-button')
+ .attr('class', 'control-button mobile-hide')
.attr('href', '#')
.attr('title', I18n.t('javascripts.map.layers.title'))
.html('<span class="icon layers"></span>')
.attr('class', 'control-share');
var button = $('<a>')
- .attr('class', 'control-button')
+ .attr('class', 'control-button mobile-hide')
.attr('href', '#')
.attr('title', I18n.t('javascripts.share.title'))
.html('<span class="icon share"></span>')
/* Rules for the header */
#menu-icon {
- display: none;
+ display: none !important;
float: right;
background: url("/assets/menu-icon.png") no-repeat;
background-size: 30px 30px;
header {
height: $headerHeight;
position: relative;
- // border-bottom: $keyline;
z-index: 1001;
font-size: 13px;
position: absolute;
right: 0;
- > ul a,
- .dropdown-toggle {
- display: inline-block;
- text-decoration: none;
- color: $darkgrey;
- padding: 5px;
+ > ul {
+ vertical-align: middle;
+ a, .dropdown-toggle {
+ display: inline-block;
+ text-decoration: none;
+ color: $darkgrey;
+ padding: 5px;
- &:hover { color: darken($darkgrey, 10%); }
+ &:hover { color: darken($darkgrey, 10%); }
+ }
}
> ul li.current a {
> li {
border-right: $border;
+ float: left;
&:last-child {
border-right: 0;
/* Rules for the whole left sidebar, including the logo */
#menu-icon {
- display: inline-block;
+ display: inline-block !important;
}
width: 100%;
position: fixed;
top: 58px;
- height: 360px;
+ height: 370px;
overflow-x: hidden;
z-index: 1;
background: #fff;
p.large-text {
- font-size: 1.4em;
- line-height: 1.5em;
+ font-size: 1.2em;
+ line-height: 1.4em;
}
&.minimized {
background: none;
</ul>
</div>
<% else %>
- <ul class="user-menu">
+ <ul class="user-menu clearfix">
<li><%= link_to t('layouts.log_in'), login_path(:referer => request.fullpath) %></li>
<li><%= link_to t('layouts.sign_up'), user_new_path %></li>
</ul>