_category-modal.scss 839 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .add-category {
  2. flex: 0 1 400px;
  3. }
  4. .add-category__title {
  5. font-family: 'Oswald';
  6. font-size: 30px;
  7. font-weight: bold;
  8. margin-bottom: 30px;
  9. text-align: center;
  10. }
  11. .add-category__field {
  12. display: flex;
  13. align-items: center;
  14. justify-content: space-between;
  15. grid-gap: 10px;
  16. &:not(:last-child) {
  17. margin-bottom: 15px;
  18. }
  19. }
  20. .add-category__field_label {
  21. font-size: 24px;
  22. color: $black;
  23. }
  24. .add-category__field_input {
  25. flex: 1 1 auto;
  26. font-size: 24px;
  27. color: $black;
  28. padding: 5px 5px 5px 10px;
  29. border: 1px solid $black;
  30. border-radius: 10px;
  31. }
  32. .category-color_input {
  33. display: block;
  34. width: 50px;
  35. height: 50px;
  36. border-radius: 50%;
  37. overflow: hidden;
  38. @media (hover: hover) {
  39. &:hover {
  40. cursor: pointer;
  41. }
  42. }
  43. }