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