@lolmath/ui 1.0.1

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.
Files changed (100) hide show
  1. package/.turbo/turbo-build.log +30 -0
  2. package/dist/chunk-UXIASGQL.js +31 -0
  3. package/dist/chunk-UXIASGQL.js.map +1 -0
  4. package/dist/font/beaufort/beaufort.css +79 -0
  5. package/dist/font/beaufort/files/beaufort-300-italic.woff +0 -0
  6. package/dist/font/beaufort/files/beaufort-300-italic.woff2 +0 -0
  7. package/dist/font/beaufort/files/beaufort-300-normal.woff +0 -0
  8. package/dist/font/beaufort/files/beaufort-300-normal.woff2 +0 -0
  9. package/dist/font/beaufort/files/beaufort-400-italic.woff +0 -0
  10. package/dist/font/beaufort/files/beaufort-400-italic.woff2 +0 -0
  11. package/dist/font/beaufort/files/beaufort-400-normal.woff +0 -0
  12. package/dist/font/beaufort/files/beaufort-400-normal.woff2 +0 -0
  13. package/dist/font/beaufort/files/beaufort-500-italic.woff +0 -0
  14. package/dist/font/beaufort/files/beaufort-500-italic.woff2 +0 -0
  15. package/dist/font/beaufort/files/beaufort-500-normal.woff +0 -0
  16. package/dist/font/beaufort/files/beaufort-500-normal.woff2 +0 -0
  17. package/dist/font/beaufort/files/beaufort-700-italic.woff +0 -0
  18. package/dist/font/beaufort/files/beaufort-700-italic.woff2 +0 -0
  19. package/dist/font/beaufort/files/beaufort-700-normal.woff +0 -0
  20. package/dist/font/beaufort/files/beaufort-700-normal.woff2 +0 -0
  21. package/dist/font/beaufort/files/beaufort-900-italic.woff +0 -0
  22. package/dist/font/beaufort/files/beaufort-900-italic.woff2 +0 -0
  23. package/dist/font/beaufort/files/beaufort-900-normal.woff +0 -0
  24. package/dist/font/beaufort/files/beaufort-900-normal.woff2 +0 -0
  25. package/dist/font/spiegel/files/spiegel-400-italic.woff +0 -0
  26. package/dist/font/spiegel/files/spiegel-400-italic.woff2 +0 -0
  27. package/dist/font/spiegel/files/spiegel-400-normal.woff +0 -0
  28. package/dist/font/spiegel/files/spiegel-400-normal.woff2 +0 -0
  29. package/dist/font/spiegel/files/spiegel-600-normal.woff +0 -0
  30. package/dist/font/spiegel/files/spiegel-600-normal.woff2 +0 -0
  31. package/dist/font/spiegel/files/spiegel-700-italic.woff +0 -0
  32. package/dist/font/spiegel/files/spiegel-700-italic.woff2 +0 -0
  33. package/dist/font/spiegel/files/spiegel-700-normal.woff +0 -0
  34. package/dist/font/spiegel/files/spiegel-700-normal.woff2 +0 -0
  35. package/dist/font/spiegel/spiegel.css +44 -0
  36. package/dist/index.cjs +493 -0
  37. package/dist/index.cjs.map +1 -0
  38. package/dist/index.d.cts +57 -0
  39. package/dist/index.d.ts +57 -0
  40. package/dist/index.js +481 -0
  41. package/dist/index.js.map +1 -0
  42. package/dist/plugin.cjs +167 -0
  43. package/dist/plugin.cjs.map +1 -0
  44. package/dist/plugin.d.cts +8 -0
  45. package/dist/plugin.d.ts +8 -0
  46. package/dist/plugin.js +134 -0
  47. package/dist/plugin.js.map +1 -0
  48. package/package.json +60 -0
  49. package/public/font/beaufort/beaufort.css +79 -0
  50. package/public/font/beaufort/files/beaufort-300-italic.woff +0 -0
  51. package/public/font/beaufort/files/beaufort-300-italic.woff2 +0 -0
  52. package/public/font/beaufort/files/beaufort-300-normal.woff +0 -0
  53. package/public/font/beaufort/files/beaufort-300-normal.woff2 +0 -0
  54. package/public/font/beaufort/files/beaufort-400-italic.woff +0 -0
  55. package/public/font/beaufort/files/beaufort-400-italic.woff2 +0 -0
  56. package/public/font/beaufort/files/beaufort-400-normal.woff +0 -0
  57. package/public/font/beaufort/files/beaufort-400-normal.woff2 +0 -0
  58. package/public/font/beaufort/files/beaufort-500-italic.woff +0 -0
  59. package/public/font/beaufort/files/beaufort-500-italic.woff2 +0 -0
  60. package/public/font/beaufort/files/beaufort-500-normal.woff +0 -0
  61. package/public/font/beaufort/files/beaufort-500-normal.woff2 +0 -0
  62. package/public/font/beaufort/files/beaufort-700-italic.woff +0 -0
  63. package/public/font/beaufort/files/beaufort-700-italic.woff2 +0 -0
  64. package/public/font/beaufort/files/beaufort-700-normal.woff +0 -0
  65. package/public/font/beaufort/files/beaufort-700-normal.woff2 +0 -0
  66. package/public/font/beaufort/files/beaufort-900-italic.woff +0 -0
  67. package/public/font/beaufort/files/beaufort-900-italic.woff2 +0 -0
  68. package/public/font/beaufort/files/beaufort-900-normal.woff +0 -0
  69. package/public/font/beaufort/files/beaufort-900-normal.woff2 +0 -0
  70. package/public/font/spiegel/files/spiegel-400-italic.woff +0 -0
  71. package/public/font/spiegel/files/spiegel-400-italic.woff2 +0 -0
  72. package/public/font/spiegel/files/spiegel-400-normal.woff +0 -0
  73. package/public/font/spiegel/files/spiegel-400-normal.woff2 +0 -0
  74. package/public/font/spiegel/files/spiegel-600-normal.woff +0 -0
  75. package/public/font/spiegel/files/spiegel-600-normal.woff2 +0 -0
  76. package/public/font/spiegel/files/spiegel-700-italic.woff +0 -0
  77. package/public/font/spiegel/files/spiegel-700-italic.woff2 +0 -0
  78. package/public/font/spiegel/files/spiegel-700-normal.woff +0 -0
  79. package/public/font/spiegel/files/spiegel-700-normal.woff2 +0 -0
  80. package/public/font/spiegel/spiegel.css +44 -0
  81. package/src/components/accordion.tsx +109 -0
  82. package/src/components/button.tsx +81 -0
  83. package/src/components/checkbox.tsx +37 -0
  84. package/src/components/progress-bar.tsx +47 -0
  85. package/src/components/search-field.tsx +65 -0
  86. package/src/components/select.tsx +113 -0
  87. package/src/components/slider.tsx +108 -0
  88. package/src/components/switch.tsx +66 -0
  89. package/src/index.ts +7 -0
  90. package/src/plugin.ts +56 -0
  91. package/src/utilities/border.tsx +7 -0
  92. package/src/utilities/constants.tsx +11 -0
  93. package/src/utilities/outline.tsx +2 -0
  94. package/temp/button/button.css +503 -0
  95. package/temp/button/keyframes.css +63 -0
  96. package/temp/select/dropdown.css +166 -0
  97. package/temp/select/select.css +193 -0
  98. package/temp/slider/slider.css +116 -0
  99. package/tsconfig.json +21 -0
  100. package/tsup.config.ts +13 -0
