@igo2/core 16.1.1 → 16.3.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.
Files changed (40) hide show
  1. package/esm2022/lib/config/version.mjs +3 -3
  2. package/esm2022/lib/language/shared/index.mjs +1 -1
  3. package/esm2022/lib/language/shared/language.interface.mjs +1 -1
  4. package/fesm2022/igo2-core.mjs +2 -2
  5. package/fesm2022/igo2-core.mjs.map +1 -1
  6. package/locale/en.json +1 -1
  7. package/locale/fr.json +1 -1
  8. package/package.json +7 -4
  9. package/src/packages.import.scss +4 -0
  10. package/theming/prebuilt-themes/blue-theme.css +11 -17
  11. package/theming/prebuilt-themes/bluedark-theme.css +11 -17
  12. package/theming/prebuilt-themes/bluedq-theme.css +11 -17
  13. package/theming/prebuilt-themes/bluegrey-theme.css +11 -17
  14. package/theming/prebuilt-themes/dark-theme.css +11 -17
  15. package/theming/prebuilt-themes/deeppurple-theme.css +11 -17
  16. package/theming/prebuilt-themes/indigo-theme.css +11 -17
  17. package/theming/prebuilt-themes/orange-theme.css +11 -17
  18. package/theming/prebuilt-themes/teal-theme.css +11 -17
  19. package/packages.import.scss +0 -4
  20. package/src/theming/prebuilt-themes/qcca/_index.scss +0 -2
  21. package/src/theming/prebuilt-themes/qcca/base/_index.scss +0 -4
  22. package/src/theming/prebuilt-themes/qcca/base/breakpoints.scss +0 -57
  23. package/src/theming/prebuilt-themes/qcca/base/colors.scss +0 -40
  24. package/src/theming/prebuilt-themes/qcca/base/palette.scss +0 -50
  25. package/src/theming/prebuilt-themes/qcca/base/typography/_index.scss +0 -2
  26. package/src/theming/prebuilt-themes/qcca/base/typography/typography.scss +0 -138
  27. package/src/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +0 -18
  28. package/src/theming/prebuilt-themes/qcca/components/_index.scss +0 -10
  29. package/src/theming/prebuilt-themes/qcca/components/_index.theme.scss +0 -5
  30. package/src/theming/prebuilt-themes/qcca/components/button.scss +0 -24
  31. package/src/theming/prebuilt-themes/qcca/components/dialog.scss +0 -36
  32. package/src/theming/prebuilt-themes/qcca/components/form-field.scss +0 -5
  33. package/src/theming/prebuilt-themes/qcca/components/input.scss +0 -6
  34. package/src/theming/prebuilt-themes/qcca/components/list.scss +0 -24
  35. package/src/theming/prebuilt-themes/qcca/components/panel.scss +0 -8
  36. package/src/theming/prebuilt-themes/qcca/components/scrollbar.scss +0 -15
  37. package/src/theming/prebuilt-themes/qcca/components/search-bar.scss +0 -41
  38. package/src/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +0 -29
  39. package/src/theming/prebuilt-themes/qcca-theme.scss +0 -49
  40. package/theming/prebuilt-themes/qcca-theme.css +0 -3410
@@ -2942,40 +2942,34 @@ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
2942
2942
  }
2943
2943
 
2944
2944
  igo-search-bar .mat-mdc-form-field-infix {
2945
- min-height: 48px;
2945
+ min-height: 56px;
2946
2946
  }
2947
2947
  igo-search-bar .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
2948
- top: 24px;
2948
+ top: 28px;
2949
2949
  }
2950
2950
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2951
2951
  --mat-mdc-form-field-label-transform: translateY(
2952
- -30.75px)
2952
+ -34.75px)
2953
2953
  scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
2954
2954
  transform: var(--mat-mdc-form-field-label-transform);
2955
2955
  }
2956
2956
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2957
- padding-top: 12px;
2958
- padding-bottom: 12px;
2957
+ padding-top: 16px;
2958
+ padding-bottom: 16px;
2959
2959
  }
2960
2960
  igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
2961
- padding-top: 12px;
2962
- padding-bottom: 12px;
2961
+ padding-top: 24px;
2962
+ padding-bottom: 8px;
2963
2963
  }
