style & change icon
This commit is contained in:
parent
fd0502ee0a
commit
53b4375fb7
5 changed files with 17 additions and 44 deletions
|
|
@ -43,10 +43,10 @@
|
|||
}
|
||||
|
||||
.dr-notification-close-btn:hover {
|
||||
-webkit-transform: scale3d(1.25, 1.25, 1);
|
||||
-moz-transform: scale3d(1.25, 1.25, 1);
|
||||
-ms-transform: scale3d(1.25, 1.25, 1);
|
||||
transform: scale3d(1.25, 1.25, 1);
|
||||
-webkit-transform: scale3d(1.1, 1.1, 1);
|
||||
-moz-transform: scale3d(1.1, 1.1, 1);
|
||||
-ms-transform: scale3d(1.1, 1.1, 1);
|
||||
transform: scale3d(1.1, 1.1, 1);
|
||||
}
|
||||
|
||||
.slideDown{
|
||||
|
|
|
|||
|
|
@ -718,7 +718,7 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
.dr-notification-wrapper {
|
||||
width: 375px;
|
||||
position: relative;
|
||||
margin: 0 0 1px 0;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.dr-notification-close-btn {
|
||||
|
|
@ -738,19 +738,15 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
|
||||
.dr-notification-image {
|
||||
float: left;
|
||||
display: block;
|
||||
padding: 0.8rem;
|
||||
color: white;
|
||||
color: #7A8C9E;
|
||||
text-align: center;
|
||||
}
|
||||
.dr-notification-image i {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
padding: 0.3rem 0.5rem;
|
||||
display: block;
|
||||
border-radius: 100%;
|
||||
background-color: #E4E8EC;
|
||||
font-size: 30px;
|
||||
width: 50px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.dr-notification-image img {
|
||||
margin: 15px;
|
||||
max-width: 70px;
|
||||
|
|
@ -770,36 +766,13 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
}
|
||||
|
||||
.dr-notification {
|
||||
background: rgba(255,255,255,0.90);
|
||||
box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.20);
|
||||
background: rgba(255,255,255,0.95);
|
||||
box-shadow: 0 1px 5px 0 rgba(0,0,0,0.15);
|
||||
width: 400px;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
|
||||
.dr-notification-image.dr-notification-type-funds i {
|
||||
background-color: #7A8C9E;
|
||||
}
|
||||
|
||||
.dr-notification-image.dr-notification-type-info i {
|
||||
background-color: #7A8C9E;
|
||||
}
|
||||
|
||||
.dr-notification-image.dr-notification-type-warning i {
|
||||
background-color: #FFA226;
|
||||
}
|
||||
|
||||
.dr-notification-image.dr-notification-type-error i {
|
||||
background-color: #FF4B4F;
|
||||
}
|
||||
|
||||
.dr-notification-image.dr-notification-type-success i {
|
||||
background-color: #1ABC9C;
|
||||
}
|
||||
|
||||
.dr-notification-image.success i {
|
||||
background-color: #1ABC9C;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.success {
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@
|
|||
width: 100%;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
border-bottom: 2px solid #E4E8EC;
|
||||
border-bottom: 1.5px solid #D6DBE0;
|
||||
}
|
||||
|
||||
.dr-notification-container {
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ factory('notification', ['$timeout',
|
|||
},
|
||||
|
||||
funds: function(title, content, userData) {
|
||||
return this.awesomeNotify('funds', 'bitcoin', title, content, userData);
|
||||
return this.awesomeNotify('funds', 'bitcoin-circle', title, content, userData);
|
||||
},
|
||||
|
||||
version: function(title, content, severe) {
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
<i class="fi-x"></i>
|
||||
</div>
|
||||
<div class="dr-notification">
|
||||
<div class="dr-notification-image dr-notification-type-{{noti.type}}" ng-switch on="noti.image">
|
||||
<div class="dr-notification-image" ng-switch on="noti.image">
|
||||
<i class="fi-{{noti.icon}}" ng-switch-when="false"></i>
|
||||
<img ng-src="{{noti.image}}" ng-switch-default />
|
||||
</div>
|
||||
<div class="dr-notification-content">
|
||||
<h3 class="dr-notification-title">{{noti.title|translate}}</h3>
|
||||
<div class="dr-notification-text">{{noti.content|translate}}</div>
|
||||
<div class="dr-notification-text ellipsis">{{noti.content|translate}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue