@inf-monkeys-tech/monkeys-design 0.4.38 → 0.4.40

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.
@@ -124,6 +124,18 @@
124
124
  transform-origin: left center;
125
125
  }
126
126
 
127
+ .login-page__logo-image--dark {
128
+ display: none;
129
+ }
130
+
131
+ .dark .login-page__logo-image--light {
132
+ display: none;
133
+ }
134
+
135
+ .dark .login-page__logo-image--dark {
136
+ display: block;
137
+ }
138
+
127
139
  .login-page__form {
128
140
  position: relative;
129
141
  z-index: 1;
@@ -186,30 +198,48 @@
186
198
  }
187
199
 
188
200
  .login-page__tabs {
189
- display: grid;
190
- grid-auto-columns: 1fr;
191
- grid-auto-flow: column;
201
+ display: flex;
192
202
  gap: 0;
193
203
  margin-bottom: 28px;
194
- overflow: hidden;
204
+ overflow-x: auto;
205
+ overflow-y: hidden;
195
206
  border: 1px solid var(--login-page-control-border);
196
207
  border-radius: var(--login-page-radius);
197
208
  background: color-mix(in srgb, var(--login-page-control-bg) 76%, transparent);
209
+ scrollbar-width: none;
210
+ }
211
+
212
+ .login-page__tabs::-webkit-scrollbar {
213
+ display: none;
198
214
  }
199
215
 
200
216
  .login-page__tab {
201
217
  display: inline-flex;
202
- min-width: 0;
218
+ flex: 1 0 auto;
219
+ min-width: max-content;
203
220
  align-items: center;
204
221
  justify-content: center;
205
- gap: 8px;
222
+ gap: 6px;
206
223
  min-height: 44px;
207
- padding: 0 16px;
224
+ padding: 0 10px;
208
225
  color: var(--login-page-muted-color);
209
226
  background: transparent;
210
227
  border: 0;
211
228
  cursor: pointer;
212
229
  font: inherit;
230
+ font-size: 14px;
231
+ line-height: 1.2;
232
+ white-space: nowrap;
233
+ }
234
+
235
+ .login-page .login-page__tab > *,
236
+ .login-page .login-page__tab svg {
237
+ color: inherit;
238
+ }
239
+
240
+ .login-page__tab-label {
241
+ display: inline-block;
242
+ white-space: nowrap;
213
243
  }
214
244
 
215
245
  .login-page__tab--active {
@@ -367,8 +397,8 @@
367
397
  display: flex;
368
398
  flex-direction: column;
369
399
  align-items: center;
370
- gap: 10px;
371
- margin-top: 22px;
400
+ gap: 8px;
401
+ margin-top: 20px;
372
402
  }
373
403
 
374
404
  .login-page__oauth-label {
@@ -381,14 +411,25 @@
381
411
  width: 100%;
382
412
  flex-wrap: wrap;
383
413
  justify-content: center;
384
- gap: 10px;
414
+ gap: 6px;
385
415
  }
386
416
 
387
417
  .login-page__oauth-button {
388
- min-width: min(180px, 100%);
418
+ min-width: min(96px, 100%);
419
+ min-height: 38px;
420
+ gap: 6px;
421
+ padding: 0 10px;
389
422
  color: var(--login-page-text-color);
390
423
  background: color-mix(in srgb, var(--login-page-control-bg) 78%, transparent);
391
424
  border: 1px solid var(--login-page-control-border);
425
+ font-size: 13px;
426
+ line-height: 1.2;
427
+ white-space: nowrap;
428
+ }
429
+
430
+ .login-page__oauth-button .login-page__oauth-icon {
431
+ width: 16px;
432
+ height: 16px;
392
433
  }
393
434
 
394
435
  @media (max-width: 768px) {
@@ -416,8 +457,4 @@
416
457
  top: 20px;
417
458
  right: 20px;
418
459
  }
419
-
420
- .login-page__tabs {
421
- grid-auto-flow: row;
422
- }
423
460
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inf-monkeys-tech/monkeys-design",
3
- "version": "0.4.38",
3
+ "version": "0.4.40",
4
4
  "description": "Monkeys Design Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",