add icon & change bg color

This commit is contained in:
bechi 2015-12-01 16:54:44 -03:00
commit a6fea03f43
4 changed files with 36 additions and 37 deletions

View file

@ -7,10 +7,8 @@
<div class="content preferences" ng-controller="preferencesGlobalController as prefGlobal" ng-init="prefGlobal.init()"> <div class="content preferences" ng-controller="preferencesGlobalController as prefGlobal" ng-init="prefGlobal.init()">
<h4></h4>
<ul class="no-bullet m0 "> <ul class="no-bullet m0 ">
<h4></h4>
<li ng-click="$root.go('preferencesLanguage')"> <li ng-click="$root.go('preferencesLanguage')">
<div class="right text-gray"> <div class="right text-gray">
{{prefGlobal.currentLanguageName|translate}} {{prefGlobal.currentLanguageName|translate}}
@ -19,8 +17,8 @@
<div translate>Language</div> <div translate>Language</div>
</li> </li>
</ul> </ul>
<h4></h4>
<ul class="no-bullet m0 "> <ul class="no-bullet m0 ">
<h4></h4>
<li ng-click="$root.go('preferencesUnit')"> <li ng-click="$root.go('preferencesUnit')">
<div class="right text-gray"> <div class="right text-gray">
{{prefGlobal.unitName}} {{prefGlobal.unitName}}
@ -36,8 +34,8 @@
<div translate>Alternative Currency</div> <div translate>Alternative Currency</div>
</li> </li>
</ul> </ul>
<h4></h4>
<ul class="no-bullet m0 "> <ul class="no-bullet m0 ">
<h4></h4>
<li ng-click="$root.go('preferencesFee')" <li ng-click="$root.go('preferencesFee')"
ng-show="(index.network == 'livenet' ? index.feeLevels.livenet : index.feeLevels.testnet)"> ng-show="(index.network == 'livenet' ? index.feeLevels.livenet : index.feeLevels.testnet)">
<div class="right text-gray"> <div class="right text-gray">
@ -51,8 +49,8 @@
<div translate>Use Unconfirmed Funds</div> <div translate>Use Unconfirmed Funds</div>
</li> </li>
</ul> </ul>
<h4></h4>
<ul class="no-bullet m0 "> <ul class="no-bullet m0 ">
<h4></h4>
<li> <li>
<switch id="glidera-enabled" name="glideraEnabled" ng-model="glideraEnabled" class="green right"></switch> <switch id="glidera-enabled" name="glideraEnabled" ng-model="glideraEnabled" class="green right"></switch>
<div>Enable Glidera Service</div> <div>Enable Glidera Service</div>
@ -65,8 +63,8 @@
</li> </li>
--> -->
</ul> </ul>
<h4></h4>
<ul class="no-bullet m0"> <ul class="no-bullet m0">
<h4></h4>
<li ng-click="$root.go('about')"> <li ng-click="$root.go('about')">
<i class="icon-arrow-right3 size-24 right text-gray"></i> <i class="icon-arrow-right3 size-24 right text-gray"></i>
<div translate>About Copay</div> <div translate>About Copay</div>

View file

@ -311,9 +311,10 @@
<div class="addressbook-input" ng-show="!sendForm.address.$invalid && _address"> <div class="addressbook-input" ng-show="!sendForm.address.$invalid && _address">
{{index.addressbook[_address] || _address}} {{index.addressbook[_address] || _address}}
</div> </div>
<a class="postfix size-12 m0 text-gray" <a class="postfix button"
ng-style="{'background-color':index.backgroundColor}"
ng-click="openDestinationAddressModal(index.otherWallets, _address)"> ng-click="openDestinationAddressModal(index.otherWallets, _address)">
<i class="icon-wallet size-18"></i> <i class="fi-plus size-14 lh"></i>
</a> </a>
</div> </div>
</div> </div>
@ -350,7 +351,7 @@
<div class="input"> <div class="input">
<input type="number" id="amount" ng-disabled="home.blockUx || home.lockAmount" name="amount" ng-attr-placeholder="{{'Amount'|translate}}" ng-minlength="0.00000001" ng-maxlength="10000000000" ng-model="_amount" valid-amount required autocomplete="off" ng-focus="home.formFocus('amount')" ng-blur="home.formFocus(false)"> <input type="number" id="amount" ng-disabled="home.blockUx || home.lockAmount" name="amount" ng-attr-placeholder="{{'Amount'|translate}}" ng-minlength="0.00000001" ng-maxlength="10000000000" ng-model="_amount" valid-amount required autocomplete="off" ng-focus="home.formFocus('amount')" ng-blur="home.formFocus(false)">
<input type="number" id="alternative" name="alternative" ng-model="_alternative" style="display:none"> <input type="number" id="alternative" name="alternative" ng-model="_alternative" style="display:none">
<a class="postfix" ng-click="home.showAlternative()">{{home.unitName}}</a> <a class="postfix button" ng-style="{'background-color':index.backgroundColor}" ng-click="home.showAlternative()">{{home.unitName}}</a>
</div> </div>
</div> </div>
<div ng-if="home.canShowAlternative()"> <div ng-if="home.canShowAlternative()">
@ -359,7 +360,7 @@
<div class="input"> <div class="input">
<input type="number" id="alternative" ng-disabled="home.blockUx || !home.isRateAvailable || home.lockAmount" name="alternative" ng-attr-placeholder="{{'Amount'|translate}}" ng-model="_alternative" required autocomplete="off" ng-focus="home.formFocus('amount')" ng-blur="home.formFocus(false)"> <input type="number" id="alternative" ng-disabled="home.blockUx || !home.isRateAvailable || home.lockAmount" name="alternative" ng-attr-placeholder="{{'Amount'|translate}}" ng-model="_alternative" required autocomplete="off" ng-focus="home.formFocus('amount')" ng-blur="home.formFocus(false)">
<input type="number" id="amount" name="amount" ng-model="_amount" style="display:none"> <input type="number" id="amount" name="amount" ng-model="_amount" style="display:none">
<a class="postfix" ng-click="home.hideAlternative()"> {{ home.alternativeIsoCode }}</a> <a class="postfix button black" ng-click="home.hideAlternative()"> {{ home.alternativeIsoCode }}</a>
</div> </div>
</div> </div>
</div> </div>

