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.
@@ -1,160 +1,169 @@
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');
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
- padding: 0 .5rem;
10
- width: 31%;
9
+ padding: 0 0.5rem;
10
+ width: 31%;
11
11
 
12
- &:first-of-type {
13
- padding: 0;
14
- width: 13%;
15
- }
12
+ &:first-of-type {
13
+ padding: 0;
14
+ width: 13%;
15
+ }
16
16
  }
17
17
 
18
18
  .vx-card {
19
- background: @neutral-0;
20
- border-radius: .25rem;
21
- box-shadow: 0px 0px 2px #1E5DD326;
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: space-between;
25
- position: relative;
26
- padding: .75rem .5rem .75rem .75rem;
27
- cursor: pointer;
46
+ justify-content: center;
47
+ padding: 0 0.25rem;
48
+ }
28
49
 
29
- .label {
30
- color: @gray-60;
31
- font-size: 11px;
32
- font-weight: 600;
33
- line-height: 1rem;
34
- text-transform: uppercase;
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
- background: @gray-30;
39
- border-radius: .125rem;
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
- &.largeCard {
50
- height: 3.5rem;
68
+ &.smallCard {
69
+ height: 2rem;
51
70
 
52
- .count {
53
- min-width: 2.375rem;
54
- height: 2rem;
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
- &.mediumCard {
59
- height: 2.75rem;
92
+ .label {
93
+ color: @neutral-100;
94
+ }
60
95
 
61
- .count {
62
- min-width: 1.625rem;
63
- height: 1.25rem;
64
- }
96
+ .count {
97
+ background: @blue-60;
98
+ color: @neutral-0;
65
99
  }
100
+ }
66
101
 
67
- &.smallCard {
68
- height: 2rem;
102
+ &.disabledCard {
103
+ background: @gray-20;
104
+ box-shadow: 0px 0px 2px #1e5dd326;
105
+ pointer-events: none;
69
106
 
70
- .count {
71
- min-width: 1.625rem;
72
- height: 1.25rem;
73
- }
107
+ .count {
108
+ background: @gray-30;
109
+ color: @neutral-100;
74
110
  }
111
+ }
112
+ }
75
113
 
76
- &.active {
77
- box-shadow: 0px 4px 8px #1E5DD340;
78
- pointer-events: none;
79
-
80
- &::before {
81
- background: @blue-60;
82
- border-radius: 0 0 .25rem .25rem;
83
- content: '';
84
- position: absolute;
85
- bottom: 0;
86
- left: 0;
87
- width: 100%;
88
- height: .125rem;
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
- &.disabledCard {
102
- background: @gray-20;
103
- box-shadow: 0px 0px 2px #1E5DD326;
104
- pointer-events: none;
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
- .count {
107
- background: @gray-30;
108
- color: @neutral-100;
109
- }
157
+ &:last-of-type {
158
+ color: @red-60;
110
159
  }
160
+ }
111
161
  }
112
162
 
113
- .cardPerformance {
114
- font-size: 13px;
115
- font-weight: 500;
116
- line-height: 1.25rem;
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
+ }