Merge pull request #2528 from bechi/layout-details-02

Layout details 02
This commit is contained in:
Matias Alejo Garcia 2015-04-16 15:18:35 -03:00
commit 014390665a
8 changed files with 23 additions and 21 deletions

View file

@ -6,8 +6,12 @@
</div>
<div class="dr-notification-content">
<h3 class="dr-notification-title">{{noti.title|translate}}</h3>
<div class="dr-notification-text label"
ng-style="{'background-color':noti.userData.color}">{{noti.content|translate}}</div>
<div class="dr-notification-text label radius" ng-show="noti.userData.color"
ng-style="{'background-color':noti.userData.color}">{{noti.content|translate}}
</div>
<div class="dr-notification-text" ng-show="!noti.userData.color"
>{{noti.content|translate}}
</div>
</div>
</div>
</div>

View file

@ -35,10 +35,10 @@
</div>
</div>
<div class="text-warning size-12 columns m20t" ng-show="index.askPassword.isSetup">
<p class="text-warning size-12 columns m20t text-center" ng-show="index.askPassword.isSetup">
<i class="fi-alert"></i>
<span translate ng-show="!pass.error"> Password cannot be recovered. Be sure to write it down</span>
<span ng-show="pass.error">{{pass.error|translate}}</span>
</div>
</p>
</div>

View file

@ -70,7 +70,7 @@ body, html{
.color-alert {
color: #C0392A;
color: #ED4A43;
}
.alt-currency.green {
@ -189,7 +189,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu
}
.box-notification .box-icon.error {
background-color: #C0392A;
background-color: #ED4A43;
}
.box-notification .box-icon.secondary {
@ -464,7 +464,7 @@ input[type=number]::-webkit-outer-spin-button {
}
.label.success {background-color: #1ABC9C;}
.label.alert {background-color: #C0392A;}
.label.alert {background-color: #ED4A43;}
.label.gray {background-color: #4B6178;}
.history .label {
@ -474,7 +474,7 @@ input[type=number]::-webkit-outer-spin-button {
}
.bg-alert {
background-color: #C0392A;
background-color: #ED4A43;
}
.ellipsis {
@ -659,7 +659,7 @@ button.warning:hover,
button.warning:focus,
.button.warning:hover,
.button.warning:focus {
background-color: #C0392A;
background-color: #ED4A43;
color: #fff;
border-radius: 3px;
}
@ -786,7 +786,7 @@ label.postfix, a.postfix {
}
.need-backup {
background: #C0392A;
background: #ED4A43;
-moz-box-shadow: 1px 1px 0px 0px #A02F23;
box-shadow: 1px 1px 0px 0px #A02F23;
position: absolute;
@ -840,12 +840,12 @@ label.postfix, a.postfix {
.icon-input .fi-x {
padding: .1rem .3rem;
background-color: #C0392A;
background-color: #ED4A43;
border-radius: 100%;
}
.has-error {
color: #C0392A;
color: #ED4A43;
}
.is-valid {
@ -1105,7 +1105,6 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
border-radius: 5px;
position: absolute;
width: 90%;
height: 40%;
left: 5%;
top: 15%;
z-index: 1100;

View file

@ -149,7 +149,6 @@ _:-ms-fullscreen, :root .main {
}
.amount {
background-color: #1ABC9C;
width: 100%;
text-align: center;
padding: 3rem 1rem;
@ -269,7 +268,7 @@ a.missing-copayers {
}
.label {
font-size: 80%;
font-size: 70%;
padding: 0.2rem 0.2rem;
}
@ -523,12 +522,12 @@ a.pin-button:active {
.dr-notification-content {
line-height: 100%;
padding: 4px 50px 5px 60px;
padding: 7px 50px 5px 60px;
}
.dr-notification-title {
color: #fff;
font-size: 15px;
font-size: 14px;
margin-bottom: 0;
font-weight: 500;
}

View file

@ -264,7 +264,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.updateColor = function() {
var config = configService.getSync();
config.colorFor = config.colorFor || {};
self.backgroundColor = config.colorFor[self.walletId] || '#1ABC9C';
self.backgroundColor = config.colorFor[self.walletId] || '#2C3E50';
var fc = profileService.focusedClient;
fc.backgroundColor = self.backgroundColor;
};

View file

@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
var config = configService.getSync();
config.colorFor = config.colorFor || {};
this.color = config.colorFor[walletId] || '#1ABC9C';
this.color = config.colorFor[walletId] || '#2C3E50';
this.save = function(color) {
var self = this;

View file

@ -41,7 +41,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
n: c.n,
name: c.walletName,
id: c.walletId,
color: config.colorFor[c.walletId] || '#1ABC9C',
color: config.colorFor[c.walletId] || '#2C3E50',
};
});
self.wallets = lodash.sortBy(ret, 'walletName');

View file

@ -52,7 +52,7 @@ angular.module('copayApp.services')
var config = configService.getSync();
config.colorFor = config.colorFor || {};
var color = config.colorFor[walletId] || '#1ABC9C';
var color = config.colorFor[walletId] || '#2C3E50';
switch (notificationData.type) {
case 'NewTxProposal':