@agorapulse/ui-theme 15.0.26 → 16.0.0-rc.0

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.
@@ -28,13 +28,13 @@ $colors-grey: (
28
28
 
29
29
  $colors-orange: (
30
30
  110: #ff4d00,
31
- 105: #FF560D,
31
+ 105: #ff560d,
32
32
  100: #ff6726,
33
- 85 : #ff7e46,
33
+ 85: #ff7e46,
34
34
  60: #ffa47d,
35
35
  40: #ffc2a8,
36
36
  20: #ffe1d4,
37
- 10: #ffefe9
37
+ 10: #ffefe9,
38
38
  );
39
39
 
40
40
  $colors-soft-orange: (
@@ -45,7 +45,7 @@ $colors-soft-orange: (
45
45
  40: #fde199,
46
46
  20: #fef0cc,
47
47
  10: #fff8e6,
48
- 5: #fffef2
48
+ 5: #fffef2,
49
49
  );
50
50
 
51
51
  $colors-electric-blue: (
@@ -56,45 +56,45 @@ $colors-electric-blue: (
56
56
  40: #a2d1ff,
57
57
  20: #d1e8ff,
58
58
  10: #e8f4ff,
59
- 5: #f3f9ff
59
+ 5: #f3f9ff,
60
60
  );
61
61
 
62
62
  $colors-soft-blue: (
63
63
  100: #61a4e4,
64
- 85 : #78b1e8,
64
+ 85: #78b1e8,
65
65
  60: #a0c8ef,
66
66
  40: #c0dbf4,
67
67
  20: #dfedfa,
68
- 10: #eff5fc
68
+ 10: #eff5fc,
69
69
  );
70
70
 
71
71
  $colors-menthol: (
72
72
  150: #057e7a,
73
73
  40: #9fd9d6,
74
- 10: #f1f9f8
74
+ 10: #f1f9f8,
75
75
  );
76
76
 
77
77
  $colors-purple: (
78
78
  100: #6554c0,
79
- 85 : #7c6dc9,
79
+ 85: #7c6dc9,
80
80
  60: #a398d9,
81
81
  40: #c1bbe6,
82
82
  20: #e0ddf2,
83
- 10: #efedf8
83
+ 10: #efedf8,
84
84
  );
85
85
 
86
86
  $colors-green: (
87
- 100: #45B854,
87
+ 100: #45b854,
88
88
  85: #61c26d,
89
89
  60: #8fd498,
90
90
  40: #b5e3bb,
91
91
  20: #daf1dd,
92
92
  10: #ecf7ed,
93
- 5: #f2f7f3
93
+ 5: #f2f7f3,
94
94
  );
95
95
 
96
96
  $colors-primary: (
97
- 50: #fff7f3,
97
+ 50: #fff7f3,
98
98
  100: #ffeae0,
99
99
  200: #ffcab3,
100
100
  300: #ffa680,
@@ -123,7 +123,7 @@ $colors-primary: (
123
123
  A200: black,
124
124
  A400: black,
125
125
  A700: black,
126
- )
126
+ ),
127
127
  );
128
128
 
129
129
  $colors-accent: (
@@ -156,33 +156,33 @@ $colors-accent: (
156
156
  A200: black,
157
157
  A400: black,
158
158
  A700: $white-87-opacity,
159
- )
159
+ ),
160
160
  );
161
161
 
162
162
  $colors-red: (
163
- 100: #E81313,
164
- 85: #EB3636,
165
- 60: #F17171,
166
- 40: #F6A1A1,
167
- 20: #FAD0D0,
168
- 10: #FDE7E7,
169
- 5: #FDF5F5
163
+ 100: #e81313,
164
+ 85: #eb3636,
165
+ 60: #f17171,
166
+ 40: #f6a1a1,
167
+ 20: #fad0d0,
168
+ 10: #fde7e7,
169
+ 5: #fdf5f5,
170
170
  );
171
171
 
172
172
  $colors-soft-red: (
173
173
  100: #ff5353,
174
174
  85: #ff6d6d,
175
175
  60: #ff9898,
176
- 10: #fff9f9
176
+ 10: #fff9f9,
177
177
  );
178
178
 
179
179
  $colors-yellow: (
180
- 100: #FFE91F,
181
- 85: #FFEC41,
182
- 60: #FFF279,
183
- 40: #FFF6A5,
184
- 20: #FFFBD2,
185
- 10: #FFFDE9
180
+ 100: #ffe91f,
181
+ 85: #ffec41,
182
+ 60: #fff279,
183
+ 40: #fff6a5,
184
+ 20: #fffbd2,
185
+ 10: #fffde9,
186
186
  );
187
187
 
188
188
  $colors-warn: (
@@ -215,7 +215,7 @@ $colors-warn: (
215
215
  A200: black,
216
216
  A400: $white-87-opacity,
217
217
  A700: $white-87-opacity,
218
- )
218
+ ),
219
219
  );
