_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
_controls.scss
229 lines
| 1 | .ob-ctrl-head { |
| 2 | display: flex; |
| 3 | align-items: center; |
| 4 | justify-content: space-between; |
| 5 | margin: 0 0 24px 0; |
| 6 | |
| 7 | h3 { |
| 8 | font-size: 18px; |
| 9 | } |
| 10 | |
| 11 | &.small-gap { |
| 12 | margin: 0 0 9px 0; |
| 13 | } |
| 14 | h3 { |
| 15 | margin: 0; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | .ob-ctrl-wrap { |
| 20 | display: flex; |
| 21 | flex-wrap: wrap; |
| 22 | |
| 23 | &.palette, &.import-options { |
| 24 | flex-direction: column; |
| 25 | } |
| 26 | |
| 27 | &.font { |
| 28 | justify-content: space-between; |
| 29 | align-items: center; |
| 30 | gap: 8px; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | .ob-active { |
| 35 | outline: 2px solid $primary; |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Palette |
| 40 | */ |
| 41 | .ob-palette { |
| 42 | max-width: 100%; |
| 43 | justify-content: center; |
| 44 | background: none; |
| 45 | border: none; |
| 46 | padding: 16px; |
| 47 | display: flex; |
| 48 | column-gap: 5px; |
| 49 | border-radius: 4px; |
| 50 | cursor: pointer; |
| 51 | |
| 52 | .color { |
| 53 | width: 28px; |
| 54 | height: 28px; |
| 55 | border: 1px solid $border; |
| 56 | border-radius: 50%; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Font |
| 62 | */ |
| 63 | .ob-font-pair { |
| 64 | background-color: transparent; |
| 65 | border-radius: $button-radius; |
| 66 | margin: 3px 0; |
| 67 | font-size: 18px; |
| 68 | text-transform: capitalize; |
| 69 | letter-spacing: normal; |
| 70 | font-weight: 700; |
| 71 | box-shadow: 0 0 0 2px rgba(0,0,0,.1); |
| 72 | color: $main-text; |
| 73 | width: 80px; |
| 74 | justify-content: center; |
| 75 | } |
| 76 | |
| 77 | .ob-font-default { |
| 78 | width: 100%; |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Site Name |
| 83 | */ |
| 84 | .ob-site-name { |
| 85 | width: 100%; |
| 86 | input[type="text"]="text""]{ |
| 87 | color: $secondary-text; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Logo |
| 93 | */ |
| 94 | |
| 95 | .ob-media { |
| 96 | border: 1px dashed $secondary-text; |
| 97 | width: 100%; |
| 98 | padding: 65px 16px; |
| 99 | font-size: 16px; |
| 100 | cursor: pointer; |
| 101 | background: none; |
| 102 | display: block; |
| 103 | border-radius: 8px; |
| 104 | overflow: hidden; |
| 105 | |
| 106 | &.has-logo { |
| 107 | padding: 0; |
| 108 | } |
| 109 | |
| 110 | .ob-responsive-wrapper { |
| 111 | position: relative; |
| 112 | max-width: 100%; |
| 113 | } |
| 114 | |
| 115 | span { |
| 116 | display: block; |
| 117 | } |
| 118 | |
| 119 | img { |
| 120 | max-width: 100%; |
| 121 | max-height: 100%; |
| 122 | position: absolute; |
| 123 | top: 0; |
| 124 | right: 0; |
| 125 | bottom: 0; |
| 126 | left: 0; |
| 127 | margin: auto; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | .ob-media-actions { |
| 132 | margin-top: 23px; |
| 133 | display: flex; |
| 134 | gap:18px; |
| 135 | .components-button.is-tertiary { |
| 136 | font-size: 14px; |
| 137 | padding: 0; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Import options |
| 143 | */ |
| 144 | .ob-ctrl-wrap.import-options { |
| 145 | |
| 146 | button:hover { |
| 147 | color: $primary; |
| 148 | } |
| 149 | |
| 150 | &.is-opened { |
| 151 | padding: 0; |
| 152 | .components-panel__body-title { |
| 153 | margin:0; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | .toggle { |
| 158 | display: flex; |
| 159 | justify-content: space-between; |
| 160 | flex-direction: row-reverse; |
| 161 | padding: 16px 8px; |
| 162 | height: auto; |
| 163 | width: calc( 100% - 6px ); |
| 164 | margin-left: 2px; |
| 165 | &:focus { |
| 166 | box-shadow: none; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | .ob-import-options-wrap { |
| 172 | height: 0; |
| 173 | overflow: hidden; |
| 174 | transition: all 0.5s ease-in-out; |
| 175 | display: flex; |
| 176 | flex-direction: column; |
| 177 | gap: 16px; |
| 178 | &.is-opened { |
| 179 | height: auto; |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | .ob-option-row { |
| 184 | display: flex; |
| 185 | justify-content: space-between; |
| 186 | padding: 20px 0; |
| 187 | border-bottom: 1px solid $border; |
| 188 | align-items: center; |
| 189 | &:last-child { |
| 190 | border: none; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | .ob-option-name { |
| 195 | display: flex; |
| 196 | justify-content: space-around; |
| 197 | position: relative; |
| 198 | font-size: 14px; |
| 199 | line-height: 28px; |
| 200 | align-items: center; |
| 201 | gap: 10px; |
| 202 | } |
| 203 | |
| 204 | .ob-toggle-wrapper > div { |
| 205 | margin-bottom: 0; |
| 206 | } |
| 207 | |
| 208 | .ob-import-plugins { |
| 209 | display: flex; |
| 210 | flex-direction: column; |
| 211 | gap: 8px; |
| 212 | h2, p { |
| 213 | margin: 0; |
| 214 | } |
| 215 | |
| 216 | p, ul { |
| 217 | font-size: 14px; |
| 218 | line-height: 23.8px; |
| 219 | font-weight: 400; |
| 220 | } |
| 221 | |
| 222 | ul { |
| 223 | color: $secondary-text; |
| 224 | padding: 0 18px; |
| 225 | li { |
| 226 | list-style-type: disc; |
| 227 | } |
| 228 | } |
| 229 | } |