_animations.scss
9 months ago
_booking.scss
9 months ago
_booking_animations.scss
1 year ago
_buttons.scss
9 months ago
_calendar.scss
3 months ago
_customer_dashboard.scss
9 months ago
_forms.scss
9 months ago
_grid.scss
1 year ago
_icons.scss
9 months ago
_items.scss
9 months ago
_lightbox.scss
1 week ago
_login.scss
9 months ago
_mixins.scss
1 year ago
_notifications.scss
9 months ago
_print.scss
1 year ago
_responsive.scss
9 months ago
_shared.scss
1 year ago
_shortcodes.scss
1 year ago
_type.scss
1 year ago
_utilities.scss
1 year ago
_variables.scss
9 months ago
_notifications.scss
64 lines
| 1 | .os-notifications { |
| 2 | position: fixed; |
| 3 | left: 50%; |
| 4 | transform: translateX(-50%); |
| 5 | top: 20px; |
| 6 | z-index: 1000001; |
| 7 | display: flex; |
| 8 | flex-direction: column-reverse; |
| 9 | |
| 10 | .os-notification-close { |
| 11 | position: absolute; |
| 12 | top: 50%; |
| 13 | right: 5px; |
| 14 | cursor: pointer; |
| 15 | padding: 5px; |
| 16 | font-size: 14px; |
| 17 | transform: translateY(-50%); |
| 18 | display: block; |
| 19 | line-height: 1; |
| 20 | } |
| 21 | |
| 22 | .item { |
| 23 | padding: 14px 30px; |
| 24 | background-color: rgba(29, 210, 101, 0.95); |
| 25 | color: #fff; |
| 26 | font-weight: $body-font-weight-bold; |
| 27 | font-size: $font-size-base * 1.2; |
| 28 | min-width: 500px; |
| 29 | text-align: center; |
| 30 | padding-right: 40px; |
| 31 | position: relative; |
| 32 | border-radius: $border-radius; |
| 33 | &.item-type-error { |
| 34 | background-color: #fff1f1; |
| 35 | border: 1px solid #f2c3c3; |
| 36 | border-bottom-color: #ea9898; |
| 37 | color: #7f0d0d; |
| 38 | box-shadow: 0px 1px 4px -1px rgba(0,0,0,0.26); |
| 39 | &:before { |
| 40 | background-color: #ff5839; |
| 41 | box-shadow: 0px 1px 0px 0px rgba(#ff8a8a, 0.5), 0px 0px 0px 6px rgba(#ff8a8a, 0.15), 0px 0px 0px 10px rgba(#ff8a8a, 0.1), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.2); |
| 42 | border: 1px solid #ee1b1b; |
| 43 | border-bottom-color: #ce0a0a; |
| 44 | } |
| 45 | } |
| 46 | &.item-type-success { |
| 47 | background-color: #eeffed; |
| 48 | border: 1px solid #a9e3a2; |
| 49 | border-bottom-color: #91c68f; |
| 50 | color: #0d7f24; |
| 51 | box-shadow: 0px 1px 4px -1px rgba(79,239,88,0.6); |
| 52 | &:before { |
| 53 | background-color: #63e57a; |
| 54 | box-shadow: 0px 1px 0px 0px rgba(#8aff9a, 0.5), 0px 0px 0px 6px rgba(#8aff9a, 0.25), 0px 0px 0px 10px rgba(#8aff9a, 0.15), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.4); |
| 55 | border: 1px solid #35d431; |
| 56 | border-bottom-color: #33c82f; |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | .item + .item { |
| 62 | margin-bottom: 10px; |
| 63 | } |
| 64 | } |