qms-angular 1.1.16 → 1.1.17

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.
@@ -130,6 +130,12 @@
130
130
  max-height: 28vh;
131
131
  padding-right: 4px;
132
132
  overflow-y: auto;
133
+ &.no-result{
134
+ height: 28vh;
135
+ display: flex;
136
+ justify-content: center;
137
+ align-items: center;
138
+ }
133
139
  .item{
134
140
  min-height: 40px;
135
141
  }
@@ -268,5 +274,12 @@
268
274
  .mat-select-value{
269
275
  text-align: center;
270
276
  }
277
+
278
+ }
279
+
280
+ .mat-checkbox.checkbox-all .mat-checkbox-label{
281
+ flex-direction: row !important;
282
+ align-items: center !important;
283
+ column-gap: 4px !important;
271
284
  }
272
285
  }
@@ -21,6 +21,10 @@
21
21
  width: 100%;
22
22
  }
23
23
 
24
+ .fw500{
25
+ font-weight: 500 !important;
26
+ }
27
+
24
28
  .text-right {
25
29
  text-align: right;
26
30
  }
@@ -36,7 +40,7 @@
36
40
  margin-top: 1rem;
37
41
  }
38
42
 
39
- .input__field {
43
+ .input-field {
40
44
  display: flex;
41
45
  align-items: center;
42
46
  position: relative;
@@ -278,6 +282,12 @@
278
282
  &.active-paging{
279
283
  max-height: calc(100% - 104px);
280
284
  }
285
+ &.no-result{
286
+ height: 100%;
287
+ display: flex;
288
+ justify-content: center;
289
+ align-items: center;
290
+ }
281
291
  }
282
292
  .result-item{
283
293
  border-radius: 4px;
@@ -426,4 +436,10 @@
426
436
  font-weight: 400;
427
437
  font-size: 14px;
428
438
  }
439
+
440
+ ::ng-deep .mat-checkbox.checkbox-all .mat-checkbox-label{
441
+ flex-direction: row;
442
+ align-items: center;
443
+ column-gap: 4px;
444
+ }
429
445
  }
@@ -62,16 +62,26 @@
62
62
  &.mat-checkbox-disabled:not(.mat-checkbox-checked) {
63
63
  .mat-checkbox-background {
64
64
  background: black(0.24);
65
- opacity: 0.68;
65
+ }
66
+
67
+ &.mat-checkbox-indeterminate {
68
+ .mat-checkbox-background {
69
+ background: theme-apply($primary-dark-1-disable-background);
70
+ }
66
71
  }
67
72
 
68
73
  .mat-checkbox-frame {
69
74
  border-color: black(0.38);
70
75
  background: white;
71
- opacity: 0.68;
72
76
  }
73
77
  }
74
78
 
79
+ &.mat-checkbox-disabled {
80
+ .mat-checkbox-background {
81
+ background-color: theme-apply($primary-dark-1-disable-background);
82
+ }
83
+ }
84
+
75
85
  &.mat-checkbox-checked {
76
86
  background: theme-apply($primary-light-12-opacity);
77
87
 
@@ -81,6 +91,10 @@
81
91
  }
82
92
  }
83
93
 
94
+ .mat-ripple-element {
95
+ background-color: theme-apply($primary-circle-background-hover);
96
+ }
97
+
84
98
  &:hover:not(.mat-checkbox-disabled) {
85
99
  background-color: theme-apply($primary-dark-24-opacity);
86
100
  }
@@ -54,9 +54,18 @@
54
54
 
55
55
  &.mat-radio-disabled:not(.mat-radio-checked) {
56
56
  .mat-radio-outer-circle {
57
- border-color: black(0.38);
58
- background: white;
59
- opacity: 0.68;
57
+ background: theme-apply($primary-dark-2-disable-background);
58
+ }
59
+ }
60
+
61
+ &.mat-radio-disabled {
62
+ .mat-radio-inner-circle {
63
+ background-color: theme-apply($primary-dark-1-disable-background);
64
+ }
65
+
66
+ .mat-radio-outer-circle {
67
+ border-color: theme-apply($primary-dark-1-disable-background) !important;
68
+ background-color: theme-apply($primary-dark-2-disable-background);
60
69
  }
61
70
  }
62
71
 
@@ -86,6 +95,10 @@
86
95
  .mat-radio-container {
87
96
  margin-right: 19px;
88
97
  }
98
+
99
+ .mat-ripple-element {
100
+ background-color: theme-apply($primary-circle-background-hover);
101
+ }
89
102
  }
90
103
 
91
104
  &.mat-radio-checked {
@@ -40,6 +40,10 @@
40
40
  flex-direction: column;
41
41
  }
42
42
 