2964
2964
  igo-search-bar .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix {
2965
- padding-top: 12px;
2966
- padding-bottom: 12px;
2967
- }
2968
- igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
2969
- display: none;
2965
+ padding-top: 16px;
2966
+ padding-bottom: 16px;
2970
2967
  }
2971
2968
  igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base {
2972
- --mdc-icon-button-state-layer-size: 40px;
2969
+ --mdc-icon-button-state-layer-size: 48px;
2973
2970
  width: var(--mdc-icon-button-state-layer-size);
2974
2971
  height: var(--mdc-icon-button-state-layer-size);
2975
- padding: 8px;
2976
- }
2977
- igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target {
2978
- display: none;
2972
+ padding: 12px;
2979
2973
  }
2980
2974
 
2981
2975
  igo-search-bar mat-form-field .mdc-line-ripple {
@@ -2935,40 +2935,34 @@ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
2935
2935
  }
2936
2936
 
2937
2937
  igo-search-bar .mat-mdc-form-field-infix {
2938
- min-height: 48px;
2938
+ min-height: 56px;
2939
2939
  }
2940
2940
  igo-search-bar .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
2941
- top: 24px;
2941
+ top: 28px;
2942
2942
  }
2943
2943
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2944
2944
  --mat-mdc-form-field-label-transform: translateY(
2945
- -30.75px)
2945
+ -34.75px)
2946
2946
  scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
2947
2947
  transform: var(--mat-mdc-form-field-label-transform);
2948
2948
  }
2949
2949
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2950
- padding-top: 12px;
2951
- padding-bottom: 12px;
2950
+ padding-top: 16px;
2951
+ padding-bottom: 16px;
2952
2952
  }
2953
2953
  igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
2954
- padding-top: 12px;
2955
- padding-bottom: 12px;
2954
+ padding-top: 24px;
2955
+ padding-bottom: 8px;
2956
2956
  }
2957
2957
  igo-search-bar .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix {
2958
- padding-top: 12px;
2959
- padding-bottom: 12px;
2960
- }
2961
- igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
2962
- display: none;
2958
+ padding-top: 16px;
2959
+ padding-bottom: 16px;
2963
2960
  }
2964
2961
  igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base {
2965
- --mdc-icon-button-state-layer-size: 40px;
2962
+ --mdc-icon-button-state-layer-size: 48px;
2966
2963
  width: var(--mdc-icon-button-state-layer-size);
2967
2964
  height: var(--mdc-icon-button-state-layer-size);
2968
- padding: 8px;
2969
- }
2970
- igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target {
2971
- display: none;
2965
+ padding: 12px;
2972
2966
  }
2973
2967
 
2974
2968
  igo-search-bar mat-form-field .mdc-line-ripple {
@@ -2935,40 +2935,34 @@ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
2935
2935
  }
2936
2936
 
2937
2937
  igo-search-bar .mat-mdc-form-field-infix {
2938
- min-height: 48px;
2938
+ min-height: 56px;
2939
2939
  }
2940
2940
  igo-search-bar .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
2941
- top: 24px;
2941
+ top: 28px;
2942
2942
  }
2943
2943
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2944
2944
  --mat-mdc-form-field-label-transform: translateY(
2945
- -30.75px)
2945
+ -34.75px)
2946
2946
  scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
2947
2947
  transform: var(--mat-mdc-form-field-label-transform);
2948
2948
  }
2949
2949
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2950
- padding-top: 12px;
2951
- padding-bottom: 12px;
2950
+ padding-top: 16px;
2951
+ padding-bottom: 16px;
2952
2952
  }
2953
2953
  igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
2954
- padding-top: 12px;
2955
- padding-bottom: 12px;
2954
+ padding-top: 24px;
2955
+ padding-bottom: 8px;
2956
2956
  }
2957
2957
  igo-search-bar .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix {
2958
- padding-top: 12px;
2959
- padding-bottom: 12px;
2960
- }
2961
- igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
2962
- display: none;
2958
+ padding-top: 16px;
2959
+ padding-bottom: 16px;
2963
2960
  }
