選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

124 行
2.1 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. @include tablet { padding: $space-5 $space-4; }
  8. }
  9. .entry-form__grid {
  10. display: grid;
  11. grid-template-columns: 120px 1fr;
  12. gap: $space-4 $space-6;
  13. align-items: center;
  14. @include tablet {
  15. grid-template-columns: 1fr;
  16. gap: $space-3;
  17. }
  18. }
  19. .entry-form__label {
  20. font-size: $font-size-base;
  21. font-weight: $font-weight-regular;
  22. color: $color-text-base;
  23. text-align: right;
  24. padding-right: $space-2;
  25. white-space: nowrap;
  26. @include tablet {
  27. text-align: left;
  28. padding-right: 0;
  29. }
  30. }
  31. .entry-form__field {
  32. display: flex;
  33. align-items: center;
  34. gap: $space-2;
  35. }
  36. .entry-form__field--rate {
  37. gap: $space-2;
  38. }
  39. .entry-form__unit {
  40. color: $color-text-muted;
  41. font-size: $font-size-sm;
  42. }
  43. .input--rate {
  44. width: 100px;
  45. }
  46. .entry-form__field--selects {
  47. display: flex;
  48. gap: $space-3;
  49. flex-wrap: wrap;
  50. .select {
  51. flex: 1;
  52. min-width: 180px;
  53. }
  54. @include tablet {
  55. flex-direction: column;
  56. .select {
  57. min-width: 0;
  58. width: 100%;
  59. }
  60. }
  61. }
  62. .entry-form__actions {
  63. grid-column: 2;
  64. display: flex;
  65. align-items: center;
  66. gap: $space-4;
  67. padding-top: $space-2;
  68. @include tablet {
  69. grid-column: 1;
  70. .btn { width: 100%; }
  71. }
  72. }
  73. // ─── Rate Mode (Radio: Default / Custom) ────────────────────────────────────
  74. .rate-mode {
  75. display: flex;
  76. flex-direction: column;
  77. gap: $space-2;
  78. }
  79. .rate-mode__option {
  80. display: flex;
  81. align-items: center;
  82. gap: $space-2;
  83. cursor: pointer;
  84. input[type='radio'] {
  85. accent-color: var(--color-primary);
  86. width: 15px;
  87. height: 15px;
  88. flex-shrink: 0;
  89. cursor: pointer;
  90. }
  91. span {
  92. font-size: $font-size-sm;
  93. color: $color-text-dark;
  94. }
  95. }
  96. .rate-mode__input {
  97. display: flex;
  98. align-items: center;
  99. gap: $space-2;
  100. padding-left: 23px;
  101. }