assets
5 months ago
add-form-notice.js
5 months ago
connection-notice.js
5 months ago
connection-notice.scss
9 months ago
notice.scss
5 months ago
notice.scss
138 lines
| 1 | .hostinger-reach-notice { |
| 2 | position: relative; |
| 3 | padding: 0; |
| 4 | border: 1px solid #E2DBFC; |
| 5 | border-radius: 16px; |
| 6 | background-repeat: no-repeat; |
| 7 | background-position: center; |
| 8 | background-size: cover; |
| 9 | |
| 10 | .hostinger-reach-notice-wrap { |
| 11 | display: flex; |
| 12 | align-items: center; |
| 13 | justify-content: space-between; |
| 14 | } |
| 15 | |
| 16 | .hostinger-reach-notice-main { |
| 17 | max-width: 768px; |
| 18 | } |
| 19 | |
| 20 | .hostinger-reach-notice-aside { |
| 21 | display: none; |
| 22 | |
| 23 | @media screen and (min-width: 756px) { |
| 24 | display: block; |
| 25 | } |
| 26 | |
| 27 | padding: 10px; |
| 28 | } |
| 29 | |
| 30 | .hostinger-reach-notice-close { |
| 31 | position: absolute; |
| 32 | top: 15px; |
| 33 | right: 15px; |
| 34 | cursor: pointer; |
| 35 | background: none; |
| 36 | border: none; |
| 37 | display: block; |
| 38 | font-size: .8125rem; |
| 39 | font-style: normal; |
| 40 | height: 20px; |
| 41 | line-height: 20px; |
| 42 | margin: 0; |
| 43 | padding: 0; |
| 44 | text-align: center; |
| 45 | width: 20px; |
| 46 | color: black; |
| 47 | transition: color 0.2s ease; |
| 48 | |
| 49 | &:hover, |
| 50 | &:focus { |
| 51 | color: #673DE6; |
| 52 | } |
| 53 | |
| 54 | &:before { |
| 55 | content: '\00d7'; |
| 56 | position: relative; |
| 57 | display: inline-block; |
| 58 | font-size: 20px; |
| 59 | line-height: 20px; |
| 60 | font-weight: 400; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | .notice-dismiss { |
| 65 | display: none; |
| 66 | } |
| 67 | |
| 68 | .hostinger-reach-notice-content { |
| 69 | padding: 20px 25px; |
| 70 | |
| 71 | h3 { |
| 72 | margin: 0 0 8px; |
| 73 | padding: 0; |
| 74 | font-size: 20px; |
| 75 | font-weight: 600; |
| 76 | line-height: 1.4; |
| 77 | color: #1D1E20; |
| 78 | } |
| 79 | |
| 80 | p { |
| 81 | margin: 0; |
| 82 | padding: 0; |
| 83 | font-size: 14px; |
| 84 | line-height: 1.6; |
| 85 | color: #1D1E20; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | .hostinger-reach-notice-actions { |
| 90 | display: flex; |
| 91 | align-items: center; |
| 92 | gap: 12px; |
| 93 | padding: 0 25px 25px; |
| 94 | margin-right: 32px; |
| 95 | |
| 96 | .hostinger-reach-button { |
| 97 | padding: 10px 20px; |
| 98 | font-size: 12px; |
| 99 | font-weight: 500; |
| 100 | line-height: 1.4; |
| 101 | border: none; |
| 102 | border-radius: 4px; |
| 103 | cursor: pointer; |
| 104 | transition: all 0.2s ease; |
| 105 | white-space: nowrap; |
| 106 | |
| 107 | &.button-primary { |
| 108 | background: #18181A; |
| 109 | color: #fff; |
| 110 | |
| 111 | &:hover, |
| 112 | &:focus { |
| 113 | background: #5633B8; |
| 114 | box-shadow: 0 4px 8px rgba(103, 61, 230, 0.3); |
| 115 | transform: translateY(-1px); |
| 116 | } |
| 117 | |
| 118 | &:active { |
| 119 | transform: translateY(0); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | &.button-secondary { |
| 124 | background: transparent; |
| 125 | color: #18181A; |
| 126 | border: none; |
| 127 | box-shadow: none; |
| 128 | |
| 129 | &:hover, |
| 130 | &:focus { |
| 131 | color: #5633B8; |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 |