_component-wrapper.scss
5 years ago
_copy.scss
5 years ago
_panels.scss
5 years ago
_popup.scss
5 years ago
_titles.scss
5 years ago
_tooltip.scss
5 years ago
_popup.scss
74 lines
| 1 | .cx-vui-popup { |
| 2 | position: fixed; |
| 3 | z-index: 999; |
| 4 | left: 0; |
| 5 | right: 0; |
| 6 | top: 0; |
| 7 | bottom: 0; |
| 8 | display: flex; |
| 9 | align-items: center; |
| 10 | justify-content: center; |
| 11 | &__overlay { |
| 12 | background: $color__heading; |
| 13 | opacity: .5; |
| 14 | position: absolute; |
| 15 | left: 0; |
| 16 | right: 0; |
| 17 | top: 0; |
| 18 | bottom: 0; |
| 19 | z-index: 1; |
| 20 | } |
| 21 | &__body { |
| 22 | background: $color__bg-panel; |
| 23 | box-shadow: 0px 2px 6px rgba( 35, 40, 45, 0.07 ); |
| 24 | border-radius: 6px; |
| 25 | font-family: $font_family; |
| 26 | position: relative; |
| 27 | z-index: 2; |
| 28 | padding: 30px 40px 40px; |
| 29 | } |
| 30 | &__header { |
| 31 | padding: 0 0 10px; |
| 32 | } |
| 33 | &__content { |
| 34 | font-size: 13px; |
| 35 | line-height: 20px; |
| 36 | color: $color__text; |
| 37 | p { |
| 38 | font-size: 13px; |
| 39 | line-height: 20px; |
| 40 | color: $color__text; |
| 41 | margin: 0; |
| 42 | padding: 0 0 20px; |
| 43 | } |
| 44 | } |
| 45 | &__footer { |
| 46 | padding: 20px 0 0; |
| 47 | display: flex; |
| 48 | align-items: center; |
| 49 | .cx-vui-button + .cx-vui-button { |
| 50 | margin: 0 0 0 10px; |
| 51 | .rtl & { |
| 52 | margin: 0 10px 0 0; |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | &__close { |
| 57 | position: absolute; |
| 58 | right: 12px; |
| 59 | top: 15px; |
| 60 | cursor: pointer; |
| 61 | .rtl & { |
| 62 | left: 12px; |
| 63 | right: auto; |
| 64 | } |
| 65 | path { |
| 66 | fill: $color__border-off-panel; |
| 67 | } |
| 68 | &:hover { |
| 69 | path { |
| 70 | fill: $color__text; |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | } |