@neatui/css 3.3.3 → 3.3.5
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 +27 -0
- package/package.json +1 -1
package/core/basic.scss
CHANGED
|
@@ -421,11 +421,24 @@ code,
|
|
|
421
421
|
max-width: 100%;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
+
.box-wide {
|
|
425
|
+
position: relative;
|
|
426
|
+
margin: 0 auto;
|
|
427
|
+
width: 96%;
|
|
428
|
+
max-width: 100%;
|
|
429
|
+
}
|
|
430
|
+
|
|
424
431
|
[layout='full'] {
|
|
425
432
|
.box {
|
|
426
433
|
padding: 0;
|
|
427
434
|
}
|
|
428
435
|
}
|
|
436
|
+
.box-full {
|
|
437
|
+
position: relative;
|
|
438
|
+
margin: 0 auto;
|
|
439
|
+
width: 100%;
|
|
440
|
+
padding: 0;
|
|
441
|
+
}
|
|
429
442
|
[layout='slim'] {
|
|
430
443
|
.box {
|
|
431
444
|
width: 100%;
|
|
@@ -433,6 +446,13 @@ code,
|
|
|
433
446
|
padding: 0;
|
|
434
447
|
}
|
|
435
448
|
}
|
|
449
|
+
.box-slim {
|
|
450
|
+
position: relative;
|
|
451
|
+
margin: 0 auto;
|
|
452
|
+
width: 100%;
|
|
453
|
+
max-width: 640px;
|
|
454
|
+
padding: 0;
|
|
455
|
+
}
|
|
436
456
|
|
|
437
457
|
// 小于桌面时
|
|
438
458
|
@include med('>pad') {
|
|
@@ -443,6 +463,13 @@ code,
|
|
|
443
463
|
max-width: 100%;
|
|
444
464
|
}
|
|
445
465
|
}
|
|
466
|
+
|
|
467
|
+
.box-auto {
|
|
468
|
+
position: relative;
|
|
469
|
+
margin: 0 auto;
|
|
470
|
+
width: 80%;
|
|
471
|
+
max-width: 100%;
|
|
472
|
+
}
|
|
446
473
|
}
|
|
447
474
|
|
|
448
475
|
// 文档
|