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