@edu-tosel/design 1.0.335 → 1.0.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -42
- package/asset/SVG.tsx +47 -47
- package/asset/html/gomito-promotion.html +116 -116
- package/asset/html/speaking-series-promotion.html +58 -58
- package/asset/sizes.ts +202 -202
- package/asset/svg/Close.tsx +32 -32
- package/asset/svg/Collab.tsx +51 -51
- package/asset/svg/Direction.tsx +76 -76
- package/asset/svg/Email.tsx +19 -19
- package/asset/svg/Eye.tsx +48 -48
- package/asset/svg/HallofFame.tsx +179 -179
- package/asset/svg/Icon.tsx +324 -324
- package/asset/svg/Image.tsx +24 -24
- package/asset/svg/Login.tsx +116 -116
- package/asset/svg/MiniCheck.tsx +16 -16
- package/asset/svg/MiniClose.tsx +19 -19
- package/asset/svg/Notification.tsx +34 -34
- package/asset/svg/Operation.tsx +130 -130
- package/asset/svg/Phone.tsx +19 -19
- package/asset/svg/Print.tsx +18 -18
- package/asset/svg/Profile.tsx +27 -27
- package/asset/svg/Search.tsx +24 -24
- package/asset/svg/Symbol.tsx +61 -61
- package/asset/svg/TOSEL.tsx +63 -63
- package/asset/svg/TestOption.tsx +51 -51
- package/asset/svg/User.tsx +18 -18
- package/asset/url.ts +12 -12
- package/globals.css +341 -341
- package/layout/template/home/Announcement.d.ts +2 -1
- package/layout/template/home/Announcement.js +9 -3
- package/package.json +1 -1
- package/tailwind.config.ts +763 -763
- package/version.txt +1 -1
package/globals.css
CHANGED
|
@@ -1,341 +1,341 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
/* 기본 HTML 리셋 및 스크롤 제어 */
|
|
6
|
-
html {
|
|
7
|
-
scroll-behavior: auto; /* smooth scroll 비활성화 */
|
|
8
|
-
-webkit-overflow-scrolling: auto; /* iOS momentum scrolling 비활성화 */
|
|
9
|
-
overflow-x: hidden;
|
|
10
|
-
scrollbar-width: thin;
|
|
11
|
-
scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
|
|
12
|
-
-ms-overflow-style: none; /* IE and Edge */
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
body {
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
overflow-x: hidden;
|
|
19
|
-
-webkit-overflow-scrolling: auto; /* iOS momentum scrolling 비활성화 */
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#root {
|
|
23
|
-
min-height: 100vh;
|
|
24
|
-
width: 100%;
|
|
25
|
-
overflow-x: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.image-container {
|
|
29
|
-
display: -webkit-box;
|
|
30
|
-
display: -ms-flexbox;
|
|
31
|
-
display: flex;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: "Pretendard-Medium";
|
|
36
|
-
src: url("./asset/fonts/Pretendard-Medium.otf") format("opentype");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@font-face {
|
|
40
|
-
font-family: "Pretendard-Bold";
|
|
41
|
-
src: url("./asset/fonts/Pretendard-Bold.otf") format("opentype");
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@font-face {
|
|
45
|
-
font-family: "Pretendard-Light";
|
|
46
|
-
src: url("./asset/fonts/Pretendard-Light.otf") format("opentype");
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@font-face {
|
|
50
|
-
font-family: "Kostar";
|
|
51
|
-
src: url("./asset/fonts/Kostar.ttf") format("truetype");
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: "NicoMoji";
|
|
56
|
-
src: url("./asset/fonts/NicoMoji.ttf") format("truetype");
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@font-face {
|
|
60
|
-
font-family: "Megrim";
|
|
61
|
-
src: url("./asset/fonts/Megrim.ttf") format("truetype");
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@font-face {
|
|
65
|
-
font-family: "Times-Newer-Roman-Bold";
|
|
66
|
-
src: url("./asset/fonts/TimesNewerRoman-Bold.otf") format("opentype");
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@font-face {
|
|
70
|
-
font-family: "Times-Newer-Roman-BoldItalic";
|
|
71
|
-
src: url("./asset/fonts/TimesNewerRoman-BoldItalic.otf") format("opentype");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@font-face {
|
|
75
|
-
font-family: "PretendardVariable";
|
|
76
|
-
src: url("./asset/fonts/PretendardVariable.ttf") format("truetype");
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
input[type="date"]::-webkit-inner-spin-button,
|
|
80
|
-
input[type="date"]::-webkit-calendar-picker-indicator {
|
|
81
|
-
display: none;
|
|
82
|
-
-webkit-appearance: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* 스크롤바 스타일링 - 스크롤 시에만 표시 */
|
|
86
|
-
::-webkit-scrollbar {
|
|
87
|
-
width: 8px;
|
|
88
|
-
opacity: 0;
|
|
89
|
-
transition: opacity 0.3s ease;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
::-webkit-scrollbar-track {
|
|
93
|
-
background: transparent;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
::-webkit-scrollbar-thumb {
|
|
97
|
-
background-color: rgba(128, 128, 128, 0.5);
|
|
98
|
-
border-radius: 10px;
|
|
99
|
-
border: 2px solid transparent;
|
|
100
|
-
background-clip: content-box;
|
|
101
|
-
transition: background-color 0.2s ease;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
::-webkit-scrollbar-thumb:hover {
|
|
105
|
-
background-color: rgba(128, 128, 128, 0.8);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* 스크롤 중일 때 스크롤바 표시 */
|
|
109
|
-
.scrolling::-webkit-scrollbar {
|
|
110
|
-
opacity: 1;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/* body와 html에도 스크롤바 스타일 적용 */
|
|
114
|
-
body.scrolling::-webkit-scrollbar,
|
|
115
|
-
html.scrolling::-webkit-scrollbar {
|
|
116
|
-
opacity: 1;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* Firefox용 스크롤바 (기본적으로 auto-hide) */
|
|
120
|
-
html {
|
|
121
|
-
scrollbar-width: thin;
|
|
122
|
-
scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.box-shadow {
|
|
126
|
-
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
|
|
127
|
-
}
|
|
128
|
-
.box-shadow-md {
|
|
129
|
-
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
|
|
130
|
-
}
|
|
131
|
-
.box-shadow-sm {
|
|
132
|
-
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.x-shape {
|
|
136
|
-
position: relative;
|
|
137
|
-
width: 0.83625rem;
|
|
138
|
-
height: 0.83625rem;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.x-shape::before,
|
|
142
|
-
.x-shape::after {
|
|
143
|
-
content: "";
|
|
144
|
-
position: absolute;
|
|
145
|
-
top: 50%;
|
|
146
|
-
left: 50%;
|
|
147
|
-
width: 2.5px;
|
|
148
|
-
border-radius: 2px;
|
|
149
|
-
height: 100%;
|
|
150
|
-
background-color: white;
|
|
151
|
-
transform-origin: center;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.x-shape::before {
|
|
155
|
-
transform: translate(-50%, -50%) rotate(45deg);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.x-shape::after {
|
|
159
|
-
transform: translate(-50%, -50%) rotate(-45deg);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.border-inner {
|
|
163
|
-
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
164
|
-
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
165
|
-
}
|
|
166
|
-
.box-shadow-focus:focus {
|
|
167
|
-
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
168
|
-
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
169
|
-
}
|
|
170
|
-
.box-shadow-focus-red:focus {
|
|
171
|
-
box-shadow: 0px 0px 10px 0px #ff8383;
|
|
172
|
-
}
|
|
173
|
-
.box-green {
|
|
174
|
-
background: rgba(16, 86, 82, 0.1);
|
|
175
|
-
color: #105652;
|
|
176
|
-
}
|
|
177
|
-
.box-shadow-green-sm {
|
|
178
|
-
box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
|
|
179
|
-
}
|
|
180
|
-
.box-green-focus:focus {
|
|
181
|
-
background: white;
|
|
182
|
-
color: black;
|
|
183
|
-
box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
|
|
184
|
-
}
|
|
185
|
-
/* box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38); */
|
|
186
|
-
.box-inner-shadow:hover {
|
|
187
|
-
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
188
|
-
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
189
|
-
}
|
|
190
|
-
/* Date Picker Css */
|
|
191
|
-
.react-datepicker__day--selected {
|
|
192
|
-
background-color: #105652 !important;
|
|
193
|
-
}
|
|
194
|
-
.react-datepicker__header {
|
|
195
|
-
background: white !important;
|
|
196
|
-
border: none !important;
|
|
197
|
-
}
|
|
198
|
-
.react-datepicker {
|
|
199
|
-
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
|
|
200
|
-
border-radius: 0.375rem !important;
|
|
201
|
-
border: none !important;
|
|
202
|
-
}
|
|
203
|
-
.react-datepicker__day--keyboard-selected {
|
|
204
|
-
background-color: white !important;
|
|
205
|
-
color: black !important;
|
|
206
|
-
}
|
|
207
|
-
.react-datepicker__day--outside-month {
|
|
208
|
-
color: rgb(161 161 170) !important;
|
|
209
|
-
}
|
|
210
|
-
.react-datepicker__month-container {
|
|
211
|
-
padding-top: 1rem;
|
|
212
|
-
padding-left: 1rem;
|
|
213
|
-
padding-right: 1rem;
|
|
214
|
-
padding-bottom: 0.5rem;
|
|
215
|
-
}
|
|
216
|
-
.react-datepicker-popper {
|
|
217
|
-
transform: translate(0px 295px) !important;
|
|
218
|
-
}
|
|
219
|
-
.react-datepicker__input-container {
|
|
220
|
-
text-align: center !important;
|
|
221
|
-
border-radius: 0.375rem !important;
|
|
222
|
-
transition: all 0.3s;
|
|
223
|
-
}
|
|
224
|
-
.react-datepicker__input-container > input {
|
|
225
|
-
cursor: pointer !important;
|
|
226
|
-
}
|
|
227
|
-
.react-datepicker__input-container:hover {
|
|
228
|
-
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
|
|
229
|
-
}
|
|
230
|
-
.react-datepicker__navigation {
|
|
231
|
-
top: 18px !important;
|
|
232
|
-
}
|
|
233
|
-
.react-datepicker__navigation--next {
|
|
234
|
-
right: 20px !important;
|
|
235
|
-
}
|
|
236
|
-
.react-datepicker__navigation--previous {
|
|
237
|
-
left: 182px !important;
|
|
238
|
-
}
|
|
239
|
-
.react-datepicker__current-month {
|
|
240
|
-
text-align: left !important;
|
|
241
|
-
margin-left: 16px !important;
|
|
242
|
-
}
|
|
243
|
-
.react-datepicker__triangle {
|
|
244
|
-
display: none !important;
|
|
245
|
-
}
|
|
246
|
-
.react-datepicker__children-container {
|
|
247
|
-
width: 16rem !important;
|
|
248
|
-
}
|
|
249
|
-
/* toggle button */
|
|
250
|
-
.toggle[type="checkbox"]::before {
|
|
251
|
-
content: "";
|
|
252
|
-
position: absolute;
|
|
253
|
-
left: 1px;
|
|
254
|
-
top: 1px;
|
|
255
|
-
width: 1.1rem;
|
|
256
|
-
height: 1.1rem;
|
|
257
|
-
border-radius: 50%;
|
|
258
|
-
transform: scale(0.9);
|
|
259
|
-
background-color: white;
|
|
260
|
-
transition: left 100ms linear;
|
|
261
|
-
}
|
|
262
|
-
.toggle[type="checkbox"]:checked::before {
|
|
263
|
-
background-color: white;
|
|
264
|
-
left: 1.32rem;
|
|
265
|
-
}
|
|
266
|
-
.toggle[type="checkbox"]:checked {
|
|
267
|
-
background-color: #105652;
|
|
268
|
-
}
|
|
269
|
-
.toggle[type="checkbox"]:disabled {
|
|
270
|
-
opacity: 0.3;
|
|
271
|
-
cursor: not-allowed;
|
|
272
|
-
}
|
|
273
|
-
.toggle[type="checkbox"]:disabled + span {
|
|
274
|
-
opacity: 0.3;
|
|
275
|
-
cursor: not-allowed;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/* checkbox */
|
|
279
|
-
.check-box[type="checkbox"]:checked {
|
|
280
|
-
border-color: transparent;
|
|
281
|
-
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
|
|
282
|
-
background-size: 150%;
|
|
283
|
-
background-position: 50%;
|
|
284
|
-
background-repeat: no-repeat;
|
|
285
|
-
}
|
|
286
|
-
.check-box[type="checkbox"]:disabled {
|
|
287
|
-
background-color: #7f7f7f;
|
|
288
|
-
}
|
|
289
|
-
.box-shadow-green:hover {
|
|
290
|
-
box-shadow: 0px 0px 20px 0px rgba(16, 86, 82, 0.5);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.fade-enter {
|
|
294
|
-
opacity: 0;
|
|
295
|
-
}
|
|
296
|
-
.fade-enter-active {
|
|
297
|
-
opacity: 1;
|
|
298
|
-
transition: opacity 0.5s ease-in-out;
|
|
299
|
-
}
|
|
300
|
-
.fade-exit {
|
|
301
|
-
opacity: 1;
|
|
302
|
-
}
|
|
303
|
-
.fade-exit-active {
|
|
304
|
-
opacity: 0;
|
|
305
|
-
transition: opacity 0.5s ease-in-out;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.text-gradient-green-to-red {
|
|
309
|
-
background: var(
|
|
310
|
-
--gradient-main,
|
|
311
|
-
linear-gradient(269deg, #760023 0%, #105652 100%)
|
|
312
|
-
);
|
|
313
|
-
background-clip: text;
|
|
314
|
-
-webkit-background-clip: text;
|
|
315
|
-
-webkit-text-fill-color: transparent;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* related to font rendering in safari engine */
|
|
319
|
-
* {
|
|
320
|
-
box-sizing: border-box;
|
|
321
|
-
font-synthesis: none !important;
|
|
322
|
-
-webkit-font-smoothing: antialiased;
|
|
323
|
-
-moz-osx-font-smoothing: grayscale;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.stacking-context {
|
|
327
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
328
|
-
mask-image: radial-gradient(white, black);
|
|
329
|
-
-webkit-mask-composite: destination-in;
|
|
330
|
-
mask-composite: intersect;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/* Navigation이 열렸을 때 스크롤바 완전히 숨김 */
|
|
334
|
-
.navigation-open::-webkit-scrollbar {
|
|
335
|
-
display: none !important;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.navigation-open {
|
|
339
|
-
scrollbar-width: none !important;
|
|
340
|
-
-ms-overflow-style: none !important;
|
|
341
|
-
}
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
/* 기본 HTML 리셋 및 스크롤 제어 */
|
|
6
|
+
html {
|
|
7
|
+
scroll-behavior: auto; /* smooth scroll 비활성화 */
|
|
8
|
+
-webkit-overflow-scrolling: auto; /* iOS momentum scrolling 비활성화 */
|
|
9
|
+
overflow-x: hidden;
|
|
10
|
+
scrollbar-width: thin;
|
|
11
|
+
scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
|
|
12
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
body {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
-webkit-overflow-scrolling: auto; /* iOS momentum scrolling 비활성화 */
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
#root {
|
|
23
|
+
min-height: 100vh;
|
|
24
|
+
width: 100%;
|
|
25
|
+
overflow-x: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.image-container {
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
display: -ms-flexbox;
|
|
31
|
+
display: flex;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: "Pretendard-Medium";
|
|
36
|
+
src: url("./asset/fonts/Pretendard-Medium.otf") format("opentype");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: "Pretendard-Bold";
|
|
41
|
+
src: url("./asset/fonts/Pretendard-Bold.otf") format("opentype");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: "Pretendard-Light";
|
|
46
|
+
src: url("./asset/fonts/Pretendard-Light.otf") format("opentype");
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: "Kostar";
|
|
51
|
+
src: url("./asset/fonts/Kostar.ttf") format("truetype");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: "NicoMoji";
|
|
56
|
+
src: url("./asset/fonts/NicoMoji.ttf") format("truetype");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@font-face {
|
|
60
|
+
font-family: "Megrim";
|
|
61
|
+
src: url("./asset/fonts/Megrim.ttf") format("truetype");
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: "Times-Newer-Roman-Bold";
|
|
66
|
+
src: url("./asset/fonts/TimesNewerRoman-Bold.otf") format("opentype");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: "Times-Newer-Roman-BoldItalic";
|
|
71
|
+
src: url("./asset/fonts/TimesNewerRoman-BoldItalic.otf") format("opentype");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "PretendardVariable";
|
|
76
|
+
src: url("./asset/fonts/PretendardVariable.ttf") format("truetype");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
input[type="date"]::-webkit-inner-spin-button,
|
|
80
|
+
input[type="date"]::-webkit-calendar-picker-indicator {
|
|
81
|
+
display: none;
|
|
82
|
+
-webkit-appearance: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* 스크롤바 스타일링 - 스크롤 시에만 표시 */
|
|
86
|
+
::-webkit-scrollbar {
|
|
87
|
+
width: 8px;
|
|
88
|
+
opacity: 0;
|
|
89
|
+
transition: opacity 0.3s ease;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
::-webkit-scrollbar-track {
|
|
93
|
+
background: transparent;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
::-webkit-scrollbar-thumb {
|
|
97
|
+
background-color: rgba(128, 128, 128, 0.5);
|
|
98
|
+
border-radius: 10px;
|
|
99
|
+
border: 2px solid transparent;
|
|
100
|
+
background-clip: content-box;
|
|
101
|
+
transition: background-color 0.2s ease;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
::-webkit-scrollbar-thumb:hover {
|
|
105
|
+
background-color: rgba(128, 128, 128, 0.8);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* 스크롤 중일 때 스크롤바 표시 */
|
|
109
|
+
.scrolling::-webkit-scrollbar {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* body와 html에도 스크롤바 스타일 적용 */
|
|
114
|
+
body.scrolling::-webkit-scrollbar,
|
|
115
|
+
html.scrolling::-webkit-scrollbar {
|
|
116
|
+
opacity: 1;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Firefox용 스크롤바 (기본적으로 auto-hide) */
|
|
120
|
+
html {
|
|
121
|
+
scrollbar-width: thin;
|
|
122
|
+
scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.box-shadow {
|
|
126
|
+
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
|
|
127
|
+
}
|
|
128
|
+
.box-shadow-md {
|
|
129
|
+
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
|
|
130
|
+
}
|
|
131
|
+
.box-shadow-sm {
|
|
132
|
+
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.x-shape {
|
|
136
|
+
position: relative;
|
|
137
|
+
width: 0.83625rem;
|
|
138
|
+
height: 0.83625rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.x-shape::before,
|
|
142
|
+
.x-shape::after {
|
|
143
|
+
content: "";
|
|
144
|
+
position: absolute;
|
|
145
|
+
top: 50%;
|
|
146
|
+
left: 50%;
|
|
147
|
+
width: 2.5px;
|
|
148
|
+
border-radius: 2px;
|
|
149
|
+
height: 100%;
|
|
150
|
+
background-color: white;
|
|
151
|
+
transform-origin: center;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.x-shape::before {
|
|
155
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.x-shape::after {
|
|
159
|
+
transform: translate(-50%, -50%) rotate(-45deg);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.border-inner {
|
|
163
|
+
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
164
|
+
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
165
|
+
}
|
|
166
|
+
.box-shadow-focus:focus {
|
|
167
|
+
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
168
|
+
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
169
|
+
}
|
|
170
|
+
.box-shadow-focus-red:focus {
|
|
171
|
+
box-shadow: 0px 0px 10px 0px #ff8383;
|
|
172
|
+
}
|
|
173
|
+
.box-green {
|
|
174
|
+
background: rgba(16, 86, 82, 0.1);
|
|
175
|
+
color: #105652;
|
|
176
|
+
}
|
|
177
|
+
.box-shadow-green-sm {
|
|
178
|
+
box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
|
|
179
|
+
}
|
|
180
|
+
.box-green-focus:focus {
|
|
181
|
+
background: white;
|
|
182
|
+
color: black;
|
|
183
|
+
box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
|
|
184
|
+
}
|
|
185
|
+
/* box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38); */
|
|
186
|
+
.box-inner-shadow:hover {
|
|
187
|
+
box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
188
|
+
0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
189
|
+
}
|
|
190
|
+
/* Date Picker Css */
|
|
191
|
+
.react-datepicker__day--selected {
|
|
192
|
+
background-color: #105652 !important;
|
|
193
|
+
}
|
|
194
|
+
.react-datepicker__header {
|
|
195
|
+
background: white !important;
|
|
196
|
+
border: none !important;
|
|
197
|
+
}
|
|
198
|
+
.react-datepicker {
|
|
199
|
+
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
|
|
200
|
+
border-radius: 0.375rem !important;
|
|
201
|
+
border: none !important;
|
|
202
|
+
}
|
|
203
|
+
.react-datepicker__day--keyboard-selected {
|
|
204
|
+
background-color: white !important;
|
|
205
|
+
color: black !important;
|
|
206
|
+
}
|
|
207
|
+
.react-datepicker__day--outside-month {
|
|
208
|
+
color: rgb(161 161 170) !important;
|
|
209
|
+
}
|
|
210
|
+
.react-datepicker__month-container {
|
|
211
|
+
padding-top: 1rem;
|
|
212
|
+
padding-left: 1rem;
|
|
213
|
+
padding-right: 1rem;
|
|
214
|
+
padding-bottom: 0.5rem;
|
|
215
|
+
}
|
|
216
|
+
.react-datepicker-popper {
|
|
217
|
+
transform: translate(0px 295px) !important;
|
|
218
|
+
}
|
|
219
|
+
.react-datepicker__input-container {
|
|
220
|
+
text-align: center !important;
|
|
221
|
+
border-radius: 0.375rem !important;
|
|
222
|
+
transition: all 0.3s;
|
|
223
|
+
}
|
|
224
|
+
.react-datepicker__input-container > input {
|
|
225
|
+
cursor: pointer !important;
|
|
226
|
+
}
|
|
227
|
+
.react-datepicker__input-container:hover {
|
|
228
|
+
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
|
|
229
|
+
}
|
|
230
|
+
.react-datepicker__navigation {
|
|
231
|
+
top: 18px !important;
|
|
232
|
+
}
|
|
233
|
+
.react-datepicker__navigation--next {
|
|
234
|
+
right: 20px !important;
|
|
235
|
+
}
|
|
236
|
+
.react-datepicker__navigation--previous {
|
|
237
|
+
left: 182px !important;
|
|
238
|
+
}
|
|
239
|
+
.react-datepicker__current-month {
|
|
240
|
+
text-align: left !important;
|
|
241
|
+
margin-left: 16px !important;
|
|
242
|
+
}
|
|
243
|
+
.react-datepicker__triangle {
|
|
244
|
+
display: none !important;
|
|
245
|
+
}
|
|
246
|
+
.react-datepicker__children-container {
|
|
247
|
+
width: 16rem !important;
|
|
248
|
+
}
|
|
249
|
+
/* toggle button */
|
|
250
|
+
.toggle[type="checkbox"]::before {
|
|
251
|
+
content: "";
|
|
252
|
+
position: absolute;
|
|
253
|
+
left: 1px;
|
|
254
|
+
top: 1px;
|
|
255
|
+
width: 1.1rem;
|
|
256
|
+
height: 1.1rem;
|
|
257
|
+
border-radius: 50%;
|
|
258
|
+
transform: scale(0.9);
|
|
259
|
+
background-color: white;
|
|
260
|
+
transition: left 100ms linear;
|
|
261
|
+
}
|
|
262
|
+
.toggle[type="checkbox"]:checked::before {
|
|
263
|
+
background-color: white;
|
|
264
|
+
left: 1.32rem;
|
|
265
|
+
}
|
|
266
|
+
.toggle[type="checkbox"]:checked {
|
|
267
|
+
background-color: #105652;
|
|
268
|
+
}
|
|
269
|
+
.toggle[type="checkbox"]:disabled {
|
|
270
|
+
opacity: 0.3;
|
|
271
|
+
cursor: not-allowed;
|
|
272
|
+
}
|
|
273
|
+
.toggle[type="checkbox"]:disabled + span {
|
|
274
|
+
opacity: 0.3;
|
|
275
|
+
cursor: not-allowed;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* checkbox */
|
|
279
|
+
.check-box[type="checkbox"]:checked {
|
|
280
|
+
border-color: transparent;
|
|
281
|
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
|
|
282
|
+
background-size: 150%;
|
|
283
|
+
background-position: 50%;
|
|
284
|
+
background-repeat: no-repeat;
|
|
285
|
+
}
|
|
286
|
+
.check-box[type="checkbox"]:disabled {
|
|
287
|
+
background-color: #7f7f7f;
|
|
288
|
+
}
|
|
289
|
+
.box-shadow-green:hover {
|
|
290
|
+
box-shadow: 0px 0px 20px 0px rgba(16, 86, 82, 0.5);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.fade-enter {
|
|
294
|
+
opacity: 0;
|
|
295
|
+
}
|
|
296
|
+
.fade-enter-active {
|
|
297
|
+
opacity: 1;
|
|
298
|
+
transition: opacity 0.5s ease-in-out;
|
|
299
|
+
}
|
|
300
|
+
.fade-exit {
|
|
301
|
+
opacity: 1;
|
|
302
|
+
}
|
|
303
|
+
.fade-exit-active {
|
|
304
|
+
opacity: 0;
|
|
305
|
+
transition: opacity 0.5s ease-in-out;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.text-gradient-green-to-red {
|
|
309
|
+
background: var(
|
|
310
|
+
--gradient-main,
|
|
311
|
+
linear-gradient(269deg, #760023 0%, #105652 100%)
|
|
312
|
+
);
|
|
313
|
+
background-clip: text;
|
|
314
|
+
-webkit-background-clip: text;
|
|
315
|
+
-webkit-text-fill-color: transparent;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* related to font rendering in safari engine */
|
|
319
|
+
* {
|
|
320
|
+
box-sizing: border-box;
|
|
321
|
+
font-synthesis: none !important;
|
|
322
|
+
-webkit-font-smoothing: antialiased;
|
|
323
|
+
-moz-osx-font-smoothing: grayscale;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.stacking-context {
|
|
327
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
328
|
+
mask-image: radial-gradient(white, black);
|
|
329
|
+
-webkit-mask-composite: destination-in;
|
|
330
|
+
mask-composite: intersect;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* Navigation이 열렸을 때 스크롤바 완전히 숨김 */
|
|
334
|
+
.navigation-open::-webkit-scrollbar {
|
|
335
|
+
display: none !important;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.navigation-open {
|
|
339
|
+
scrollbar-width: none !important;
|
|
340
|
+
-ms-overflow-style: none !important;
|
|
341
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Titles, OnClick } from "../../../interface";
|
|
2
|
-
export default function Announcement({ banners }: {
|
|
2
|
+
export default function Announcement({ banners, browse }: {
|
|
3
3
|
banners: BannerProps[];
|
|
4
|
+
browse?: OnClick;
|
|
4
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
interface BannerProps {
|
|
6
7
|
onClick?: OnClick;
|