_button.scss
5 years ago
_checkbox.scss
5 years ago
_collapse.scss
5 years ago
_colorpicker.scss
5 years ago
_dimensions.scss
5 years ago
_f-select.scss
5 years ago
_iconpicker.scss
5 years ago
_input.scss
5 years ago
_list-table.scss
5 years ago
_notice.scss
5 years ago
_pagination.scss
5 years ago
_radio.scss
5 years ago
_repeater.scss
5 years ago
_select.scss
5 years ago
_switcher.scss
5 years ago
_tabs.scss
5 years ago
_textarea.scss
5 years ago
_time.scss
5 years ago
_wp-media.scss
5 years ago
_notice.scss
100 lines
| 1 | .cx-vui-notices { |
| 2 | position: fixed; |
| 3 | right: 20px; |
| 4 | top: 52px; |
| 5 | z-index: 9999; |
| 6 | .rtl & { |
| 7 | left: 20px; |
| 8 | right: auto; |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | .cx-vui-notice { |
| 13 | padding: 20px; |
| 14 | margin: 0 0 20px; |
| 15 | transition: all 250ms ease; |
| 16 | display: flex; |
| 17 | align-items: flex-start; |
| 18 | box-shadow: 0 2px 6px rgba(35, 40, 45, 0.07); |
| 19 | min-width: 250px; |
| 20 | max-width: 450px; |
| 21 | box-sizing: border-box; |
| 22 | background: #fff; |
| 23 | border-radius: 4px; |
| 24 | font-size: 15px; |
| 25 | line-height: 23px; |
| 26 | color: $color__text; |
| 27 | &__icon { |
| 28 | width: 24px; |
| 29 | height: 24px; |
| 30 | overflow: hidden; |
| 31 | flex: 0 0 24px; |
| 32 | margin: 0 15px 0 0; |
| 33 | .rtl & { |
| 34 | margin: 0 0 0 15px; |
| 35 | } |
| 36 | svg { |
| 37 | width: 100%; |
| 38 | height: auto; |
| 39 | } |
| 40 | &--info { |
| 41 | path { |
| 42 | fill: $color__accent; |
| 43 | } |
| 44 | } |
| 45 | &--success { |
| 46 | path { |
| 47 | fill: $color__success; |
| 48 | } |
| 49 | } |
| 50 | &--error { |
| 51 | path { |
| 52 | fill: $color__error; |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | &__title { |
| 57 | font-weight: 500; |
| 58 | color: $color__heading; |
| 59 | } |
| 60 | &__content { |
| 61 | flex: 1 1 auto; |
| 62 | } |
| 63 | &__close { |
| 64 | width: 16px; |
| 65 | height: 16px; |
| 66 | flex: 0 0 16px; |
| 67 | margin: -2px 0 0 10px; |
| 68 | cursor: pointer; |
| 69 | box-sizing: border-box; |
| 70 | padding: 2px; |
| 71 | .rtl & { |
| 72 | margin: -2px 10px 0 0; |
| 73 | } |
| 74 | svg { |
| 75 | width: 12px; |
| 76 | height: 12px; |
| 77 | } |
| 78 | path { |
| 79 | fill: $color__border-off-panel; |
| 80 | } |
| 81 | &:hover { |
| 82 | path { |
| 83 | fill: $color__heading; |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | .cx-vui-notices-enter, .cx-vui-notices-leave-to { |
| 90 | opacity: 0; |
| 91 | transform: translateX( 30px ); |
| 92 | .rtl & { |
| 93 | transform: translateX( -30px ); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | .cx-vui-notices-leave-active { |
| 98 | position: absolute; |
| 99 | } |
| 100 |