_card.scss
5 years ago
_custom-tooltip.scss
3 years ago
_demo-site-templates.scss
5 years ago
_docnotice.scss
2 years ago
_editor-selector.scss
2 years ago
_editor-tabs.scss
4 years ago
_feedback.scss
2 years ago
_general.scss
3 years ago
_header.scss
3 years ago
_import-modal.scss
3 years ago
_library.scss
2 years ago
_license.scss
3 years ago
_media-queries.scss
4 years ago
_mock.scss
5 years ago
_new-tc-notice.scss
1 year ago
_notification.scss
4 years ago
_preview.scss
5 years ago
_search.scss
4 years ago
_settings.scss
2 years ago
_starter-site-card.scss
4 years ago
_stepper.scss
3 years ago
_sticky-nav.scss
5 years ago
_vars.scss
5 years ago
_import-modal.scss
392 lines
| 1 | @import "stepper"; |
| 2 | |
| 3 | $base-index: 100000; |
| 4 | |
| 5 | .migration .modal-body .loading { |
| 6 | display: flex; |
| 7 | flex-direction: column; |
| 8 | align-items: center; |
| 9 | justify-content: center; |
| 10 | margin: 30px auto; |
| 11 | width: auto; |
| 12 | color: #fff; |
| 13 | |
| 14 | h3 { |
| 15 | margin: 20px 0 0; |
| 16 | } |
| 17 | |
| 18 | svg { |
| 19 | padding: 10px; |
| 20 | background-color: $warning; |
| 21 | border-radius: 100%; |
| 22 | animation-name: spin; |
| 23 | animation-duration: 2000ms; |
| 24 | animation-iteration-count: infinite; |
| 25 | animation-timing-function: linear; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | .ob-import-modal { |
| 30 | background-color: #fff; |
| 31 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); |
| 32 | .components-modal__content:before{ |
| 33 | display:none; |
| 34 | } |
| 35 | .components-modal__header { |
| 36 | border: none; |
| 37 | |
| 38 | h1 { |
| 39 | font-size: 18px; |
| 40 | font-weight: 700; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .header { |
| 45 | margin-bottom: 15px; |
| 46 | |
| 47 | h1 { |
| 48 | margin-top: 0; |
| 49 | font-size: 18px; |
| 50 | font-weight: 700; |
| 51 | color: #000; |
| 52 | line-height: normal; |
| 53 | margin-bottom: 10px; |
| 54 | } |
| 55 | |
| 56 | p.description { |
| 57 | font-size: 14px; |
| 58 | line-height: 24px; |
| 59 | color: #333; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | //.components-tooltip { |
| 64 | // display: none; |
| 65 | //} |
| 66 | |
| 67 | .modal-body { |
| 68 | h3 { |
| 69 | margin: 0; |
| 70 | display: flex; |
| 71 | align-items: center; |
| 72 | |
| 73 | svg { |
| 74 | margin-right: 5px; |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | .well { |
| 80 | margin: 0; |
| 81 | padding: 20px 10px; |
| 82 | border-radius: 6px; |
| 83 | color: #616161; |
| 84 | background-color: rgba(249, 215, 128, 0.24); |
| 85 | |
| 86 | ol { |
| 87 | padding: 0; |
| 88 | margin: 20px 0 0 20px; |
| 89 | |
| 90 | li { |
| 91 | margin-bottom: 10px; |
| 92 | font-size: 14px; |
| 93 | |
| 94 | &:last-child { |
| 95 | margin-bottom: 0; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | ul { |
| 101 | margin: 0 0 0 20px; |
| 102 | padding: 0; |
| 103 | list-style: disc; |
| 104 | |
| 105 | li { |
| 106 | font-size: 14px; |
| 107 | margin-bottom: 10px; |
| 108 | font-weight: 400; |
| 109 | |
| 110 | |
| 111 | &:last-child { |
| 112 | margin-bottom: 0; |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | &.error { |
| 118 | background-color: lighten($error, 27); |
| 119 | } |
| 120 | |
| 121 | &.warning { |
| 122 | background-color: lighten($warning, 27); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | hr { |
| 127 | margin: 25px 0; |
| 128 | border: none; |
| 129 | border-top: 1px solid $grey; |
| 130 | height: 0; |
| 131 | } |
| 132 | |
| 133 | .import-result { |
| 134 | font-size: 14px; |
| 135 | } |
| 136 | |
| 137 | .modal-body { |
| 138 | padding-bottom: 52px; |
| 139 | |
| 140 | .plugin-summary { |
| 141 | display: flex; |
| 142 | flex-direction: row; |
| 143 | align-items: center; |
| 144 | .tiob-tooltip-content { |
| 145 | left: 25px; |
| 146 | top: 0; |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | .tpc-subscribe-email-text { |
| 151 | font-size: 14px; |
| 152 | margin-top: 20px; |
| 153 | } |
| 154 | .tpc-email-input { |
| 155 | margin-bottom: 60px; |
| 156 | input { |
| 157 | padding: 12px; |
| 158 | font-size: 13px; |
| 159 | color: #2C3338; |
| 160 | border-radius: 2px; |
| 161 | } |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | .modal-footer { |
| 166 | margin-top: 25px; |
| 167 | display: flex; |
| 168 | align-items: center; |
| 169 | position: absolute; |
| 170 | bottom: 0; |
| 171 | background: #fff; |
| 172 | width: calc( 100% - 72px ); |
| 173 | padding: 12px 36px; |
| 174 | z-index: 10; |
| 175 | left: 0; |
| 176 | border-top: 1px solid #d9d9d9; |
| 177 | |
| 178 | -webkit-box-shadow: 0px -24px 12px 0px rgba(255,255,255,0.8); |
| 179 | box-shadow: 0px -24px 12px 0px rgba(255,255,255,0.8); |
| 180 | |
| 181 | .import { |
| 182 | padding: 10px 30px; |
| 183 | margin-left: auto; |
| 184 | font-weight: 600; |
| 185 | font-size: 14px; |
| 186 | height: auto; |
| 187 | border-radius: 4px; |
| 188 | } |
| 189 | |
| 190 | |
| 191 | button, a { |
| 192 | &:last-child { |
| 193 | margin-left: auto; |
| 194 | |
| 195 | &:only-child { |
| 196 | margin-left: auto; |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | .ob-import-modal.fetching { |
| 204 | //pointer-events: none; |
| 205 | |
| 206 | .title { |
| 207 | width: 200px; |
| 208 | display: block; |
| 209 | } |
| 210 | |
| 211 | .is-loading { |
| 212 | border-radius: 3px; |
| 213 | animation: 1.5s loading-placeholder ease-in-out infinite; |
| 214 | background-color: $black; |
| 215 | height: 20px; |
| 216 | |
| 217 | &.button { |
| 218 | background-color: #007cba; |
| 219 | height: 39px; |
| 220 | } |
| 221 | |
| 222 | &.link { |
| 223 | width: 100px; |
| 224 | background-color: #007cba; |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | .well { |
| 229 | animation: 1.5s loading-placeholder-high-opacity ease-in-out infinite; |
| 230 | height: inherit !important; |
| 231 | background-color: inherit !important; |
| 232 | |
| 233 | h3 { |
| 234 | span { |
| 235 | width: 100px; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | ol { |
| 240 | list-style: square; |
| 241 | } |
| 242 | |
| 243 | li { |
| 244 | border-radius: 3px; |
| 245 | width: 75%; |
| 246 | height: 18px; |
| 247 | margin-top: 0; |
| 248 | background-color: $black; |
| 249 | animation: 1.5s loading-placeholder ease-in-out infinite; |
| 250 | |
| 251 | &:nth-child(2) { |
| 252 | width: 85%; |
| 253 | } |
| 254 | |
| 255 | &:nth-child(3) { |
| 256 | width: 95%; |
| 257 | } |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | .mock-icon { |
| 262 | width: 20px; |
| 263 | height: 20px; |
| 264 | margin-right: 5px; |
| 265 | } |
| 266 | |
| 267 | .options { |
| 268 | h3 { |
| 269 | max-width: 100px; |
| 270 | } |
| 271 | |
| 272 | li { |
| 273 | .mock-icon { |
| 274 | background-color: $blue; |
| 275 | margin-right: 15px; |
| 276 | } |
| 277 | |
| 278 | span { |
| 279 | width: 100px; |
| 280 | } |
| 281 | |
| 282 | .toggle { |
| 283 | width: 40px; |
| 284 | background-color: $blue; |
| 285 | border-radius: 50px; |
| 286 | margin-left: auto; |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | .modal-footer button { |
| 292 | width: 90px; |
| 293 | height: 35px; |
| 294 | background-color: $dark-grey; |
| 295 | border: none !important; |
| 296 | |
| 297 | &.is-primary { |
| 298 | background-color: $blue; |
| 299 | } |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | .modal-toggles { |
| 304 | margin-top: 10px; |
| 305 | border: none; |
| 306 | |
| 307 | .options { |
| 308 | border: none; |
| 309 | padding: 10px; |
| 310 | |
| 311 | .components-panel__body-title { |
| 312 | margin: -10px -10px 0 -10px !important; |
| 313 | } |
| 314 | |
| 315 | button { |
| 316 | font-size: 16px; |
| 317 | font-weight: 700; |
| 318 | line-height: 30px; |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | .option-row { |
| 323 | justify-content: flex-start; |
| 324 | border-bottom: 1px solid transparentize($black, .9); |
| 325 | margin: 0; |
| 326 | padding: 8px 0; |
| 327 | display: flex; |
| 328 | align-items: center; |
| 329 | |
| 330 | span { |
| 331 | font-size: 14px; |
| 332 | margin-left: 10px; |
| 333 | color: $black; |
| 334 | } |
| 335 | |
| 336 | .actions { |
| 337 | margin-left: auto; |
| 338 | } |
| 339 | |
| 340 | .dashicon { |
| 341 | margin-left: 10px; |
| 342 | color: #888888; |
| 343 | font-size: 18px; |
| 344 | display: flex; |
| 345 | align-items: center; |
| 346 | } |
| 347 | |
| 348 | &.active .dashicon { |
| 349 | color: $blue; |
| 350 | } |
| 351 | |
| 352 | .toggle-wrapper { |
| 353 | margin-left: auto; |
| 354 | |
| 355 | .components-form-toggle { |
| 356 | margin: 0; |
| 357 | } |
| 358 | } |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | .import-done-actions { |
| 363 | display: flex; |
| 364 | align-items: center; |
| 365 | width: 100%; |
| 366 | flex-direction: column-reverse; |
| 367 | gap: 10px; |
| 368 | padding: 12px 0; |
| 369 | |
| 370 | .components-button.is-secondary { |
| 371 | margin-left: auto; |
| 372 | border: 2px solid; |
| 373 | padding: 8px 20px; |
| 374 | font-weight: 600; |
| 375 | font-size: 14px; |
| 376 | height: auto; |
| 377 | border-radius: 4px; |
| 378 | } |
| 379 | |
| 380 | .import { |
| 381 | margin-left: 0 !important; |
| 382 | } |
| 383 | .import-full-w { |
| 384 | width: 100%; |
| 385 | justify-content: center; |
| 386 | padding: 12px 30px; |
| 387 | } |
| 388 | .is-grayed { |
| 389 | color: #757575; |
| 390 | } |
| 391 | } |
| 392 |