2964
2961
  igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base {
2965
- --mdc-icon-button-state-layer-size: 40px;
2962
+ --mdc-icon-button-state-layer-size: 48px;
2966
2963
  width: var(--mdc-icon-button-state-layer-size);
2967
2964
  height: var(--mdc-icon-button-state-layer-size);
2968
- padding: 8px;
2969
- }
2970
- igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target {
2971
- display: none;
2965
+ padding: 12px;
2972
2966
  }
2973
2967
 
2974
2968
  igo-search-bar mat-form-field .mdc-line-ripple {
@@ -2935,40 +2935,34 @@ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
2935
2935
  }
2936
2936
 
2937
2937
  igo-search-bar .mat-mdc-form-field-infix {
2938
- min-height: 48px;
2938
+ min-height: 56px;
2939
2939
  }
2940
2940
  igo-search-bar .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
2941
- top: 24px;
2941
+ top: 28px;
2942
2942
  }
2943
2943
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2944
2944
  --mat-mdc-form-field-label-transform: translateY(
2945
- -30.75px)
2945
+ -34.75px)
2946
2946
  scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
2947
2947
  transform: var(--mat-mdc-form-field-label-transform);
2948
2948
  }
2949
2949
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2950
- padding-top: 12px;
2951
- padding-bottom: 12px;
2950
+ padding-top: 16px;
2951
+ padding-bottom: 16px;
2952
2952
  }
2953
2953
  igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
2954
- padding-top: 12px;
2955
- padding-bottom: 12px;
2954
+ padding-top: 24px;
2955
+ padding-bottom: 8px;
2956
2956
  }
2957
2957
  igo-search-bar .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix {
2958
- padding-top: 12px;
2959
- padding-bottom: 12px;
2960
- }
2961
- igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
2962
- display: none;
2958
+ padding-top: 16px;
2959
+ padding-bottom: 16px;
2963
2960
  }
2964
2961
  igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base {
2965
- --mdc-icon-button-state-layer-size: 40px;
2962
+ --mdc-icon-button-state-layer-size: 48px;
2966
2963
  width: var(--mdc-icon-button-state-layer-size);
2967
2964
  height: var(--mdc-icon-button-state-layer-size);
2968
- padding: 8px;
2969
- }
2970
- igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target {
2971
- display: none;
2965
+ padding: 12px;
2972
2966
  }
2973
2967
 
2974
2968
  igo-search-bar mat-form-field .mdc-line-ripple {
@@ -2935,40 +2935,34 @@ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
2935
2935
  }
2936
2936
 
2937
2937
  igo-search-bar .mat-mdc-form-field-infix {
2938
- min-height: 48px;
2938
+ min-height: 56px;
2939
2939
  }
2940
2940
  igo-search-bar .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
2941
- top: 24px;
2941
+ top: 28px;
2942
2942
  }
2943
2943
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2944
2944
  --mat-mdc-form-field-label-transform: translateY(
2945
- -30.75px)
2945
+ -34.75px)
2946
2946
  scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
2947
2947
  transform: var(--mat-mdc-form-field-label-transform);
2948
2948
  }
2949
2949
  igo-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2950
- padding-top: 12px;
2951
- padding-bottom: 12px;
2950
+ padding-top: 16px;
2951
+ padding-bottom: 16px;
2952
2952
  }
2953
2953
  igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
2954
- padding-top: 12px;
2955
- padding-bottom: 12px;
2954
+ padding-top: 24px;
2955
+ padding-bottom: 8px;
2956
2956
  }
2957
2957
  igo-search-bar .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix {
2958
- padding-top: 12px;
2959
- padding-bottom: 12px;
2960
- }
2961
- igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
2962
- display: none;
2958
+ padding-top: 16px;
2959
+ padding-bottom: 16px;
2963
2960
  }
2964
2961
  igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base {
2965
- --mdc-icon-button-state-layer-size: 40px;
2962
+ --mdc-icon-button-state-layer-size: 48px;
2966
2963
  width: var(--mdc-icon-button-state-layer-size);
2967
2964
  height: var(--mdc-icon-button-state-layer-size);
2968
- padding: 8px;
2969
- }
2970
- igo-search-bar .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target {
2971
- display: none;
2965
+ padding: 12px;
2972
2966
  }
2973
2967
 