43
+ .mat-slide-toggle-thumb {
44
+ background-color: theme-apply($ws-action-active);
45
+ }
46
+
43
47
  .text-label {
44
48
  font-size: 1rem;
45
49
  line-height: 28px;
@@ -66,7 +70,7 @@
66
70
  opacity: 1;
67
71
 
68
72
  .mat-slide-toggle-thumb {
69
- background-color: black(0.6);
73
+ background-color: $primary-dark-1-disable-background;
70
74
  }
71
75
 
72
76
  .mat-slide-toggle-bar {
@@ -76,23 +80,32 @@
76
80
 
77
81
  &.mat-checked {
78
82
  .mat-slide-toggle-thumb {
79
- background-color: theme-apply($primary-light-32-opacity);
83
+ background-color: theme-apply($primary-circle-background-hover);
80
84
  }
81
85
 
82
86
  .mat-slide-toggle-bar {
83
- background-color: theme-apply($primary);
84
- opacity: 0.38;
87
+ background-color: theme-apply($primary-dark-3-disable-background);
85
88
  }
86
89
  }
87
90
  }
88
91
 
92
+ &.mat-disabled:not(.mat-checked) {
93
+ .mat-slide-toggle-thumb {
94
+ background-color: theme-apply($primary-dark-1-disable-background);
95
+ }
96
+
97
+ .mat-slide-toggle-bar {
98
+ background-color: theme-apply($primary-dark-4-disable-background);
99
+ }
100
+ }
101
+
89
102
  &.mat-checked {
90
103
  .mat-slide-toggle-bar {
91
104
  background-color: theme-apply($primary-light-38-opacity);
92
105
  }
93
106
 
94
107
  .mat-ripple-element {
95
- background-color: theme-apply($primary-light-12-opacity);
108
+ background-color: theme-apply($primary-circle-background-hover);
96
109
  }
97
110
 
98
111
  &.cdk-keyboard-focused {
@@ -2,21 +2,18 @@
2
2
  @import "../theme/mixins";
3
3
  @import "typography";
4
4
 
5
-
6
5
  .table-scroll-container {
7
- position: relative;
8
- padding-top: 35px;
9
- overflow: hidden;
6
+ position: relative;
7
+ padding-top: 35px;
8
+ overflow: hidden;
10
9
  }
11
10
  .table-scroll-area {
12
- height: 100%;
13
- overflow-x: auto;
14
- overflow-y: auto;
15
- -webkit-overflow-scrolling: auto;
11
+ height: 100%;
12
+ overflow-x: auto;
13
+ overflow-y: auto;
14
+ -webkit-overflow-scrolling: auto;
16
15
  }
17
16
 
18
-
19
-
20
17
  table.mat-table {
21
18
  &.qms-table {
22
19
  width: 100%;
@@ -27,9 +24,9 @@ table.mat-table {
27
24
  background-color: transparent;
28
25
  font-family: Open Sans;
29
26
  overflow-x: auto;
30
- overflow-y: auto;
31
- margin-bottom: 0;
32
- border: none;
27
+ overflow-y: auto;
28
+ margin-bottom: 0;
29
+ border: none;
33
30
 
34
31
  .mat-header-cell {
35
32
  font-size: 14px;
@@ -47,14 +44,14 @@ table.mat-table {
47
44
  }
48
45
 
49
46
  th {
50
- border: none !important;
51
- min-width: 40px;
47
+ border: none !important;
48
+ min-width: 40px;
52
49
  }
53
50
 
54
51
  .th-title {
55
- position: absolute;
56
- top: 0;
57
- }
52
+ position: absolute;
53
+ top: 0;
54
+ }
58
55
 
59
56
  td {
60
57
  border-top: 1px solid theme-apply($disabled);
@@ -107,3 +104,122 @@ table.mat-table {
107
104
  }
108
105
  }
109
106
  }
107
+
108
+ table.mat-table {
109
+ &.qms-expandable-table {
110
+ width: 100%;
111
+ margin-top: -16px;
112
+ padding-right: 5px;
113
+ background-color: transparent;
114
+ font-family: Open Sans;
115
+ overflow-x: auto;
116
+ overflow-y: auto;
117
+ margin-bottom: 0;
118
+ border: none;
119
+
120
+ .mat-header-row {
121
+ height: unset;
122
+ }
123
+
124
+ th.mat-header-cell:first-of-type {
125
+ padding-left: 16px;
126
+ }
127
+
128
+ .mat-header-cell {
129
+ font-size: 14px;
130
+ font-weight: 600;
131
+ color: #5a5a5a;
132
+ vertical-align: middle;
133
+ }
134
+
135
+ th {
136
+ border: none !important;
137
+ min-width: 40px;
138
+ }
139
+
140
+ .th-title {
141
+ position: absolute;
142
+ top: 0;
143
+ }
144
+
145
+ .mat-header-cell {
146
+ font-size: 14px;
147
+ font-weight: 600;
148
+ color: #5a5a5a;
149
+ vertical-align: middle;
150
+ }
151
+
152
+ tr.qms-detail-row {
153
+ height: 0;
154
+ }
155
+
156
+ tr.mat-row {
157
+ padding: 8px 0 8px 20px;
158
+ border-radius: 4px;
159
+ margin-top: 8px;
160
+ min-height: 40px;
161
+ font-size: 14px;
162
+ line-height: 20px;
163
+ font-family: Open Sans;
164
+ font-weight: 400;
165
+ color: #323232;
166
+ align-items: stretch;
167
+ cursor: pointer;
168
+ transition: background 0.2s;
169
+
170
+ &.qms-element-row:hover {
171
+ background: rgba(0, 0, 0, 0.08);
172
+
173
+ td.mat-cell {
174
+ background-color: transparent;
175
+ }
176
+ }
177
+
178
+ &.qms-element-row:active {
179
+ background: rgba(40, 115, 223, 0.24);
180
+
181
+ td.mat-cell {
182
+ background-color: transparent;
183
+ }
184
+ }
185
+ }
186
+
187
+ .qms-element-row td.mat-cell:first-child {
188
+ border-left: 1px solid #e0e0e0;
189
+ border-bottom-left-radius: 4px;
190
+ border-top-left-radius: 4px;
191
+ }
192
+
193
+ .qms-element-row td.mat-cell:last-child {
194
+ border-right: 1px solid #e0e0e0;
195
+ border-bottom-right-radius: 4px;
196
+ border-top-right-radius: 4px;
197
+ }
198
+
199
+ td.mat-cell {
200
+ color: #242424;
201
+ font-weight: 400;
202
+ background: #fff;
203
+ }
204
+
205
+ .qms-element-row td {
206
+ border-bottom-width: 0;
207
+ }
208
+
209
+ tr.spacer:first-child {
210
+ height: 16px;
211
+ }
212
+
213
+ .spacer {
214
+ height: 8px;
215
+ }
216
+
217
+ tr.mat-row.spacer td.mat-cell {
218
+ background-color: transparent;
219
+ }
220
+
221
+ tr.qms-expanded-row td.mat-cell {
222
+ border-bottom: 1px solid #ddd;
223
+ }
224
+ }
225
+ }
@@ -108,6 +108,14 @@ $ws-text-secondary: --ws-text-secondary;
108
108
  $ws-text-primary: --ws-text-primary;
109
109
  $ws-action-active: --ws-action-active;
110
110
 
111
+ $primary-circle-background-hover: --primary-circle-background-hover;
112
+ $primary-dark-1-disable-background: --primary-dark-1-disable-background;
113
+ $primary-dark-2-disable-background: --primary-dark-2-disable-background;
114
+ $primary-dark-3-disable-background: --primary-dark-3-disable-background;
115
+ $primary-dark-4-disable-background: --primary-dark-4-disable-background;
116
+ $primary-dark-5-disable-background: --primary-dark-5-disable-background;
117
+
118
+
111
119
  @function black($opacity) {
112
120
  @return rgba(black, $opacity);
113
121
  }
@@ -216,7 +224,13 @@ $qms-theme-default: (
216
224
  $other-divider: #e0e0e0,
217
225
  $ws-text-secondary: #5a5a5a,
218
226
  $ws-text-primary: #242424,
219
- $ws-action-active: #707070
227
+ $ws-action-active: #707070,
228
+ $primary-circle-background-hover: #0163B2,
229
+ $primary-dark-1-disable-background: #878787,
230
+ $primary-dark-2-disable-background: #AEAEAE,
231
+ $primary-dark-3-disable-background: #DAE8F4,
232
+ $primary-dark-4-disable-background: #E0E0E0,
233
+ $primary-dark-5-disable-background: #D9D9D9
220
234
  );
221
235
 
222
236
  $qms-theme-pink: (
@@ -319,5 +333,11 @@ $qms-theme-pink: (
319
333
  $other-divider: #e0e0e0,
320
334
  $ws-text-secondary: #5a5a5a,
321
335
  $ws-text-primary: #242424,
322
- $ws-action-active: #707070
336
+ $ws-action-active: #707070,
337
+ $primary-circle-background-hover: #0163B2,
338
+ $primary-dark-1-disable-background: #878787,
339
+ $primary-dark-2-disable-background: #AEAEAE,
340
+ $primary-dark-3-disable-background: #DAE8F4,
341
+ $primary-dark-4-disable-background: #E0E0E0,
342
+ $primary-dark-5-disable-background: #D9D9D9
323
343
  );