_category-buttons.scss
2 weeks ago
_controls.scss
1 year ago
_custom-tooltip.scss
2 years ago
_editor-selector.scss
2 years ago
_error.scss
2 years ago
_features_list.scss
1 year ago
_filters.scss
2 weeks ago
_form.scss
2 years ago
_general.scss
2 weeks ago
_header.scss
2 years ago
_import.scss
2 years ago
_media-queries.scss
2 years ago
_mock.scss
2 years ago
_progress-bar.scss
2 years ago
_search.scss
2 years ago
_site-settings.scss
1 year ago
_starter-site-card.scss
2 weeks ago
_toast.scss
2 weeks ago
_vars.scss
2 years ago
_general.scss
282 lines
| 1 | #ob-app { |
| 2 | font-family: Arial, sans-serif; |
| 3 | } |
| 4 | |
| 5 | h1 { |
| 6 | color: $main-text; |
| 7 | font-size: 40px; |
| 8 | line-height: 54px; |
| 9 | margin: 0; |
| 10 | } |
| 11 | |
| 12 | h2 { |
| 13 | font-size: 24px; |
| 14 | line-height: 36px; |
| 15 | margin: 0 0 11px 0; |
| 16 | font-weight: 700; |
| 17 | } |
| 18 | |
| 19 | h3 { |
| 20 | font-size: 20px; |
| 21 | line-height: 30px; |
| 22 | font-weight: 700; |
| 23 | } |
| 24 | |
| 25 | h4 { |
| 26 | font-size: 16px; |
| 27 | line-height: 24px; |
| 28 | font-weight: 700; |
| 29 | } |
| 30 | |
| 31 | p { |
| 32 | font-size: 18px; |
| 33 | line-height: 30.6px; |
| 34 | color: $secondary-text; |
| 35 | font-weight: 300; |
| 36 | margin: 21px 0; |
| 37 | } |
| 38 | |
| 39 | label { |
| 40 | color: $secondary-text; |
| 41 | font-size: 18px; |
| 42 | margin-bottom: 8px; |
| 43 | font-weight: 300; |
| 44 | } |
| 45 | |
| 46 | iframe { |
| 47 | flex: 1 |
| 48 | } |
| 49 | |
| 50 | .ob { |
| 51 | position: fixed; |
| 52 | top: 0; |
| 53 | bottom: 0; |
| 54 | left: 0; |
| 55 | right: 0; |
| 56 | z-index: 100000; |
| 57 | background: $inverted-text; |
| 58 | overflow: auto; |
| 59 | } |
| 60 | |
| 61 | .ob-main { |
| 62 | display: flex; |
| 63 | flex-direction: column; |
| 64 | height: 100%; |
| 65 | } |
| 66 | |
| 67 | .ob-container-inner { |
| 68 | max-width: 1400px; |
| 69 | margin: 0 auto; |
| 70 | width: 100%; |
| 71 | padding: 25px; |
| 72 | box-sizing: border-box; |
| 73 | } |
| 74 | |
| 75 | .ob-container { |
| 76 | flex-direction: column; |
| 77 | display: flex; |
| 78 | flex: 1; |
| 79 | overflow: auto; |
| 80 | |
| 81 | &.narrow { |
| 82 | justify-content: center; |
| 83 | max-width: 559px; |
| 84 | margin: 0 auto; |
| 85 | overflow: initial; |
| 86 | } |
| 87 | &.wide { |
| 88 | padding: 10px; |
| 89 | max-width: 1400px; |
| 90 | margin: 0 auto; |
| 91 | } |
| 92 | &.row { |
| 93 | flex-direction: row; |
| 94 | } |
| 95 | &.center { |
| 96 | text-align: center; |
| 97 | align-items: center; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | .ob-no-results{ |
| 102 | flex: 1; |
| 103 | display: flex; |
| 104 | align-items: center; |
| 105 | justify-content: center; |
| 106 | } |
| 107 | |
| 108 | .ob-sites.is-grid { |
| 109 | display: grid; |
| 110 | grid-row-gap: 24px; |
| 111 | grid-column-gap: 24px; |
| 112 | grid-template-columns: 1fr; |
| 113 | } |
| 114 | |
| 115 | .ob-results-divider { |
| 116 | grid-column: 1 / -1; |
| 117 | display: flex; |
| 118 | align-items: center; |
| 119 | gap: 16px; |
| 120 | margin: 8px 0; |
| 121 | color: #757575; |
| 122 | font-size: 14px; |
| 123 | font-weight: 600; |
| 124 | |
| 125 | &::before, |
| 126 | &::after { |
| 127 | content: ''; |
| 128 | flex: 1; |
| 129 | height: 1px; |
| 130 | background: #e0e0e0; |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | .ob-title-wrap { |
| 135 | display: flex; |
| 136 | align-items: center; |
| 137 | justify-content: space-between; |
| 138 | gap: 16px; |
| 139 | } |
| 140 | |
| 141 | .ob-title-text { |
| 142 | display: flex; |
| 143 | flex-direction: column; |
| 144 | gap: 4px; |
| 145 | |
| 146 | h1 { |
| 147 | margin: 0; |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | .ob-subtitle { |
| 152 | margin: 6px 0 0; |
| 153 | max-width: 56ch; |
| 154 | // ~#6E6D6D on white ≈ 4.6:1 → passes WCAG AA while staying clearly secondary to the near-black h1. |
| 155 | color: mix($main-text, $inverted-text, 56%); |
| 156 | font-size: 14px; |
| 157 | line-height: 20px; |
| 158 | font-weight: 400; |
| 159 | letter-spacing: 0.1px; |
| 160 | |
| 161 | // Subtle emphasis on the catalog claim — weight only, no brand color (would read promotional). |
| 162 | .ob-subtitle__count { |
| 163 | font-weight: 600; |
| 164 | color: $main-text; |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | @media (max-width: #{$tablet}) { |
| 169 | .ob-subtitle { |
| 170 | font-size: 13px; |
| 171 | line-height: 19px; |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Inputs. |
| 177 | */ |
| 178 | input.components-text-control__input, |
| 179 | input.components-text-control__input[type="text"]="text""], |
| 180 | input.components-text-control__input[type="email"]="email""], |
| 181 | .ob-select.ob-select.ob-select select { |
| 182 | border: 1px solid $border; |
| 183 | border-radius: $input-radius; |
| 184 | height: 53px; |
| 185 | font-weight: 400; |
| 186 | font-size: 16px; |
| 187 | line-height: 24px; |
| 188 | padding: 0 21px; |
| 189 | &:focus { |
| 190 | outline: 2px solid $primary; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | .ob-select.ob-select.ob-select { |
| 195 | .components-input-control__backdrop { |
| 196 | border: none; |
| 197 | } |
| 198 | .components-spacer{ |
| 199 | padding-right: 21px; |
| 200 | svg{ |
| 201 | width: 30px; |
| 202 | height: 30px; |
| 203 | } |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | .components-modal__content:has( .ob-modal-confirm-title ) .components-button, |
| 208 | .components-button.ob-button { |
| 209 | display: flex; |
| 210 | height: 48px; |
| 211 | padding: 16px 32px; |
| 212 | justify-content: center; |
| 213 | align-items: center; |
| 214 | gap: 32px; |
| 215 | border-radius: 5px; |
| 216 | font-size: 20px; |
| 217 | font-style: normal; |
| 218 | font-weight: 700; |
| 219 | line-height: 30px; |
| 220 | |
| 221 | &:hover,&:focus { |
| 222 | &:not(:disabled) { |
| 223 | box-shadow: none; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | &.is-primary{ |
| 228 | background: $primary; |
| 229 | &:hover:not(:disabled) { |
| 230 | background: $dark-bg; |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | &.full { |
| 235 | width: 100%; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | .components-button.is-link.ob-link { |
| 240 | font-size: 16px; |
| 241 | line-height: 24px; |
| 242 | color: $secondary-text; |
| 243 | text-align: center; |
| 244 | margin-top: 17px; |
| 245 | justify-content: center; |
| 246 | width: 100%; |
| 247 | text-decoration: none; |
| 248 | &:focus { |
| 249 | box-shadow: none; |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | .ob-pro-info { |
| 254 | display: flex; |
| 255 | flex-direction: column; |
| 256 | gap: 18px; |
| 257 | h4, p { |
| 258 | margin: 0; |
| 259 | } |
| 260 | p { |
| 261 | font-size: 14px; |
| 262 | font-weight: 400; |
| 263 | line-height: 23.8px; |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | @mixin ob-general--laptop() { |
| 268 | .ob-sites.is-grid { |
| 269 | grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | @mixin ob-general--tablet() { |
| 274 | .ob-sites.is-grid { |
| 275 | grid-template-columns: 1fr 1fr; |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | .components-modal__content:has( .ob-modal-confirm-title ) .components-button.is-tertiary { |
| 280 | color: black; |
| 281 | } |
| 282 |