@@ -0,0 +1,503 @@
1
+ :host(:not([type="next"]):not([type="purchase"]))
2
+ .secondary:not(.disabled)
3
+ .content-wrapper {
4
+ font-kerning: normal;
5
+ -webkit-font-feature-settings: "kern" 1;
6
+ -webkit-font-smoothing: antialiased;
7
+ }
8
+ :host {
9
+ text-transform: uppercase;
10
+ }
11
+
12
+ :host(:not([type="next"]):not([type="purchase"]))
13
+ .secondary:not(.disabled)
14
+ .content-wrapper {
15
+ color: #a09b8c;
16
+ font-size: 12px;
17
+ font-weight: normal;
18
+ line-height: 16px;
19
+ letter-spacing: 0.025em;
20
+ -webkit-font-smoothing: subpixel-antialiased;
21
+ }
22
+
23
+ :host {
24
+ --flat-button-height: 100%;
25
+ --flat-button-width: inherit;
26
+ --flat-button-min-height: 32px;
27
+ --flat-button-border-transition-opacity: 0;
28
+ --flat-button-glow-animation: initial;
29
+ --flat-button-bg-opacity: 0;
30
+ --flat-button-inner-height: 100%;
31
+ --flat-button-border-width: 2px;
32
+ --flat-button-border-offset: -2px;
33
+ --flat-button-disabled-color: #5c5b57;
34
+ }
35
+ :host {
36
+ color: #cdbe91;
37
+ font-size: var(--font-size, 14px);
38
+ font-family: var(--font-family, var(--font-display));
39
+ font-weight: bold;
40
+ letter-spacing: 1px;
41
+ position: relative;
42
+ display: flex;
43
+ align-items: center;
44
+ box-sizing: border-box;
45
+ justify-content: center;
46
+ white-space: nowrap;
47
+ padding: 5px 1.3em;
48
+ height: var(--flat-button-height);
49
+ width: var(--flat-button-width);
50
+ min-height: var(--flat-button-min-height);
51
+ cursor: pointer;
52
+ -webkit-user-select: none;
53
+ box-shadow: 0 0 1px 1px #010a13, inset 0 0 1px 1px #010a13;
54
+ background: #1e2328;
55
+ border: var(--flat-button-border-width) solid transparent;
56
+ }
57
+
58
+ :host .border-idle {
59
+ position: absolute;
60
+ top: var(--flat-button-border-offset);
61
+ left: var(--flat-button-border-offset);
62
+ width: 100%;
63
+ height: 100%;
64
+ opacity: 1;
65
+ border: var(--flat-button-border-width) solid transparent;
66
+ border-image: linear-gradient(
67
+ to top,
68
+ #785b28 0%,
69
+ #c89c3c 55%,
70
+ #c8a355 71%,
71
+ #c8aa6e 100%
72
+ );
73
+ border-image-slice: 1;
74
+ transition: opacity 300ms linear;
75
+ }
76
+ :host .border-transition {
77
+ position: absolute;
78
+ top: var(--flat-button-border-offset);
79
+ left: var(--flat-button-border-offset);
80
+ width: 100%;
81
+ height: 100%;
82
+ opacity: var(--flat-button-border-transition-opacity);
83
+ border: var(--flat-button-border-width) solid transparent;
84
+ }
85
+
86
+ :host .sheen {
87
+ position: absolute;
88
+ top: 0;
89
+ left: 0;
90
+ overflow: hidden;
91
+ width: 100%;
92
+ height: 150%;
93
+ transform: translateY(-100%);
94
+ background: linear-gradient(
95
+ to bottom,
96
+ rgba(255, 255, 255, 0) 0%,
97
+ rgba(255, 255, 255, 0.15) 92%,
98
+ rgba(255, 255, 255, 0) 100%
99
+ );
100
+ -webkit-filter: blur(2px);
101
+ }
102
+ :host .bg {
103
+ position: absolute;
104
+ top: 0;
105
+ left: 0;
106
+ width: 100%;
107
+ height: 100%;
108
+ transition: opacity 400ms cubic-bezier(0, 0, 0.33, 1);
109
+ opacity: var(--flat-button-bg-opacity);
110
+ background-image: linear-gradient(
111
+ to bottom,
112
+ #1e232a 0%,
113
+ #1e232a 40%,
114
+ rgba(118, 97, 51, 0.8) 140%
115
+ );
116
+ }
117
+ :host .intro .border-transition {
118
+ border-image: linear-gradient(to top, #fff 0%, #fff 33%, #fff 66%, #fff 100%);
119
+ border-image-slice: 1;
120
+ }
121
+ :host .hover {
122
+ color: #f0e6d2;
123
+ animation: 600ms cubic-bezier(0, 0, 0.33, 1) 1 hoverTextShadow;
124
+ }
125
+ :host .hover.disabled {
126
+ color: var(--flat-button-disabled-color);
127
+ animation: none;
128
+ }
129
+ :host .hover .border-transition {
130
+ opacity: 1;
131
+ border-image: linear-gradient(
132
+ to top,
133
+ #c89c3c 0%,
134
+ #dcc188 50%,
135
+ #e1c998 71%,
136
+ #f0e6d8 100%
137
+ );
138
+ border-image-slice: 1;
139
+ }
140
+ :host .hover .glow {
141
+ animation: 600ms cubic-bezier(0, 0, 0.33, 1) 1 hoverGlow;
142
+ }
143
+
144
+ :host .hover {
145
+ background: #f0e6d2;
146
+ }
147
+ :host .down {
148
+ color: #5c5b57;
149
+ transition: color 100ms linear;
150
+ animation: none;
151
+ }
152
+ :host .down .bg {
153
+ opacity: 0;
154
+ }
155
+ :host .down .border-transition {
156
+ opacity: 1;
157
+ border-image: linear-gradient(to bottom, #463817 0%, #694f27 100%);
158
+ border-image-slice: 1;
159
+ }
160
+ :host .down {
161
+ background: #5c5b57;
162
+ }
163
+ :host .click {
164
+ color: #e4e1d8;
165
+ border-image: linear-gradient(to top, #fff 0%, #fff 33%, #fff 66%, #fff 100%);
166
+ border-image-slice: 1;
167
+ animation: 130ms linear clickScale 1, 400ms linear 1 hoverTextShadow;
168
+ }
169
+ :host .click .border-transition {
170
+ border-image: linear-gradient(
171
+ to top,
172
+ #c89c3c 0%,
173
+ #dcc188 50%,
174
+ #e1c998 71%,
175
+ #f0e6d8 100%
176
+ );
177
+ border-image-slice: 1;
178
+ transition: opacity 400ms linear;
179
+ opacity: 1;
180
+ }
181
+ :host .click .glow {
182
+ animation: 600ms cubic-bezier(0, 0, 0.33, 1) hoverGlow 1;
183
+ }
184
+ :host .click .sheen {
185
+ animation: 330ms clickSheen 1 linear;
186
+ }
187
+ :host .click .bg {
188
+ opacity: 1;
189
+ }
190
+ :host .click .flare:before {
191
+ animation: 400ms cubic-bezier(0, 0, 0.33, 1) 0ms 1 clickFlare;
192
+ }
193
+
194
+ :host .click {
195
+ background: #e4e1d8;
196
+ }
197
+
198
+ :host .disabled {
199
+ cursor: default;
200
+ color: var(--flat-button-disabled-color);
201
+ background: #1e2328;
202
+ border: 2px solid var(--flat-button-disabled-color);
203
+ border-image: initial;
204
+ transition: all 300ms linear;
205
+ }
206
+ :host .disabled:hover {
207
+ cursor: default;
208
+ color: var(--flat-button-disabled-color);
209
+ background: #1e2328;
210
+ border-color: var(--flat-button-disabled-color);
211
+ border-image: initial;
212
+ background-image: initial;
213
+ animation: none;
214
+ }
215
+ :host .disabled .flare,
216
+ :host .disabled .glow,
217
+ :host .disabled .sheen-wrapper,
218
+ :host .disabled .bg {
219
+ display: none;
220
+ }
221
+ :host .disabled .border-transition {
222
+ transition: opacity 300ms linear;
223
+ opacity: 0;
224
+ }
225
+ :host .disabled .border-idle {
226
+ opacity: 0;
227
+ }
228
+ :host .disabled {
229
+ background: var(--flat-button-disabled-color);
230
+ }
231
+ :host .no-min-height {
232
+ min-height: 0;
233
+ }
234
+ :host .no-padding {
235
+ padding: 0 0;
236
+ }
237
+ :host .back {
238
+ background-image: url("/fe/lol-uikit/images/back.png");
239
+ background-position: center;
240
+ background-repeat: no-repeat;
241
+ }
242
+ :host .back:hover {
243
+ background-image: url("/fe/lol-uikit/images/back-hover.png");
244
+ }
245
+ :host .back.disabled,
246
+ :host .back:active {
247
+ background-image: url("/fe/lol-uikit/images/back-disabled.png");
248
+ }
249
+ .wrapper {
250
+ min-width: inherit;
251
+ width: inherit;
252
+ height: 100%;
253
+ position: relative;
254
+ }
255
+ .inner {
256
+ height: var(--flat-button-inner-height);
257
+ }
258
+ :host(:not([type="next"]):not([type="purchase"]))
259
+ .primary:not(.back):not(.disabled) {
260
+ background: linear-gradient(to bottom, #5a401f 0%, #332717 100%);
261
+ }
262
+ :host(:not([type="next"]):not([type="purchase"]))
263
+ .primary:not(.back):not(.disabled)
264
+ .bg {
265
+ background: linear-gradient(to bottom, #604522 0%, #846745 100%);
266
+ }
267
+ :host(:not([type="next"]):not([type="purchase"]))
268
+ .primary:not(.back):not(.disabled).down {
269
+ color: #785a28;
270
+ background: linear-gradient(to bottom, #362715 0%, #17130e 100%);
271
+ }
272
+ :host(:not([type="next"]):not([type="purchase"]))
273
+ .primary:not(.back):not(.disabled).down {
274
+ background: #785a28;
275
+ }
276
+ :host(:not([type="next"]):not([type="purchase"])) .secondary:not(.disabled) {
277
+ border-width: 1px;
278
+ text-transform: none;
279
+ }
280
+ :host(:not([type="next"]):not([type="purchase"]))
281
+ .secondary:not(.disabled).hover
282
+ .content-wrapper {
283
+ color: #f0e6d2;
284
+ }
285
+ :host(:not([type="next"]):not([type="purchase"]))
286
+ .secondary:not(.disabled).click
287
+ .content-wrapper {
288
+ color: #e4e1d8;
289
+ }
290
+ :host(:not([type="next"]):not([type="purchase"]))
291
+ .secondary:not(.disabled).down
292
+ .content-wrapper {
293
+ color: #5c5b57;
294
+ }
295
+ :host(:not([type="next"]):not([type="purchase"]))
296
+ .secondary:not(.disabled)
297
+ .border-idle {
298
+ border-width: 1px;
299
+ top: -1px;
300
+ left: -1px;
301
+ }
302
+ :host(:not([type="next"]):not([type="purchase"]))
303
+ .secondary:not(.disabled)
304
+ .border-transition {
305
+ border-width: 1px;
306
+ top: -1px;
307
+ left: -1px;
308
+ }
309
+ :host(:not([type="next"]):not([type="purchase"]))
310
+ .secondary:not(.disabled)
311
+ .content-wrapper {
312
+ color: #cdbe91;
313
+ }
314
+ :host([type="purchase"]:not([type="next"])) .primary:not(.back):not(.disabled) {
315
+ background: linear-gradient(
316
+ to bottom,
317
+ rgba(255, 44, 170, 0.3) 0%,
318
+ rgba(255, 44, 170, 0) 100%
319
+ ),
320
+ #1e2328;
321
+ color: #fde9f8;
322
+ }
323
+ :host([type="purchase"]:not([type="next"]))
324
+ .primary:not(.back):not(.disabled)
325
+ .bg {
326
+ background: linear-gradient(
327
+ to bottom,
328
+ rgba(255, 44, 170, 0.3) 0%,
329
+ rgba(255, 44, 170, 0) 100%
330
+ ),
331
+ #1e2328;
332
+ }
333
+ :host([type="purchase"]:not([type="next"]))
334
+ .primary:not(.back):not(.disabled)
335
+ .border-idle {
336
+ border-image: linear-gradient(
337
+ to bottom,
338
+ rgba(245, 155, 247, 0.8) 0%,
339
+ rgba(232, 216, 227, 0.8) 0.01%,
340
+ rgba(237, 153, 239, 0.8) 100%
341
+ );
342
+ border-image-slice: 1;
343
+ }
344
+ :host([type="purchase"]:not([type="next"]))
345
+ .primary:not(.back):not(.disabled).hover {
346
+ color: #fde9f8;
347
+ background: linear-gradient(
348
+ to bottom,
349
+ rgba(255, 44, 170, 0.5) 0%,
350
+ rgba(255, 44, 170, 0) 100%
351
+ ),
352
+ #1e2328;
353
+ }
354
+ :host([type="purchase"]:not([type="next"]))
355
+ .primary:not(.back):not(.disabled).hover
356
+ .bg {
357
+ background: linear-gradient(
358
+ to bottom,
359
+ rgba(255, 44, 170, 0.5) 0%,
360
+ rgba(255, 44, 170, 0) 100%
361
+ ),
362
+ #1e2328;
363
+ }
364
+ :host([type="purchase"]:not([type="next"]))
365
+ .primary:not(.back):not(.disabled).hover.disabled {
366
+ color: #fde9f8;
367
+ animation: none;
368
+ }
369
+ :host([type="purchase"]:not([type="next"]))
370
+ .primary:not(.back):not(.disabled).hover
371
+ .border-transition {
372
+ border-image: linear-gradient(
373
+ to bottom,
374
+ #f59bf7 0%,
375
+ #e8d8e3 0.01%,
376
+ #ed99ef 100%
377
+ );
378
+ border-image-slice: 1;
379
+ }
380
+ :host([type="purchase"]:not([type="next"]))
381
+ .primary:not(.back):not(.disabled).disabled {
382
+ color: #fde9f8;
383
+ }
384
+ :host([type="purchase"]:not([type="next"]))
385
+ .primary:not(.back):not(.disabled).down {
386
+ color: #fde9f8;
387
+ background: linear-gradient(
388
+ to bottom,
389
+ rgba(255, 44, 170, 0.2) 0%,
390
+ rgba(255, 44, 170, 0) 100%
391
+ ),
392
+ #1e2328;
393
+ }
394
+ :host([type="purchase"]:not([type="next"]))
395
+ .primary:not(.back):not(.disabled).down
396
+ .bg {
397
+ background: linear-gradient(
398
+ to bottom,
399
+ rgba(255, 44, 170, 0.2) 0%,
400
+ rgba(255, 44, 170, 0) 100%
401
+ ),
402
+ #1e2328;
403
+ }
404
+ :host([type="purchase"]:not([type="next"]))
405
+ .primary:not(.back):not(.disabled).down
406
+ .border-transition {
407
+ border-image: linear-gradient(
408
+ to bottom,
409
+ rgba(245, 155, 247, 0.4) 0%,
410
+ rgba(232, 216, 227, 0.4) 0.01%,
411
+ rgba(237, 153, 239, 0.4) 100%
412
+ );
413
+ border-image-slice: 1;
414
+ }
415
+ :host([type="purchase"]:not([type="next"]))
416
+ .primary:not(.back):not(.disabled).down
417
+ .border-idle {
418
+ border-image: linear-gradient(
419
+ to bottom,
420
+ rgba(245, 155, 247, 0.4) 0%,
421
+ rgba(232, 216, 227, 0.4) 0.01%,
422
+ rgba(237, 153, 239, 0.4) 100%
423
+ );
424
+ border-image-slice: 1;
425
+ }
426
+ :host([type="purchase"]:not([type="next"]))
427
+ .primary:not(.back):not(.disabled).down {
428
+ background: #fde9f8;
429
+ }
430
+ :host([type="next"]) .wrapper .flare,
431
+ :host([type="next"]) .wrapper .glow,
432
+ :host([type="next"]) .wrapper .border-idle,
433
+ :host([type="next"]) .wrapper .border-transition,
434
+ :host([type="next"]) .wrapper .sheen-wrapper,
435
+ :host([type="next"]) .wrapper .bg {
436
+ display: none;
437
+ }
438
+ :host([type="next"]) .wrapper .inner {
439
+ -webkit-clip-path: polygon(
440
+ 0% 0%,
441
+ calc(100% - 17px) 0%,
442
+ calc(100% - 1px) 50%,
443
+ calc(100% - 17px) 100%,
444
+ 0% 100%
445
+ );
446
+ }
447
+ :host([type="next"]) .wrapper .inner {
448
+ -webkit-clip-path: polygon(
449
+ 0% 0%,
450
+ calc(100% - 19px) 0%,
451
+ calc(100% - 4px) 50%,
452
+ calc(100% - 19px) 100%,
453
+ 0% 100%
454
+ );
455
+ }
456
+ :host([type="next"]) .wrapper:active .inner {
457
+ background: linear-gradient(to top, #005a82 0%, #08495f 50%, #0d404c 100%);
458
+ }
459
+ :host([type="next"]) .wrapper:active .inner {
460
+ color: #005a82;
461
+ }
462
+ :host([type="next"]) .wrapper.disabled .inner {
463
+ background: var(--flat-button-disabled-color);
464
+ }
465
+ :host([type="next"]) .wrapper.disabled .inner {
466
+ color: var(--flat-button-disabled-color);
467
+ background: #1e2328;
468
+ }
469
+ :host([type="next"]) .extra {
470
+ position: absolute;
471
+ }
472
+ :host([type="next"]):host([box-outline]) .extra {
473
+ width: 20px;
474
+ right: 0;
475
+ top: 0;
476
+ bottom: 0;
477
+ border: 2px solid #0a323c;
478
+ border-left: 0;
479
+ }
480
+ :host([type="next"]):host([box-outline]) .disabled .extra {
481
+ border: 2px solid #1e2328;
482
+ }
483
+ :host([type="next"]) .inner {
484
+ position: relative;
485
+ background: linear-gradient(to top, #005a82 0%, #0596aa 50%, #08b1b2 100%);
486
+ padding: 2px 0 2px 2px;
487
+ }
488
+ :host([type="next"]) .inner {
489
+ border: 0;
490
+ padding-right: 31px;
491
+ color: #a3c7c7;
492
+ min-height: 28px;
493
+ box-shadow: 0 0 1px 0px #010a13, inset 0 0 1px 1px #010a13;
494
+ }
495
+ :host([type="next"]) .inner :hover {
496
+ color: #cdfafa;
497
+ }
498
+ :host([type="next"]) .inner .click {
499
+ animation: none;
500
+ }
501
+ :host([type="next"]) .inner:hover {
502
+ background: linear-gradient(to top, #3097c6 0%, #0ecaba 50%, #cdfafa 100%);
503
+ }
@@ -0,0 +1,63 @@
1
+ @keyframes hoverTextShadow {
2
+ 0% {
3
+ text-shadow: 0 0 4px rgba(240, 230, 216, 1);
4
+ }
5
+ 50% {
6
+ text-shadow: 0 0 4px rgba(240, 230, 216, 0.5);
7
+ }
8
+ 100% {
9
+ text-shadow: 0 0 4px rgba(240, 230, 216, 0);
10
+ }
11
+ }
12
+
13
+ @keyframes hoverGlow {
14
+ 0% {
15
+ box-shadow: 0px 0px 5px 4px rgba(240, 230, 216, 0.5),
16
+ 0px 0px 2px 1px rgba(240, 230, 216, 0.5) inset;
17
+ }
18
+ 50% {
19
+ box-shadow: 0px 0px 5px 4px rgba(240, 230, 216, 0.3),
20
+ 0px 0px 2px 1px rgba(240, 230, 216, 0.3) inset;
21
+ }
22
+ 100% {
23
+ box-shadow: 0px 0px 5px 4px rgba(240, 230, 216, 0),
24
+ 0px 0px 2px 1px rgba(240, 230, 216, 0) inset;
25
+ }
26
+ }
27
+
28
+ @keyframes clickFlare {
29
+ 0% {
30
+ opacity: 0;
31
+ }
32
+ 25% {
33
+ opacity: 0.6;
34
+ }
35
+ 50% {
36
+ opacity: 0.3;
37
+ }
38
+ 100% {
39
+ opacity: 0;
40
+ }
41
+ }
42
+
43
+ @keyframes clickScale {
44
+ from {
45
+ transform: scale(0.94);
46
+ }
47
+
48
+ to {
49
+ transform: scale(1);
50
+ }
51
+ }
52
+
53
+ @keyframes clickSheen {
54
+ from {
55
+ transform: translateY(-100%) rotate(0deg);
56
+ }
57
+ 10% {
58
+ transform: translateY(-80%) rotate(-5deg);
59
+ }
60
+ to {
61
+ transform: translateY(100%) rotate(0deg);
62
+ }
63
+ }
@@ -0,0 +1,166 @@
1
+ :host(.flat-dropdown-type) .ui-dropdown-option {
2
+ font-family: var(--font-display);
3
+ }
4
+ :host(.flat-dropdown-type) .ui-dropdown-option {
5
+ -webkit-user-select: none;
6
+ }
7
+ :host(.flat-dropdown-type) .ui-dropdown-option {
8
+ font-kerning: normal;
9
+ -webkit-font-feature-settings: "kern" 1;
10
+ -webkit-font-smoothing: antialiased;
11
+ }
12
+ :host(.flat-dropdown-type) .ui-dropdown-option {
13
+ text-transform: uppercase;
14
+ }
15
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(ko-kr),
16
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(ja-jp),
17
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(tr-tr),
18
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(el-gr),
19
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(th-th),
20
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(zh-tw) {
21
+ text-transform: none;
22
+ }
23
+ :host(.flat-dropdown-type) .ui-dropdown-option {
24
+ text-transform: none;
25
+ }
26
+ :host(.flat-dropdown-type) .ui-dropdown-option {
27
+ color: #f0e6d2;
28
+ font-size: 14px;
29
+ font-weight: 700;
30
+ line-height: 18px;
31
+ letter-spacing: 0.075em;
32
+ }
33
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(ar-ae) {
34
+ letter-spacing: 0;
35
+ }
36
+ :host(.flat-dropdown-type) .ui-dropdown-option {
37
+ letter-spacing: 0.0375em;
38
+ }
39
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(ar-ae) {
40
+ letter-spacing: 0;
41
+ }
42
+ :host {
43
+ --dropdown-option-flat-height: 40px;
44
+ --dropdown-option-flat-font-weight: 700;
45
+ --dropdown-option-flat-overflow: visible;
46
+ --dropdown-option-flat-text-overflow: clip;
47
+ --dropdown-option-flat-white-space: inherit;
48
+ --dropdown-option-direction-rtl: rtl;
49
+ --dropdown-option-framed-line-height: 30px;
50
+ --dropdown-option-framed-white-space: nowrap;
51
+ --dropdown-option-framed-overflow-wrap: unset;
52
+ }
53
+ :host(.flat-dropdown-type) .ui-dropdown-option {
54
+ height: var(--dropdown-option-flat-height);
55
+ font-weight: var(--dropdown-option-flat-font-weight);
56
+ overflow: var(--dropdown-option-flat-overflow);
57
+ text-overflow: var(--dropdown-option-flat-text-overflow);
58
+ white-space: var(--dropdown-option-flat-white-space);
59
+ color: #cdbe91;
60
+ cursor: pointer;
61
+ display: flex;
62
+ flex-direction: row;
63
+ align-items: center;
64
+ position: relative;
65
+ border-bottom: thin solid #1e2328;
66
+ padding: 0 10px;
67
+ }
68
+ :host(.flat-dropdown-type) .ui-dropdown-option:lang(ar-ae) {
69
+ padding: 0 10px 0 30px;
70
+ }
71
+ :host(.flat-dropdown-type) .ui-dropdown-option.ui-dropdown-option-disabled {
72
+ color: #888;
73
+ cursor: default;
74
+ }
75
+ :host(.flat-dropdown-type)
76
+ .ui-dropdown-option.ui-dropdown-option-disabled:hover {
77
+ color: #888;
78
+ background-color: rgba(30, 35, 40, 0);
79
+ }
80
+ :host(.flat-dropdown-type) .ui-dropdown-option.ui-dropdown-option-unselectable {
81
+ border-bottom: none;
82
+ }
83
+ :host(.flat-dropdown-type)
84
+ .ui-dropdown-option.ui-dropdown-option-selected::after {
85
+ background: url(/fe/lol-uikit/dropdown-check.png) center no-repeat;
86
+ width: 14px;
87
+ height: 11px;
88
+ position: absolute;
89
+ right: 10px;
90
+ top: 50%;
91
+ transform: translate(0, -50%);
92
+ content: "";
93
+ }
94
+ :host(.flat-dropdown-type)
95
+ .ui-dropdown-option.ui-dropdown-option-selected:lang(ar-ae)::after {
96
+ right: auto;
97
+ left: 10px;
98
+ }
99
+ :host(.flat-dropdown-type) .ui-dropdown-option:hover {
100
+ color: #f0e6d2;
101
+ background-color: #1e2328;
102
+ }
103
+ :host(.flat-dropdown-type) .ui-dropdown-option:active {
104
+ color: #463714;
105
+ background-color: rgba(30, 35, 40, 0.5);
106
+ }
107
+ :host(.framed-dropdown-type) .ui-dropdown-option {
108
+ align-items: center;
109
+ border-top: thin solid #1f2123;
110
+ color: #cdbe91;
111
+ cursor: pointer;
112
+ display: block;
113
+ min-height: 30px;
114
+ line-height: var(--dropdown-option-framed-line-height);
115
+ margin: 0;
116
+ overflow: hidden;
117
+ padding: 2px 9px 2px 7px;
118
+ position: relative;
119
+ text-overflow: ellipsis;
120
+ white-space: var(--dropdown-option-framed-white-space);
121
+ overflow-wrap: var(--dropdown-option-framed-overflow-wrap);
122
+ }
123
+ :host(.framed-dropdown-type) .ui-dropdown-option:lang(ar-ae) {
124
+ direction: var(--dropdown-option-direction-rtl);
125
+ }
126
+ :host(.framed-dropdown-type) .ui-dropdown-option.ui-dropdown-option-disabled {
127
+ color: #888;
128
+ cursor: default;
129
+ }
130
+ :host(.framed-dropdown-type)
131
+ .ui-dropdown-option.ui-dropdown-option-disabled:hover {
132
+ color: #888;
133
+ background-color: #1e232800;
134
+ }
135
+ :host(.framed-dropdown-type) .ui-dropdown-option.ui-dropdown-option-selected {
136
+ padding-right: 31px;
137
+ }
138
+ :host(.framed-dropdown-type)
139
+ .ui-dropdown-option.ui-dropdown-option-selected:lang(ar-ae) {
140
+ padding-right: 7px;
141
+ padding-left: 31px;
142
+ }
143
+ :host(.framed-dropdown-type)
144
+ .ui-dropdown-option.ui-dropdown-option-selected::after {
145
+ background: url(/fe/lol-uikit/dropdown-check.png) center no-repeat;
146
+ width: 14px;
147
+ height: 11px;
148
+ position: absolute;
149
+ right: 13px;
150
+ top: 50%;
151
+ transform: translate(0, -50%);
152
+ content: "";
153
+ }
154
+ :host(.framed-dropdown-type)
155
+ .ui-dropdown-option.ui-dropdown-option-selected:lang(ar-ae)::after {
156
+ right: auto;
157
+ left: 13px;
158
+ }
159
+ :host(.framed-dropdown-type) .ui-dropdown-option:hover {
160
+ color: #f0e6d2;
161
+ background-color: #1e2328;
162
+ }
163
+ :host(.framed-dropdown-type) .ui-dropdown-option:active {
164
+ color: #463714;
165
+ background-color: #1e232880;
166
+ }