Components
10 months ago
autoloader.js
1 year ago
edit.js
7 months ago
ic-arrow-up-right-square.svg
11 months ago
index.js
7 months ago
reach-logo.svg
11 months ago
styles.scss
1 month ago
view.js
1 month ago
styles.scss
102 lines
| 1 | .hostinger-reach-block-subscription-form { |
| 2 | |
| 3 | .hostinger-reach-block-form-fields { |
| 4 | display: flex; |
| 5 | flex-direction: column; |
| 6 | width: 100%; |
| 7 | |
| 8 | &--inline { |
| 9 | flex-direction: row; |
| 10 | justify-content: flex-start; |
| 11 | align-items: end; |
| 12 | width: 100%; |
| 13 | gap: 0.5rem; |
| 14 | |
| 15 | .hostinger-reach-block-form-field { |
| 16 | min-width: 70% |
| 17 | } |
| 18 | |
| 19 | .hostinger-reach-block-submit { |
| 20 | min-width: 30%; |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | .hostinger-reach-block-submit { |
| 26 | border-width: 0; |
| 27 | margin-top: var(--wp--preset--spacing--20); |
| 28 | align-content: center; |
| 29 | box-sizing: border-box; |
| 30 | cursor: pointer; |
| 31 | display: inline-block; |
| 32 | height: 100%; |
| 33 | text-align: center; |
| 34 | width: 100%; |
| 35 | word-break: break-word; |
| 36 | font-weight: 500; |
| 37 | min-height: 40px; |
| 38 | border-radius: 50px; |
| 39 | } |
| 40 | |
| 41 | .hostinger-reach-block-form-field { |
| 42 | margin-top: 8px; |
| 43 | } |
| 44 | |
| 45 | label { |
| 46 | display: block; |
| 47 | font-size: 11px; |
| 48 | font-weight: 500; |
| 49 | line-height: 1.4; |
| 50 | text-transform: uppercase; |
| 51 | margin-bottom: calc(8px); |
| 52 | padding: 0; |
| 53 | } |
| 54 | |
| 55 | input { |
| 56 | display: block; |
| 57 | width: 100%; |
| 58 | padding: 3px 10px; |
| 59 | min-height: 40px; |
| 60 | box-shadow: 0 0 0 transparent; |
| 61 | border-radius: 4px; |
| 62 | border: 1px solid #8c8f94; |
| 63 | background-color: #fff; |
| 64 | color: #2c3338; |
| 65 | box-sizing: border-box; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | .hostinger-reach-block-tags { |
| 70 | margin-left: -6px; |
| 71 | margin-top: 10px; |
| 72 | max-height: 14em; |
| 73 | overflow: auto; |
| 74 | padding-left: 6px; |
| 75 | padding-top: 6px; |
| 76 | margin-bottom: 20px; |
| 77 | } |
| 78 | |
| 79 | .components-button.is-link.hostinger-reach-block-toggler { |
| 80 | margin-bottom: 20px; |
| 81 | } |
| 82 | |
| 83 | .hostinger-reach-block-newtag { |
| 84 | margin-bottom: 20px; |
| 85 | } |
| 86 | |
| 87 | .reach-subscription-message { |
| 88 | font-weight: bold; |
| 89 | padding: 1em; |
| 90 | gap: 10px; |
| 91 | margin-top: 10px; |
| 92 | } |
| 93 | |
| 94 | .reach-subscription-message.is-success { |
| 95 | background: #009E5B1A; |
| 96 | } |
| 97 | |
| 98 | .reach-subscription-message.is-error { |
| 99 | background: #EA47681A; |
| 100 | } |
| 101 | |
| 102 |