ontimize-web-ngx 15.0.0-beta.0 → 15.0.0-beta.1

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 (39) hide show
  1. package/esm2020/lib/components/table/o-table.component.mjs +2 -2
  2. package/esm2020/lib/services/appearance.service.mjs +14 -2
  3. package/fesm2015/ontimize-web-ngx.mjs +14 -3
  4. package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
  5. package/fesm2020/ontimize-web-ngx.mjs +14 -3
  6. package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
  7. package/lib/services/appearance.service.d.ts +3 -0
  8. package/package.json +1 -1
  9. package/theme.scss +61 -155
  10. package/theming/{ontimize-theme.scss → ontimize-style-v8.scss} +32 -96
  11. package/theming/{implatform-fashion-theme.scss → ontimize-style.scss} +127 -32
  12. package/theming/styles/{lite/layout-lite.scss → layout.scss} +1 -1
  13. package/theming/styles/{fashion/typography-fashion.scss → ontimize/typography-ontimize.scss} +14 -4
  14. package/theming/styles/{lite/typography-lite.scss → ontimize-v8/containers.scss} +1 -97
  15. package/theming/styles/ontimize-v8/o-form-field-style.scss +52 -0
  16. package/theming/styles/ontimize-v8/o-table-style.scss +224 -0
  17. package/theming/styles/ontimize-v8/variables.scss +10 -0
  18. package/theming/styles/paginator.scss +4 -0
  19. package/theming/themes/fashion.scss +46 -0
  20. package/theming/themes/ontimize-black-yellow.scss +3 -5
  21. package/theming/themes/{ontimize-lite.scss → ontimize-blue.scss} +3 -14
  22. package/theming/themes/ontimize.scss +8 -16
  23. package/theming/{styles/lite/typography/ontimize-lite.scss → typography/ontimize.scss} +3 -3
  24. package/theming/ontimize-theme-flat.scss +0 -330
  25. package/theming/ontimize-theme-lite.scss +0 -40
  26. package/theming/styles/default/typography/ontimize.scss +0 -9
  27. package/theming/styles/flat/variables.scss +0 -8
  28. package/theming/styles/lite/form-field/o-form-field-theme.scss +0 -57
  29. package/theming/styles/lite/layout.scss +0 -70
  30. package/theming/styles/lite/paginator.scss +0 -6
  31. package/theming/themes/implatform-fashion-default-theme.scss +0 -148
  32. package/theming/themes/mat-deeppurple-amber.scss +0 -12
  33. package/theming/themes/mat-indigo-pink.scss +0 -11
  34. package/theming/themes/mat-pink-bluegrey.scss +0 -11
  35. package/theming/themes/mat-purple-green.scss +0 -11
  36. /package/theming/{styles/default/addons → addons}/charts-on-demand.scss +0 -0
  37. /package/theming/{styles/default/addons → addons}/report-on-demand.scss +0 -0
  38. /package/theming/styles/{fashion → ontimize}/variables.scss +0 -0
  39. /package/theming/{styles/default/typography → typography}/o-table-typography.scss +0 -0
@@ -1,15 +1,110 @@
1
1
  @use "sass:color";
2
2
  @use "sass:map";
3
- @use 'themes/implatform-fashion-default-theme.scss';
4
- @use 'styles/fashion/typography-fashion.scss';
5
- @use 'styles/fashion/variables.scss';
6
- @use 'styles/lite/typography/ontimize-lite.scss'as ontimize-lite;
3
+ @use 'fonts/poppins.scss';
4
+ @use 'styles/ontimize/variables.scss';
7
5
  @use '@angular/material'as mat;
8
6
  @use '@angular/cdk';