View file

@ -45,13 +45,15 @@ h4 {
font-size: 0.875rem; font-size: 0.875rem;
} }
h4.title { .send h4.title {
background: #F1F3F5; box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.10);
background: #fff;
padding: 0.8rem; padding: 0.8rem;
text-transform: uppercase; text-transform: uppercase;
color: #2C3E50; color: #2C3E50;
font-weight: 700; font-weight: 700;
font-size: 0.7rem; font-size: 0.7rem;
text-align: center;
} }
h4.title a { h4.title a {
@ -61,10 +63,6 @@ h4.title a {
font-size: 12px; font-size: 12px;
} }
.preferences {
background: #f1f3f5;
}
.preferences form { .preferences form {
background: white; background: white;
padding-top:10px; padding-top:10px;
@ -77,7 +75,7 @@ h4.title a {
.preferences h4 { .preferences h4 {
background: #F1F3F5; background: #F6F7F9;
padding: 25px 0px 5px 20px; padding: 25px 0px 5px 20px;
text-transform: uppercase; text-transform: uppercase;
color: #555; color: #555;
@ -227,7 +225,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu
.page, .main { .page, .main {
height:100%; height:100%;
background-color: #fff; background-color: #F6F7F9;
} }
.button.small.side-bar { .button.small.side-bar {
@ -244,7 +242,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu
} }
.main { .main {
background-color: #fff; background-color: #F6F7F9;
padding: 0 0 58px 0; padding: 0 0 58px 0;
position: relative; position: relative;
} }
@ -359,7 +357,7 @@ ul.tx-copayers {
} }
.circle-icon { .circle-icon {
background: #F1F3F5; background: #fff;
border-radius: 100%; border-radius: 100%;
padding: 1.5rem; padding: 1.5rem;
width: 80px; width: 80px;
@ -373,7 +371,6 @@ ul.tx-copayers {
} }
.backup .circle-icon { .backup .circle-icon {
background: #fff;
padding: 0.2rem; padding: 0.2rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
@ -390,7 +387,7 @@ ul.tx-copayers {
} }
.backup .tab-bar { .backup .tab-bar {
background: #f1f3f5; background: #F6F7F9;
border-bottom: none; border-bottom: none;
} }
@ -924,15 +921,18 @@ ul.wallet-selection.wallets {
} }
.postfix.button, .prefix.button { .postfix.button, .prefix.button {
position: absolute; position: absolute;
width: 38px; width: 35px;
height: 28px; height: 22px;
right: 7px; right: 7px;
top: 7px; top: 5px;
-moz-box-shadow: none; -moz-box-shadow: none;
box-shadow: none; box-shadow: none;
line-height: 1.7rem; font-size: 12px;
border-radius: 2px; border-radius: 2px;
line-height: 2;
padding: 0;
font-weight: 500;
} }
.postfix.button i, .prefix.button i { .postfix.button i, .prefix.button i {
@ -958,6 +958,10 @@ label.postfix, a.postfix {
width: 40px; width: 40px;
} }
a.button.postfix {
color: #fff;
}
.pointer { .pointer {
cursor: pointer; cursor: pointer;
} }

View file

@ -193,10 +193,6 @@ _:-ms-fullscreen, :root .main {
height:100%; height:100%;
} }
.walletHome {
background-color: #fff;
}
.walletHome .avatar-wallet { .walletHome .avatar-wallet {
padding: 0.5rem; padding: 0.5rem;
width: 75px; width: 75px;
@ -600,7 +596,7 @@ to prevent collapsing during animation*/
top: 45px; top: 45px;
padding-bottom: 33px; padding-bottom: 33px;
-webkit-transform: translate3d(0,0,0); -webkit-transform: translate3d(0,0,0);
background: #fff; background: #f6f7f9;
} }
body.modal-open { body.modal-open {