220
220
 
221
221
  // Primary colors
@@ -234,19 +234,19 @@ $color-blue-grey: #8d98a9;
234
234
  $color-silver: #ced0da;
235
235
  $color-pale-grey: #dfe3e9;
236
236
  $color-grey-white: #f5f7f8;
237
- $color-queued: #8C50CF;
237
+ $color-queued: #8c50cf;
238
238
  $color-approve: #f4bd49; //mat.get-color-from-palette($ap-orange, 500);
239
239
  $color-alice-blue: #f3f9ff;
240
240
 
241
241
  // Colors of 2021 Agorapulse Website
242
- $color-peach: #FFF9F4;
243
- $color-blue-sky: #F5FDFF;
244
- $color-very-light-blue: #F6F8FF;
245
- $color-very-light-orange: #FFF7F3;
246
- $color-very-light-green: #F3FAFF;
242
+ $color-peach: #fff9f4;
243
+ $color-blue-sky: #f5fdff;
244
+ $color-very-light-blue: #f6f8ff;
245
+ $color-very-light-orange: #fff7f3;
246
+ $color-very-light-green: #f3faff;
247
247
 
248
248
  // Grey dark max
249
- $color-grey-dark-max: #212E44;
249
+ $color-grey-dark-max: #212e44;
250
250
 
251
251
  $state-light-orange: #ffe2b3;
252
252
  //$state-light-transparent-orange: #fff1da;
@@ -254,11 +254,11 @@ $state-light-orange: #ffe2b3;
254
254
  $color-black: #344563;
255
255
  $color-cool-grey: #b4bbc6;
256
256
  $color-grey-blue: #68768c;
257
- $color-blue-link: #499EFF;
257
+ $color-blue-link: #499eff;
258
258
 
259
259
  $color-white: #ffffff;
260
260
 
261
- $color-grey-background: #F9F9FA;
261
+ $color-grey-background: #f9f9fa;
262
262
 
263
263
  // Social networks colors
264
264
  $color-facebook: #1877f2;
@@ -297,46 +297,46 @@ $ap-colors: (
297
297
  'pinkish-orange': $color-pinkish-orange,
298
298
  'charcoal-grey': $color-charcoal-grey,
299
299
  'azure': $color-azure,
300
- 'light-azure':$color-light-azure,
301
- 'blue-grey':$color-blue-grey,
300
+ 'light-azure': $color-light-azure,
301
+ 'blue-grey': $color-blue-grey,
302
302
  'silver': $color-silver,
303
303
  //'middle-grey':$state-disabled,
304
- 'pale-grey':$color-pale-grey,
305
- 'grey-white':$color-grey-white,
306
- 'cool-grey':$color-cool-grey,
307
- 'black':$color-black,
308
- 'grey-blue':$color-grey-blue,
309
- 'strawberry':$color-strawberry,
310
- 'light-strawberry':$color-light-strawberry,
311
- 'white':$color-white,
312
- 'cool-green':$color-cool-green,
313
- 'light-green':$color-light-green,
304
+ 'pale-grey': $color-pale-grey,
305
+ 'grey-white': $color-grey-white,
306
+ 'cool-grey': $color-cool-grey,
307
+ 'black': $color-black,
308
+ 'grey-blue': $color-grey-blue,
309
+ 'strawberry': $color-strawberry,
310
+ 'light-strawberry': $color-light-strawberry,
311
+ 'white': $color-white,
312
+ 'cool-green': $color-cool-green,
313
+ 'light-green': $color-light-green,
314
314
  'transparent': transparent,
315
315
 
316
- 'c0': #A566A5,
317
- 'c1': #C7AB82,
318
- 'c2': #F2713C,
319
- 'c3': #FFD006,
320
- 'c4': #94C5AA,
321
- 'c5': #2A9D8F,
322
- 'c6': #78ACD8,
323
- 'c7': #525A9E,
324
- 'c8': #6A2459,
325
- 'c9': #74729E,
316
+ 'c0': #a566a5,
317
+ 'c1': #c7ab82,
318
+ 'c2': #f2713c,
319
+ 'c3': #ffd006,
320
+ 'c4': #94c5aa,
321
+ 'c5': #2a9d8f,
322
+ 'c6': #78acd8,
323
+ 'c7': #525a9e,
324
+ 'c8': #6a2459,
325
+ 'c9': #74729e,
326
326
  );
