|
4345 | 4345 | background-color: #FFF
|
4346 | 4346 | }
|
4347 | 4347 |
|
| 4348 | + // .cly-vue-content-builder__layout-header |
4348 | 4349 | &__layout-header {
|
4349 |
| - display: flex; |
4350 |
| - height: 80px; |
| 4350 | + box-sizing: border-box; |
| 4351 | + display: block; |
| 4352 | + width: 100%; |
| 4353 | + padding: 16px 24px; |
4351 | 4354 | background-color: #FFFFFF;
|
4352 |
| - align-items: center; |
4353 |
| - justify-content: space-between; |
4354 |
| - |
4355 |
| - &__wrapper { |
4356 |
| - display: flex; |
4357 |
| - justify-content: space-between; |
4358 |
| - align-items: center; |
4359 |
| - margin-left: 24px; |
4360 |
| - margin-right: 24px; |
4361 |
| - height: 80px; |
4362 |
| - background-color: #FFFFFF; |
4363 |
| - width: 100%; |
4364 |
| - } |
4365 |
| - |
4366 |
| - &__left { |
4367 |
| - display: flex; |
4368 |
| - align-items: center; |
4369 |
| - // width: 350px; |
4370 |
| - } |
4371 |
| - |
4372 |
| - &__icon { |
4373 |
| - border: 1px solid #d1d1d1; |
4374 |
| - width: 32px; |
4375 |
| - height: 32px; |
4376 |
| - border-radius: 40px; |
4377 |
| - display: flex; |
4378 |
| - justify-content: center; |
4379 |
| - align-items: center; |
4380 |
| - cursor: pointer; |
4381 |
| - box-shadow: 0px 1px 2px #D1D1D1; |
4382 |
| - i { |
4383 |
| - font-weight: 600; |
4384 |
| - } |
4385 |
| - } |
4386 |
| - |
4387 |
| - &__toggle { |
4388 |
| - margin-left: 5px; |
4389 |
| - margin-right: -8px; |
4390 |
| - } |
4391 |
| - |
4392 |
| - &__info { |
4393 |
| - margin-left: 24px; |
4394 |
| - } |
4395 |
| - |
4396 |
| - &__info-title { |
4397 |
| - h4 { |
4398 |
| - margin: 0; |
4399 |
| - max-width: 400px; |
4400 |
| - } |
4401 |
| - &__input { |
4402 |
| - width: 200px; |
4403 |
| - } |
4404 |
| - } |
4405 |
| - |
4406 |
| - &__info-meta { |
4407 |
| - display: flex; |
4408 |
| - font-size: 13px; |
4409 |
| - } |
4410 |
| - |
4411 |
| - &__info-version { |
4412 |
| - text-decoration: underline; |
4413 |
| - } |
4414 |
| - |
4415 |
| - &__info-separator { |
4416 |
| - display: flex; |
4417 |
| - align-items: center; |
4418 |
| - margin: 0 5px; |
4419 |
| - i { |
4420 |
| - font-size: 6px; |
4421 |
| - } |
4422 |
| - } |
4423 |
| - |
4424 |
| - &__tabs { |
4425 |
| - width: 350px; |
4426 |
| - } |
| 4355 | + } |
4427 | 4356 |
|
4428 |
| - &__actions { |
4429 |
| - display: flex; |
4430 |
| - align-items: center; |
4431 |
| - gap: 16px; |
4432 |
| - } |
4433 |
| - } |
4434 | 4357 | &__layout-main {
|
4435 | 4358 | margin: 0px 24px 24px 24px;
|
4436 | 4359 | border: 1px solid #ECECEC;
|
|
4510 | 4433 | }
|
4511 | 4434 | }
|
4512 | 4435 |
|
| 4436 | +.cly-vue-content-builder-header { |
| 4437 | + display: flex; |
| 4438 | + align-items: center; |
| 4439 | + justify-content: space-between; |
| 4440 | + flex-wrap: wrap; |
| 4441 | + background-color: #FFFFFF; |
| 4442 | + |
| 4443 | + // .cly-vue-content-builder-header__actions |
| 4444 | + &__actions { |
| 4445 | + display: flex; |
| 4446 | + align-items: center; |
| 4447 | + justify-content: flex-end; |
| 4448 | + } |
| 4449 | + |
| 4450 | + // .cly-vue-content-builder-header__close-button |
| 4451 | + &__close-button { |
| 4452 | + cursor: pointer; |
| 4453 | + display: flex; |
| 4454 | + align-items: center; |
| 4455 | + justify-content: center; |
| 4456 | + padding: 8px; |
| 4457 | + border: 1px solid #D1D1D1; |
| 4458 | + border-radius: 40px; |
| 4459 | + box-shadow: 0px 1px 2px #D1D1D1; |
| 4460 | + margin-right: 24px; |
| 4461 | + |
| 4462 | + // .cly-vue-content-builder-header__close-button i |
| 4463 | + i { |
| 4464 | + color: #616165; |
| 4465 | + font-weight: 700; |
| 4466 | + line-height: 16px; |
| 4467 | + } |
| 4468 | + } |
| 4469 | + |
| 4470 | + // .cly-vue-content-builder-header__info |
| 4471 | + &__info { |
| 4472 | + display: flex; |
| 4473 | + flex-direction: column; |
| 4474 | + align-items: flex-start; |
| 4475 | + justify-content: center; |
| 4476 | + } |
| 4477 | + |
| 4478 | + // .cly-vue-content-builder-header__info-meta |
| 4479 | + &__info-meta { |
| 4480 | + display: flex; |
| 4481 | + align-items: center; |
| 4482 | + justify-content: flex-start; |
| 4483 | + |
| 4484 | + margin-top: 6px; |
| 4485 | + |
| 4486 | + color: #333C48; |
| 4487 | + font-size: 12px; |
| 4488 | + font-weight: 400; |
| 4489 | + line-height: 16px; |
| 4490 | + } |
| 4491 | + |
| 4492 | + // .cly-vue-content-builder-header__input |
| 4493 | + &__input { |
| 4494 | + // .cly-vue-content-builder-header__input .el-input__inner |
| 4495 | + & .el-input__inner { |
| 4496 | + height: initial; |
| 4497 | + padding: 0; |
| 4498 | + |
| 4499 | + background: transparent; |
| 4500 | + border: none; |
| 4501 | + border-bottom: 1px solid transparent; |
| 4502 | + outline: none; |
| 4503 | + border-radius: 0; |
| 4504 | + |
| 4505 | + font-size: 16px; |
| 4506 | + font-weight: 500; |
| 4507 | + line-height: 24px; |
| 4508 | + color: #333C48; |
| 4509 | + |
| 4510 | + // .cly-vue-content-builder-header__input .el-input__inner:focus |
| 4511 | + &:focus { |
| 4512 | + box-shadow: none; |
| 4513 | + } |
| 4514 | + } |
| 4515 | + |
| 4516 | + // .cly-vue-content-builder-header__input:hover .el-input__inner |
| 4517 | + // .cly-vue-content-builder-header__input--editing .el-input__inner |
| 4518 | + &:hover .el-input__inner, |
| 4519 | + &--editing .el-input__inner { |
| 4520 | + border-color: #333C48; |
| 4521 | + } |
| 4522 | + } |
| 4523 | + |
| 4524 | + // .cly-vue-content-builder-header__input-container |
| 4525 | + &__input-container { |
| 4526 | + display: block; |
| 4527 | + cursor: pointer; |
| 4528 | + } |
| 4529 | + |
| 4530 | + // .cly-vue-content-builder-header__left |
| 4531 | + &__left { |
| 4532 | + display: flex; |
| 4533 | + align-items: center; |
| 4534 | + justify-content: flex-start; |
| 4535 | + } |
| 4536 | + |
| 4537 | + // .cly-vue-content-builder-header__options-button |
| 4538 | + &__options-button { |
| 4539 | + margin-left: 8px; |
| 4540 | + |
| 4541 | + // .cly-vue-content-builder-header__options-button.cly-vue-more-options .el-button |
| 4542 | + &.cly-vue-more-options .el-button { |
| 4543 | + padding: 8px; |
| 4544 | + border-radius: 8px; |
| 4545 | + box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05); |
| 4546 | + } |
| 4547 | + } |
| 4548 | + |
| 4549 | + // .cly-vue-content-builder-header__save-button |
| 4550 | + &__save-button { |
| 4551 | + border-radius: 8px; |
| 4552 | + |
| 4553 | + // .cly-vue-content-builder-header__badge + .cly-vue-content-builder-header__save-button |
| 4554 | + .cly-vue-content-builder-header__badge + & { |
| 4555 | + margin-left: 16px; |
| 4556 | + } |
| 4557 | + } |
| 4558 | + |
| 4559 | + // .cly-vue-content-builder-header__tabs |
| 4560 | + &__tabs { |
| 4561 | + // .cly-vue-content-builder-header__tabs .cly-vue-tabs__primary-tab-list |
| 4562 | + & .cly-vue-tabs__primary-tab-list { |
| 4563 | + padding: 0; |
| 4564 | + } |
| 4565 | + |
| 4566 | + // .cly-vue-content-builder-header__tabs .cly-vue-tabs__tab |
| 4567 | + & .cly-vue-tabs__tab { |
| 4568 | + padding: 8px 12px; |
| 4569 | + border-radius: 8px; |
| 4570 | + |
| 4571 | + font-size: 14px; |
| 4572 | + font-weight: 500; |
| 4573 | + line-height: 20px; |
| 4574 | + |
| 4575 | + // .cly-vue-content-builder-header__tabs .cly-vue-tabs__tab:not(:first-child) |
| 4576 | + &:not(:first-child) { |
| 4577 | + margin-left: 8px; |
| 4578 | + } |
| 4579 | + } |
| 4580 | + } |
| 4581 | + |
| 4582 | + // .cly-vue-content-builder-header__toggle |
| 4583 | + &__toggle { |
| 4584 | + margin-right: 16px; |
| 4585 | + } |
| 4586 | + |
| 4587 | + // .cly-vue-content-builder-header__version |
| 4588 | + &__version { |
| 4589 | + text-decoration: underline; |
| 4590 | + |
| 4591 | + // .cly-vue-content-builder-header__version + .cly-vue-content-builder-header__created-by |
| 4592 | + & + .cly-vue-content-builder-header__created-by { |
| 4593 | + position: relative; |
| 4594 | + margin-left: 12px; |
| 4595 | + |
| 4596 | + // .cly-vue-content-builder-header__version + .cly-vue-content-builder-header__created-by::before |
| 4597 | + &::before { |
| 4598 | + content: '·'; |
| 4599 | + position: absolute; |
| 4600 | + top: 0; |
| 4601 | + left: -4px; |
| 4602 | + transform: translateX(-50%); |
| 4603 | + height: 16px; |
| 4604 | + width: 4px; |
| 4605 | + } |
| 4606 | + } |
| 4607 | + } |
| 4608 | +} |
| 4609 | + |
4513 | 4610 | .cly-vue-content-builder-sidebar-input {
|
4514 | 4611 | position: relative;
|
4515 | 4612 |
|
|
0 commit comments