9
- @use 'styles/default/typography/ontimize.scss'as ontimize-typography;
7
+ @use 'styles/ontimize/typography-ontimize.scss';
8
+ @use 'typography/ontimize.scss'as ontimize;
9
+ @use 'ontimize-style-v8.scss'as ontimize-style;
10
+
11
+ /*Sidenav background-color*/
12
+ $sidenav-background-color: #f5f5f5;
13
+
14
+ // Background palette for light themes.
15
+ @function ontimize-light-theme-background($primary, $mat-theme) {
16
+ $primary-500: mat.get-color-from-palette($primary, 500);
17
+ $background: map.get($mat-theme, background);
18
+ @return map.merge($background,
19
+ (level-0: mix(variables.$app-background-color, $primary-500, 98%),
20
+ level-04: #f2f2f2,
21
+ level-06: #f6f6f6,
22
+ level-08: #fafafa,
23
+ level-1: white,
24
+ sidenav-overlay: #525252,
25
+ status-bar: mix($sidenav-background-color, mat.get-color-from-palette($primary), 97.2%),
26
+ app-bar: mix($sidenav-background-color, mat.get-color-from-palette($primary), 97.2%),
27
+ background: mix(variables.$app-background-color, mat.get-color-from-palette($primary), 97.2%)));
28
+ }
10
29
 
