@neatui/css 3.3.3 → 3.3.6
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 +24 -1
- package/package.json +1 -1
package/core/basic.scss
CHANGED
|
@@ -398,7 +398,8 @@ code,
|
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
// 容器
|
|
401
|
-
.box
|
|
401
|
+
.box,
|
|
402
|
+
.box-base {
|
|
402
403
|
position: relative;
|
|
403
404
|
width: 100%;
|
|
404
405
|
max-width: 95rem;
|
|
@@ -421,11 +422,19 @@ code,
|
|
|
421
422
|
max-width: 100%;
|
|
422
423
|
}
|
|
423
424
|
}
|
|
425
|
+
.box-wide {
|
|
426
|
+
position: relative;
|
|
427
|
+
margin: 0 auto;
|
|
428
|
+
width: 96%;
|
|
429
|
+
max-width: 100%;
|
|
430
|
+
}
|
|
431
|
+
|
|
424
432
|
[layout='full'] {
|
|
425
433
|
.box {
|
|
426
434
|
padding: 0;
|
|
427
435
|
}
|
|
428
436
|
}
|
|
437
|
+
|
|
429
438
|
[layout='slim'] {
|
|
430
439
|
.box {
|
|
431
440
|
width: 100%;
|
|
@@ -433,6 +442,13 @@ code,
|
|
|
433
442
|
padding: 0;
|
|
434
443
|
}
|
|
435
444
|
}
|
|
445
|
+
.box-slim {
|
|
446
|
+
position: relative;
|
|
447
|
+
margin: 0 auto;
|
|
448
|
+
width: 100%;
|
|
449
|
+
max-width: 640px;
|
|
450
|
+
padding: 0;
|
|
451
|
+
}
|
|
436
452
|
|
|
437
453
|
// 小于桌面时
|
|
438
454
|
@include med('>pad') {
|
|
@@ -443,6 +459,13 @@ code,
|
|
|
443
459
|
max-width: 100%;
|
|
444
460
|
}
|
|
445
461
|
}
|
|
462
|
+
|
|
463
|
+
.box-auto {
|
|
464
|
+
position: relative;
|
|
465
|
+
margin: 0 auto;
|
|
466
|
+
width: 80%;
|
|
467
|
+
max-width: 100%;
|
|
468
|
+
}
|
|
446
469
|
}
|
|
447
470
|
|
|
448
471
|
// 文档
|