globals.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. html {
  5. min-height: 100vh;
  6. width: 100%;
  7. min-width: 355px;
  8. }
  9. body {
  10. min-height: 100vh;
  11. width: 100%;
  12. min-width: 355px;
  13. overflow-x: hidden;
  14. overflow-y: auto;
  15. margin: 0;
  16. padding: 0;
  17. }
  18. @layer base {
  19. :root {
  20. --background: 0 0% 100%;
  21. --foreground: 0 0% 3.9%;
  22. --card: 0 0% 100%;
  23. --card-foreground: 0 0% 3.9%;
  24. --popover: 0 0% 100%;
  25. --popover-foreground: 0 0% 3.9%;
  26. --primary: 0 0% 9%;
  27. --primary-foreground: 0 0% 98%;
  28. --secondary: 0 0% 96.1%;
  29. --secondary-foreground: 0 0% 9%;
  30. --muted: 0 0% 96.1%;
  31. --muted-foreground: 0 0% 45.1%;
  32. --accent: 0 0% 96.1%;
  33. --accent-foreground: 0 0% 9%;
  34. --destructive: 0 84.2% 60.2%;
  35. --destructive-foreground: 0 0% 98%;
  36. --border: 0 0% 89.8%;
  37. --input: 0 0% 89.8%;
  38. --ring: 0 0% 3.9%;
  39. --chart-1: 12 76% 61%;
  40. --chart-2: 173 58% 39%;
  41. --chart-3: 197 37% 24%;
  42. --chart-4: 43 74% 66%;
  43. --chart-5: 27 87% 67%;
  44. --radius: 0.5rem;
  45. --crypto-up: 0 70% 55%;
  46. --crypto-down: 220 70% 55%;
  47. --crypto-neutral: 0 0% 50%;
  48. }
  49. .dark {
  50. --background: 0 0% 3.9%;
  51. --foreground: 0 0% 98%;
  52. --card: 0 0% 3.9%;
  53. --card-foreground: 0 0% 98%;
  54. --popover: 0 0% 3.9%;
  55. --popover-foreground: 0 0% 98%;
  56. --primary: 0 0% 98%;
  57. --primary-foreground: 0 0% 9%;
  58. --secondary: 0 0% 14.9%;
  59. --secondary-foreground: 0 0% 98%;
  60. --muted: 0 0% 14.9%;
  61. --muted-foreground: 0 0% 63.9%;
  62. --accent: 0 0% 14.9%;
  63. --accent-foreground: 0 0% 98%;
  64. --destructive: 0 62.8% 30.6%;
  65. --destructive-foreground: 0 0% 98%;
  66. --border: 0 0% 14.9%;
  67. --input: 0 0% 14.9%;
  68. --ring: 0 0% 83.1%;
  69. --chart-1: 220 70% 50%;
  70. --chart-2: 160 60% 45%;
  71. --chart-3: 30 80% 55%;
  72. --chart-4: 280 65% 60%;
  73. --chart-5: 340 75% 55%;
  74. --crypto-up: 0 70% 60%;
  75. --crypto-down: 220 70% 60%;
  76. --crypto-neutral: 0 0% 63.9%;
  77. }
  78. }
  79. @layer base {
  80. * {
  81. @apply border-border;
  82. }
  83. body {
  84. @apply bg-background text-foreground;
  85. }
  86. }
  87. // 웹 에디터 글씨 크기기
  88. .ql-snow .ql-picker.ql-size .ql-picker-label::before,
  89. .ql-snow .ql-picker.ql-size .ql-picker-item::before {
  90. content: attr(data-value) !important;
  91. font-size: 14px;
  92. }
  93. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="11px"]::before {
  94. content: "11px" !important;
  95. }
  96. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="13px"]::before {
  97. content: "13px" !important;
  98. }
  99. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="15px"]::before {
  100. content: "15px" !important;
  101. }
  102. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before {
  103. content: "16px" !important;
  104. }
  105. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="19px"]::before {
  106. content: "19px" !important;
  107. }
  108. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24px"]::before {
  109. content: "24px" !important;
  110. }
  111. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
  112. content: "28px" !important;
  113. }
  114. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
  115. content: "30px" !important;
  116. }
  117. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
  118. content: "34px" !important;
  119. }
  120. .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
  121. content: "38px" !important;
  122. }
  123. .ql-snow .ql-toolbar button.ql-file {
  124. background: transparent;
  125. border: none;
  126. padding: 0;
  127. }
  128. select, input, textarea {
  129. font-size: 1rem;
  130. padding: 5px;
  131. color: #333333;
  132. border: 1px solid #9c9c9c;
  133. border-radius: 3px;
  134. transition: border-color 0.3s ease;
  135. line-height: inherit;
  136. &:focus {
  137. outline: none;
  138. border-color: #9c9c9c;
  139. -webkit-box-shadow: inset 1px 2px 2px rgba(0, 0, 0, 0.05), 0 0 4px rgba(44, 112, 170, 0.8);
  140. box-shadow: inset 1px 2px 2px rgba(0, 0, 0, 0.05), 0 0 4px rgba(44, 112, 170, 0.8);
  141. }
  142. }
  143. // 모든 버튼 속성값
  144. .btn {
  145. display: inline-block;
  146. padding: 5px 15px;
  147. border-radius: 4px;
  148. height: auto;
  149. text-align: center;
  150. cursor: pointer;
  151. }
  152. // 기본 버튼
  153. .btn-default {
  154. color: #333;
  155. background: #f1f1f1;
  156. border: 1px solid #b3b3b3;
  157. -webkit-box-shadow: inset 0 -1px 0 0 #b3b3b3;
  158. box-shadow: inset 0 -1px 0 0 #b3b3b3;
  159. &:hover {
  160. background: #e3e3e3;
  161. }
  162. }
  163. // 제출 버튼
  164. .btn-submit {
  165. color: #fff;
  166. background: #F7931A;
  167. border: 1px solid #f1880f;
  168. -webkit-box-shadow: inset 0 -2px 0 0 #d38817;
  169. box-shadow: inset 0 -2px 0 0 #d38817;
  170. &:hover {
  171. background: #E07D0A;
  172. border-color: #E07D0A;
  173. }
  174. }