Move back button to the left

// FREEBIE
This commit is contained in:
lilia 2016-03-22 11:01:04 -07:00
parent 2c4d2b150e
commit 2e7c7ce0cc
3 changed files with 16 additions and 4 deletions

View file

@ -5,7 +5,7 @@
<script type='text/x-tmpl-mustache' id='two-column'>
<div class='gutter'>
<div class='title-bar active' id='header'>
<div class='header-buttons'>
<div class='header-buttons right'>
<div class='vertical-align'>
<div class='global-menu menu'>
<button class='hamburger'></button>
@ -44,9 +44,13 @@
<script type='text/x-tmpl-mustache' id='conversation'>
<div class='conversation-header'
style='background-color: {{ avatar.color }}'>
<div class='header-buttons'>
<div class='header-buttons left'>
<div class='vertical-align'>
<button class='back hide'></button>
</div>
</div>
<div class='header-buttons right'>
<div class='vertical-align'>
<div class='conversation-menu menu'>
<button class='hamburger'></button>
<ul class='menu-list'>

View file

@ -79,7 +79,12 @@ button.back {
}
.header-buttons {
float: right;
&.left {
float: left;
}
&.right {
float: right;
}
height: 0;
.vertical-align {

View file

@ -77,8 +77,11 @@ button.back {
border-radius: 10px; }
.header-buttons {
float: right;
height: 0; }
.header-buttons.left {
float: left; }
.header-buttons.right {
float: right; }
.header-buttons .vertical-align {
height: 64px;
vertical-align: middle;