2974
2968
  igo-search-bar mat-form-field .mdc-line-ripple {
@@ -1,4 +0,0 @@
1
- @forward './core-theme' show core-component-themes;
2
- @forward '../common/common-theme' show common-component-themes;
3
- @forward '../context/context-theme' show context-component-themes;
4
- @forward '../geo/geo-theme' show geo-component-themes;
@@ -1,2 +0,0 @@
1
- @forward './base';
2
- @forward './components';
@@ -1,4 +0,0 @@
1
- @forward './breakpoints';
2
- @forward './colors' as colors-*;
3
- @forward './palette';
4
- @forward './typography';
@@ -1,57 +0,0 @@
1
- @use 'sass:map';
2
-
3
- // There is no standard for breakpoints for the Quebec.ca theme
4
- // This is the Material breakpoint design by devices
5
- $device-breakpoints: (
6
- mobile: (
7
- max: 599px
8
- ),
9
- tablet: (
10
- min: 600px,
11
- max: 1239px
12
- ),
13
- laptop: (
14
- min: 1240px,
15
- max: 1439px
16
- ),
17
- desktop: (
18
- min: 1440px
19
- )
20
- );
21
-
22
- // Source: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_breakpoints.scss
23
- @function breakpoint-min($name, $breakpoints: $device-breakpoints) {
24
- $min: map.get($breakpoints, $name, min);
25
- @return if($min != 0, $min, null);
26
- }
27
-
28
- @function breakpoint-max($name, $breakpoints: $device-breakpoints) {
29
- $max: map.get($breakpoints, $name, max);
30
- @return if($max and $max > 0, $max, null);
31
- }
32
-
33
- // Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
34
- // Makes the @content apply to the given breakpoint and wider.
35
- @mixin media-breakpoint-up($name, $breakpoints: $device-breakpoints) {
36
- $min: breakpoint-min($name, $breakpoints);
37
- @if $min {
38
- @media (min-width: $min) {
39
- @content;
40
- }
41
- } @else {
42
- @content;
43
- }
44
- }
45
-
46
- // Media of at most the maximum breakpoint width. No query for the largest breakpoint.
47
- // Makes the @content apply to the given breakpoint and narrower.
48
- @mixin media-breakpoint-down($name, $breakpoints: $device-breakpoints) {
49
- $max: breakpoint-max($name, $breakpoints);
50
- @if $max {
51
- @media (max-width: $max) {
52
- @content;
53
- }
54
- } @else {
55
- @content;
56
- }
57
- }
@@ -1,40 +0,0 @@
1
- @use 'sass:map';
2
-
3
- // https://design.quebec.ca/bases/couleurs#c118192
4
- $colors: (
5
- blue: (
6
- light: #dae6f0,
7
- light-2: #4a98d9,
8
- normal: #1472bf,
9
- normal-piv: #095797,
10
- medium: #19406c,
11
- dark: #223654
12
- ),
13
- grey: (
14
- light: #f1f1f2,
15
- light-2: #c5cad2,
16
- normal: #8893a2,
17
- medium: #6b778a,
18
- dark: #4e5662
19
- ),
20
- red: (
21
- pink-light: #ffdbd6,
22
- pink: #e58271,
23
- normal: #cb381f,
24
- dark: #692519
25
- ),
26
- green: (
27
- light: #d7f0bb,
28
- normal: #4f813d,
29
- dark: #2c4024
30
- ),
31
- yellow: (
32
- light: #f8e69a,
33
- normal: #e0ad03,
34
- dark: #ad781c
35
- )
36
- );
37
-
38
- @function get($color, $name) {
39
- @return map.get($colors, $color, $name);
40
- }
@@ -1,50 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:color';
3
- @use './colors';
4
-
5
- $blue-light: colors.get(blue, light);
6
- $blue-light-2: colors.get(blue, light-2);
7
- $blue-normal: colors.get(blue, normal);
8
- $blue-normal-piv: colors.get(blue, normal-piv);
9
- $blue-medium: colors.get(blue, medium);
10
- $blue-dark: colors.get(blue, dark);
11
-
12
- // Design Quebec colors
13
- $primary: $blue-normal-piv;
14
- $accent: colors.get(red, pink);
15
-
16
- $dark-primary-text: $blue-dark;
17
- $light-primary-text: white;
18
-
19
- $palette: (
20
- 50: $blue-light,
21
- 100: color.adjust($blue-light-2, $lightness: 20%),
22
- 200: color.adjust($blue-light-2, $lightness: 10%),
23
- 300: $blue-light-2,
24
- 400: $blue-normal,
25
- 500: $primary,
26
- 600: color.adjust($primary, $lightness: -10%),
27
- 700: $blue-medium,
28
- 800: color.adjust($blue-medium, $lightness: -10%),
29
- 900: $blue-dark,
30
- A100: $blue-normal,
31
- A200: color.adjust($blue-normal, $lightness: 10%),
32
- A400: colors.get(grey, light-2),
33
- A700: colors.get(grey, light),
34
- contrast: (
35
- 50: $dark-primary-text,
36
- 100: $dark-primary-text,
37
- 200: $dark-primary-text,
38
- 300: $dark-primary-text,
39
- 400: $dark-primary-text,
40
- 500: $light-primary-text,
41
- 600: $light-primary-text,
42
- 700: $light-primary-text,
43
- 800: $light-primary-text,
44
- 900: $light-primary-text,
45
- A100: $dark-primary-text,
46
- A200: $light-primary-text,
47
- A400: $light-primary-text,
48
- A700: $light-primary-text
49
- )
50
- );
@@ -1,2 +0,0 @@
1
- @forward './typography' as typo-*;
2
- @forward './typography.utils';
@@ -1,138 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../palette';
4
- @use '../breakpoints';
5
- @use './typography.utils' as typo-utils;
6
-
7
- // https://design.quebec.ca/bases/polices-caracteres
8
- // https://design.quebec.ca/bases/niveaux-titres
9
- // https://material.angular.io/guide/typography
10
- $typography: mat.define-typography-config(
11
- $font-family: '"Open Sans", sans-serif',
12
- $headline-1: mat.define-typography-level(110px, 110px, 500),
13
- $headline-2: mat.define-typography-level(54px, 54px, 500),
14
- $headline-3: mat.define-typography-level(43px, 46px, 500),
15
- $headline-4: mat.define-typography-level(32px, 38px, 500),
16
- // h1
17
- $headline-5: mat.define-typography-level(48px, 56px, bold),
18
- // h2
19
- $headline-6: mat.define-typography-level(36px, 40px, bold),
20
- // h3
21
- $subtitle-1: mat.define-typography-level(28px, 32px, bold),
22
- // h4
23
- $subtitle-2: mat.define-typography-level(21px, 24px, bold),
24
- $body-1: mat.define-typography-level(16px, 24px, 400),
25
- $body-2: mat.define-typography-level(12px, 18px, 400),
26
- $caption: mat.define-typography-level(12px, 18px, 400),
27
- $button: mat.define-typography-level(13px, 13px, 500)
28
- );
29
-
30
- $typography-mobile: mat.define-typography-config(
31
- // h1
32
- $headline-5: mat.define-typography-level(36px, 40px, bold),
33
- // h2
34
- $headline-6: mat.define-typography-level(28px, 32px, bold),
35
- // h3
36
- $subtitle-1: mat.define-typography-level(25px, 32px, bold)
37
- );
38
-
39
- $font-color: map.get(palette.$palette, 900);
40
-
41
- @mixin set-base-styles {
42
- body {
43
- color: $font-color;
44
- }
45
-
46
- a {
47
- word-break: break-word;
48
- overflow-wrap: break-word;
49
- cursor: pointer;
50
- color: palette.$primary;
51
- text-decoration: underline;
52
- background-color: transparent;
53
- }
54
-
55
- p,
56
- ul,
57
- li,
58
- u,
59
- .text {
60
- color: $font-color;
61
- font-size: 16px;
62
- line-height: 24px;
63
- }
64
-
65
- p {
66
- margin-bottom: 24px;
67
- }
68
-
69
- strong {
70
- font-weight: 600;
71
- }
72
-
73
- h1,
74
- h2,
75
- h3,
76
- h4,
77
- h5,
78
- h6,
79
- .h1,
80
- .h2,
81
- .h3,
82
- .h4,
83
- .h5,
84
- .h6 {
85
- font-family: Roboto, sans-serif !important;
86
- color: $font-color;
87
- }
88
-
89
- h1 {
90
- margin-top: 72px !important;
91
- margin-bottom: 32px !important;
92
-
93
- @include typo-utils.title-border;
94
-
95
- @include breakpoints.media-breakpoint-down(tablet) {
96
- margin-top: 48px !important;
97
- margin-bottom: 16px !important;
98
- }
99
- }
100
-
101
- h2 {
102
- margin-top: 48px !important;
103
- margin-bottom: 16px !important;
104
- }
105
-
106
- h3 {
107
- margin-top: 24px !important;
108
- margin-bottom: 16px !important;
109
- }
110
-
111
- // WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
112
- // https://github.com/angular/components/issues/26351
113
- h4 {
114
- @include typo-utils.title-level-4;
115
- }
116
-
117
- h4 {
118
- margin-top: 24px !important;
119
- margin-bottom: 8px !important;
120
- }
121
-
122
- h5 {
123
- font-size: 19px !important;
124
- line-height: 24px !important;
125
- }
126
-
127
- h6 {
128
- font-size: 16px !important;
129
- line-height: 20px !important;
130
- }
131
-
132
- h5,
133
- h6 {
134
- font-weight: bold !important;
135
- margin-top: 16px !important;
136
- margin-bottom: 0px !important;
137
- }
138
- }
@@ -1,18 +0,0 @@
1
- @use '../palette';
2
-
3
- @mixin title-border {
4
- &:after {
5
- content: '';
6
- display: block;
7
- margin: 0;
8
- width: 48px;
9
- padding-top: 4px;
10
- border-bottom: 4px solid palette.$accent;
11
- }
12
- }
13
-
14
- @mixin title-level-4 {
15
- font-size: 21px !important;
16
- line-height: 24px !important;
17
- font-weight: bold !important;
18
- }
@@ -1,10 +0,0 @@
1
- @use './button';
2
- @use './dialog';
3
- @use './form-field';
4
- @use './input';
5
- @use './list';
6
- @use './panel';
7
- @use './search-bar';
8
- @use './scrollbar';
9
-
10
- @forward './_index.theme' as all-component-*;
@@ -1,5 +0,0 @@
1
- @use './search-bar.theme' as search-bar;
2
-
3
- @mixin themes($theme) {
4
- @include search-bar.theme($theme);
5
- }
@@ -1,24 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- $color-500: map.get(base.$palette, 500);
6
-
7
- .mdc-button {
8
- font-size: mat.font-size(base.$typo-typography, body-1) !important;
9
- line-height: mat.line-height(base.$typo-typography, body-1) !important;
10
- font-weight: bold !important;
11
- }
12
-
13
- .mat-mdc-outlined-button {
14
- border: 2px solid currentColor;
15
- }
16
-
17
- .mat-mdc-button-base {
18
- border-radius: 0 !important;
19
- }
20
-
21
- .mat-mdc-raised-button {
22
- color: $color-500 !important;
23
- border-color: $color-500 !important;
24
- }
@@ -1,36 +0,0 @@
1
- @use '../base';
2
-
3
- .mdc-dialog {
4
- max-width: 600px;
5
-
6
- &__surface {
7
- border-radius: 0 !important;
8
- }
9
-
10
- &__title {
11
- padding-top: 8px !important; // Workaround, this should be 32px but Material apply a default height for the title.
12
- padding-bottom: 24px !important;
13
-
14
- @include base.title-level-4;
15
- @include base.title-border;
16
- }
17
-
18
- &__tile,
19
- &__content,
20
- &__actions {
21
- padding-left: 32px !important;
22
- padding-right: 32px !important;
23
- }
24
-
25
- &__actions {
26
- padding-top: 24px !important;
27
- padding-bottom: 32px !important;
28
- }
29
-
30
- .close-button {
31
- $iconButtonPadding: 8px;
32
- position: absolute;
33
- top: 16px - $iconButtonPadding;
34
- right: 16px - $iconButtonPadding;
35
- }
36
- }
@@ -1,5 +0,0 @@
1
- .mat-mdc-text-field-wrapper,
2
- .mdc-notched-outline__leading,
3
- .mdc-notched-outline__trailing {
4
- border-radius: 0 !important;
5
- }
@@ -1,6 +0,0 @@
1
- @use 'sass:map';
2
- @use '../base';
3
-
4
- .mat-mdc-input-element {
5
- color: base.colors-get(grey, medium) !important;
6
- }