globals.scss 4.5 KB

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