mbkauthe 1.3.5 → 1.4.0

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.
@@ -6,443 +6,11 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
7
  <title>{{code}} - {{error}}</title>
8
8
  <link rel="icon" type="image/x-icon" href="https://mbktechstudio.com/Assets/Images/Icon/dgicon.svg">
9
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
10
+ {{> sharedStyles}}
10
11
  <style>
11
- :root {
12
- --primary: #4361ee;
13
- --primary-dark: #3a0ca3;
14
- --primary-light: rgba(67, 97, 238, 0.1);
15
- --secondary: #f72585;
16
- --secondary-light: rgba(247, 37, 133, 0.1);
17
- --dark: #121212;
18
- --dark-light: #1e1e1e;
19
- --darker: #0a0a0a;
20
- --light: #f8f9fa;
21
- --lighter: #ffffff;
22
- --gray: #cccccc;
23
- --gray-dark: #888888;
24
- --success: #4cc9f0;
25
- --warning: #f8961e;
26
- --danger: #ef233c;
27
- --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
28
- --glass: rgba(30, 30, 30, 0.5);
29
- --glass-border: rgba(255, 255, 255, 0.1);
30
- --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
31
- --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
32
- --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
33
- --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.3);
34
- --radius-sm: 8px;
35
- --radius-md: 12px;
36
- --radius-lg: 16px;
37
- --radius-xl: 24px;
38
- }
39
-
40
- * {
41
- margin: 0;
42
- padding: 0;
43
- box-sizing: border-box;
44
- font-family: 'Poppins', sans-serif;
45
- }
46
-
47
- body {
48
- background: var(--dark);
49
- color: var(--light);
50
- line-height: 1.6;
51
- overflow-x: hidden;
52
- min-height: 100vh;
53
- display: flex;
54
- flex-direction: column;
55
- }
56
-
57
- header {
58
- position: fixed;
59
- top: 0;
60
- left: 0;
61
- width: 100%;
62
- z-index: 1000;
63
- transition: var(--transition);
64
- background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.7));
65
- backdrop-filter: blur(10px);
66
- border-bottom: 1px solid var(--glass-border);
67
- }
68
-
69
- nav {
70
- padding: 10px 5%;
71
- max-width: 1400px;
72
- margin: 0 auto;
73
- }
74
-
75
- .navbar {
76
- display: flex;
77
- justify-content: space-between;
78
- align-items: center;
79
- }
80
-
81
- .logo {
82
- display: flex;
83
- align-items: center;
84
- gap: 10px;
85
- }
86
-
87
- .logo img {
88
- height: 30px;
89
- width: auto;
90
- transition: var(--transition);
91
- }
92
-
93
- .logo:hover img {
94
- transform: rotate(15deg);
95
- }
96
-
97
- .logo-text {
98
- font-size: 1.8rem;
99
- font-weight: 700;
100
- background: var(--gradient);
101
- -webkit-background-clip: text;
102
- background-clip: text;
103
- color: transparent;
104
- }
105
-
106
- .login-container {
107
- flex: 1;
108
- display: flex;
109
- align-items: center;
110
- justify-content: center;
111
- padding: 120px 5% 80px;
112
- position: relative;
113
- overflow: hidden;
114
- background: radial-gradient(circle at 70% 20%, rgba(67, 97, 238, 0.15), transparent 60%);
115
- }
116
-
117
12
  .login-box {
118
- background: var(--dark-light);
119
- border-radius: var(--radius-xl);
120
- padding: 2rem;
121
- width: 100%;
122
- max-width: 500px;
123
- box-shadow: var(--shadow-lg);
124
- border: .125rem solid var(--glass-border);
125
- position: relative;
126
- z-index: 2;
127
- transition: var(--transition);
128
- }
129
-
130
- .login-box:hover {
131
- box-shadow: var(--shadow-lg);
132
- }
133
-
134
- .login-title {
135
- text-align: center;
136
- margin-bottom: 2rem;
137
- font-size: 2rem;
138
- position: relative;
139
- color: var(--lighter);
140
- }
141
-
142
- .login-title::after {
143
- content: '';
144
- position: absolute;
145
- bottom: -10px;
146
- left: 50%;
147
- transform: translateX(-50%);
148
- width: 80px;
149
- height: 4px;
150
- background: var(--gradient);
151
- border-radius: 2px;
152
- }
153
-
154
- .form-group {
155
- position: relative;
156
- margin-bottom: 1rem;
157
- }
158
-
159
- .form-input {
160
- width: 100%;
161
- padding: 12px 20px;
162
- background: var(--darker);
163
- border: 2px solid var(--glass-border);
164
- border-radius: var(--radius-sm);
165
- color: var(--light);
166
- font-size: 1rem;
167
- transition: var(--transition);
168
- }
169
-
170
- .form-input:focus {
171
- outline: none;
172
- border-color: var(--primary);
173
- box-shadow: 0 0 0 3px var(--primary-light);
174
- }
175
-
176
- .form-label {
177
- position: absolute;
178
- top: 15px;
179
- left: 20px;
180
- color: var(--gray);
181
- transition: var(--transition);
182
- pointer-events: none;
183
- }
184
-
185
- .form-input:focus+.form-label,
186
- .form-input:not(:placeholder-shown)+.form-label {
187
- top: -10px;
188
- left: 15px;
189
- font-size: 0.8rem;
190
- background: var(--dark-light);
191
- padding: 0 5px;
192
- color: var(--primary);
193
- }
194
-
195
- .input-icon {
196
- position: absolute;
197
- right: 20px;
198
- top: 50%;
199
- transform: translateY(-50%);
200
- color: var(--gray);
201
- cursor: pointer;
202
- transition: var(--transition);
203
- }
204
-
205
- .input-icon:hover {
206
- color: var(--primary);
207
- }
208
-
209
- .btn-login {
210
- width: 100%;
211
- padding: 10px;
212
- border-radius: var(--radius-sm);
213
- background: var(--primary);
214
- color: white;
215
- font-weight: 600;
216
- font-size: 1rem;
217
- border: none;
218
- cursor: pointer;
219
- transition: var(--transition);
220
- box-shadow: var(--shadow-sm);
221
- }
222
-
223
- .btn-login:hover {
224
- background: var(--primary-dark);
225
- box-shadow: var(--shadow-md);
226
- }
227
-
228
- .btn-login:disabled {
229
- background: var(--gray-dark);
230
- cursor: not-allowed;
231
- transform: none;
232
- box-shadow: none;
233
- }
234
-
235
- .login-links {
236
- display: flex;
237
- justify-content: space-between;
238
- margin-top: 1.5rem;
239
- font-size: 0.9rem;
240
- }
241
-
242
- .login-link {
243
- color: var(--gray);
244
- transition: var(--transition);
245
- }
246
-
247
- .login-link:hover {
248
- color: var(--primary);
249
- }
250
-
251
- .terms-info {
252
- margin-top: 2rem;
253
- font-size: 0.8rem;
254
- color: var(--gray);
255
- text-align: center;
256
- }
257
-
258
- .terms-link {
259
- color: var(--primary);
260
- font-weight: 500;
261
- }
262
-
263
- .token-container {
264
- animation: fadeInUp 0.4s ease-out;
265
- }
266
-
267
- .token-container.disable {
268
- display: none;
269
- }
270
-
271
- .token-container.enable {
272
- display: block;
273
- }
274
-
275
- .ai-element {
276
- position: absolute;
277
- opacity: 0.1;
278
- z-index: 1;
279
- animation: float 6s ease-in-out infinite;
280
- }
281
-
282
- .ai-element:nth-child(1) {
283
- top: 20%;
284
- left: 10%;
285
- font-size: 5rem;
286
- animation-delay: 0s;
287
- }
288
-
289
- .ai-element:nth-child(2) {
290
- top: 60%;
291
- left: 80%;
292
- font-size: 4rem;
293
- animation-delay: 1s;
294
- }
295
-
296
- .ai-element:nth-child(3) {
297
- top: 30%;
298
- left: 70%;
299
- font-size: 3rem;
300
- animation-delay: 2s;
301
- }
302
-
303
- .ai-element:nth-child(4) {
304
- top: 80%;
305
- left: 20%;
306
- font-size: 6rem;
307
- animation-delay: 3s;
308
- }
309
-
310
- @keyframes float {
311
-
312
- 0%,
313
- 100% {
314
- transform: translateY(0) rotate(0deg);
315
- }
316
-
317
- 50% {
318
- transform: translateY(-20px) rotate(5deg);
319
- }
320
- }
321
-
322
- @keyframes fadeInUp {
323
- from {
324
- opacity: 0;
325
- transform: translateY(20px);
326
- }
327
-
328
- to {
329
- opacity: 1;
330
- transform: translateY(0);
331
- }
332
- }
333
-
334
- @media (max-width: 768px) {
335
- .login-box {
336
- padding: 2rem;
337
- }
338
-
339
- .login-title {
340
- font-size: 1.8rem;
341
- }
342
- }
343
-
344
- @media (max-width: 576px) {
345
- .login-box {
346
- padding: 1.5rem;
347
- border-radius: var(--radius-lg);
348
- }
349
-
350
- .login-links {
351
- flex-direction: column;
352
- gap: 0.5rem;
353
- align-items: center;
354
- }
355
- }
356
-
357
- .remember-me {
358
- display: flex;
359
- align-items: center;
360
- justify-content: center;
361
- width: 100%;
362
- margin: 1rem 0;
363
- }
364
-
365
- .remember-me input[type="checkbox"] {
366
- appearance: none;
367
- -webkit-appearance: none;
368
- width: 18px;
369
- height: 18px;
370
- border: 2px solid var(--glass-border);
371
- border-radius: var(--radius-sm);
372
- margin-right: 10px;
373
- cursor: pointer;
374
- position: relative;
375
- transition: var(--transition);
376
- }
377
-
378
- .remember-me input[type="checkbox"]:checked {
379
- background-color: var(--primary);
380
- border-color: var(--primary);
381
- }
382
-
383
- .remember-me input[type="checkbox"]:checked::after {
384
- content: '\f00c';
385
- font-family: 'Font Awesome 6 Free';
386
- font-weight: 900;
387
- position: absolute;
388
- top: 50%;
389
- left: 50%;
390
- transform: translate(-50%, -50%);
391
- color: white;
392
- font-size: 10px;
393
- }
394
-
395
- .remember-me label {
396
- color: var(--gray);
397
- cursor: pointer;
398
- transition: var(--transition);
399
- font-size: 0.9rem;
400
- }
401
-
402
- .remember-me label:hover {
403
- color: var(--light);
404
- }
405
-
406
- .WarningboxInfo {
407
- background: var(--dark-light);
408
- border: 0.5px solid var(--warning);
409
- border-left: 4px solid var(--warning);
410
- padding: 0.75rem 1rem;
411
- border-radius: var(--radius-sm);
412
- color: var(--warning);
413
- font-size: 0.9rem;
414
- font-weight: 500;
415
- margin-top: 1rem;
416
- text-align: center;
417
- box-shadow: var(--shadow-sm);
418
- }
419
-
420
- .status-container {
421
- flex: 1;
422
- display: flex;
423
- align-items: center;
424
- justify-content: center;
425
- padding: 120px 5% 80px;
426
- position: relative;
427
- overflow: hidden;
428
- background: radial-gradient(circle at 70% 20%, rgba(67, 97, 238, 0.15), transparent 60%);
429
- }
430
-
431
- .status-box {
432
- background: var(--dark-light);
433
- border-radius: var(--radius-xl);
434
- padding: 2rem;
435
- width: 100%;
436
13
  max-width: 600px;
437
- box-shadow: var(--shadow-lg);
438
- border: .125rem solid var(--glass-border);
439
- position: relative;
440
- z-index: 2;
441
- transition: var(--transition);
442
- }
443
-
444
- .status-box:hover {
445
- box-shadow: var(--shadow-lg);
446
14
  }