11
- $typography : ontimize-lite.$typography;
30
+ // Background palette for dark themes.
31
+ @function ontimize-dark-theme-background($primary, $mat-theme) {
32
+ $primary-500: mat.get-color-from-palette($primary, 500);
33
+ $background: map.get($mat-theme, background);
34
+ @return map.merge($background,
35
+ (level-0: mix(#171717, $primary-500, 94%),
36
+ level-04: mix(#1E1E1E, $primary-500, 94%),
37
+ level-06: mix(#2C2C2C, $primary-500, 94%),
38
+ level-08: mix(#333333, $primary-500, 94%),
39
+ level-1: mix(#383838, $primary-500, 94%),
40
+ sidenav-overlay: #525252,
41
+ status-bar: mix(#272727, $primary-500, 94%)));
42
+ }
12
43
 
44
+ // Foreground palette for light themes.
45
+ $ontimize-light-theme-foreground: (base: rgba(black, 0.6),
46
+ divider: rgba(black, 0.12),
47
+ dividers: rgba(black, 0.12),
48
+ disabled: rgba(black, 0.38),
49
+ disabled-button: rgba(black, 0.38),
50
+ disabled-text: rgba(black, 0.38),
51
+ elevation: black,
52
+ hint-text: rgba(black, 0.38),
53
+ secondary-text: rgba(black, 0.54),
54
+ title: rgba(black, 0.87),
55
+ icon: rgba(black, 0.6),
56
+ icons: rgba(black, 0.6),
57
+ text: rgba(black, 0.87),
58
+ slider-min: rgba(black, 0.38),
59
+ slider-off: rgba(black, 0.38),
60
+ slider-off-active: rgba(black, 0.38),
61
+ button: rgba(black, 0.74));
62
+
63
+ // Foreground palette for dark themes.
64
+ $ontimize-dark-theme-foreground: (base: rgba(white, 0.6),
65
+ divider: rgba(white, 0.12),
66
+ dividers: rgba(white, 0.12),
67
+ disabled: rgba(white, 0.38),
68
+ disabled-button: rgba(white, 0.38),
69
+ disabled-text: rgba(white, 0.38),
70
+ elevation: black,
71
+ hint-text: rgba(white, 0.38),
72
+ secondary-text: rgba(white, 0.54),
73
+ title: rgba(white, 0.87),
74
+ icon: rgba(white, 0.6),
75
+ icons: rgba(white, 0.6),
76
+ text: rgba(white, 0.87),
77
+ slider-min: rgba(white, 0.38),
78
+ slider-off: rgba(white, 0.38),
79
+ slider-off-active: rgba(white, 0.38),
80
+ button: rgba(white, 0.74));
81
+
82
+
83
+ // Creates a container object for a light theme to be given to individual component theme mixins.
84
+ @function o-mat-light-theme($primary, $accent, $warn: mat.define-palette(mat.$red-palette)) {
85
+ $mat-theme: mat.define-light-theme((color:(primary: $primary, accent: $accent, warn: $warn)));
86
+ $color: map.get($mat-theme, color);
87
+ @return (color:(primary: $primary,
88
+ accent: $accent,
89
+ warn: $warn,
90
+ is-dark: false,
91
+ foreground: $ontimize-light-theme-foreground,
92
+ background: ontimize-light-theme-background($primary, $color)),
93
+ typography:ontimize.$typography)
94
+ }
95
+
96
+ // Creates a container object for a dark theme to be given to individual component theme mixins.
97
+ @function o-mat-dark-theme($primary, $accent, $warn: mat.define-palette(mat.$red-palette)) {
98
+ $mat-theme: mat.define-dark-theme((color:(primary: $primary, accent: $accent, warn: $warn)));
99
+ $color: map.get($mat-theme, color);
100
+ @return (color:(primary: $primary,
101
+ accent: $accent,
102
+ warn: $warn,
103
+ is-dark: true,
104
+ foreground: $ontimize-dark-theme-foreground,
105
+ background: ontimize-dark-theme-background($primary, $color)),
106
+ typography:ontimize.$typography)
107
+ }
13
108
 
14
109
  @mixin mat-checkbox-theme($theme-or-color-config) {
15
110
  $theme: map.get($theme-or-color-config, color);
@@ -200,32 +295,30 @@ $typography : ontimize-lite.$typography;
200
295
  background: $disabled-color;
201
296
  }
202
297
  }
203
-
204
-
205
298
  }
206
299
 
207
- @mixin implatform-fashion-theme-styles($theme-or-color-config, $typographyConfig: null) {
208
-
209
- $current-typography: if(ontimize-typography.$lite-typography==null, ontimize-typography.$default-typography, ontimize-typography.$lite-typography);
210
-
211
- @if $typographyConfig !=null {
212
- $typography: map-merge($current-typography, $typographyConfig);
213
- }
214
-
215
- @else {
216
- $typography: $current-typography;
217
- }
218
-
219
- $theme-or-color-config: map.merge($theme-or-color-config, 'typography', $typography);
300
+ @mixin ontimize-theme-all-component-color($theme-or-color-config) {
301
+ $color: map.get($theme-or-color-config, color);
302
+ @include ontimize-theme-styles((color: $color,
303
+ typography: null,
304
+ density: null,
305
+ ));
306
+ }
220
307
 
308
+ @mixin ontimize-theme-styles($theme-or-color-config) {
221
309
 
222
310
  $typography: mat.get-typography-config($theme-or-color-config);
223
-
311
+ //Apply v8 styles
312
+ @include ontimize-style.ontimize-theme-styles($theme-or-color-config);
313
+ //Apply new styles
224
314
  @include mat-checkbox-theme($theme-or-color-config);
225
315
  @include mat-pseudo-checkbox-theme($theme-or-color-config);
226
- @include typography-fashion.o-table-typography-fashion($typography);
227
- @include typography-fashion.o-common-typography-fashion($typography);
228
- @include typography-fashion.o-form-theme-fashion($typography);
316
+
317
+ @if($typography) {
318
+ @include typography-ontimize.o-table-typography-fashion($typography);
319
+ @include typography-ontimize.o-common-typography-fashion($typography);
320
+ @include typography-ontimize.o-form-theme-fashion($typography);
321
+ }
229
322
 
230
323
  $theme: map.get($theme-or-color-config, color);
231
324
  $background: map.get($theme, background);
@@ -411,7 +504,7 @@ $typography : ontimize-lite.$typography;
411
504
  }
412
505
  }
413
506
 
414
- .mat-mdc-tab-group .mdc-tab.mdc-tab--active .mdc-tab__text-label{
507
+ .mat-mdc-tab-group .mdc-tab.mdc-tab--active .mdc-tab__text-label {
415
508
  color: mat.get-color-from-palette($foreground, title);
416
509
  }
417
510
 
@@ -599,12 +692,14 @@ $typography : ontimize-lite.$typography;
599
692
  }
600
693
  }
601
694
 
602
- >.o-container-title,
603
- >.mat-expansion-panel-header .o-container-title {
604
- span {
605
- font: {
606
- size: mat.font-size($typography, headline-5);
607
- weight: bold;
695
+ @if($typography) {
696
+ >.o-container-title,
697
+ >.mat-expansion-panel-header .o-container-title {
698
+ span {
699
+ font: {
700
+ size: mat.font-size($typography, headline-5);
701
+ weight: bold;
702
+ }
608
703
  }
609
704
  }
610
705
  }
@@ -20,7 +20,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
20
20
  $layout-gutter-width-vertical: $baseline-grid;
21
21
  $layout-gutter-width-horizontal: 14px !default;
22
22
 
23
- @mixin layout-padding-margin-lite() {
23
+ @mixin layout-padding-margin() {
24
24
  [layout-padding] > [flex-lt-md],
25
25
  [layout-padding] > [flex-sm] {
26
26
  padding: $layout-gutter-width * 0.25;
@@ -72,15 +72,25 @@
72
72
  max-height: 64px;
73
73
  padding: 0 24px;
74
74
 
75
- font: {
76
- size: mat.font-size($typography, headline-5);
77
- weight: bold;
75
+ @if($typography) {
76
+ font: {
77
+ size: mat.font-size($typography, headline-5);
78
+ weight: bold;
79
+ }
80
+
81
+ .o-form-navigation {
82
+ span {
83
+ font: {
84
+ size: mat.font-size($typography, subtitle-1);
85
+ weight: normal;
86
+ }
87
+ }
88
+ }
78
89
  }
79
90
 
80
91
  .o-form-navigation {
81
92
  span {
82
93
  font: {
83
- size: mat.font-size($typography, subtitle-1);
84
94
  weight: normal;
85
95
  }
86
96
  }
@@ -1,98 +1,4 @@
1
- @use '@angular/material'as mat;
2
- @use 'form-field/o-form-field-theme.scss';
3
1
 
4
- @mixin o-table-typography-lite($config) {
5
-
6
- .o-table.o-table {
7
- .o-table-container {
8
- .mat-mdc-table {
9
- .mat-mdc-header-cell {
10
- font-weight: 600;
11
-
12
- .column-filter-icon {
13
- margin-right: 4px;
14
- width: 16px;
15
- height: 16px;
16
- }
17
- }
18
- }
19
- }
20
- }
21
-
22
- o-table.o-table {
23
- .o-table-container {
24
- .o-table-toolbar .buttons .o-table-button .mat-mdc-button {
25
-
26
- height: 30px;
27
- border: none;
28
- padding: 0 6px;
29
- border-radius: 0;
30
-
31
- &.disabled {
32
- border: none;
33
- border-radius: 0;
34
- }
35
-
36
- &:not(.disabled):hover {
37
- border: none;
38
- border-radius: 0;
39
- }
40
- }
41
-
42
- .mat-mdc-table {
43
- .mat-mdc-form-field {
44
-
45
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
46
- .mat-form-field-infix {
47
- border-top: 0;
48
- }
49
- }
50
-
51
- .mat-mdc-row .mat-mdc-cell {
52
- &:not(.o-column-image):first-of-type {
53
- padding-left: 12px;
54
- }
55
-
56
- &:last-of-type {
57
- padding-right: 12px;
58
- }
59
- }
60
-
61
- .mat-mdc-cell,
62
- .mat-mdc-header-cell {
63
- &.mat-column-select {
64
- padding: 0 0 0 12px;
65
- }
66
- }
67
- }
68
- }
69
- }
70
-
71
- .o-table-export-dialog.o-table-export-dialog {
72
- .mat-mdc-raised-button {
73
- width: 68px;
74
- height: 68px;
75
- min-width: 68px;
76
-
77
- /* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
78
- .mat-button-wrapper {
79
- >div {
80
- line-height: 1;
81
- }
82
- }
83
-
84
- .mat-icon {
85
- padding: 0 6px 6px;
86
- width: 38px;
87
- height: 38px;
88
- font-size: 38px;
89
- }
90
- }
91
- }
92
-
93
- }
94
-
95
- @mixin o-common-typography-lite($config) {
96
2
  $font-size-title-container: .75;
97
3
 
98
4
  .o-column,
@@ -227,9 +133,8 @@
227
133
  }
228
134
  }
229
135
 
230
- }
231
136
 
232
- @mixin o-form-theme() {
137
+
233
138
  $mat-toolbar-height-desktop: 36px;
234
139
  $margin-button: 6px;
235
140
  $mat-icon-button-size: 30px;
@@ -268,4 +173,3 @@
268
173
  }
269
174
  }
270
175
  }
271
- }
@@ -0,0 +1,52 @@
1
+ @use '@angular/material'as mat;
2
+
3
+
4
+ .mat-mdc-form-field {
5
+
6
+ @include mat.form-field-density(-4);
7
+
8
+
9
+ &.icon-field .mat-mdc-form-field-icon-suffix .icon-btn,
10
+ &.icon-field .mat-mdc-form-field-icon-suffix .mat-icon-button,
11
+ .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix .mat-mdc-icon-button,
12
+ .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-prefix .mat-mdc-icon-button {
13
+ svg {
14
+ height: 100%;
15
+ width: 100%;
16
+ }
17
+
18
+ .mat-mdc-button-touch-target {
19
+ width: 20px;
20
+ height: 20px;
21
+ }
22
+ }
23
+
24
+ .mat-mdc-form-field-subscript-wrapper {
25
+ display: none;
26
+ }
27
+
28
+ .mat-mdc-text-field-wrapper {
29
+ .mat-mdc-form-field-flex {
30
+ .mat-mdc-form-field-infix {
31
+ min-height: auto;
32
+ padding-bottom: 4px;
33
+
34
+
35
+ .mat-mdc-floating-label {
36
+ display: block;
37
+ }
38
+
39
+ .mat-mdc-select-arrow-wrapper {
40
+ height: auto;
41
+ }
42
+ }
43
+
44
+ &:not(.mdc-text-field--outlined) {
45
+ .mat-mdc-form-field-infix {
46
+ min-height: auto;
47
+ padding-top: 14px;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,224 @@
1
+ @use 'variables.scss';
2
+ @use '@angular/material'as mat;
3
+ @use "sass:map";
4
+
5
+ @mixin o-table-style($theme) {
6
+
7
+ $foreground: map.get($theme, color, foreground);
8
+ $accent: map.get($theme, color, accent);
9
+ $typography: map.get($theme, typography);
10
+
11
+ /* TABLE */
12
+ .ontimize-table.o-table {
13
+ font-weight: 400;
14
+
15
+ .o-table-container {
16
+ border: none;
17
+ border-radius: variables.$border-radius;
18
+ box-sizing: border-box;
19
+
20
+ /*Toolbar*/
21
+ .o-table-toolbar {
22
+ margin: 0 0 4px;
23
+ padding-top: variables.$basic-padding-size;
24
+
25
+ .buttons .o-table-button .mat-mdc-button {
26
+
27
+ height: 30px;
28
+ border: none;
29
+ padding: 0 6px;
30
+ border-radius: 0;
31
+
32
+ &.disabled {
33
+ border: none;
34
+ border-radius: 0;
35
+ }
36
+
37
+ &:not(.disabled):hover {
38
+ border: none;
39
+ border-radius: 0;
40
+ }
41
+ }
42
+ }
43
+
44
+ .o-table-menu {
45
+ .o-table-option-active {
46
+ background: mat.get-color-from-palette($foreground, divider);
47
+ }
48
+ }
49
+
50
+ thead tr th {
51
+ font-weight: 700;
52
+ }
53
+
54
+ tbody tr.even,
55
+ thead tr {
56
+ background-color: inherit;
57
+ }
58
+
59
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version.*/
60
+ tbody td.o-table-column-select-checkbox .mat-checkbox-inner-container .mat-checkbox-background,
61
+ thead tr th.o-table-column-select-checkbox .mat-checkbox-inner-container .mat-checkbox-background {
62
+ background-color: mat.get-color-from-palette($accent);
63
+ }
64
+
65
+ .mat-mdc-header-cell {
66
+ font-weight: 700;
67
+
68
+ .column-filter-icon {
69
+ margin-right: 4px;
70
+ width: 16px;
71
+ height: 16px;
72
+ }
73
+ }
74
+ }
75
+
76
+ .mat-mdc-paginator {
77
+ background: inherit;
78
+ }
79
+
80
+ .mat-mdc-table {
81
+ .mat-mdc-header-row .mat-mdc-header-cell {
82
+ font-weight: 700;
83
+ }
84
+
85
+ .mat-mdc-form-field {
86
+ .mat-mdc-form-field-infix {
87
+ border-top: 0;
88
+ }
89
+ }
90
+
91
+ .mat-mdc-row .mat-mdc-cell {
92
+ &:not(.o-column-image):first-of-type {
93
+ padding-left: 12px;
94
+ }
95
+
96
+ &:last-of-type {
97
+ padding-right: 12px;
98
+ }
99
+ }
100
+
101
+ .mat-mdc-cell,
102
+ .mat-mdc-header-cell {
103
+ &.mat-column-select {
104
+ padding: 0 0 0 12px;
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ .ontimize-table.o-table.o-table-fixed {
111
+ .o-scrollable-container {
112
+ height: 100%;
113
+ overflow-y: auto;
114
+ }
115
+ }
116
+
117
+
118
+
119
+ .mat-mdc-menu-panel.o-table-quickfilter-menu .mat-mdc-checkbox,
120
+ .mat-mdc-menu-panel.o-search-input-menu .mat-mdc-checkbox {
121
+ padding: 2px 0;
122
+ }
123
+
124
+ .o-table-export-dialog.o-table-export-dialog {
125
+ .mat-mdc-raised-button {
126
+ width: 68px;
127
+ height: 68px;
128
+ min-width: 68px;
129
+
130
+ /* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
131
+ .mat-button-wrapper {
132
+ >div {
133
+ line-height: 1;
134
+ }
135
+ }
136
+
137
+ .mat-icon {
138
+ padding: 0 6px 6px;
139
+ width: 38px;
140
+ height: 38px;
141
+ font-size: 38px;
142
+ }
143
+ }
144
+ }
145
+
146
+ @if($typography) {
147
+ @include o-table-typography($typography);
148
+ }
149
+ }
150
+
151
+ @mixin o-table-size-typography($typography, $size) {
152
+
153
+ $header-height: mat.font-size($typography, #{$size}-header-height);
154
+ $row-height: mat.font-size($typography, #{$size}-row-height);
155
+ $header-font-size: mat.font-size($typography, #{$size}-header-font-size);
156
+ $row-font-size: mat.font-size($typography, #{$size}-row-font-size);
157
+
158
+ .o-table .o-table-container {
159
+ .mat-mdc-table.#{$size} {
160
+ tr.mat-mdc-header-row:not(.o-table-insertable) {
161
+ height: $header-height;
162
+
163
+ .mat-mdc-header-cell {
164
+ font-size: $header-font-size;
165
+ }
166
+ }
167
+
168
+ tr.mat-mdc-row {
169
+ height: $row-height;
170
+
171
+ .mat-mdc-cell {
172
+ .mat-mdc-form-field {
173
+ font-size: $row-font-size;
174
+ }
175
+
176
+ font-size: $row-font-size;
177
+ }
178
+ }
179
+
180
+ tr.o-table-insertable.mat-mdc-header-row {
181
+ height: $row-height;
182
+
183
+ .mat-mdc-table-sticky {
184
+ .mat-mdc-form-field {
185
+ font-size: $row-font-size;
186
+ }
187
+
188
+ font-size: $row-font-size;
189
+ }
190
+ }
191
+
192
+ .o-table-no-results span {
193
+ font-size: $row-font-size;
194
+ line-height: $header-height;
195
+ }
196
+ }
197
+ }
198
+
199
+ .o-table-context-menu.#{$size},
200
+ .o-table-menu.#{$size} {
201
+ .mat-mdc-menu-item {
202
+ line-height: $row-height;
203
+ height: $row-height;
204
+ min-height: $row-height;
205
+ }
206
+ }
207
+
208
+ .o-table-visible-columns-dialog {
209
+ .mat-mdc-list.#{$size} .mat-mdc-list-item {
210
+ height: $header-height;
211
+ }
212
+ }
213
+
214
+ }
215
+
216
+ @mixin o-table-typography($typography: null) {
217
+ @if $typography==null {
218
+ $typography: o-table-typography();
219
+ }
220
+
221
+ @include o-table-size-typography($typography, 'small');
222
+ @include o-table-size-typography($typography, 'medium');
223
+ @include o-table-size-typography($typography, 'large');
224
+ }
@@ -0,0 +1,10 @@
1
+ $border-radius: 2px;
2
+ $button-line-height: 30px;
3
+ $basic-padding-size: 8px;
4
+ $tabs-header-border: none;
5
+ $inactive-tab-opacity: .35;
6
+ $font-size-title-container: 1;
7
+ $background-tab-inactive-on-dark: #686868;
8
+ $background-tab-inactive-on-light: #D7DDE0;
9
+ /*Application background-color*/
10
+ $app-background-color: #eaeaea;
@@ -0,0 +1,4 @@
1
+ .mat-mdc-paginator .mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
2
+ padding-top: 0.25em;
3
+ padding-bottom: 0.25em;
4
+ }
@@ -0,0 +1,46 @@
1
+ @use "sass:color";
2
+ @use "sass:map";
3
+ @use '@angular/material'as mat;
4
+ @use '../ontimize-style.scss'as ontimize-style;
5
+
6
+ //Definition primary and accent palettes
7
+ $default-palette: (50: #e8e3f4,
8
+ 100: #c5b9e4,
9
+ 200: #9f8ad2,
10
+ 300: #795bc0,
11
+ 400: #5c37b3,
12
+ 500: #3f14a5,
13
+ 600: #39129d,
14
+ 700: #310e93,
15
+ 800: #290b8a,
16
+ 900: #1b0679,
17
+ A100: #b3a8ff,
18
+ A200: #8775ff,
19
+ A400: #5b42ff,
20
+ A700: #4428ff,
21
+ contrast: (50: #000000,
22
+ 100: #000000,
23
+ 200: #000000,
24
+ 300: #ffffff,
25
+ 400: #ffffff,
26
+ 500: #ffffff,
27
+ 600: #ffffff,
28
+ 700: #ffffff,
29
+ 800: #ffffff,
30
+ 900: #ffffff,
31
+ A100: #000000,
32
+ A200: #000000,
33
+ A400: #ffffff,
34
+ A700: #ffffff,
35
+ ),
36
+ );
37
+
38
+ // Define a theme.
39
+ $primary: mat.define-palette($default-palette);
40
+ $accent: mat.define-palette($default-palette);
41
+
42
+
43
+ /* Light theme */
44
+ $theme: ontimize-style.o-mat-light-theme($primary, $accent);
45
+ /* Dark theme */
46
+ $dark-theme: ontimize-style.o-mat-dark-theme($primary, $accent);