|
| 1 | +.dr-notification-container { |
| 2 | + position: absolute; |
| 3 | + z-index: 10000; |
| 4 | +} |
| 5 | + |
| 6 | +.dr-notification-container.bottom { |
| 7 | + bottom: 20px; |
| 8 | +} |
| 9 | + |
| 10 | +.dr-notification-container.right { |
| 11 | + right: 20px; |
| 12 | +} |
| 13 | + |
| 14 | +.dr-notification-container.left { |
| 15 | + left: 20px; |
| 16 | +} |
| 17 | + |
| 18 | +.dr-notification-container.top { |
| 19 | + top: 20px; |
| 20 | +} |
| 21 | + |
| 22 | +.dr-notification-container.center { |
| 23 | + left: 50%; |
| 24 | + margin-left: -190px; |
| 25 | +} |
| 26 | + |
| 27 | +.dr-notification-wrapper { |
| 28 | + width: 380px; |
| 29 | + position: relative; |
| 30 | + margin: 10px 0; |
| 31 | +} |
| 32 | + |
| 33 | +.dr-notification { |
| 34 | + width: 380px; |
| 35 | + background-color: rgba(2, 45, 59, 0.85); |
| 36 | + clear: both; |
| 37 | + min-height: 80px; |
| 38 | + max-height: 90px; |
| 39 | + -webkit-border-radius: 5px; |
| 40 | + -moz-border-radius: 5px; |
| 41 | + -ms-border-radius: 5px; |
| 42 | + border-radius: 5px; |
| 43 | + color: #bfe2de; |
| 44 | + border: 1px solid rgba(4, 94, 123, 0.85); |
| 45 | + overflow: hidden; |
| 46 | +} |
| 47 | + |
| 48 | +.dr-notification-close-btn { |
| 49 | + -webkit-border-radius: 20px; |
| 50 | + -moz-border-radius: 20px; |
| 51 | + -ms-border-radius: 20px; |
| 52 | + border-radius: 20px; |
| 53 | + display: inline-block; |
| 54 | + padding: 3px; |
| 55 | + background-color: rgba(1, 26, 34, 0.85); |
| 56 | + font-size: 14px; |
| 57 | + color: #adfaff; |
| 58 | + border: 1px solid rgba(4, 94, 123, 0.85); |
| 59 | + position: absolute; |
| 60 | + right: -11px; |
| 61 | + top: 5px; |
| 62 | + -webkit-transition: all 0.35s cubic-bezier(0.31, 0.39, 0.21, 1.65); |
| 63 | + -moz-transition: all 0.35s cubic-bezier(0.31, 0.39, 0.21, 1.65); |
| 64 | + transition: all 0.35s cubic-bezier(0.31, 0.39, 0.21, 1.65); |
| 65 | + cursor: pointer; |
| 66 | +} |
| 67 | +.dr-notification-close-btn i { |
| 68 | + padding-left: 3px; |
| 69 | +} |
| 70 | +.dr-notification-close-btn:hover { |
| 71 | + -webkit-transform: scale3d(1.25, 1.25, 1); |
| 72 | + -moz-transform: scale3d(1.25, 1.25, 1); |
| 73 | + -ms-transform: scale3d(1.25, 1.25, 1); |
| 74 | + transform: scale3d(1.25, 1.25, 1); |
| 75 | +} |
| 76 | + |
| 77 | +.dr-notification-image { |
| 78 | + width: 80px; |
| 79 | + height: 80px; |
| 80 | + border-right: 1px solid rgba(4, 94, 123, 0.85); |
| 81 | + float: left; |
| 82 | + display: block; |
| 83 | + font-size: 40px; |
| 84 | + color: white; |
| 85 | + text-align: center; |
| 86 | +} |
| 87 | +.dr-notification-image i { |
| 88 | + display: block; |
| 89 | + width: 100%; |
| 90 | + padding-top: 25px; |
| 91 | +} |
| 92 | +.dr-notification-image img { |
| 93 | + margin: 15px; |
| 94 | + max-width: 70px; |
| 95 | + min-width: 48px; |
| 96 | +} |
| 97 | + |
| 98 | +.dr-notification-image.dr-notification-type-info { |
| 99 | + color: #FFF; |
| 100 | +} |
| 101 | + |
| 102 | +.dr-notification-image.dr-notification-type-warning { |
| 103 | + color: #FFA226; |
| 104 | +} |
| 105 | + |
| 106 | +.dr-notification-image.dr-notification-type-error { |
| 107 | + color: #FF4B4F; |
| 108 | +} |
| 109 | + |
| 110 | +.dr-notification-image.dr-notification-type-success { |
| 111 | + color: #B4D455; |
| 112 | +} |
| 113 | + |
| 114 | +.dr-notification-image.success { |
| 115 | + color: #B4D455; |
| 116 | +} |
| 117 | + |
| 118 | +.dr-notification-content { |
| 119 | + padding-left: 100px; |
| 120 | + padding-right: 15px; |
| 121 | + padding-top: 10px; |
| 122 | +} |
| 123 | + |
| 124 | +.dr-notification-title { |
| 125 | + color: white; |
| 126 | + margin: 0px; |
| 127 | + padding: 0px; |
| 128 | + font-size: 20px; |
| 129 | +} |
| 130 | + |
| 131 | +p.dr-notification-text { |
| 132 | + margin-top: -5px; |
| 133 | + font-size: 12px; |
| 134 | +} |
0 commit comments