fix create tabs

This commit is contained in:
bechi 2015-05-29 16:50:11 -03:00
commit 4d832258ee
2 changed files with 12 additions and 8 deletions

View file

@ -21,17 +21,19 @@
</div> </div>
</div> </div>
<div class="create-tab" ng-hide="create.hideTabs"> <div class="create-tab small-only-text-center" ng-hide="create.hideTabs">
<div class="tab-container"> <div class="row">
<a href <div class="tab-container small-6 medium-3 large-2">
<a href
ng-class="{'selected': totalCopayers == 1}" ng-class="{'selected': totalCopayers == 1}"
ng-click="create.setTotalCopayers(1)" translate>Personal Wallet</a> ng-click="create.setTotalCopayers(1)" translate>Personal Wallet</a>
</div> </div>
<div class="tab-container"> <div class="tab-container small-6 medium-3 large-2">
<a href <a href
ng-class="{'selected': totalCopayers != 1}" ng-class="{'selected': totalCopayers != 1}"
ng-click="create.setTotalCopayers(3)" translate>Shared Wallet</a> ng-click="create.setTotalCopayers(3)" translate>Shared Wallet</a>
</div> </div>
</div>
</div> </div>
<form name="setupForm" ng-submit="create.create(setupForm)" novalidate> <form name="setupForm" ng-submit="create.create(setupForm)" novalidate>
@ -62,7 +64,7 @@
<div class="row" ng-show="totalCopayers != 1"> <div class="row" ng-show="totalCopayers != 1">
<div class="large-6 medium-6 columns"> <div class="large-6 medium-6 columns">
<label><span translate>Select total number of copayers</span> <label><span translate>Select total number of copayers</span>
<select class="m10t" ng-model="totalCopayers" <select class="m10t" ng-model="totalCopayers"
ng-options="totalCopayers as totalCopayers for totalCopayers in create.TCValues" ng-options="totalCopayers as totalCopayers for totalCopayers in create.TCValues"
ng-change="create.setTotalCopayers(totalCopayers)"> ng-change="create.setTotalCopayers(totalCopayers)">
</select> </select>

View file

@ -248,6 +248,7 @@ ul.copayer-list img {
font-size: 14px; font-size: 14px;
} }
a.missing-copayers { a.missing-copayers {
bottom: -34px; bottom: -34px;
text-align: center; text-align: center;
@ -736,19 +737,20 @@ textarea:focus
.create-tab .tab-container { .create-tab .tab-container {
float: left; float: left;
width: 50%;
} }
.create-tab a { .create-tab a {
font-size: .7rem; font-size: .7rem;
padding: 0 0 .6rem; padding: 0 0 .6rem;
color: #929396; color: #929396;
text-transform: uppercase; text-transform: uppercase;
font-weight: 500;
} }
.create-tab a:hover, .create-tab a:hover,
.create-tab a:focus { .create-tab a:focus {
color: #2C3E50; border-bottom: 3px solid #929396;
} }
.create-tab a.selected, .create-tab a.selected,