447
15
 
448
16
  .status-code {
@@ -451,24 +19,25 @@
451
19
  font-weight: 700;
452
20
  color: var(--success);
453
21
  position: relative;
22
+ margin-bottom: 1rem;
454
23
  }
455
24
 
456
25
  .status-title {
457
26
  text-align: center;
458
27
  margin-bottom: 1rem;
459
28
  font-size: 1.5rem;
460
- color: var(--lighter);
29
+ color: var(--light);
461
30
  }
462
31
 
463
32
  .status-code::after {
464
33
  content: '';
465
34
  position: absolute;
466
- bottom: 10px;
35
+ bottom: -10px;
467
36
  left: 50%;
468
37
  transform: translateX(-50%);
469
38
  width: 100px;
470
39
  height: 4px;
471
- background: var(--gradient);
40
+ background-color: var(--accent);
472
41
  border-radius: 2px;
473
42
  }
474
43
 
@@ -490,7 +59,7 @@
490
59
  }
491
60
 
492
61
  .status-link {
493
- color: var(--primary);
62
+ color: var(--accent);
494
63
  text-decoration: none;
495
64
  transition: var(--transition);
496
65
  margin: 0 15px;
@@ -500,33 +69,39 @@
500
69
 
501
70
  .status-link:hover {
502
71
  text-decoration: underline;
503
- color: #4057be;
72
+ color: var(--secondary);
504
73
  }
505
74
 
506
75
  .details-wrapper {
507
- margin-top: 1rem;
508
- background: var(--dark-light);
509
- border-radius: var(--radius-md);
76
+ margin-top: 1.5rem;
77
+ background: rgba(255, 255, 255, .05);
78
+ border-radius: var(--border-radius);
510
79
  padding: 1.5rem;
511
- box-shadow: var(--shadow-md);
80
+ box-shadow: var(--box-shadow);
512
81
  cursor: pointer;
513
82
  transition: var(--transition);
83
+ border: 1px solid rgba(255, 255, 255, .1);
84
+ }
85
+
86
+ .details-wrapper:hover {
87
+ background: rgba(255, 255, 255, .08);
514
88
  }
515
89
 
516
90
  .details-header {
517
91
  display: flex;
518
92
  justify-content: space-between;
519
93
  align-items: center;
520
- color: var(--lighter);
521
- font-size: 1.2rem;
94
+ color: var(--light);
95
+ font-size: 1.1rem;
96
+ font-weight: 600;
522
97
  }
523
98
 
524
99
  .details-header i {
525
100
  transition: var(--transition);
526
101
  }
527
102
 
528
- .details-wrapper:hover i {
529
- transform: rotate(180deg);
103
+ .details-wrapper:hover .details-header i {
104
+ color: var(--accent);
530
105
  }
531
106
 
532
107
  .error-details-wrapper {
@@ -538,149 +113,94 @@
538
113
  display: block;
539
114
  }
540
115
 
116
+ .details-wrapper.active .details-header i {
117
+ transform: rotate(180deg);
118
+ }
119
+
541
120
  .error-details {
542
121
  width: 100%;
543
122
  height: 150px;
544
- background: var(--darker);
545
- border: 1px solid var(--glass-border);
546
- border-radius: var(--radius-sm);
547
- color: var(--light);
123
+ background: rgba(0, 0, 0, .3);
124
+ border: 1px solid rgba(255, 255, 255, .2);
125
+ border-radius: var(--border-radius);
126
+ color: var(--text);
548
127
  padding: 1rem;
549
128
  resize: none;
550
129
  font-size: 0.9rem;
130
+ font-family: monospace;
551
131
  }
552
132
 
553
133
  .copy-btn {
554
134
  margin-top: 0.5rem;
555
- background: var(--primary);
556
- color: var(--lighter);
135
+ background: var(--accent);
136
+ color: var(--dark);
557
137
  border: none;
558
- border-radius: var(--radius-sm);
138
+ border-radius: var(--border-radius);
559
139
  padding: 0.75rem 1.5rem;
560
140
  cursor: pointer;
561
141
  transition: var(--transition);
562
142
  font-size: 1rem;
143
+ font-weight: 600;
144
+ box-shadow: var(--box-shadow);
563
145
  }
564
146
 
565
147
  .copy-btn:hover {
566
- background: var(--primary-dark);
567
- }
568
-
569
- .status-element {
570
- position: absolute;
571
- opacity: 0.1;
572
- z-index: 1;
573
- animation: float 6s ease-in-out infinite;
574
- }
575
-
576
- .status-element:nth-child(1) {
577
- top: 20%;
578
- left: 10%;
579
- font-size: 5rem;
580
- animation-delay: 0s;
581
- }
582
-
583
- .status-element:nth-child(2) {
584
- top: 60%;
585
- left: 80%;
586
- font-size: 4rem;
587
- animation-delay: 1s;
588
- }
589
-
590
- .status-element:nth-child(3) {
591
- top: 30%;
592
- left: 70%;
593
- font-size: 3rem;
594
- animation-delay: 2s;
595
- }
596
-
597
- .status-element:nth-child(4) {
598
- top: 80%;
599
- left: 20%;
600
- font-size: 6rem;
601
- animation-delay: 3s;
602
- }
603
-
604
- .status-element:nth-child(5) {
605
- top: 50%;
606
- left: 40%;
607
- font-size: 4.5rem;
608
- animation-delay: 4s;
148
+ background: var(--secondary);
149
+ transform: translateY(-2px);
150
+ box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
609
151
  }
610
152
 
611
- .status-element:nth-child(6) {
612
- top: 70%;
613
- left: 60%;
614
- font-size: 5.5rem;
615
- animation-delay: 5s;
616
- }
617
-
618
- @keyframes float {
619
-
620
- 0%,
621
- 100% {
622
- transform: translateY(0) rotate(0deg);
153
+ @media (max-width: 768px) {
154
+ .status-code {
155
+ font-size: 3rem;
623
156
  }
624
157
 
625
- 50% {
626
- transform: translateY(-20px) rotate(5deg);
158
+ .status-title {
159
+ font-size: 1.3rem;
627
160
  }
628
161
  }
629
162
 
630
- @media (max-width: 768px) {
163
+ @media (max-width: 576px) {
631
164
 
632
- .version-info {
633
- bottom: 10px;
634
- right: 10px;
635
- font-size: 0.7rem;
636
- padding: 6px 10px;
165
+ .status-code {
166
+ font-size: 2.5rem;
637
167
  }
638
- }
639
168
 
640
- .version-info {
641
- position: fixed;
642
- bottom: 20px;
643
- right: 20px;
644
- background: var(--dark-light);
645
- color: var(--gray);
646
- padding: 8px 12px;
647
- border-radius: var(--radius-sm);
648
- font-size: 0.75rem;
649
- border: 1px solid var(--glass-border);
650
- z-index: 999;
651
- transition: var(--transition);
652
- }
653
-
654
- .version-info:hover {
655
- color: var(--primary);
656
- border-color: var(--primary);
169
+ .status-links {
170
+ flex-direction: column;
171
+ gap: 0.5rem;
172
+ }
657
173
  }
658
174
  </style>
659
175
  </head>
660
176
 
661
177
  <body>
662
178
  <header>
663
- <nav>
664
- <div class="navbar">
665
- <a class="logo">
666
- <img src="https://mbktechstudio.com/Assets/Images/Icon/dgicon.svg" alt="MBK Tech Studio Logo">
667
- <span class="logo-text">{{#if app}}{{app}}{{else}}MBK Authe{{/if}}</span>
668
- </a>
669
- </div>
670
- </nav>
179
+ <div class="header-container">
180
+ <a class="logo">
181
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" class="iconAboveSlogan">
182
+ <g id="8db2a7f9-6efc-4f7e-ae5b-8ba33875da43" transform="matrix(2.8125,0,0,2.8125,0,0)" stroke="none"
183
+ fill="#00b894">
184
+ <path
185
+ d="M0 32h32V0H0v32zm19.377-19.492l6.936-6.936v20.855h-6.936V12.508zM5.688 5.572l6.936 6.936v13.919H5.688V5.572z">
186
+ </path>
187
+ </g>
188
+ </svg>
189
+ <span class="logo-text">{{#if app}}{{app}}{{else}}MBK Authe{{/if}} <span
190
+ class="logo-comp">MBKTECHStudio</span></span>
191
+ </a>
192
+ </div>
671
193
  </header>
672
194
 
673
195
 
674
- <section class="status-container">
196
+ <section class="login-container">
675
197
 
676
- <i class="fas fa-server status-element"></i>
677
- <i class="fas fa-database status-element"></i>
678
- <i class="fas fa-network-wired status-element"></i>
679
- <i class="fas fa-code status-element"></i>
680
- <i class="fas fa-cloud status-element"></i>
681
- <i class="fas fa-shield-alt status-element"></i>
198
+ <i class="fas fa-server ai-element"></i>
199
+ <i class="fas fa-database ai-element"></i>
200
+ <i class="fas fa-network-wired ai-element"></i>
201
+ <i class="fas fa-code ai-element"></i>
682
202
 
683
- <div class="status-box">
203
+ <div class="login-box">
684
204
  <h1 class="status-code">{{code}}</h1>
685
205
  <h1 class="status-title">{{error}}</h1>
686
206