qms-angular 1.1.16 → 1.1.18
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/bundles/qms-angular.umd.js +343 -112
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/models/qms-tree-node.model.js +1 -1
- package/esm2015/lib/components/select-access-dialog/common/animation.js +12 -2
- package/esm2015/lib/components/select-access-dialog/model/select-access-config.model.js +20 -0
- package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +2 -1
- package/esm2015/lib/components/select-access-dialog/public-api.js +2 -1
- package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +161 -55
- package/esm2015/lib/components/select-department/select-department.component.js +17 -9
- package/esm2015/lib/components/select-department-tree/animation/animation.js +12 -2
- package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +38 -43
- package/esm2015/lib/model/en.js +3 -1
- package/esm2015/lib/model/no.js +3 -1
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-plugin.model.js +2 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link-simple/qms-ckeditor-link-simple.component.js +54 -0
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +20 -7
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +7 -3
- package/esm2015/public-api.js +2 -1
- package/fesm2015/qms-angular.js +323 -110
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/models/qms-tree-node.model.d.ts +1 -0
- package/lib/components/select-access-dialog/model/select-access-config.model.d.ts +18 -0
- package/lib/components/select-access-dialog/model/select-access-data.d.ts +1 -0
- package/lib/components/select-access-dialog/public-api.d.ts +1 -0
- package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +15 -11
- package/lib/components/select-department/select-department.component.d.ts +4 -4
- package/lib/components/select-department-tree/select-department-tree.component.d.ts +4 -0
- package/lib/model/en.d.ts +2 -0
- package/lib/model/no.d.ts +2 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-plugin.model.d.ts +1 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-link-simple/qms-ckeditor-link-simple.component.d.ts +17 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/qms-angular.metadata.json +1 -1
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
- package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +103 -6
- package/src/lib/components/select-department-tree/select-department-tree.component.scss +100 -4
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-link-simple/qms-ckeditor-link-simple.component.scss +1 -0
- package/src/themes/core/_checkbox.scss +16 -2
- package/src/themes/core/_radio.scss +16 -3
- package/src/themes/core/_slide-toggle.scss +18 -5
- package/src/themes/core/_table-pure-gap.scss +134 -18
- package/src/themes/theme/_variable.scss +22 -2
@@ -48,6 +48,10 @@
|
|
48
48
|
font-size: 12px;
|
49
49
|
}
|
50
50
|
|
51
|
+
.color-primary{
|
52
|
+
color: theme-apply($primary-light) !important;
|
53
|
+
}
|
54
|
+
|
51
55
|
.header-title {
|
52
56
|
font-weight: 600;
|
53
57
|
color: theme-apply($ws-text-primary);
|
@@ -124,15 +128,48 @@
|
|
124
128
|
.result-selected-container {
|
125
129
|
max-height: 175px;
|
126
130
|
overflow-y: auto;
|
131
|
+
padding-right: 4px;
|
127
132
|
}
|
128
133
|
|
129
134
|
.item-list-wrapper {
|
130
135
|
max-height: 28vh;
|
131
|
-
padding
|
136
|
+
padding: 4px 4px 4px 0;
|
132
137
|
overflow-y: auto;
|
138
|
+
&.no-result{
|
139
|
+
height: 28vh;
|
140
|
+
display: flex;
|
141
|
+
justify-content: center;
|
142
|
+
align-items: center;
|
143
|
+
}
|
144
|
+
&.no-result{
|
145
|
+
height: 28vh;
|
146
|
+
display: flex;
|
147
|
+
justify-content: center;
|
148
|
+
align-items: center;
|
149
|
+
}
|
133
150
|
.item{
|
134
151
|
min-height: 40px;
|
135
152
|
}
|
153
|
+
.item-without-checkbox{
|
154
|
+
min-height: 45px;
|
155
|
+
display: flex;
|
156
|
+
justify-content: space-between;
|
157
|
+
align-items: center;
|
158
|
+
padding: 4px 8px;
|
159
|
+
cursor: pointer;
|
160
|
+
user-select: none;
|
161
|
+
border-radius: 4px;
|
162
|
+
transition: background .3s ease;
|
163
|
+
&.active{
|
164
|
+
background: theme-apply($primary-light-12-opacity);
|
165
|
+
}
|
166
|
+
&:hover{
|
167
|
+
background: theme-apply($primary-light-6-opacity);
|
168
|
+
}
|
169
|
+
.mat-icon{
|
170
|
+
color: theme-apply($primary-light) !important;
|
171
|
+
}
|
172
|
+
}
|
136
173
|
}
|
137
174
|
|
138
175
|
.confirm__button__groups {
|
@@ -231,11 +268,6 @@
|
|
231
268
|
& > .qms-total-result{
|
232
269
|
margin-bottom: 0;
|
233
270
|
}
|
234
|
-
&> .qms-btn-icon{
|
235
|
-
width: 30px;
|
236
|
-
height: 30px;
|
237
|
-
line-height: 30px;
|
238
|
-
}
|
239
271
|
}
|
240
272
|
|
241
273
|
&> .qms-btn-icon-wrapper{
|
@@ -268,5 +300,70 @@
|
|
268
300
|
.mat-select-value{
|
269
301
|
text-align: center;
|
270
302
|
}
|
303
|
+
|
304
|
+
}
|
305
|
+
|
306
|
+
.mat-checkbox.checkbox-all .mat-checkbox-label{
|
307
|
+
flex-direction: row !important;
|
308
|
+
align-items: center !important;
|
309
|
+
column-gap: 4px !important;
|
310
|
+
}
|
311
|
+
.mat-expansion-panel.qms-expansion{
|
312
|
+
margin: 0 !important;
|
313
|
+
}
|
314
|
+
|
315
|
+
.qms-btn-icon{
|
316
|
+
width: 30px !important;
|
317
|
+
height: 30px !important;
|
318
|
+
line-height: 30px !important;
|
319
|
+
}
|
320
|
+
|
321
|
+
// Loading animate
|
322
|
+
.loading-container{
|
323
|
+
height: 25vh;
|
324
|
+
display: grid;
|
325
|
+
grid-template-rows: repeat(auto-fill, minmax(60px, 60px));
|
326
|
+
.loader{
|
327
|
+
position: relative;
|
328
|
+
width: 100%;
|
329
|
+
height: 100%;
|
330
|
+
padding: 10px 0;
|
331
|
+
overflow: hidden;
|
332
|
+
&::after {
|
333
|
+
content: "";
|
334
|
+
position: absolute;
|
335
|
+
width: 100%;
|
336
|
+
height: 100%;
|
337
|
+
top: 0;
|
338
|
+
left: 0;
|
339
|
+
background: linear-gradient(110deg, rgba(233, 233, 233, 0) 0%, rgba(227, 227, 227, 0) 40%, rgba(227, 227, 227, 0.5) 50%, rgba(227, 227, 227, 0) 60%, rgba(227, 227, 227, 0) 100%);
|
340
|
+
animation: animate-loading 1.2s linear infinite;
|
341
|
+
}
|
342
|
+
&__wrapper{
|
343
|
+
position: relative;
|
344
|
+
width: 100%;
|
345
|
+
height: 100%;
|
346
|
+
.row-loader{
|
347
|
+
background-color: #eeeeee;
|
348
|
+
position: absolute;
|
349
|
+
left: 0;
|
350
|
+
width: 100%;
|
351
|
+
height: 40px;
|
352
|
+
overflow: hidden;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
@keyframes animate-loading {
|
356
|
+
0% {
|
357
|
+
transform: translateX(-100%);
|
358
|
+
}
|
359
|
+
|
360
|
+
100% {
|
361
|
+
transform: translateX(100%);
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}
|
271
365
|
}
|
366
|
+
|
272
367
|
}
|
368
|
+
|
369
|
+
|
@@ -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,11 +40,18 @@
|
|
36
40
|
margin-top: 1rem;
|
37
41
|
}
|
38
42
|
|
39
|
-
.
|
43
|
+
.input-field {
|
40
44
|
display: flex;
|
41
45
|
align-items: center;
|
42
46
|
position: relative;
|
43
47
|
|
48
|
+
::ng-deep .mat-form-field-wrapper{
|
49
|
+
padding-bottom: 8px !important;
|
50
|
+
}
|
51
|
+
::ng-deep .mat-form-field-underline{
|
52
|
+
bottom: 8px !important;
|
53
|
+
}
|
54
|
+
|
44
55
|
input.input-search {
|
45
56
|
width: 100%;
|
46
57
|
padding: 10px;
|
@@ -104,9 +115,8 @@
|
|
104
115
|
}
|
105
116
|
}
|
106
117
|
|
107
|
-
.mat-tree-node.collapse-node {
|
118
|
+
.mat-tree-node.collapse-node:not(.selected-theme) {
|
108
119
|
&.active {
|
109
|
-
|
110
120
|
button,
|
111
121
|
.mat-icon-rtl-mirror,
|
112
122
|
.type-icon,
|
@@ -124,6 +134,10 @@
|
|
124
134
|
}
|
125
135
|
}
|
126
136
|
|
137
|
+
.mat-tree-node.selected-theme{
|
138
|
+
background: theme-apply($primary-light-12-opacity);
|
139
|
+
}
|
140
|
+
|
127
141
|
.mat-tree-node.expand-node {
|
128
142
|
color: theme-apply($primary);
|
129
143
|
|
@@ -162,6 +176,7 @@
|
|
162
176
|
line-height: 35px;
|
163
177
|
}
|
164
178
|
|
179
|
+
|
165
180
|
.mat-tree-node {
|
166
181
|
&.mat-tree-node-disabled-all {
|
167
182
|
cursor: default !important;
|
@@ -213,6 +228,18 @@
|
|
213
228
|
}
|
214
229
|
}
|
215
230
|
|
231
|
+
.node-without-checkbox{
|
232
|
+
cursor: pointer;
|
233
|
+
width: 100%;
|
234
|
+
display: flex;
|
235
|
+
justify-content: space-between;
|
236
|
+
align-items: center;
|
237
|
+
.mat-icon{
|
238
|
+
color: theme-apply($primary);
|
239
|
+
margin-right: 4px;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
216
243
|
&>.node-content-wraper {
|
217
244
|
width: fit-content;
|
218
245
|
position: relative;
|
@@ -270,13 +297,26 @@
|
|
270
297
|
.qms-view-search-result{
|
271
298
|
height: 375px;
|
272
299
|
width: 100%;
|
300
|
+
overflow: hidden;
|
273
301
|
.result {
|
274
302
|
max-height: calc(100% - 44px);
|
275
303
|
overflow-y: auto;
|
276
304
|
margin-bottom: 4px;
|
277
305
|
padding-right: 4px;
|
278
306
|
&.active-paging{
|
279
|
-
max-height: calc(100% -
|
307
|
+
max-height: calc(100% - 80px);
|
308
|
+
}
|
309
|
+
&.no-result{
|
310
|
+
height: 100%;
|
311
|
+
display: flex;
|
312
|
+
justify-content: center;
|
313
|
+
align-items: center;
|
314
|
+
}
|
315
|
+
&.no-result{
|
316
|
+
height: 100%;
|
317
|
+
display: flex;
|
318
|
+
justify-content: center;
|
319
|
+
align-items: center;
|
280
320
|
}
|
281
321
|
}
|
282
322
|
.result-item{
|
@@ -426,4 +466,60 @@
|
|
426
466
|
font-weight: 400;
|
427
467
|
font-size: 14px;
|
428
468
|
}
|
469
|
+
|
470
|
+
::ng-deep .mat-checkbox.checkbox-all .mat-checkbox-label{
|
471
|
+
flex-direction: row;
|
472
|
+
align-items: center;
|
473
|
+
column-gap: 4px;
|
474
|
+
}
|
475
|
+
::ng-deep .btn-arrow{
|
476
|
+
width: 40px;
|
477
|
+
height: 40px;
|
478
|
+
line-height: 40px;
|
479
|
+
}
|
480
|
+
|
481
|
+
.loading-container{
|
482
|
+
overflow: hidden;
|
483
|
+
height: 100%;
|
484
|
+
display: grid;
|
485
|
+
grid-template-rows: repeat(auto-fill, minmax(60px, 60px));
|
486
|
+
.loader{
|
487
|
+
position: relative;
|
488
|
+
width: 100%;
|
489
|
+
height: 100%;
|
490
|
+
padding: 10px 0;
|
491
|
+
overflow: hidden;
|
492
|
+
&::after {
|
493
|
+
content: "";
|
494
|
+
position: absolute;
|
495
|
+
width: 100%;
|
496
|
+
height: 100%;
|
497
|
+
top: 0;
|
498
|
+
left: 0;
|
499
|
+
background: linear-gradient(110deg, rgba(233, 233, 233, 0) 0%, rgba(227, 227, 227, 0) 40%, rgba(227, 227, 227, 0.5) 50%, rgba(227, 227, 227, 0) 60%, rgba(227, 227, 227, 0) 100%);
|
500
|
+
animation: animate-loading 1.2s linear infinite;
|
501
|
+
}
|
502
|
+
&__wrapper{
|
503
|
+
position: relative;
|
504
|
+
width: 100%;
|
505
|
+
height: 100%;
|
506
|
+
.row-loader{
|
507
|
+
background-color: #eeeeee;
|
508
|
+
position: absolute;
|
509
|
+
left: 0;
|
510
|
+
width: 100%;
|
511
|
+
height: 40px;
|
512
|
+
}
|
513
|
+
}
|
514
|
+
@keyframes animate-loading {
|
515
|
+
0% {
|
516
|
+
transform: translateX(-100%);
|
517
|
+
}
|
518
|
+
|
519
|
+
100% {
|
520
|
+
transform: translateX(100%);
|
521
|
+
}
|
522
|
+
}
|
523
|
+
}
|
524
|
+
}
|
429
525
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '../../styles/style.scss';
|
@@ -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
|
-
|
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
|
-
|
58
|
-
|
59
|
-
|
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:
|
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-
|
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-
|
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
|
-
|
8
|
-
|
9
|
-
|
6
|
+
position: relative;
|
7
|
+
padding-top: 35px;
|
8
|
+
overflow: hidden;
|
10
9
|
}
|
11
10
|
.table-scroll-area {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|
51
|
-
|
47
|
+
border: none !important;
|
48
|
+
min-width: 40px;
|
52
49
|
}
|
53
50
|
|
54
51
|
.th-title {
|
55
|
-
|
56
|
-
|
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
|
);
|