diff --git a/css/src/animation.css b/css/src/animation.css index 3c86fca2b..7bb6e5238 100644 --- a/css/src/animation.css +++ b/css/src/animation.css @@ -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{ diff --git a/css/src/main.css b/css/src/main.css index 75844c607..e8a252476 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -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 { diff --git a/css/src/mobile.css b/css/src/mobile.css index 6443f2654..725b7f0e0 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -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 { diff --git a/js/services/notifications.js b/js/services/notifications.js index cf97cdd26..4f4ef1e99 100644 --- a/js/services/notifications.js +++ b/js/services/notifications.js @@ -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) { diff --git a/views/includes/notifications.html b/views/includes/notifications.html index 2fe5a803d..2259822a3 100644 --- a/views/includes/notifications.html +++ b/views/includes/notifications.html @@ -3,13 +3,13 @@
-
+

{{noti.title|translate}}

-
{{noti.content|translate}}
+
{{noti.content|translate}}