Merge pull request #2528 from bechi/layout-details-02
Layout details 02
This commit is contained in:
commit
014390665a
8 changed files with 23 additions and 21 deletions
|
|
@ -6,8 +6,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="dr-notification-content">
|
<div class="dr-notification-content">
|
||||||
<h3 class="dr-notification-title">{{noti.title|translate}}</h3>
|
<h3 class="dr-notification-title">{{noti.title|translate}}</h3>
|
||||||
<div class="dr-notification-text label"
|
<div class="dr-notification-text label radius" ng-show="noti.userData.color"
|
||||||
ng-style="{'background-color':noti.userData.color}">{{noti.content|translate}}</div>
|
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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,10 @@
|
||||||
</div>
|
</div>
|
||||||
</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>
|
<i class="fi-alert"></i>
|
||||||
<span translate ng-show="!pass.error"> Password cannot be recovered. Be sure to write it down</span>
|
<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>
|
<span ng-show="pass.error">{{pass.error|translate}}</span>
|
||||||
</div>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ body, html{
|
||||||
|
|
||||||
|
|
||||||
.color-alert {
|
.color-alert {
|
||||||
color: #C0392A;
|
color: #ED4A43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alt-currency.green {
|
.alt-currency.green {
|
||||||
|
|
@ -189,7 +189,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-notification .box-icon.error {
|
.box-notification .box-icon.error {
|
||||||
background-color: #C0392A;
|
background-color: #ED4A43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-notification .box-icon.secondary {
|
.box-notification .box-icon.secondary {
|
||||||
|
|
@ -464,7 +464,7 @@ input[type=number]::-webkit-outer-spin-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.label.success {background-color: #1ABC9C;}
|
.label.success {background-color: #1ABC9C;}
|
||||||
.label.alert {background-color: #C0392A;}
|
.label.alert {background-color: #ED4A43;}
|
||||||
.label.gray {background-color: #4B6178;}
|
.label.gray {background-color: #4B6178;}
|
||||||
|
|
||||||
.history .label {
|
.history .label {
|
||||||
|
|
@ -474,7 +474,7 @@ input[type=number]::-webkit-outer-spin-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-alert {
|
.bg-alert {
|
||||||
background-color: #C0392A;
|
background-color: #ED4A43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ellipsis {
|
.ellipsis {
|
||||||
|
|
@ -659,7 +659,7 @@ button.warning:hover,
|
||||||
button.warning:focus,
|
button.warning:focus,
|
||||||
.button.warning:hover,
|
.button.warning:hover,
|
||||||
.button.warning:focus {
|
.button.warning:focus {
|
||||||
background-color: #C0392A;
|
background-color: #ED4A43;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
@ -786,7 +786,7 @@ label.postfix, a.postfix {
|
||||||
}
|
}
|
||||||
|
|
||||||
.need-backup {
|
.need-backup {
|
||||||
background: #C0392A;
|
background: #ED4A43;
|
||||||
-moz-box-shadow: 1px 1px 0px 0px #A02F23;
|
-moz-box-shadow: 1px 1px 0px 0px #A02F23;
|
||||||
box-shadow: 1px 1px 0px 0px #A02F23;
|
box-shadow: 1px 1px 0px 0px #A02F23;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -840,12 +840,12 @@ label.postfix, a.postfix {
|
||||||
|
|
||||||
.icon-input .fi-x {
|
.icon-input .fi-x {
|
||||||
padding: .1rem .3rem;
|
padding: .1rem .3rem;
|
||||||
background-color: #C0392A;
|
background-color: #ED4A43;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-error {
|
.has-error {
|
||||||
color: #C0392A;
|
color: #ED4A43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-valid {
|
.is-valid {
|
||||||
|
|
@ -1105,7 +1105,6 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
height: 40%;
|
|
||||||
left: 5%;
|
left: 5%;
|
||||||
top: 15%;
|
top: 15%;
|
||||||
z-index: 1100;
|
z-index: 1100;
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,6 @@ _:-ms-fullscreen, :root .main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.amount {
|
.amount {
|
||||||
background-color: #1ABC9C;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 3rem 1rem;
|
padding: 3rem 1rem;
|
||||||
|
|
@ -269,7 +268,7 @@ a.missing-copayers {
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
font-size: 80%;
|
font-size: 70%;
|
||||||
padding: 0.2rem 0.2rem;
|
padding: 0.2rem 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -523,12 +522,12 @@ a.pin-button:active {
|
||||||
|
|
||||||
.dr-notification-content {
|
.dr-notification-content {
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
padding: 4px 50px 5px 60px;
|
padding: 7px 50px 5px 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dr-notification-title {
|
.dr-notification-title {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
self.updateColor = function() {
|
self.updateColor = function() {
|
||||||
var config = configService.getSync();
|
var config = configService.getSync();
|
||||||
config.colorFor = config.colorFor || {};
|
config.colorFor = config.colorFor || {};
|
||||||
self.backgroundColor = config.colorFor[self.walletId] || '#1ABC9C';
|
self.backgroundColor = config.colorFor[self.walletId] || '#2C3E50';
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
fc.backgroundColor = self.backgroundColor;
|
fc.backgroundColor = self.backgroundColor;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
|
||||||
|
|
||||||
var config = configService.getSync();
|
var config = configService.getSync();
|
||||||
config.colorFor = config.colorFor || {};
|
config.colorFor = config.colorFor || {};
|
||||||
this.color = config.colorFor[walletId] || '#1ABC9C';
|
this.color = config.colorFor[walletId] || '#2C3E50';
|
||||||
|
|
||||||
this.save = function(color) {
|
this.save = function(color) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
|
||||||
n: c.n,
|
n: c.n,
|
||||||
name: c.walletName,
|
name: c.walletName,
|
||||||
id: c.walletId,
|
id: c.walletId,
|
||||||
color: config.colorFor[c.walletId] || '#1ABC9C',
|
color: config.colorFor[c.walletId] || '#2C3E50',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
self.wallets = lodash.sortBy(ret, 'walletName');
|
self.wallets = lodash.sortBy(ret, 'walletName');
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ angular.module('copayApp.services')
|
||||||
|
|
||||||
var config = configService.getSync();
|
var config = configService.getSync();
|
||||||
config.colorFor = config.colorFor || {};
|
config.colorFor = config.colorFor || {};
|
||||||
var color = config.colorFor[walletId] || '#1ABC9C';
|
var color = config.colorFor[walletId] || '#2C3E50';
|
||||||
|
|
||||||
switch (notificationData.type) {
|
switch (notificationData.type) {
|
||||||
case 'NewTxProposal':
|
case 'NewTxProposal':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue