tier-pricing-table
/
src
/
Addons
/
NonLoggedInUsers
/
Wholesale
/
assets
/
css
/
wholesale-registration.css
wholesale-registration.css in Tiered Pricing Table for WooCommerce 8.1.0, at src/Addons/NonLoggedInUsers/Wholesale/assets/css/wholesale-registration.css
| 1 | /* Wholesale registration form and status box. The inputs use WooCommerce's form-row classes, so the theme's form styling applies. */ |
| 2 | .tpt-wholesale { |
| 3 | max-width: 640px; |
| 4 | } |
| 5 | |
| 6 | .tpt-wholesale__title { |
| 7 | margin: 0 0 .5em; |
| 8 | } |
| 9 | |
| 10 | .tpt-wholesale__intro { |
| 11 | margin: 0 0 1.5em; |
| 12 | } |
| 13 | |
| 14 | .tpt-wholesale__form .form-row { |
| 15 | margin: 0 0 1em; |
| 16 | } |
| 17 | |
| 18 | .tpt-wholesale__form .form-row label { |
| 19 | display: block; |
| 20 | margin-bottom: .3em; |
| 21 | } |
| 22 | |
| 23 | .tpt-wholesale__form .form-row .optional { |
| 24 | font-weight: normal; |
| 25 | opacity: .65; |
| 26 | font-size: .9em; |
| 27 | } |
| 28 | |
| 29 | .tpt-wholesale__form .input-text, |
| 30 | .tpt-wholesale__form textarea.input-text { |
| 31 | width: 100%; |
| 32 | box-sizing: border-box; |
| 33 | } |
| 34 | |
| 35 | .tpt-wholesale__row--half { |
| 36 | display: grid; |
| 37 | grid-template-columns: 1fr 1fr; |
| 38 | gap: 0 1em; |
| 39 | } |
| 40 | |
| 41 | @media (max-width: 480px) { |
| 42 | .tpt-wholesale__row--half { |
| 43 | grid-template-columns: 1fr; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | .tpt-wholesale__form .form-row.woocommerce-invalid .input-text { |
| 48 | border-color: #b81c23; |
| 49 | } |
| 50 | |
| 51 | .tpt-wholesale__account { |
| 52 | padding: .75em 1em; |
| 53 | border-radius: 6px; |
| 54 | background: rgba(0, 0, 0, .04); |
| 55 | } |
| 56 | |
| 57 | .tpt-wholesale__terms label { |
| 58 | display: flex !important; |
| 59 | align-items: flex-start; |
| 60 | gap: .5em; |
| 61 | } |
| 62 | |
| 63 | .tpt-wholesale__terms input { |
| 64 | margin-top: .3em; |
| 65 | } |
| 66 | |
| 67 | .tpt-wholesale__submit { |
| 68 | margin-top: 1.5em; |
| 69 | } |
| 70 | |
| 71 | .tpt-wholesale__login { |
| 72 | font-size: .95em; |
| 73 | opacity: .85; |
| 74 | } |
| 75 | |
| 76 | .tpt-wholesale__hp { |
| 77 | position: absolute !important; |
| 78 | left: -9999px !important; |
| 79 | width: 1px; |
| 80 | height: 1px; |
| 81 | overflow: hidden; |
| 82 | } |
| 83 | |
| 84 | /* status box */ |
| 85 | .tpt-wholesale-status { |
| 86 | display: flex; |
| 87 | gap: 1em; |
| 88 | align-items: flex-start; |
| 89 | padding: 1.25em 1.5em; |
| 90 | border: 1px solid rgba(0, 0, 0, .12); |
| 91 | border-radius: 10px; |
| 92 | } |
| 93 | |
| 94 | .tpt-wholesale-status__icon { |
| 95 | flex: none; |
| 96 | color: #6b7280; |
| 97 | } |
| 98 | |
| 99 | .tpt-wholesale-status--approved .tpt-wholesale-status__icon { |
| 100 | color: #15803d; |
| 101 | } |
| 102 | |
| 103 | .tpt-wholesale-status--rejected .tpt-wholesale-status__icon { |
| 104 | color: #b91c1c; |
| 105 | } |
| 106 | |
| 107 | .tpt-wholesale-status__title { |
| 108 | margin: 0 0 .4em; |
| 109 | font-size: 1.25em; |
| 110 | } |
| 111 | |
| 112 | .tpt-wholesale-status__body p:last-child { |
| 113 | margin-bottom: 0; |
| 114 | } |
| 115 | |
| 116 | .tpt-wholesale-apply-link { |
| 117 | margin-top: 1em; |
| 118 | } |
| 119 |