327
327
 
328
328
  // Utility class for colors
329
329
  @each $key, $value in $ap-colors {
330
- [color="#{$key}"] {
330
+ [color='#{$key}'] {
331
331
  color: $value;
332
332
  }
333
- [bgcolor="#{$key}"] {
333
+ [bgcolor='#{$key}'] {
334
334
  background-color: $value;
335
335
  }
336
- [hcolor="#{$key}"]:hover {
336
+ [hcolor='#{$key}']:hover {
337
337
  background-color: $value;
338
338
  }
339
- [border="#{$key}"] {
339
+ [border='#{$key}'] {
340
340
  border: 1px solid $value;
341
341
  }
342
342
  }
@@ -1,40 +1,40 @@
1
1
  // Import Averta Regular
2
2
  @font-face {
3
- font-family: "Averta";
3
+ font-family: 'Averta';
4
4
  font-weight: normal;
5
5
  font-style: normal;
6
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf") format("opentype");
6
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf') format('opentype');
7
7
  font-display: swap;
8
8
  }
9
9
 
10
10
  // Import Averta Bold
11
11
  @font-face {
12
- font-family: "Averta";
13
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf") format("opentype");
12
+ font-family: 'Averta';
13
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf') format('opentype');
14
14
  font-weight: bold;
15
15
  font-display: swap;
16
16
  }
17
17
 
18
18
  // Import Averta Semibold
19
19
  @font-face {
20
- font-family: "Averta";
21
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf") format("opentype");
20
+ font-family: 'Averta';
21
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf') format('opentype');
22
22
  font-weight: 600;
23
23
  font-display: swap;
24
24
  }
25
25
 
26
26
  /* Import Averta extra bold */
27
27
  @font-face {
28
- font-family: "Averta";
29
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf") format("opentype");
28
+ font-family: 'Averta';
29
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf') format('opentype');
30
30
  font-weight: 800;
31
31
  font-display: swap;
32
32
  }
33
33
 
34
34
  // Import Averta Black
35
35
  @font-face {
36
- font-family: "Averta";
37
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf") format("opentype");
36
+ font-family: 'Averta';
37
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf') format('opentype');
38
38
  font-weight: 900;
39
39
  font-display: swap;
40
40
  }
@@ -16,7 +16,6 @@ blockquote {
16
16
  background-color: $color-silver;
17
17
  }
18
18
 
19
-
20
19
  .left-align {
21
20
  text-align: left;
22
21
  }
@@ -61,7 +60,8 @@ video.responsive-video {
61
60
  height: 0;
62
61
  overflow: hidden;
63
62
  }
64
- object, embed {
63
+ object,
64
+ embed {
65
65
  position: absolute;
66
66
  top: 0;
67
67
  left: 0;
@@ -70,7 +70,9 @@ object, embed {
70
70
  }
71
71
 
72
72
  /* Other (used?) */
73
- .square, .rounded, .round {
73
+ .square,
74
+ .rounded,
75
+ .round {
74
76
  overflow: hidden;
75
77
  }
76
78
  .rounded {
@@ -16,7 +16,7 @@ $custom-typography: mat.define-legacy-typography-config(
16
16
  $body-2: mat.define-typography-level($font-size, $font-line-height, $font-weight-semibold),
17
17
  $caption: mat.define-typography-level($font-size-s, $font-line-height-s, $font-weight)
18
18
  //$button: mat.define-typography-level(16px, 24px, 500),
19
- //$input: mat.define-typography-level(16px, 24px, 500),
19
+ //$input: mat.define-typography-level(16px, 24px, 500),,,
20
20
  );
21
21
  @include mat.all-legacy-component-typographies($custom-typography);
22
22
 
@@ -1,9 +1,9 @@
1
- @use "sass:math";
1
+ @use 'sass:math';
2
2
 
3
3
  @import 'colors';
4
4
 
5
- $font-family: "Averta";
6
- $font-family-header: "Averta";
5
+ $font-family: 'Averta';
6
+ $font-family-header: 'Averta';
7
7
  $font-weight: 400;
8
8
  $font-weight-semibold: 600;
9
9
  $font-weight-bold: 700;
@@ -38,7 +38,7 @@ $color-info: map_get($colors-electric-blue, 100);
38
38
  $color-success: map_get($colors-green, 100);
39
39
  $color-warning: map_get($colors-yellow, 100);
40
40
 
41
- $link-color: map_get($colors-electric-blue, 100);
41
+ $link-color: map_get($colors-electric-blue, 100);
42
42
 
43
43
  $padding-xxl: 48px;
44
44
  $padding-xl: 32px;
@@ -90,13 +90,12 @@ $small-screen: 600px !default;
90
90
  $medium-screen: 992px !default;
91
91
  $large-screen: 1200px !default;
92
92
 
93
- $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
94
- $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
95
- $extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
96
- $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
97
- $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
98
- $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
99
-
93
+ $medium-and-up: 'only screen and (min-width : #{$small-screen-up})' !default;
94
+ $large-and-up: 'only screen and (min-width : #{$medium-screen-up})' !default;
95
+ $extra-large-and-up: 'only screen and (min-width : #{$large-screen-up})' !default;
96
+ $small-and-down: 'only screen and (max-width : #{$small-screen})' !default;
97
+ $medium-and-down: 'only screen and (max-width : #{$medium-screen})' !default;
98
+ $medium-only: 'only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})' !default;
100
99
 
101
100
  // Grid
102
101
 
@@ -1,6 +1,9 @@
1
1
  @import '../variables';
2
2
 
3
- textarea, select, input, button {
3
+ textarea,
4
+ select,
5
+ input,
6
+ button {
4
7
  outline: none;
5
8
  &.full-width {
6
9
  box-sizing: border-box;
@@ -9,13 +12,17 @@ textarea, select, input, button {
9
12
  }
10
13
 
11
14
  form.full-width {
12
- textarea, select, input, button {
15
+ textarea,
16
+ select,
17
+ input,
18
+ button {
13
19
  box-sizing: border-box;
14
20
  width: 100%;
15
21
  }
16
22
  }
17
23
 
18
- input, textarea {
24
+ input,
25
+ textarea {
19
26
  border: 1px solid $form-input-default-border-color;
20
27
  border-radius: $border-radius;
21
28
  color: $form-control-selected-font-color;
@@ -58,7 +65,7 @@ input, textarea {
58
65
 
59
66
  // Hover
60
67
  &:not(.transparent):not(.valid):not(.invalid):not(:focus):not([disabled]):hover {
61
- border-color: $form-input-hover-border-color
68
+ border-color: $form-input-hover-border-color;
62
69
  }
63
70
  }
64
71
 
@@ -105,7 +112,8 @@ input, textarea {
105
112
  }
106
113
 
107
114
  form.submitted {
108
- input, textarea {
115
+ input,
116
+ textarea {
109
117
  // Invalid
110
118
  &.ng-invalid:not([disabled]):not(.transparent) {
111
119
  border: 1px solid $color-error;
@@ -113,7 +121,6 @@ form.submitted {
113
121
  }
114
122
  }
115
123
 
116
-
117
124
  textarea {
118
125
  resize: none;
119
126
  }
@@ -3,7 +3,7 @@
3
3
  .mat-button-toggle-group {
4
4
  height: 36px;
5
5
  border-radius: 4px;
6
- border:none;
6
+ border: none;
7
7
 
8
8
  .mat-button-toggle {
9
9
  margin-left: -1px;
@@ -62,4 +62,3 @@
62
62
  border-top-right-radius: $border-radius;
63
63
  }
64
64
  }
65
-
@@ -120,7 +120,9 @@
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):not(.locked) {
123
+ &:not(.mat-accent):not(.mat-primary):not(.mat-success):not(.mat-warn):not(.mat-secondary):not(.mat-facebook):not(
124
+ .mat-instagram
125
+ ):not(.mat-linkedin):not(.mat-twitter):not(.mat-youtube):not(.active):not(.locked) {
124
126
  ap-symbol {
125
127
  color: map_get($colors-grey, 60);
126
128
  }
@@ -129,7 +131,8 @@
129
131
  }
130
132
  }
131
133
  }
132
- &.square, &.square-rounded {
134
+ &.square,
135
+ &.square-rounded {
133
136
  min-width: 36px;
134
137
  padding: 0;
135
138
  &.small {
@@ -152,7 +155,8 @@
152
155
  overflow: hidden;
153
156
  opacity: 1;
154
157
 
155
- &.circle, &.square {
158
+ &.circle,
159
+ &.square {
156
160
  ap-symbol {
157
161
  animation: fadeout 0.4s linear 1 forwards;
158
162
  }
@@ -237,7 +241,8 @@
237
241
  color: #fff !important;
238
242
  }
239
243
 
240
- &:hover, &.force-hover {
244
+ &:hover,
245
+ &.force-hover {
241
246
  background-color: $hover-background-color;
242
247
  }
243
248
 
@@ -250,7 +255,8 @@
250
255
  &:not(.circle):not(.square) .animation {
251
256
  background-color: $background-color;
252
257
  }
253
- &.circle .animation, &.square .animation {
258
+ &.circle .animation,
259
+ &.square .animation {
254
260
  border-top-color: white;
255
261
  border-right-color: white;
256
262
  }
@@ -260,7 +266,8 @@
260
266
  button.mat-flat-button {
261
267
  @extend %ap-button;
262
268
  background-color: transparent;
263
- &:not([disabled]):hover, &.force-hover {
269
+ &:not([disabled]):hover,
270
+ &.force-hover {
264
271
  background-color: map_get($colors-grey, 5);
265
272
  &.active {
266
273
  background-color: map_get($colors-electric-blue, 10);
@@ -292,7 +299,11 @@ button.mat-flat-button {
292
299
  color: #fff;
293
300
  }
294
301
  &.mat-accent {
295
- @include flat-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 85), map_get($colors-electric-blue, 60));
302
+ @include flat-button-color(
303
+ map_get($colors-electric-blue, 100),
304
+ map_get($colors-electric-blue, 85),
305
+ map_get($colors-electric-blue, 60)
306
+ );
296
307
  }
297
308
  &.mat-primary {
298
309
  @include flat-button-color(map_get($colors-orange, 100), map_get($colors-orange, 85), map_get($colors-orange, 60));
@@ -329,7 +340,8 @@ button.mat-flat-button {
329
340
  color: $color;
330
341
  border-color: $border-color;
331
342
 
332
- &:hover, &.force-hover {
343
+ &:hover,
344
+ &.force-hover {
333
345
  border-color: $hover-border-color;
334
346
  }
335
347
 
@@ -344,7 +356,8 @@ button.mat-flat-button {
344
356
  bottom: -1px;
345
357
  background-color: $color;
346
358
  }
347
- &.circle, &.square {
359
+ &.circle,
360
+ &.square {
348
361
  border: none;
349
362
  .animation {
350
363
  border-top-color: $color;
@@ -360,7 +373,8 @@ button.mat-flat-button {
360
373
  ap-symbol {
361
374
  color: $color;
362
375
  }
363
- &:hover, &.force-hover {
376
+ &:hover,
377
+ &.force-hover {
364
378
  background-color: $hover-background-color;
365
379
  }
366
380
  &:active {
@@ -379,7 +393,8 @@ button.mat-stroked-button {
379
393
  ap-symbol {
380
394
  color: map_get($colors-grey, 60);
381
395
  }
382
- &:hover, &.force-hover {
396
+ &:hover,
397
+ &.force-hover {
383
398
  background-color: map_get($colors-grey, 10);
384
399
  }
385
400
  &:active {
@@ -429,13 +444,15 @@ button.mat-stroked-button {
429
444
  &.background-white {
430
445
  background-color: $color-white;
431
446
  }
432
- &:not([disabled]), &:not(.locked) {
447
+ &:not([disabled]),
448
+ &:not(.locked) {
433
449
  border-color: map_get($colors-grey, 20);
434
450
  &.active {
435
451
  border-color: map_get($colors-electric-blue, 100);
436
452
  }
437
453
  }
438
- &:not([disabled]):hover, &.force-hover {
454
+ &:not([disabled]):hover,
455
+ &.force-hover {
439
456
  border-color: map_get($colors-grey, 40);
440
457
  &.active {
441
458
  border-color: map_get($colors-electric-blue, 85);
@@ -454,7 +471,11 @@ button.mat-stroked-button {
454
471
  }
455
472
 
456
473
  &.mat-accent {
457
- @include stroked-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 60), map_get($colors-electric-blue, 85));
474
+ @include stroked-button-color(
475
+ map_get($colors-electric-blue, 100),
476
+ map_get($colors-electric-blue, 60),
477
+ map_get($colors-electric-blue, 85)
478
+ );
458
479
  }
459
480
  &.mat-primary {
460
481
  @include stroked-button-color(map_get($colors-orange, 100), map_get($colors-orange, 60), map_get($colors-orange, 85));
@@ -486,7 +507,11 @@ button.mat-stroked-button {
486
507
  }
487
508
  }
488
509
  &.mat-accent.ghost {
489
- @include ghost-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 60), map_get($colors-electric-blue, 85));
510
+ @include ghost-button-color(
511
+ map_get($colors-electric-blue, 100),
512
+ map_get($colors-electric-blue, 60),
513
+ map_get($colors-electric-blue, 85)
514
+ );
490
515
  &[disabled] {
491
516
  background-color: transparent;
492
517
  color: map_get($colors-electric-blue, 85);
@@ -537,7 +562,6 @@ button.mat-stroked-button {
537
562
  border-bottom-left-radius: 0;
538
563
  border-top-left-radius: 0;
539
564
  width: 40px;
540
-
541
565
  }
542
566
  }
543
567
  }
@@ -555,7 +579,8 @@ button.mat-stroked-button {
555
579
  ap-symbol {
556
580
  color: $text-color !important;
557
581
  }
558
- &:hover, &.force-hover {
582
+ &:hover,
583
+ &.force-hover {
559
584
  cursor: pointer;
560
585
  background-color: $hover-background-color;
561
586
  }
@@ -571,7 +596,12 @@ button.mat-stroked-button {
571
596
  }
572
597
 
573
598
  button.ap-button-secondary-orange {
574
- @include flat-secondary-button-color(map_get($colors-orange, 100), map_get($colors-orange, 10), map_get($colors-orange, 20), map_get($colors-orange, 40));
599
+ @include flat-secondary-button-color(
600
+ map_get($colors-orange, 100),
601
+ map_get($colors-orange, 10),
602
+ map_get($colors-orange, 20),
603
+ map_get($colors-orange, 40)
604
+ );
575
605
 
576
606
  &.ap-one-line {
577
607
  @include crop-text();
@@ -579,7 +609,12 @@ button.ap-button-secondary-orange {
579
609
  }
580
610
 
581
611
  button.ap-button-secondary-blue {
582
- @include flat-secondary-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 10), map_get($colors-electric-blue, 20), map_get($colors-electric-blue, 40));
612
+ @include flat-secondary-button-color(
613
+ map_get($colors-electric-blue, 100),
614
+ map_get($colors-electric-blue, 10),
615
+ map_get($colors-electric-blue, 20),
616
+ map_get($colors-electric-blue, 40)
617
+ );
583
618
 
584
619
  &.ap-one-line {
585
620
  @include crop-text();
@@ -22,11 +22,11 @@
22
22
  }
23
23
 
24
24
  .dark-backdrop {
25
- background: rgba(0, 0, 0, .75);
25
+ background: rgba(0, 0, 0, 0.75);
26
26
  }
27
27
 
28
28
  .white-backdrop {
29
- background: rgba(255, 255, 255, .75);
29
+ background: rgba(255, 255, 255, 0.75);
30
30
  }
31
31
 
32
32
  .full-screen-modal {
@@ -19,14 +19,15 @@
19
19
  color: map_get($colors-grey, 100);
20
20
  }
21
21
 
22
- &:hover:not([disabled]), &.mat-menu-item-highlighted:not([disabled]) {
22
+ &:hover:not([disabled]),
23
+ &.mat-menu-item-highlighted:not([disabled]) {
23
24
  background-color: map_get($colors-electric-blue, 10);
24
25
  color: map_get($colors-electric-blue, 100);
25
26
  &::after {
26
27
  color: map_get($colors-electric-blue, 100);
27
28
  }
28
29
  ap-symbol .svg {
29
- fill: map_get($colors-electric-blue, 100) !important;
30
+ fill: map_get($colors-electric-blue, 100) !important;
30
31
  }
31
32
  }
32
33
 
@@ -41,36 +42,36 @@
41
42
  max-width: unset;
42
43
  background-color: white;
43
44
  padding: 0px;
44
- border: none!important;
45
+ border: none !important;
45
46
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05);
46
47
 
47
48
  &.shadow {
48
- filter: drop-shadow(0 0 1px rgba(0, 0, 0, .25))
49
+ filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
49
50
  }
50
51
 
51
52
  &.shadow-no-border {
52
53
  box-shadow: 0px 7px 50px rgba(0, 0, 0, 0.08);
53
54
  }
54
55
 
55
- &.arrow-left{
56
+ &.arrow-left {
56
57
  background: transparent;
57
58
  .mat-menu-content {
58
59
  margin-left: 8px;
59
60
  }
60
61
  }
61
- &.arrow-top{
62
+ &.arrow-top {
62
63
  background: transparent;
63
64
  .mat-menu-content {
64
65
  margin-top: 8px;
65
66
  }
66
67
  }
67
- &.arrow-right{
68
+ &.arrow-right {
68
69
  background: transparent;
69
70
  .mat-menu-content {
70
71
  margin-right: 8px;
71
72
  }
72
73
  }
73
- &.arrow-bottom{
74
+ &.arrow-bottom {
74
75
  background: transparent;
75
76
  .mat-menu-content {
76
77
  margin-bottom: 8px;
@@ -93,26 +94,26 @@
93
94
  height: 8px;
94
95
  transform: rotate(135deg);
95
96
  z-index: 99999;
96
- &.arrow-left{
97
+ &.arrow-left {
97
98
  bottom: 12px;
98
99
  left: -4px;
99
100
  -webkit-transform: rotate(45deg);
100
101
  transform: rotate(45deg);
101
102
  }
102
- &.arrow-right{
103
+ &.arrow-right {
103
104
  bottom: 12px;
104
105
  right: -4px;
105
106
  -webkit-transform: rotate(45deg);
106
107
  transform: rotate(45deg);
107
108
  }
108
- &.arrow-top{
109
+ &.arrow-top {
109
110
  top: -4px;
110
111
  left: 50%;
111
112
  -webkit-transform: rotate(45deg);
112
113
  transform: rotate(45deg);
113
114
  //box-shadow: -3px 0px 0px 0px rgba(0, 0, 0, 0.05);
114
115
  }
115
- &.arrow-bottom{
116
+ &.arrow-bottom {
116
117
  bottom: -4px;
117
118
  left: 50%;
118
119
  -webkit-transform: rotate(45deg);
@@ -47,7 +47,6 @@
47
47
  @import 'components-custom-style/mat-expansion-panel';
48
48
  @import 'components-custom-style/mat-list';
49
49
  @import 'components-custom-style/mat-menu';
50
- @import 'components-custom-style/mat-radio-button';
51
50
  @import 'components-custom-style/mat-snack-bar';
52
51
  @import 'components-custom-style/ng-select';
53
52
  @import 'components-custom-style/select';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
- "name": "@agorapulse/ui-theme",
3
- "version": "15.0.26",
4
- "description": "Agorapulse UI Theme Library",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/agorapulse/design.git"
8
- },
9
- "author": "Arnaud BUSO",
10
- "license": "ISC",
11
- "bugs": {
12
- "url": "https://github.com/agorapulse/design/issues"
13
- },
14
- "scripts": {
15
- "generate-tokens": "cd src && node build.js && cd ../assets && git add mobile_variables.css && git add desktop_variables.css"
16
- },
17
- "homepage": "https://github.com/agorapulse/design#readme",
18
- "peerDependencies": {
19
- "@angular/material": "^15.1.0"
20
- },
21
- "devDependencies": {
22
- "style-dictionary": "^3.7.2"
23
- }
2
+ "name": "@agorapulse/ui-theme",
3
+ "version": "16.0.0-rc.0",
4
+ "description": "Agorapulse UI Theme Library",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/agorapulse/design.git"
8
+ },
9
+ "author": "Arnaud BUSO",
10
+ "license": "ISC",
11
+ "bugs": {
12
+ "url": "https://github.com/agorapulse/design/issues"
13
+ },
14
+ "scripts": {
15
+ "generate-tokens": "cd src && node build.js && cd ../assets && git add mobile_variables.css && git add desktop_variables.css"
16
+ },
17
+ "homepage": "https://github.com/agorapulse/design#readme",
18
+ "peerDependencies": {
19
+ "@angular/material": "^16.2.9"
20
+ },
21
+ "devDependencies": {
22
+ "style-dictionary": "^3.7.2"
23
+ }
24
24
  }
Binary file
@@ -1,86 +0,0 @@
1
- @import '../variables';
2
-
3
- @mixin radio-button-state-style($color) {
4
- .mat-radio-button:not(.mat-radio-disabled) {
5
- .mat-radio-outer-circle {
6
- border-color: $color;
7
- }
8
- &.mat-radio-checked {
9
- .mat-radio-inner-circle {
10
- background-color: $color;
11
- }
12
- }
13
- }
14
- }
15
-
16
- .mat-radio-button {
17
- margin-right: $padding-m;
18
- .mat-radio-container {
19
- height: 16px;
20
- width: 16px;
21
- .mat-radio-inner-circle {
22
- border-color: $form-control-default-border-color;
23
- left: -2px;
24
- top: -2px;
25
- }
26
- .mat-radio-outer-circle {
27
- border-color: $form-control-default-border-color;
28
- border-width: 1px;
29
- height: 16px;
30
- width: 16px;
31
- }
32
- }
33
- .mat-radio-label-content {
34
- color: $form-control-default-font-color;
35
- }
36
- // Checked
37
- &.mat-radio-checked:not(.mat-radio-disabled) {
38
- .mat-radio-container {
39
- .mat-radio-outer-circle {
40
- border-color: $form-control-selected-border-color;
41
- }
42
- }
43
- .mat-radio-label-content {
44
- color: $form-control-selected-font-color;
45
- }
46
- }
47
- // Disabled
48
- &.mat-radio-disabled {
49
- .mat-radio-outer-circle {
50
- background-color: $form-control-disabled-background-color;
51
- border-color: $form-control-disabled-border-color;
52
- }
53
- &.mat-radio-checked {
54
- .mat-radio-inner-circle {
55
- background-color: $form-control-disabled-border-color;
56
- }
57
- .mat-radio-outer-circle {
58
- border-color: $form-control-disabled-border-color;
59
- }
60
- }
61
- .mat-radio-label-content {
62
- color: $form-control-disabled-font-color;
63
- }
64
- }
65
- }
66
-
67
- .mat-radio-group {
68
- // Invalid
69
- &.invalid,
70
- &.ng-invalid.ng-touched {
71
- @include radio-button-state-style($color-error);
72
- }
73
- // Valid
74
- &.valid {
75
- @include radio-button-state-style($color-success);
76
- }
77
- }
78
-
79
- form.submitted {
80
- .mat-radio-group {
81
- // Invalid
82
- &.ng-invalid {
83
- @include radio-button-state-style($color-error);
84
- }
85
- }
86
- }