You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

97 lines
1.8 KiB

  1. @use '../atoms/variables' as *;
  2. @use '../atoms/mixins' as *;
  3. // ─── Entry Form Card ─────────────────────────────────────────────────────────
  4. .entry-form {
  5. @include card($color-card);
  6. padding: $space-6 $space-8;
  7. }
  8. .entry-form__grid {
  9. display: grid;
  10. grid-template-columns: 120px 1fr;
  11. gap: $space-4 $space-6;
  12. align-items: center;
  13. }
  14. .entry-form__label {
  15. font-size: $font-size-base;
  16. font-weight: $font-weight-regular;
  17. color: $color-text-base;
  18. text-align: right;
  19. padding-right: $space-2;
  20. white-space: nowrap;
  21. }
  22. .entry-form__field {
  23. display: flex;
  24. align-items: center;
  25. gap: $space-2;
  26. }
  27. .entry-form__field--rate {
  28. gap: $space-2;
  29. }
  30. .entry-form__unit {
  31. color: $color-text-muted;
  32. font-size: $font-size-sm;
  33. }
  34. .input--rate {
  35. width: 100px;
  36. }
  37. .entry-form__field--selects {
  38. display: flex;
  39. gap: $space-3;
  40. flex-wrap: wrap;
  41. .select {
  42. flex: 1;
  43. min-width: 180px;
  44. }
  45. }
  46. .entry-form__actions {
  47. grid-column: 2;
  48. display: flex;
  49. align-items: center;
  50. gap: $space-4;
  51. padding-top: $space-2;
  52. }
  53. // ─── Rate Mode (Radio: Default / Custom) ────────────────────────────────────
  54. .rate-mode {
  55. display: flex;
  56. flex-direction: column;
  57. gap: $space-2;
  58. }
  59. .rate-mode__option {
  60. display: flex;
  61. align-items: center;
  62. gap: $space-2;
  63. cursor: pointer;
  64. input[type='radio'] {
  65. accent-color: var(--color-primary);
  66. width: 15px;
  67. height: 15px;
  68. flex-shrink: 0;
  69. cursor: pointer;
  70. }
  71. span {
  72. font-size: $font-size-sm;
  73. color: $color-text-dark;
  74. }
  75. }
  76. .rate-mode__input {
  77. display: flex;
  78. align-items: center;
  79. gap: $space-2;
  80. padding-left: 23px;
  81. }