@neatui/css 1.0.3 → 1.0.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/card/card@a.scss +14 -13
- package/card/card@b.scss +1 -1
- package/core/theme.scss +2 -2
- package/package.json +1 -1
package/card/card@a.scss
CHANGED
|
@@ -6,14 +6,9 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
-
border-radius: 0.
|
|
9
|
+
border-radius: 0.4em;
|
|
10
10
|
transition: box-shadow 0.3s;
|
|
11
|
-
|
|
12
|
-
// @include theme {
|
|
13
|
-
// box-shadow: 0 1px 6px co(deep);
|
|
14
|
-
// box-shadow: 0 1px 0.2em 1px rgba(0, 0, 0, 0.07);
|
|
15
|
-
// }
|
|
16
|
-
// }
|
|
11
|
+
|
|
17
12
|
&.active {
|
|
18
13
|
@include theme {
|
|
19
14
|
border: 1px solid co(read);
|
|
@@ -26,12 +21,12 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
&:first-child {
|
|
29
|
-
border-top-left-radius: 0.
|
|
30
|
-
border-top-right-radius: 0.
|
|
24
|
+
border-top-left-radius: 0.4em;
|
|
25
|
+
border-top-right-radius: 0.4em;
|
|
31
26
|
}
|
|
32
27
|
&:last-child {
|
|
33
|
-
border-bottom-left-radius: 0.
|
|
34
|
-
border-bottom-right-radius: 0.
|
|
28
|
+
border-bottom-left-radius: 0.4em;
|
|
29
|
+
border-bottom-right-radius: 0.4em;
|
|
35
30
|
}
|
|
36
31
|
}
|
|
37
32
|
|
|
@@ -106,12 +101,18 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
106
101
|
|
|
107
102
|
// 头部
|
|
108
103
|
[ui-card-head] {
|
|
109
|
-
margin-bottom: 2px;
|
|
104
|
+
// margin-bottom: 2px;
|
|
105
|
+
@include theme {
|
|
106
|
+
border-bottom: 2px solid rgba(co(back), 0.7);
|
|
107
|
+
}
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
// 底部
|
|
113
111
|
[ui-card-foot] {
|
|
114
|
-
margin-top: 1px;
|
|
112
|
+
// margin-top: 1px;
|
|
113
|
+
@include theme {
|
|
114
|
+
border-top: 1px solid rgba(co(back), 0.7);
|
|
115
|
+
}
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
|
package/card/card@b.scss
CHANGED
package/core/theme.scss
CHANGED
|
@@ -45,8 +45,8 @@ $default: (
|
|
|
45
45
|
$s: nth($i, 2);
|
|
46
46
|
$m: (
|
|
47
47
|
read: mix(map-get($s, 'text'), map-get($s, 'fore'), 80%),
|
|
48
|
-
desc: mix(map-get($s, 'text'), map-get($s, 'fore'),
|
|
49
|
-
note: mix(map-get($s, 'text'), map-get($s, 'fore'),
|
|
48
|
+
desc: mix(map-get($s, 'text'), mix(map-get($s, 'main'), map-get($s, 'fore'), 40%), 45%),
|
|
49
|
+
note: mix(map-get($s, 'text'), map-get($s, 'fore'), 35%),
|
|
50
50
|
idle: mix(map-get($s, 'text'), map-get($s, 'fore'), 25%),
|
|
51
51
|
case: mix(map-get($s, 'text'), map-get($s, 'fore'), 20%),
|
|
52
52
|
line: mix(map-get($s, 'text'), map-get($s, 'fore'), 8%),
|