_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
_library.scss
476 lines
| 1 | .table { |
| 2 | .table-row { |
| 3 | display: flex; |
| 4 | height: 60px; |
| 5 | align-items: center; |
| 6 | padding: 0 25px; |
| 7 | background: #fff; |
| 8 | border: 1px solid rgba(0, 0, 0, 0.11); |
| 9 | border-top: none; |
| 10 | |
| 11 | &:first-child { |
| 12 | border-top: 1px solid rgba(0, 0, 0, 0.11); |
| 13 | } |
| 14 | |
| 15 | svg { |
| 16 | height: 24px; |
| 17 | margin-right: 10px; |
| 18 | fill: #b9b9b9; |
| 19 | } |
| 20 | |
| 21 | .title { |
| 22 | display: flex; |
| 23 | align-items: center; |
| 24 | |
| 25 | .components-base-control__field { |
| 26 | margin: 0; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | .type { |
| 31 | margin: 0 50px; |
| 32 | } |
| 33 | |
| 34 | .controls { |
| 35 | margin-left: auto; |
| 36 | display: flex; |
| 37 | align-items: center; |
| 38 | |
| 39 | button { |
| 40 | padding: 6px 30px; |
| 41 | font-weight: 600; |
| 42 | color: #b9b9b9; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | .actions { |
| 47 | display: flex; |
| 48 | margin-left: 50px; |
| 49 | justify-content: flex-end; |
| 50 | |
| 51 | &.no-controls { |
| 52 | margin-left: auto; |
| 53 | } |
| 54 | |
| 55 | .components-button { |
| 56 | padding: 6px 30px; |
| 57 | |
| 58 | &.is-primary { |
| 59 | margin-left: 10px; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | .type-label { |
| 67 | padding: 4px 8px; |
| 68 | border-radius: 5px; |
| 69 | font-size: 13px; |
| 70 | font-weight: 500; |
| 71 | line-height: 19.5px; |
| 72 | color: #fff; |
| 73 | background-color: #313233; |
| 74 | } |
| 75 | |
| 76 | .filters { |
| 77 | display: flex; |
| 78 | align-items: center; |
| 79 | margin-bottom: 40px; |
| 80 | |
| 81 | .components-dropdown { |
| 82 | &:nth-of-type(1) { |
| 83 | .components-button { |
| 84 | &.filter-input { |
| 85 | width: 100px; |
| 86 | border-right-width: 0.1px; |
| 87 | border-radius: 0; |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | .components-button { |
| 93 | &.filter-input { |
| 94 | width: 200px; |
| 95 | height: 52px; |
| 96 | display: flex; |
| 97 | align-items: center; |
| 98 | font-weight: 600; |
| 99 | padding: 5px 20px 5px 10px; |
| 100 | background: #fff; |
| 101 | border: 1px solid #d9d9d9; |
| 102 | border-left : 0; |
| 103 | color: #616161; |
| 104 | box-shadow: none; |
| 105 | font-weight: normal; |
| 106 | border-radius: 0 6px 6px 0; |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | .components-base-control, input { |
| 112 | width: 100%; |
| 113 | |
| 114 | &.has-filters { |
| 115 | input { |
| 116 | border-radius: 6px 0 0 6px; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | .components-base-control__field { |
| 121 | margin-bottom: 0; |
| 122 | } |
| 123 | |
| 124 | input { |
| 125 | border-radius: 6px; |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | |
| 130 | .display-filters { |
| 131 | display: flex; |
| 132 | margin-left: 20px; |
| 133 | align-items: center; |
| 134 | |
| 135 | .display-filters__search { |
| 136 | width: 200px; |
| 137 | position: relative; |
| 138 | margin-right: 20px; |
| 139 | |
| 140 | input { |
| 141 | max-height: 36px; |
| 142 | border: none; |
| 143 | border-bottom: 1px solid #d5dadf; |
| 144 | border-radius: 0; |
| 145 | font-size: 11px; |
| 146 | padding: 8px 15px 8px 0; |
| 147 | transition: border .5s; |
| 148 | background: none; |
| 149 | box-shadow: none; |
| 150 | color: #6d7882; |
| 151 | outline: none; |
| 152 | } |
| 153 | |
| 154 | > svg, |
| 155 | .components-button { |
| 156 | position: absolute; |
| 157 | top: 50%; |
| 158 | right: 0; |
| 159 | transform: translateY(-50%); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | button { |
| 164 | &.is-pressed, &:active, &:focus, &:hover { |
| 165 | background-color: transparent !important; |
| 166 | color: $blue; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | .display-sorting { |
| 172 | display: flex; |
| 173 | align-items: center; |
| 174 | font-size: 11px; |
| 175 | |
| 176 | .sorting-label { |
| 177 | flex-grow: 1; |
| 178 | text-align: left; |
| 179 | padding-right: 20px; |
| 180 | border-right: 1px solid #d5dadf; |
| 181 | text-transform: uppercase; |
| 182 | } |
| 183 | |
| 184 | .sorting-filter { |
| 185 | .components-button { |
| 186 | padding: 0 0 0 20px; |
| 187 | height: auto; |
| 188 | color: inherit; |
| 189 | font-size: inherit; |
| 190 | text-transform: uppercase; |
| 191 | |
| 192 | &::after { |
| 193 | width: 11px; |
| 194 | content: " "; |
| 195 | margin-left: 3px; |
| 196 | } |
| 197 | |
| 198 | &.is-selected { |
| 199 | &::after { |
| 200 | font-family: dashicons; |
| 201 | content: "\f142"; |
| 202 | margin-left: 3px; |
| 203 | } |
| 204 | |
| 205 | &.is-asc { |
| 206 | &::after { |
| 207 | content: "\f140"; |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | .filter-fse { |
| 216 | label { |
| 217 | flex-grow: 1; |
| 218 | text-align: left; |
| 219 | padding-right: 20px; |
| 220 | border-right: 1px solid #d5dadf; |
| 221 | text-transform: uppercase; |
| 222 | font-size: 11px; |
| 223 | } |
| 224 | |
| 225 | .components-base-control { |
| 226 | margin: 0 20px; |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | .header-form { |
| 231 | width: 100%; |
| 232 | display: flex; |
| 233 | justify-content: space-between; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | .cloud-items { |
| 238 | |
| 239 | .components-spinner { |
| 240 | margin: 0 auto !important; |
| 241 | display: block; |
| 242 | margin-top: 50% !important; |
| 243 | } |
| 244 | |
| 245 | .fetching-loader { |
| 246 | .components-spinner { |
| 247 | margin: 100px auto !important; |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | &.is-grid .table { |
| 252 | display: grid; |
| 253 | grid-template-columns: 1fr; |
| 254 | grid-column-gap: 20px; |
| 255 | grid-row-gap: 20px; |
| 256 | } |
| 257 | |
| 258 | .empty-information { |
| 259 | max-width: 500px; |
| 260 | margin: 0 auto; |
| 261 | text-align: center; |
| 262 | |
| 263 | img { |
| 264 | max-width: 150px; |
| 265 | } |
| 266 | |
| 267 | h3, |
| 268 | p { |
| 269 | color: #616161; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | &.is-dummy { |
| 274 | margin-top: 25px; |
| 275 | margin-bottom: 25px; |
| 276 | } |
| 277 | |
| 278 | .upsell-modal-overlay { |
| 279 | top: 0; |
| 280 | right: auto; |
| 281 | bottom: auto; |
| 282 | left: 0; |
| 283 | width: 100%; |
| 284 | height: 100%; |
| 285 | position: absolute; |
| 286 | background: rgba(0, 0, 0, 0.35); |
| 287 | |
| 288 | .upsell-modal { |
| 289 | top: 40%; |
| 290 | right: auto; |
| 291 | bottom: auto; |
| 292 | left: 50%; |
| 293 | min-width: 360px; |
| 294 | max-width: calc(100% - 16px - 16px); |
| 295 | max-height: 90%; |
| 296 | transform: translate(-50%, -50%); |
| 297 | position: absolute; |
| 298 | |
| 299 | .upsell-modal-content { |
| 300 | display: flex; |
| 301 | } |
| 302 | |
| 303 | .info { |
| 304 | background: #ffffff; |
| 305 | width: 60%; |
| 306 | padding: 100px 25px; |
| 307 | |
| 308 | h3 { |
| 309 | font-size: 24px; |
| 310 | line-height: 28.64px; |
| 311 | } |
| 312 | |
| 313 | p { |
| 314 | font-size: 15px; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | .icon { |
| 319 | display: flex; |
| 320 | align-items: center; |
| 321 | justify-content: center; |
| 322 | background: #0566d5; |
| 323 | width: 40%; |
| 324 | |
| 325 | .ob-logo { |
| 326 | width: 100px; |
| 327 | margin: 0; |
| 328 | } |
| 329 | } |
| 330 | } |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | .table-grid { |
| 335 | border: 1px solid #ccc; |
| 336 | min-height: 350px; |
| 337 | display: flex; |
| 338 | flex-direction: column; |
| 339 | |
| 340 | .grid-preview { |
| 341 | display: flex; |
| 342 | width: 100%; |
| 343 | height: 300px; |
| 344 | background-color: #b7c0cc; |
| 345 | background-position: top center; |
| 346 | background-size: cover; |
| 347 | |
| 348 | &:hover { |
| 349 | background-color: #404040; |
| 350 | } |
| 351 | |
| 352 | &.is-loading { |
| 353 | background: #b7c0cc; |
| 354 | |
| 355 | .preview-actions { |
| 356 | display: flex; |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | .preview-actions { |
| 361 | opacity: 0; |
| 362 | transition: .3s ease opacity; |
| 363 | width: 100%; |
| 364 | height: auto; |
| 365 | flex-direction: column; |
| 366 | justify-content: center; |
| 367 | align-items: center; |
| 368 | background-color: rgba(0, 0, 0, 0.9); |
| 369 | display: flex; |
| 370 | |
| 371 | > .components-button { |
| 372 | width: 120px; |
| 373 | justify-content: center; |
| 374 | margin-bottom: 10px; |
| 375 | |
| 376 | &.is-secondary { |
| 377 | color: #ffffff; |
| 378 | box-shadow: inset 0 0 0 2px #ffffff; |
| 379 | |
| 380 | &:disabled { |
| 381 | background: transparent; |
| 382 | opacity: 0.5; |
| 383 | } |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | .preview-controls { |
| 388 | .components-button { |
| 389 | width: 20px; |
| 390 | |
| 391 | svg { |
| 392 | fill: #ffffff; |
| 393 | } |
| 394 | } |
| 395 | } |
| 396 | } |
| 397 | |
| 398 | &:hover { |
| 399 | .preview-actions { |
| 400 | opacity: 1; |
| 401 | } |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | .card-footer { |
| 406 | background: #ffffff; |
| 407 | border-top: 1px solid #ccc; |
| 408 | padding: 15px; |
| 409 | flex-grow: 1; |
| 410 | display: flex; |
| 411 | align-items: center; |
| 412 | justify-content: space-between; |
| 413 | |
| 414 | form { |
| 415 | display: flex; |
| 416 | align-items: center; |
| 417 | } |
| 418 | |
| 419 | .components-base-control { |
| 420 | flex-grow: 1; |
| 421 | } |
| 422 | |
| 423 | .components-base-control__field { |
| 424 | margin-bottom: 0; |
| 425 | } |
| 426 | |
| 427 | button { |
| 428 | height: auto; |
| 429 | margin-left: auto; |
| 430 | } |
| 431 | |
| 432 | p { |
| 433 | font-weight: 600; |
| 434 | margin: 0; |
| 435 | } |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | .filter-overlay { |
| 440 | .components-button { |
| 441 | &:not( .has-icon ) { |
| 442 | padding-left: 38px; |
| 443 | } |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | @mixin library--tablet { |
| 448 | .cloud-items { |
| 449 | &.is-grid .table { |
| 450 | grid-template-columns: 1fr 1fr; |
| 451 | |
| 452 | } |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | @mixin library--laptop { |
| 457 | .cloud-items { |
| 458 | &.is-grid .table { |
| 459 | grid-template-columns: 1fr 1fr 1fr; |
| 460 | |
| 461 | } |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | @mixin library--desktop { |
| 466 | .cloud-items { |
| 467 | &.is-grid .table { |
| 468 | grid-template-columns: 1fr 1fr 1fr 1fr; |
| 469 | |
| 470 | } |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | @import "../../../editor/src/scss/pagination"; |
| 475 | |
| 476 |