@neatui/css 3.3.13 → 3.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.
- package/core/basic.scss +30 -55
- package/package.json +1 -1
package/core/basic.scss
CHANGED
|
@@ -396,80 +396,55 @@ code,
|
|
|
396
396
|
.code {
|
|
397
397
|
font-family: Menlo, Monaco, 'Courier New', monospace;
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
[layout='full'] {
|
|
400
|
+
.box {
|
|
401
|
+
width: 100%;
|
|
402
|
+
max-width: 100%;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
400
405
|
// 容器
|
|
401
406
|
.box,
|
|
402
407
|
.box-base {
|
|
403
408
|
position: relative;
|
|
404
409
|
width: 100%;
|
|
405
|
-
max-width:
|
|
410
|
+
max-width: 94rem;
|
|
406
411
|
margin: 0 auto;
|
|
412
|
+
padding: 0 2%;
|
|
407
413
|
}
|
|
408
|
-
|
|
409
|
-
[layout='full'] {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
width: 100%;
|
|
413
|
-
height: 100%;
|
|
414
|
-
max-width: 100%;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
[layout='full'] {
|
|
418
|
-
.box {
|
|
419
|
-
width: 100%;
|
|
420
|
-
max-width: 100%;
|
|
421
|
-
}
|
|
414
|
+
.box-full,
|
|
415
|
+
[layout='full'] .box {
|
|
416
|
+
width: 100%;
|
|
417
|
+
max-width: 100%;
|
|
422
418
|
}
|
|
423
|
-
|
|
424
|
-
[layout='wide'] {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
max-width: 100%;
|
|
428
|
-
}
|
|
419
|
+
.box-wide,
|
|
420
|
+
[layout='wide'] .box {
|
|
421
|
+
width: 94%;
|
|
422
|
+
max-width: 100%;
|
|
429
423
|
}
|
|
430
|
-
.box-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
width: 96%;
|
|
424
|
+
.box-auto,
|
|
425
|
+
[layout='auto'] .box {
|
|
426
|
+
width: 76%;
|
|
434
427
|
max-width: 100%;
|
|
435
428
|
}
|
|
436
|
-
|
|
437
|
-
[layout='
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}
|
|
429
|
+
.box-slim,
|
|
430
|
+
[layout='slim'] .box {
|
|
431
|
+
width: 100%;
|
|
432
|
+
max-width: 640px;
|
|
441
433
|
}
|
|
442
434
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
width: 100%;
|
|
446
|
-
max-width: 640px;
|
|
447
|
-
padding: 0;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
435
|
+
.box-wide,
|
|
436
|
+
.box-auto,
|
|
450
437
|
.box-slim {
|
|
451
438
|
position: relative;
|
|
452
439
|
margin: 0 auto;
|
|
453
|
-
width: 100%;
|
|
454
|
-
max-width: 640px;
|
|
455
|
-
padding: 0;
|
|
456
440
|
}
|
|
457
441
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
.box {
|
|
463
|
-
width: 80%;
|
|
464
|
-
max-width: 100%;
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.box-auto {
|
|
469
|
-
position: relative;
|
|
470
|
-
margin: 0 auto;
|
|
471
|
-
width: 80%;
|
|
442
|
+
@include mob {
|
|
443
|
+
.box-base,
|
|
444
|
+
[layout] .box {
|
|
445
|
+
width: 100%;
|
|
472
446
|
max-width: 100%;
|
|
447
|
+
padding: 0 4%;
|
|
473
448
|
}
|
|
474
449
|
}
|
|
475
450
|
|