vcomply-design-system 1.1.6 → 1.1.7
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/css-build/less/card/card.less +139 -130
- package/css-build/pages/card.html +585 -369
- package/package.json +1 -1
|
@@ -1,160 +1,169 @@
|
|
|
1
|
-
@import url(
|
|
2
|
-
@import url(
|
|
3
|
-
@import url(
|
|
4
|
-
@import url(
|
|
5
|
-
@import url(
|
|
6
|
-
@import url(
|
|
1
|
+
@import url("../mixin/mixin.less");
|
|
2
|
+
@import url("../padding/padding-top.less");
|
|
3
|
+
@import url("../padding/padding-right.less");
|
|
4
|
+
@import url("../padding/padding-bottom.less");
|
|
5
|
+
@import url("../padding/padding-left.less");
|
|
6
|
+
@import url("../../less/color/color.less");
|
|
7
7
|
|
|
8
8
|
.cardColumn {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
padding: 0 0.5rem;
|
|
10
|
+
width: 31%;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
&:first-of-type {
|
|
13
|
+
padding: 0;
|
|
14
|
+
width: 13%;
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.vx-card {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
background: @neutral-0;
|
|
20
|
+
border-radius: 0.25rem;
|
|
21
|
+
box-shadow: 0px 0px 2px #1e5dd326;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
position: relative;
|
|
26
|
+
padding: 0.75rem 0.5rem 0.75rem 0.75rem;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
width: 100%;
|
|
29
|
+
|
|
30
|
+
.label {
|
|
31
|
+
color: @gray-60;
|
|
32
|
+
font-size: 11px;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
line-height: 1rem;
|
|
35
|
+
text-transform: uppercase;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.count {
|
|
39
|
+
background: @gray-30;
|
|
40
|
+
border-radius: 0.125rem;
|
|
41
|
+
color: @neutral-100;
|
|
42
|
+
font-size: 11px;
|
|
43
|
+
font-weight: 500;
|
|
22
44
|
display: flex;
|
|
23
45
|
align-items: center;
|
|
24
|
-
justify-content:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
cursor: pointer;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
padding: 0 0.25rem;
|
|
48
|
+
}
|
|
28
49
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
&.largeCard {
|
|
51
|
+
height: 3.5rem;
|
|
52
|
+
|
|
53
|
+
.count {
|
|
54
|
+
min-width: 2.375rem;
|
|
55
|
+
height: 2rem;
|
|
35
56
|
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.mediumCard {
|
|
60
|
+
height: 2.75rem;
|
|
36
61
|
|
|
37
62
|
.count {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
color: @neutral-100;
|
|
41
|
-
font-size: 11px;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
padding: 0 .25rem;
|
|
63
|
+
min-width: 1.625rem;
|
|
64
|
+
height: 1.25rem;
|
|
47
65
|
}
|
|
66
|
+
}
|
|
48
67
|
|
|
49
|
-
|
|
50
|
-
|
|
68
|
+
&.smallCard {
|
|
69
|
+
height: 2rem;
|
|
51
70
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
71
|
+
.count {
|
|
72
|
+
min-width: 1.625rem;
|
|
73
|
+
height: 1.25rem;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.active {
|
|
78
|
+
box-shadow: 0px 4px 8px #1e5dd340;
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
|
|
81
|
+
&::before {
|
|
82
|
+
background: @blue-60;
|
|
83
|
+
border-radius: 0 0 0.25rem 0.25rem;
|
|
84
|
+
content: "";
|
|
85
|
+
position: absolute;
|
|
86
|
+
bottom: 0;
|
|
87
|
+
left: 0;
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 0.125rem;
|
|
56
90
|
}
|
|
57
91
|
|
|
58
|
-
|
|
59
|
-
|
|
92
|
+
.label {
|
|
93
|
+
color: @neutral-100;
|
|
94
|
+
}
|
|
60
95
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
96
|
+
.count {
|
|
97
|
+
background: @blue-60;
|
|
98
|
+
color: @neutral-0;
|
|
65
99
|
}
|
|
100
|
+
}
|
|
66
101
|
|
|
67
|
-
|
|
68
|
-
|
|
102
|
+
&.disabledCard {
|
|
103
|
+
background: @gray-20;
|
|
104
|
+
box-shadow: 0px 0px 2px #1e5dd326;
|
|
105
|
+
pointer-events: none;
|
|
69
106
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
107
|
+
.count {
|
|
108
|
+
background: @gray-30;
|
|
109
|
+
color: @neutral-100;
|
|
74
110
|
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
75
113
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.label {
|
|
92
|
-
color: @neutral-100;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.count {
|
|
96
|
-
background: @blue-60;
|
|
97
|
-
color: @neutral-0;
|
|
98
|
-
}
|
|
114
|
+
.cardPerformance {
|
|
115
|
+
font-size: 13px;
|
|
116
|
+
font-weight: 500;
|
|
117
|
+
line-height: 1.25rem;
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
justify-content: space-between;
|
|
121
|
+
margin-top: 0.25rem;
|
|
122
|
+
|
|
123
|
+
span {
|
|
124
|
+
position: relative;
|
|
125
|
+
|
|
126
|
+
&:first-of-type {
|
|
127
|
+
color: @green-60;
|
|
99
128
|
}
|
|
100
129
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
130
|
+
&:nth-of-type(2) {
|
|
131
|
+
color: @yellow-60;
|
|
132
|
+
padding: 0 1.125rem;
|
|
133
|
+
|
|
134
|
+
&::before {
|
|
135
|
+
background: @gray-40;
|
|
136
|
+
border-radius: 1.25rem;
|
|
137
|
+
content: "";
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 0.5rem;
|
|
140
|
+
left: 0.5rem;
|
|
141
|
+
width: 0.125rem;
|
|
142
|
+
height: 0.125rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&::after {
|
|
146
|
+
background: @gray-40;
|
|
147
|
+
border-radius: 1.25rem;
|
|
148
|
+
content: "";
|
|
149
|
+
position: absolute;
|
|
150
|
+
top: 0.5rem;
|
|
151
|
+
right: 0.5rem;
|
|
152
|
+
width: 0.125rem;
|
|
153
|
+
height: 0.125rem;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
105
156
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
color: @neutral-100;
|
|
109
|
-
}
|
|
157
|
+
&:last-of-type {
|
|
158
|
+
color: @red-60;
|
|
110
159
|
}
|
|
160
|
+
}
|
|
111
161
|
}
|
|
112
162
|
|
|
113
|
-
.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: space-between;
|
|
120
|
-
margin-top: .25rem;
|
|
121
|
-
|
|
122
|
-
span {
|
|
123
|
-
position: relative;
|
|
124
|
-
|
|
125
|
-
&:first-of-type {
|
|
126
|
-
color: @green-60;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&:nth-of-type(2) {
|
|
130
|
-
color: @yellow-60;
|
|
131
|
-
padding: 0 1.125rem;
|
|
132
|
-
|
|
133
|
-
&::before {
|
|
134
|
-
background: @gray-40;
|
|
135
|
-
border-radius: 1.25rem;
|
|
136
|
-
content: '';
|
|
137
|
-
position: absolute;
|
|
138
|
-
top: .5rem;
|
|
139
|
-
left: .5rem;
|
|
140
|
-
width: .125rem;
|
|
141
|
-
height: .125rem;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&::after {
|
|
145
|
-
background: @gray-40;
|
|
146
|
-
border-radius: 1.25rem;
|
|
147
|
-
content: '';
|
|
148
|
-
position: absolute;
|
|
149
|
-
top: .5rem;
|
|
150
|
-
right: .5rem;
|
|
151
|
-
width: .125rem;
|
|
152
|
-
height: .125rem;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&:last-of-type {
|
|
157
|
-
color: @red-60;
|
|
158
|
-
}
|
|
163
|
+
.tableCard {
|
|
164
|
+
.vx-card {
|
|
165
|
+
&:first-of-type {
|
|
166
|
+
margin-left: 0 !important;
|
|
159
167
|
}
|
|
160
|
-
}
|
|
168
|
+
}
|
|
169
|
+
}
|