PublishLibrary.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @import "../css/variables.module";
  2. .excalidraw {
  3. .publish-library {
  4. &__fields {
  5. display: flex;
  6. flex-direction: column;
  7. label {
  8. padding: 1em 0;
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. span {
  13. font-weight: 500;
  14. font-size: 1rem;
  15. color: $oc-gray-6;
  16. }
  17. input,
  18. textarea {
  19. width: 70%;
  20. padding: 0.6em;
  21. font-family: var(--ui-font);
  22. }
  23. .required {
  24. color: $oc-red-8;
  25. margin: 0.2rem;
  26. }
  27. }
  28. }
  29. &__buttons {
  30. display: flex;
  31. padding: 0.2rem 0;
  32. justify-content: flex-end;
  33. gap: 0.5rem;
  34. .ToolIcon__icon {
  35. min-width: 2.5rem;
  36. width: auto;
  37. font-size: 1rem;
  38. }
  39. .ToolIcon_type_button {
  40. margin-left: 1rem;
  41. padding: 0 0.5rem;
  42. }
  43. &--confirm.ToolIcon_type_button {
  44. background-color: $oc-blue-6;
  45. &:hover {
  46. background-color: $oc-blue-8;
  47. }
  48. }
  49. &--cancel.ToolIcon_type_button {
  50. background-color: $oc-gray-5;
  51. &:hover {
  52. background-color: $oc-gray-6;
  53. }
  54. }
  55. .ToolIcon__icon {
  56. color: $oc-white;
  57. .Spinner {
  58. --spinner-color: #fff;
  59. svg {
  60. padding: 0.5rem;
  61. }
  62. }
  63. }
  64. }
  65. .selected-library-items {
  66. display: flex;
  67. flex-wrap: wrap;
  68. .single-library-item-wrapper {
  69. width: 9rem;
  70. }
  71. }
  72. &-warning {
  73. color: $oc-red-6;
  74. }
  75. &-note {
  76. padding: 1em 0;
  77. font-style: italic;
  78. font-size: 14px;
  79. display: block;
  80. }
  81. }
  82. }