Right nav buttons margin fix.

This commit is contained in:
Said Tahsin Dane 2015-02-27 12:20:45 +02:00
parent eb908247f3
commit 908bf4daa2
3 changed files with 6 additions and 3 deletions

View file

@ -23,7 +23,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% for rightNavigationButton in site.rightNavigationButtons %} {% for rightNavigationButton in site.rightNavigationButtons %}
<a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}> <a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="{% if forloop.index == 1 %}right-nav-button-rightest {% endif %}right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}>
{{ rightNavigationButton.text }} {{ rightNavigationButton.text }}
</a> </a>
{% endfor %} {% endfor %}

View file

@ -139,7 +139,7 @@ nav {
} }
} }
.right-nav-button { .right-nav-button {
margin: 11px 65px 0 0; margin: 11px 11px 0 0;
transition: $base-transition; transition: $base-transition;
opacity: 1; opacity: 1;
display: block; display: block;
@ -151,6 +151,9 @@ nav {
transform: translateY(-50px); transform: translateY(-50px);
} }
} }
.right-nav-button-rightest {
margin: 11px 65px 0 0;
}
.icon-menu { .icon-menu {
width: 20px; width: 20px;
height: 20px; height: 20px;

File diff suppressed because one or more lines are too long