@agorapulse/ui-theme 15.0.3 → 15.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/agorapulse-ui-theme-15.0.5.tgz +0 -0
- package/assets/style/components-custom-style/_form.scss +1 -1
- package/assets/style/components-custom-style/_mat-button.scss +34 -2
- package/assets/style/theme.scss +0 -1
- package/assets/variables.css +13 -13
- package/package.json +1 -1
- package/src/tokens/reference/color.json +1 -1
- package/src/tokens/reference/font.json +1 -1
- package/agorapulse-ui-theme-15.0.3.tgz +0 -0
- package/assets/style/components-custom-style/_mat-checkbox.scss +0 -103
|
Binary file
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
color: map_get($colors-electric-blue, 100);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
&:not(.mat-accent):not(.mat-primary):not(.mat-success):not(.mat-warn):not(.mat-secondary):not(.mat-facebook):not(.mat-instagram):not(.mat-linkedin):not(.mat-twitter):not(.mat-youtube):not(.active) {
|
|
123
|
+
&:not(.mat-accent):not(.mat-primary):not(.mat-success):not(.mat-warn):not(.mat-secondary):not(.mat-facebook):not(.mat-instagram):not(.mat-linkedin):not(.mat-twitter):not(.mat-youtube):not(.active):not(.locked) {
|
|
124
124
|
ap-symbol {
|
|
125
125
|
color: map_get($colors-grey, 60);
|
|
126
126
|
}
|
|
@@ -390,6 +390,38 @@ button.mat-stroked-button {
|
|
|
390
390
|
color: map_get($colors-grey, 20);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
+
&.locked {
|
|
394
|
+
background-color: map_get($colors-purple, 10);
|
|
395
|
+
border: 1px solid map_get($colors-purple, 20);
|
|
396
|
+
color: map_get($colors-purple, 100);
|
|
397
|
+
position: relative;
|
|
398
|
+
|
|
399
|
+
&:after {
|
|
400
|
+
display: block;
|
|
401
|
+
position: absolute;
|
|
402
|
+
right: -6px;
|
|
403
|
+
top: -6px;
|
|
404
|
+
height: 16px;
|
|
405
|
+
width: 16px;
|
|
406
|
+
background-color: white;
|
|
407
|
+
border-radius: 200px;
|
|
408
|
+
content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0a12 12 0 1 0 12 12A12.015 12.014 0 0 0 12 0Zm5.34 17.693a.912.912 0 0 1-1.297 1.14l-3.852-2.168a.386.387 0 0 0-.38 0L7.96 18.833a.911.911 0 0 1-1.298-1.14l1.567-3.603a.384.384 0 0 0-.083-.43l-2.83-2.787a.85.84 0 0 1 .598-1.487h3.232a.385.385 0 0 0 .351-.223l1.685-3.628a.92.92 0 0 1 1.637 0l1.684 3.628a.386.386 0 0 0 .352.223h3.23a.851.851 0 0 1 .602 1.487l-2.829 2.787a.384.384 0 0 0-.084.43l1.567 3.603Z' fill='%236554C0'/></svg>");
|
|
409
|
+
}
|
|
410
|
+
&:hover {
|
|
411
|
+
background-color: map_get($colors-purple, 20);
|
|
412
|
+
border: 1px solid map_get($colors-purple, 40);
|
|
413
|
+
}
|
|
414
|
+
&:focus-visible {
|
|
415
|
+
background-color: map_get($colors-purple, 20);
|
|
416
|
+
border: 1px solid map_get($colors-purple, 20);
|
|
417
|
+
box-shadow: 0 0 0 1px $color-white, 0 0 0 3px map_get($colors-electric-blue, 100);
|
|
418
|
+
}
|
|
419
|
+
&:active {
|
|
420
|
+
background: map_get($colors-purple, 40);
|
|
421
|
+
border: 1px solid map_get($colors-purple, 60);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
393
425
|
@extend %ap-button;
|
|
394
426
|
&.background-grey {
|
|
395
427
|
background-color: $color-grey-background;
|
|
@@ -397,7 +429,7 @@ button.mat-stroked-button {
|
|
|
397
429
|
&.background-white {
|
|
398
430
|
background-color: $color-white;
|
|
399
431
|
}
|
|
400
|
-
&:not([disabled]) {
|
|
432
|
+
&:not([disabled]), &:not(.locked) {
|
|
401
433
|
border-color: map_get($colors-grey, 20);
|
|
402
434
|
&.active {
|
|
403
435
|
border-color: map_get($colors-electric-blue, 100);
|
package/assets/style/theme.scss
CHANGED
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
@import 'components-custom-style/notification';
|
|
42
42
|
@import 'components-custom-style/mat-button';
|
|
43
43
|
@import 'components-custom-style/mat-button-toggle-group';
|
|
44
|
-
@import 'components-custom-style/mat-checkbox';
|
|
45
44
|
@import 'components-custom-style/mat-dialog';
|
|
46
45
|
@import 'components-custom-style/mat-divider';
|
|
47
46
|
@import 'components-custom-style/mat-expansion-panel';
|
package/assets/variables.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Apr 2023 12:35:57 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--ref-color-electric-blue-05: #F3F9FF;
|
|
26
26
|
--ref-color-grey-10: #EAECEF;
|
|
27
27
|
--ref-color-grey-20: #D6DAE0;
|
|
28
|
-
--ref-color-grey-40: #
|
|
28
|
+
--ref-color-grey-40: #AEB5C1;
|
|
29
29
|
--ref-color-grey-60: #858FA1;
|
|
30
30
|
--ref-color-grey-80: #5D6A82;
|
|
31
31
|
--ref-color-grey-100: #344563;
|
|
@@ -153,47 +153,47 @@
|
|
|
153
153
|
--sys-text-color-default: #344563;
|
|
154
154
|
--sys-text-color-light: #5D6A82;
|
|
155
155
|
--sys-text-color-error: #E81313;
|
|
156
|
-
--sys-text-style-h0-font-family: Averta
|
|
156
|
+
--sys-text-style-h0-font-family: Averta;
|
|
157
157
|
--sys-text-style-h0-size: 20px;
|
|
158
158
|
--sys-text-style-h0-weight: 900;
|
|
159
159
|
--sys-text-style-h0-line-height: 36px;
|
|
160
|
-
--sys-text-style-marketing-font-family: Averta
|
|
160
|
+
--sys-text-style-marketing-font-family: Averta;
|
|
161
161
|
--sys-text-style-marketing-size: 24px;
|
|
162
162
|
--sys-text-style-marketing-weight: 800;
|
|
163
163
|
--sys-text-style-marketing-line-height: 36px;
|
|
164
|
-
--sys-text-style-h1-font-family: Averta
|
|
164
|
+
--sys-text-style-h1-font-family: Averta;
|
|
165
165
|
--sys-text-style-h1-size: 20px;
|
|
166
166
|
--sys-text-style-h1-weight: 700;
|
|
167
167
|
--sys-text-style-h1-line-height: 36px;
|
|
168
|
-
--sys-text-style-h2-font-family: Averta
|
|
168
|
+
--sys-text-style-h2-font-family: Averta;
|
|
169
169
|
--sys-text-style-h2-size: 18px;
|
|
170
170
|
--sys-text-style-h2-weight: 700;
|
|
171
171
|
--sys-text-style-h2-line-height: 24px;
|
|
172
|
-
--sys-text-style-subtitle-font-family: Averta
|
|
172
|
+
--sys-text-style-subtitle-font-family: Averta;
|
|
173
173
|
--sys-text-style-subtitle-size: 16px;
|
|
174
174
|
--sys-text-style-subtitle-weight: 400;
|
|
175
175
|
--sys-text-style-subtitle-line-height: 20px;
|
|
176
|
-
--sys-text-style-h3-font-family: Averta
|
|
176
|
+
--sys-text-style-h3-font-family: Averta;
|
|
177
177
|
--sys-text-style-h3-size: 16px;
|
|
178
178
|
--sys-text-style-h3-weight: 700;
|
|
179
179
|
--sys-text-style-h3-line-height: 24px;
|
|
180
|
-
--sys-text-style-h4-font-family: Averta
|
|
180
|
+
--sys-text-style-h4-font-family: Averta;
|
|
181
181
|
--sys-text-style-h4-size: 14px;
|
|
182
182
|
--sys-text-style-h4-weight: 700;
|
|
183
183
|
--sys-text-style-h4-line-height: 20px;
|
|
184
|
-
--sys-text-style-body-font-family: Averta
|
|
184
|
+
--sys-text-style-body-font-family: Averta;
|
|
185
185
|
--sys-text-style-body-size: 14px;
|
|
186
186
|
--sys-text-style-body-weight: 400;
|
|
187
187
|
--sys-text-style-body-line-height: 18px;
|
|
188
|
-
--sys-text-style-body-bold-font-family: Averta
|
|
188
|
+
--sys-text-style-body-bold-font-family: Averta;
|
|
189
189
|
--sys-text-style-body-bold-size: 14px;
|
|
190
190
|
--sys-text-style-body-bold-weight: 700;
|
|
191
191
|
--sys-text-style-body-bold-line-height: 18px;
|
|
192
|
-
--sys-text-style-caption-font-family: Averta
|
|
192
|
+
--sys-text-style-caption-font-family: Averta;
|
|
193
193
|
--sys-text-style-caption-size: 12px;
|
|
194
194
|
--sys-text-style-caption-weight: 400;
|
|
195
195
|
--sys-text-style-caption-line-height: 16px;
|
|
196
|
-
--sys-text-style-caption-bold-font-family: Averta
|
|
196
|
+
--sys-text-style-caption-bold-font-family: Averta;
|
|
197
197
|
--sys-text-style-caption-bold-size: 12px;
|
|
198
198
|
--sys-text-style-caption-bold-weight: 700;
|
|
199
199
|
--sys-text-style-caption-bold-line-height: 16px;
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"100" : { "value": "#344563" },
|
|
29
29
|
"80" : { "value": "#5D6A82" },
|
|
30
30
|
"60" : { "value": "#858FA1" },
|
|
31
|
-
"40" : { "value": "#
|
|
31
|
+
"40" : { "value": "#AEB5C1" },
|
|
32
32
|
"20" : { "value": "#D6DAE0" },
|
|
33
33
|
"10" : { "value": "#EAECEF" },
|
|
34
34
|
"05" : { "value": "#F5F5F7" },
|
|
Binary file
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
@mixin checkbox-state-style($color) {
|
|
4
|
-
.mat-checkbox-frame {
|
|
5
|
-
border-color:$color;
|
|
6
|
-
}
|
|
7
|
-
&.mat-checkbox-checked {
|
|
8
|
-
.mat-checkbox-background {
|
|
9
|
-
background-color: $color !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.mat-checkbox {
|
|
15
|
-
margin-right: $padding-m;
|
|
16
|
-
.mat-checkbox-frame {
|
|
17
|
-
background-color: white;
|
|
18
|
-
border-color: $form-control-default-border-color;
|
|
19
|
-
border-radius: $border-radius;
|
|
20
|
-
border-width: 1px;
|
|
21
|
-
}
|
|
22
|
-
.mat-checkbox-background {
|
|
23
|
-
border-radius: $border-radius;
|
|
24
|
-
.mat-checkbox-checkmark-path {
|
|
25
|
-
stroke-width: 4px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.mat-checkbox-checkmark {
|
|
29
|
-
height: 10px;
|
|
30
|
-
top: 2px;
|
|
31
|
-
}
|
|
32
|
-
.mat-checkbox-layout {
|
|
33
|
-
align-items: center;
|
|
34
|
-
|
|
35
|
-
.mat-checkbox-label {
|
|
36
|
-
display: flex;
|
|
37
|
-
color: $form-control-default-font-color;
|
|
38
|
-
line-height: $font-line-height;
|
|
39
|
-
font-size: $font-size;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
// Hover
|
|
43
|
-
/* Does not work?
|
|
44
|
-
&:hover {
|
|
45
|
-
.mat-checkbox-frame {
|
|
46
|
-
color: $form-control-hover-border-color !important;
|
|
47
|
-
}
|
|
48
|
-
}*/
|
|
49
|
-
// Checked
|
|
50
|
-
&.mat-checkbox-checked:not(.mat-checkbox-disabled) {
|
|
51
|
-
.mat-checkbox-background {
|
|
52
|
-
background-color: $form-control-selected-background-color !important;
|
|
53
|
-
}
|
|
54
|
-
.mat-checkbox-label {
|
|
55
|
-
color: $form-control-selected-font-color;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
// Disabled
|
|
59
|
-
&.mat-checkbox-disabled {
|
|
60
|
-
.mat-checkbox-background {
|
|
61
|
-
background-color: $form-control-disabled-background-color;
|
|
62
|
-
border: 1px solid $form-control-disabled-border-color;
|
|
63
|
-
}
|
|
64
|
-
.mat-checkbox-label {
|
|
65
|
-
color: $form-control-disabled-font-color;
|
|
66
|
-
}
|
|
67
|
-
&.mat-checkbox-checked {
|
|
68
|
-
.mat-checkbox-background {
|
|
69
|
-
background-color: $form-control-disabled-selected-background-color !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
// Invalid
|
|
74
|
-
&.invalid:not(.mat-checkbox-disabled),
|
|
75
|
-
&.ng-invalid.ng-dirty.ng-touched:not([disabled]) {
|
|
76
|
-
@include checkbox-state-style($color-error);
|
|
77
|
-
}
|
|
78
|
-
// Valid
|
|
79
|
-
&.valid:not(.mat-checkbox-disabled) {
|
|
80
|
-
@include checkbox-state-style($color-success);
|
|
81
|
-
}
|
|
82
|
-
// Full width
|
|
83
|
-
&.full-width {
|
|
84
|
-
width: 100%;
|
|
85
|
-
margin: 0;
|
|
86
|
-
.mat-checkbox-layout {
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
.mat-checkbox-inner-container {
|
|
90
|
-
margin: 0;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
form.submitted {
|
|
97
|
-
.mat-checkbox {
|
|
98
|
-
// Invalid
|
|
99
|
-
&.ng-invalid {
|
|
100
|
-
@include checkbox-state-style($color-error);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|