Dialog.scss
102 lines
| 1 | .hostinger-reach-block-dialog { |
| 2 | display: block; |
| 3 | flex-direction: column; |
| 4 | align-content: flex-start; |
| 5 | background: #fff; |
| 6 | color: #1D1E20; |
| 7 | padding: 20px; |
| 8 | gap: 14px; |
| 9 | font-size: 14px; |
| 10 | line-height: 20px; |
| 11 | bottom: 80px; |
| 12 | left: 20px; |
| 13 | position: fixed; |
| 14 | z-index: 100001; |
| 15 | max-width: 400px; |
| 16 | border-radius: 16px; |
| 17 | box-shadow: 0 0 10px rgba(0,0,0,0.05); |
| 18 | |
| 19 | &__actions { |
| 20 | display: flex; |
| 21 | justify-content: flex-start; |
| 22 | gap: 10px; |
| 23 | } |
| 24 | |
| 25 | &__button_indicator { |
| 26 | height: 16px; |
| 27 | width: 16px; |
| 28 | } |
| 29 | |
| 30 | &__button { |
| 31 | cursor: pointer; |
| 32 | text-align: center; |
| 33 | background: #673DE6; |
| 34 | color: #fff; |
| 35 | font-weight: 700; |
| 36 | font-size: 12px; |
| 37 | padding: 6px 16px; |
| 38 | display: flex; |
| 39 | flex-direction: row; |
| 40 | align-items: center; |
| 41 | gap: 10px; |
| 42 | border-radius: 8px; |
| 43 | |
| 44 | &:hover { |
| 45 | background: #5029c2; |
| 46 | } |
| 47 | |
| 48 | a { |
| 49 | color: #fff; |
| 50 | text-decoration: none; |
| 51 | |
| 52 | &:hover, &:focus, &:active { |
| 53 | color: #fff; |
| 54 | box-shadow: none; |
| 55 | outline: none; |
| 56 | } |
| 57 | |
| 58 | |
| 59 | } |
| 60 | |
| 61 | svg { |
| 62 | height: 16px; |
| 63 | width: 16px; |
| 64 | |
| 65 | path { |
| 66 | fill: #fff; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | } |
| 71 | |
| 72 | &__close { |
| 73 | cursor: pointer; |
| 74 | |
| 75 | &:before, &:after { |
| 76 | content: ''; |
| 77 | position: absolute; |
| 78 | width: 16px; |
| 79 | height: 2px; |
| 80 | background-color: #1D1E20; |
| 81 | top: 26px; |
| 82 | right: 16px; |
| 83 | } |
| 84 | |
| 85 | &:before { |
| 86 | transform: rotate(45deg); |
| 87 | } |
| 88 | |
| 89 | &:after { |
| 90 | transform: rotate(-45deg); |
| 91 | } |
| 92 | |
| 93 | &:hover:before, &:hover:after { |
| 94 | background-color: #727272; |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 |