style.scss
99 lines
| 1 | .wp-block-jet-forms-phone-field { |
| 2 | |
| 3 | /* Editor Preview Styles */ |
| 4 | .jet-form-builder__field-wrap.phone-field-wrap { |
| 5 | position: relative; |
| 6 | } |
| 7 | |
| 8 | .iti { |
| 9 | width: 100%; |
| 10 | position: relative; |
| 11 | display: inline-block; |
| 12 | } |
| 13 | |
| 14 | .phone-field-preview { |
| 15 | .iti__country-container { |
| 16 | position: absolute; |
| 17 | top: 0; |
| 18 | bottom: 0; |
| 19 | padding: var(--iti-border-width); |
| 20 | width: 100%; |
| 21 | } |
| 22 | |
| 23 | .iti__selected-country { |
| 24 | z-index: 1; |
| 25 | position: relative; |
| 26 | display: flex; |
| 27 | align-items: center; |
| 28 | height: 100%; |
| 29 | background: transparent; |
| 30 | border: 0; |
| 31 | margin: 0; |
| 32 | padding: 0; |
| 33 | font-family: inherit; |
| 34 | font-size: inherit; |
| 35 | color: inherit; |
| 36 | border-radius: 0; |
| 37 | font-weight: inherit; |
| 38 | line-height: inherit; |
| 39 | text-decoration: none; |
| 40 | } |
| 41 | |
| 42 | .iti__selected-dial-code { |
| 43 | margin-left: 4px; |
| 44 | } |
| 45 | |
| 46 | .iti__selected-country-primary { |
| 47 | display: flex; |
| 48 | align-items: center; |
| 49 | height: 100%; |
| 50 | padding: 0 6px 0 8px; |
| 51 | } |
| 52 | |
| 53 | .iti__flag.iti__globe { |
| 54 | background-size: contain; |
| 55 | background-position: right; |
| 56 | background-repeat: no-repeat; |
| 57 | box-shadow: none; |
| 58 | height: 19px; |
| 59 | width: 16px; |
| 60 | border-radius: 1px; |
| 61 | } |
| 62 | |
| 63 | .iti__arrow { |
| 64 | margin-left: 6px; |
| 65 | width: 0; |
| 66 | height: 0; |
| 67 | border-left: 3px solid transparent; |
| 68 | border-right: 3px solid transparent; |
| 69 | border-top: 4px solid #555; |
| 70 | } |
| 71 | |
| 72 | &.separate-dial-code { |
| 73 | input.phone-field-intl.iti__tel-input { |
| 74 | padding-left: 63px; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | input.phone-field-intl.iti__tel-input { |
| 79 | flex: 1; |
| 80 | height: 100%; |
| 81 | width: 100%; |
| 82 | border: 1px solid #ebeced; |
| 83 | outline: none; |
| 84 | padding: 8px 12px; |
| 85 | padding-left: 48px; |
| 86 | color: #1e1e1e; |
| 87 | background: #fff; |
| 88 | box-sizing: border-box; |
| 89 | min-width: 0; |
| 90 | font-size: 14px; |
| 91 | } |
| 92 | |
| 93 | .iti--allow-dropdown .iti__country-container .iti__selected-country-primary:hover { |
| 94 | background-color: rgba(0, 0, 0, 0.05); |
| 95 | transition: all 0.3s ease-in-out; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 |