@neatui/css 3.3.2 → 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 +29 -2
- package/package.json +1 -1
package/core/basic.scss
CHANGED
|
@@ -402,7 +402,6 @@ code,
|
|
|
402
402
|
position: relative;
|
|
403
403
|
width: 100%;
|
|
404
404
|
max-width: 95rem;
|
|
405
|
-
// height: 100%;
|
|
406
405
|
margin: 0 auto;
|
|
407
406
|
}
|
|
408
407
|
// 全屏的
|
|
@@ -411,21 +410,35 @@ code,
|
|
|
411
410
|
body {
|
|
412
411
|
width: 100%;
|
|
413
412
|
height: 100%;
|
|
413
|
+
max-width: 100%;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
[layout='full'],
|
|
417
417
|
// 宽阔的
|
|
418
418
|
[layout='wide'] {
|
|
419
419
|
.box {
|
|
420
|
-
width:
|
|
420
|
+
width: 96%;
|
|
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
|
// 文档
|