ontimize-web-ngx 15.0.0-beta.0 → 15.0.0-beta.2
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/esm2020/lib/components/app-sidenav/o-app-sidenav.component.mjs +2 -2
- package/esm2020/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.mjs +13 -15
- package/esm2020/lib/components/card-menu-item/o-card-menu-item.component.mjs +6 -8
- package/esm2020/lib/components/form/navigation/o-form.navigation.class.mjs +2 -2
- package/esm2020/lib/components/form-container/o-form-container.component.mjs +6 -8
- package/esm2020/lib/components/index.mjs +2 -3
- package/esm2020/lib/components/o-service-base-component.class.mjs +1 -1
- package/esm2020/lib/components/o-service-component.class.mjs +2 -1
- package/esm2020/lib/components/table/column/calculated/o-table-column-calculated.component.mjs +6 -7
- package/esm2020/lib/components/table/column/o-table-column.component.mjs +123 -129
- package/esm2020/lib/components/table/extensions/default-o-table.datasource.mjs +46 -9
- package/esm2020/lib/components/table/extensions/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.mjs +6 -7
- package/esm2020/lib/components/table/extensions/header/table-quickfilter/o-table-quickfilter.component.mjs +4 -4
- package/esm2020/lib/components/table/o-table.component.mjs +13 -14
- package/esm2020/lib/components/user-info/index.mjs +5 -0
- package/esm2020/lib/components/user-info/o-user-info.module.mjs +3 -3
- package/esm2020/lib/interfaces/o-table-column.interface.mjs +1 -1
- package/esm2020/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.mjs +20 -22
- package/esm2020/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.mjs +7 -3
- package/esm2020/lib/layouts/form-layout/o-form-layout-manager.component.mjs +10 -4
- package/esm2020/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.mjs +8 -9
- package/esm2020/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.mjs +6 -8
- package/esm2020/lib/services/appearance.service.mjs +14 -2
- package/esm2020/lib/services/o-error-dialog-manager.service.mjs +8 -4
- package/esm2020/lib/services/translate/o-translate.service.mjs +3 -2
- package/esm2020/lib/util/util.mjs +5 -1
- package/fesm2015/ontimize-web-ngx.mjs +275 -230
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +275 -230
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.d.ts +1 -3
- package/lib/components/card-menu-item/o-card-menu-item.component.d.ts +2 -3
- package/lib/components/form-container/o-form-container.component.d.ts +1 -3
- package/lib/components/index.d.ts +1 -2
- package/lib/components/table/column/calculated/o-table-column-calculated.component.d.ts +2 -3
- package/lib/components/table/column/o-table-column.component.d.ts +3 -4
- package/lib/components/table/extensions/default-o-table.datasource.d.ts +1 -0
- package/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.d.ts +2 -3
- package/lib/components/table/o-table.component.d.ts +5 -6
- package/lib/components/user-info/index.d.ts +4 -0
- package/lib/components/user-info/o-user-info.module.d.ts +1 -1
- package/lib/interfaces/o-table-column.interface.d.ts +2 -2
- package/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.d.ts +4 -4
- package/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.d.ts +3 -1
- package/lib/layouts/form-layout/o-form-layout-manager.component.d.ts +2 -1
- package/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.d.ts +2 -3
- package/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.d.ts +2 -3
- package/lib/services/appearance.service.d.ts +3 -0
- package/lib/services/o-error-dialog-manager.service.d.ts +2 -2
- package/lib/services/translate/o-translate.service.d.ts +1 -0
- package/lib/util/util.d.ts +1 -0
- package/package.json +1 -1
- package/theme.scss +73 -171
- package/theming/{ontimize-theme.scss → ontimize-style-v8.scss} +54 -96
- package/theming/{implatform-fashion-theme.scss → ontimize-style.scss} +128 -32
- package/theming/styles/{lite/layout-lite.scss → layout.scss} +1 -1
- package/theming/styles/{fashion/typography-fashion.scss → ontimize/typography-ontimize.scss} +14 -4
- package/theming/styles/{lite/typography-lite.scss → ontimize-v8/containers.scss} +1 -97
- package/theming/styles/ontimize-v8/o-form-field-style.scss +59 -0
- package/theming/styles/ontimize-v8/o-table-style.scss +224 -0
- package/theming/styles/ontimize-v8/variables.scss +13 -0
- package/theming/styles/paginator.scss +4 -0
- package/theming/themes/fashion.scss +46 -0
- package/theming/themes/ontimize-black-yellow.scss +3 -5
- package/theming/themes/ontimize-blue.scss +21 -0
- package/theming/themes/ontimize.scss +8 -16
- package/theming/{styles/lite/typography/ontimize-lite.scss → typography/ontimize.scss} +3 -3
- package/theming/ontimize-theme-flat.scss +0 -330
- package/theming/ontimize-theme-lite.scss +0 -40
- package/theming/styles/default/typography/ontimize.scss +0 -9
- package/theming/styles/flat/variables.scss +0 -8
- package/theming/styles/lite/form-field/o-form-field-theme.scss +0 -57
- package/theming/styles/lite/layout.scss +0 -70
- package/theming/styles/lite/paginator.scss +0 -6
- package/theming/themes/implatform-fashion-default-theme.scss +0 -148
- package/theming/themes/mat-deeppurple-amber.scss +0 -12
- package/theming/themes/mat-indigo-pink.scss +0 -11
- package/theming/themes/mat-pink-bluegrey.scss +0 -11
- package/theming/themes/mat-purple-green.scss +0 -11
- package/theming/themes/ontimize-lite.scss +0 -29
- /package/theming/{styles/default/addons → addons}/charts-on-demand.scss +0 -0
- /package/theming/{styles/default/addons → addons}/report-on-demand.scss +0 -0
- /package/theming/styles/{fashion → ontimize}/variables.scss +0 -0
- /package/theming/{styles/default/typography → typography}/o-table-typography.scss +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use '@angular/material'as mat;
|
|
2
|
-
@use '../ontimize-
|
|
2
|
+
@use '../ontimize-style-v8.scss'as ontimize-style;
|
|
3
3
|
|
|
4
|
-
@include mat.all-component-typographies();
|
|
5
|
-
@include mat.core();
|
|
6
4
|
|
|
7
5
|
/* Color definitions */
|
|
8
6
|
$mat-custom-primary: (50 : #e5e5e5, 100 : #bdbdbd, 200 : #929292, 300 : #666666, 400 : #454545, 500 : #242424, 600 : #202020, 700 : #1b1b1b, 800 : #161616, 900 : #0d0d0d, A100 : #e5e5e5, A200 : #bdbdbd, A400 : #454545, A700 : #1b1b1b, contrast: (50: $black-87-opacity, 100: $black-87-opacity, 200: $black-87-opacity, 300: white, 400: white, 500: $white-87-opacity, 600: $white-87-opacity, 700: $white-87-opacity, 800: $white-87-opacity, 900: $white-87-opacity, A100: $black-87-opacity, A200: white, A400: white, A700: white, ));
|
|
@@ -12,5 +10,5 @@ $mat-custom-accent: (50 : #fff9e0, 100 : #fff0b3, 200 : #ffe680, 300 : #ffdb4d,
|
|
|
12
10
|
// Define a theme.
|
|
13
11
|
$primary: mat.define-palette($mat-custom-primary);
|
|
14
12
|
$accent: mat.define-palette($mat-custom-accent);
|
|
15
|
-
$theme: ontimize-
|
|
16
|
-
$dark-theme: ontimize-
|
|
13
|
+
$theme: ontimize-style.o-mat-light-theme($primary, $accent);
|
|
14
|
+
$dark-theme: ontimize-style.o-mat-dark-theme($primary, $accent);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use '@angular/material'as mat;
|
|
3
|
+
@use '../ontimize-style-v8.scss'as ontimize-style;
|
|
4
|
+
|
|
5
|
+
/* Color definitions */
|
|
6
|
+
$mat-custom-primary: (50 : #e3ecf4, 100 : #b9d1e4, 200 : #8ab2d2, 300 : #5b93c0, 400 : #377bb3, 500 : #1464a5, 600 : #125c9d, 700 : #0e5293, 800 : #0b488a, 900 : #063679, A100 : #a8c7ff, A200 : #75a7ff, A400 : #4286ff, A700 : #2876ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #ffffff, 500 : #ffffff, 600 : #ffffff, 700 : #ffffff, 800 : #ffffff, 900 : #ffffff, A100 : #000000, A200 : #000000, A400 : #ffffff, A700 : #ffffff));
|
|
7
|
+
|
|
8
|
+
$mat-custom-primary-dark: (50 : #f1f6fa, 100 : #dce8f2, 200 : #c5d9e9, 300 : #adc9e0, 400 : #9cbed9, 500 : #8ab2d2, 600 : #82abcd, 700 : #77a2c7, 800 : #6d99c1, 900 : #5a8ab6, A100 : #ffffff, A200 : #ebf5ff, A400 : #b8dcff, A700 : #9ed0ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #000000, 500 : #000000, 600 : #000000, 700 : #000000, 800 : #000000, 900 : #000000, A100 : #000000, A200 : #000000, A400 : #000000, A700 : #000000, ));
|
|
9
|
+
|
|
10
|
+
// Define a theme.
|
|
11
|
+
$primary: mat.define-palette($mat-custom-primary);
|
|
12
|
+
$accent:$primary;
|
|
13
|
+
|
|
14
|
+
$primary-dark: mat.define-palette($mat-custom-primary-dark);
|
|
15
|
+
$accent-dark: $primary-dark;
|
|
16
|
+
|
|
17
|
+
/* Light theme */
|
|
18
|
+
$theme: ontimize-style.o-mat-light-theme($primary, $accent);
|
|
19
|
+
|
|
20
|
+
/* Dark theme */
|
|
21
|
+
$dark-theme: ontimize-style.o-mat-dark-theme($primary-dark, $accent-dark);
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use '@angular/material'as mat;
|
|
3
|
-
@use '../ontimize-
|
|
3
|
+
@use '../ontimize-style.scss';
|
|
4
4
|
|
|
5
|
-
@include mat.all-component-typographies();
|
|
6
|
-
@include mat.core();
|
|
7
5
|
|
|
8
6
|
/* Color definitions */
|
|
9
7
|
$mat-custom-primary: (50 : #e3ecf4, 100 : #b9d1e4, 200 : #8ab2d2, 300 : #5b93c0, 400 : #377bb3, 500 : #1464a5, 600 : #125c9d, 700 : #0e5293, 800 : #0b488a, 900 : #063679, A100 : #a8c7ff, A200 : #75a7ff, A400 : #4286ff, A700 : #2876ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #ffffff, 500 : #ffffff, 600 : #ffffff, 700 : #ffffff, 800 : #ffffff, 900 : #ffffff, A100 : #000000, A200 : #000000, A400 : #ffffff, A700 : #ffffff));
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
/* Color definitions */
|
|
10
|
+
$mat-custom-primary-dark: (50 : #f1f6fa, 100 : #dce8f2, 200 : #c5d9e9, 300 : #adc9e0, 400 : #9cbed9, 500 : #8ab2d2, 600 : #82abcd, 700 : #77a2c7, 800 : #6d99c1, 900 : #5a8ab6, A100 : #ffffff, A200 : #ebf5ff, A400 : #b8dcff, A700 : #9ed0ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #000000, 500 : #000000, 600 : #000000, 700 : #000000, 800 : #000000, 900 : #000000, A100 : #000000, A200 : #000000, A400 : #000000, A700 : #000000, ));
|
|
12
11
|
|
|
13
12
|
// Define a theme.
|
|
14
13
|
$primary: mat.define-palette($mat-custom-primary);
|
|
15
|
-
$accent
|
|
16
|
-
$
|
|
17
|
-
|
|
14
|
+
$accent:$primary;
|
|
15
|
+
$primary-dark: mat.define-palette($mat-custom-primary-dark);
|
|
16
|
+
$accent-dark: $primary-dark;
|
|
18
17
|
/* Light theme */
|
|
19
|
-
$theme: ontimize-
|
|
20
|
-
|
|
21
|
-
// Insert custom background color
|
|
22
|
-
$background: map.get($theme, color, background);
|
|
23
|
-
$background: map.merge($background, (background: $background-color));
|
|
18
|
+
$theme: ontimize-style.o-mat-light-theme($primary, $accent);
|
|
24
19
|
|
|
25
|
-
$theme: map.merge($theme, color, (background: $background));
|
|
26
20
|
/* Dark theme */
|
|
27
|
-
$
|
|
28
|
-
$accent-dark: mat.define-palette($mat-custom-accent);
|
|
29
|
-
$dark-theme: ontimize-theme.o-mat-dark-theme($primary, $accent);
|
|
21
|
+
$dark-theme: ontimize-style.o-mat-dark-theme($primary-dark, $accent-dark);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use '@angular/material'as mat;
|
|
3
|
-
@use "
|
|
3
|
+
@use "o-table-typography";
|
|
4
4
|
|
|
5
5
|
$o-mat-lite-typography: mat.define-typography-config($font-family: 'Poppins, "Helvetica Neue", sans-serif',
|
|
6
6
|
$headline-1: mat.define-typography-level(84px, 92px, 300),
|
|
7
7
|
$headline-2: mat.define-typography-level(42px, 42px, 400),
|
|
8
8
|
$headline-3: mat.define-typography-level(34px, 36px, 400),
|
|
9
9
|
$headline-4: mat.define-typography-level(26px, 30px, 400),
|
|
10
|
-
$headline-5: mat.define-typography-level(
|
|
11
|
-
$headline-6: mat.define-typography-level(18px,
|
|
10
|
+
$headline-5: mat.define-typography-level(24px, 24px, 400),
|
|
11
|
+
$headline-6: mat.define-typography-level(18px, 24px, 500),
|
|
12
12
|
$subtitle-1: mat.define-typography-level(14px, 21px, 600),
|
|
13
13
|
$subtitle-2: mat.define-typography-level(12px, 18px, 500),
|
|
14
14
|
$body-1: mat.define-typography-level(13px, 1.125em, 400),
|
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use 'styles/flat/variables.scss';
|
|
3
|
-
|
|
4
|
-
@mixin ontimize-flat-styles($theme, $color_states:null) {
|
|
5
|
-
$background: map.get($theme, background);
|
|
6
|
-
$foreground: map.get($theme, foreground);
|
|
7
|
-
@include set-color-states($color_states);
|
|
8
|
-
|
|
9
|
-
.text-muted {
|
|
10
|
-
color: variables.$default-color;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.text-inverse {
|
|
14
|
-
color: white;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.text-primary {
|
|
18
|
-
color: variables.$primary-color;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.text-warning {
|
|
22
|
-
color: variables.$warning-color;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.text-danger {
|
|
26
|
-
color: variables.$danger-color;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.text-success {
|
|
30
|
-
color: variables.$success-color;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.text-info {
|
|
34
|
-
color: variables.$info-color;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
a.text-danger:hover,
|
|
38
|
-
a.text-inverse:hover,
|
|
39
|
-
a.text-muted:hover,
|
|
40
|
-
a.text-primary:hover,
|
|
41
|
-
a.text-success:hover,
|
|
42
|
-
a.text-warning:hover {
|
|
43
|
-
opacity: .85;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.o-form .o-form-toolbar .o-form-toolbar-header .mat-toolbar-tools .o-form-toolbar-button.mat-mdc-outlined-button,
|
|
47
|
-
button.mat-mdc-button-base:not(.mat-mdc-icon-button):not(.mat-mdc-fab):not(.mat-mdc-mini-fab) {
|
|
48
|
-
min-width: 132px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Generic button class */
|
|
52
|
-
@include o-button-class();
|
|
53
|
-
|
|
54
|
-
/* MATERIAL BUTTON STYLES*/
|
|
55
|
-
button,
|
|
56
|
-
button.mat-mdc-button,
|
|
57
|
-
button.mat-mdc-outlined-button {
|
|
58
|
-
&:not(.mat-mdc-icon-button):not(.mat-mdc-fab):not(.mat-mdc-mini-fab) {
|
|
59
|
-
border-radius: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:hover {
|
|
63
|
-
|
|
64
|
-
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
|
|
65
|
-
.mat-button-focus-overlay {
|
|
66
|
-
opacity: .10;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* O-BUTTON STYLES */
|
|
73
|
-
.o-button {
|
|
74
|
-
border: none;
|
|
75
|
-
border-radius: 0;
|
|
76
|
-
|
|
77
|
-
&.o-button-danger,
|
|
78
|
-
&.o-button-default,
|
|
79
|
-
&.o-button-info,
|
|
80
|
-
&.o-button-primary,
|
|
81
|
-
&.o-button-success,
|
|
82
|
-
&.o-button-warning {
|
|
83
|
-
button {
|
|
84
|
-
color: white;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&.o-button-info button {
|
|
89
|
-
background-color: variables.$info-color;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.o-button-default button {
|
|
93
|
-
background-color: variables.$default-color;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.o-button-success button {
|
|
97
|
-
background-color: variables.$success-color;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.o-button-primary button {
|
|
101
|
-
background-color: variables.$primary-color;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.o-button-danger button {
|
|
105
|
-
background-color: variables.$danger-color;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&.o-button-warning button {
|
|
109
|
-
background-color: variables.$warning-color;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.o-form .o-form-toolbar-header.mat-toolbar .o-form-toolbar-button,
|
|
114
|
-
.ontimize-table.o-table .o-table-button button.mat-mdc-outlined-button {
|
|
115
|
-
&[disabled] {
|
|
116
|
-
opacity: .65;
|
|
117
|
-
color: rgba(255, 255, 255, 0.65);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ontimize-table.o-table {
|
|
122
|
-
.o-table-button {
|
|
123
|
-
button.mat-mdc-outlined-button {
|
|
124
|
-
border: 0;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
button {
|
|
128
|
-
color: white;
|
|
129
|
-
border: none;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.o-table-button-add button {
|
|
133
|
-
background-color: variables.$primary-color;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&.o-table-button-refresh button {
|
|
137
|
-
background-color: variables.$default-color;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.o-table-button-delete button {
|
|
141
|
-
background-color: variables.$danger-color;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
div.o-table-container {
|
|
146
|
-
border-radius: 0;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.o-form {
|
|
151
|
-
.o-form-toolbar-header.mat-toolbar {
|
|
152
|
-
border-radius: 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.o-form-toolbar>.mat-toolbar {
|
|
156
|
-
.mat-mdc-outlined-button {
|
|
157
|
-
border: none;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
button.mat-mdc-button.o-form-toolbar-button,
|
|
161
|
-
button.o-form-toolbar-button {
|
|
162
|
-
|
|
163
|
-
&:not([disabled]),
|
|
164
|
-
&[disabled] {
|
|
165
|
-
color: #fff;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&.o-form-toolbar-button-insert,
|
|
169
|
-
&.o-form-toolbar-button-new,
|
|
170
|
-
&.o-form-toolbar-button-save {
|
|
171
|
-
background-color: variables.$primary-color;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&.o-form-toolbar-button-refresh {
|
|
175
|
-
background-color: variables.$default-color;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.o-form-toolbar-button-cancel,
|
|
179
|
-
&.o-form-toolbar-button-delete {
|
|
180
|
-
background-color: variables.$danger-color;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&.o-form-toolbar-button-undo {
|
|
184
|
-
background-color: variables.$warning-color;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
o-app-sidenav.o-app-sidenav,
|
|
191
|
-
o-app-sidenav.o-app-sidenav.header-layout {
|
|
192
|
-
.o-app-sidenav-container {
|
|
193
|
-
.o-app-header {
|
|
194
|
-
box-shadow: none;
|
|
195
|
-
border-bottom: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
mat-sidenav.mat-drawer.o-app-sidenav-sidenav {
|
|
199
|
-
box-shadow: none;
|
|
200
|
-
border-right: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
201
|
-
|
|
202
|
-
.o-app-sidenav-menugroup.active+.o-app-sidenav-menugroup-items-container ul {
|
|
203
|
-
box-shadow: none;
|
|
204
|
-
background: none;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.mat-mdc-menu-panel {
|
|
210
|
-
border: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.o-app-header {
|
|
214
|
-
.o-user-info {
|
|
215
|
-
.o-user-info-wrapper {
|
|
216
|
-
font-weight: 500;
|
|
217
|
-
color: white;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
//TABS
|
|
224
|
-
.mat-mdc-tab-group.o-tab-ontimize {
|
|
225
|
-
|
|
226
|
-
.mat-mdc-tab-header .mat-mdc-tab-label-container .mat-mdc-tab-list .mat-mdc-tab,
|
|
227
|
-
div.mat-mdc-tab-body-wrapper {
|
|
228
|
-
border-radius: 0;
|
|
229
|
-
padding: 0;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
//o-row, o-column
|
|
234
|
-
o-column.o-column,
|
|
235
|
-
o-row.o-row {
|
|
236
|
-
background: mat.get-color-from-palette($background, background);
|
|
237
|
-
border-radius: 4px;
|
|
238
|
-
|
|
239
|
-
.o-container {
|
|
240
|
-
.o-container-title {
|
|
241
|
-
padding: 20px 0;
|
|
242
|
-
|
|
243
|
-
span {
|
|
244
|
-
color: mat.get-color-from-palette($foreground, text);
|
|
245
|
-
font-weight: 500;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
//dialog
|
|
252
|
-
.o-dialog-class {
|
|
253
|
-
|
|
254
|
-
/* TODO(mdc-migration): The following rule targets internal classes of dialog that may no longer apply for the MDC version. */
|
|
255
|
-
mat-dialog-container.mat-mdc-dialog-container {
|
|
256
|
-
.mat-mdc-dialog-title {
|
|
257
|
-
border-bottom-color: variables.$default-color;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.mat-mdc-dialog-actions {
|
|
261
|
-
@include o-button-class();
|
|
262
|
-
|
|
263
|
-
button.mat-mdc-button-base[ng-reflect-dialog-result="0"],
|
|
264
|
-
button.mat-mdc-button-base[ng-reflect-dialog-result="true"] {
|
|
265
|
-
color: white;
|
|
266
|
-
background-color: variables.$primary-color;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
button.mat-mdc-button-base[ng-reflect-dialog-result="1"],
|
|
270
|
-
button.mat-mdc-button-base[ng-reflect-dialog-result="false"] {
|
|
271
|
-
color: white;
|
|
272
|
-
background-color: variables.$default-color;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
@mixin o-button-class() {
|
|
280
|
-
button {
|
|
281
|
-
|
|
282
|
-
&.o-button-danger,
|
|
283
|
-
&.o-button-default,
|
|
284
|
-
&.o-button-info,
|
|
285
|
-
&.o-button-primary,
|
|
286
|
-
&.o-button-success,
|
|
287
|
-
&.o-button-warning {
|
|
288
|
-
border: none;
|
|
289
|
-
border-radius: 0;
|
|
290
|
-
color: white;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
&.o-button-info {
|
|
294
|
-
background-color: variables.$info-color;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
&.o-button-default {
|
|
298
|
-
background-color: variables.$default-color;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
&.o-button-success {
|
|
302
|
-
background-color: variables.$success-color;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
&.o-button-primary {
|
|
306
|
-
background-color: variables.$primary-color;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
&.o-button-danger {
|
|
310
|
-
background-color: variables.$danger-color;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
&.o-button-warning {
|
|
314
|
-
background-color: variables.$warning-color;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
@mixin set-color-states($color_states) {
|
|
320
|
-
@if $color_states !=null {
|
|
321
|
-
variables.$success-color: if(map.has-key($color_states, success), map.get($color_states, success), variables.$success-color) !global;
|
|
322
|
-
variables.$danger-color: if(map.has-key($color_states, danger), map.get($color_states, danger), variables.$danger-color) !global;
|
|
323
|
-
variables.$primary-color: if(map.has-key($color_states, primary), map.get($color_states, primary), variables.$primary-color) !global;
|
|
324
|
-
variables.$warning-color: if(map.has-key($color_states, warning), map.get($color_states, warning), variables.$warning-color) !global;
|
|
325
|
-
variables.$info-color: if(map.get($color_states, info), map.get($color_states, info), variables.$info-color) !global;
|
|
326
|
-
variables.$default-color: if(map.has-key($color_states, default), map.get($color_states, default), variables.$default-color) !global;
|
|
327
|
-
variables.$inverse-color: if(map.has-key($color_states, inverse), map.get($color_states, inverse), variables.$inverse-color) !global;
|
|
328
|
-
variables.$disable-color: if(map.has-key($color_states, disable), map.get($color_states, disable), variables.$disable-color) !global;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use 'styles/lite/layout-lite.scss';
|
|
3
|
-
@use 'styles/lite/typography-lite.scss';
|
|
4
|
-
@use 'styles/lite/typography/ontimize-lite.scss';
|
|
5
|
-
@use 'styles/lite/form-field/o-form-field-theme.scss';
|
|
6
|
-
@use 'ontimize-theme.scss';
|
|
7
|
-
@use 'styles/density.scss'as o-density;
|
|
8
|
-
@use 'styles//lite/paginator.scss';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$typography : ontimize-lite.$typography;
|
|
12
|
-
|
|
13
|
-
@mixin ontimize-theme-styles-lite($theme-or-color-config, $typographyConfig: null) {
|
|
14
|
-
/* INCLUDE ONTIMIZE LITE */
|
|
15
|
-
$theme: map.get($theme-or-color-config, color);
|
|
16
|
-
|
|
17
|
-
@if $typographyConfig !=null {
|
|
18
|
-
$typography: map.merge($typography, $typographyConfig);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
$theme-or-color-config:map.merge($theme-or-color-config, typography, $typography);
|
|
22
|
-
@include ontimize-theme.ontimize-theme-styles($theme-or-color-config);
|
|
23
|
-
@include typography-lite.o-table-typography-lite($typography);
|
|
24
|
-
@include o-form-field-theme.o-mat-form-field-typography-lite($typography);
|
|
25
|
-
@include typography-lite.o-common-typography-lite($typography);
|
|
26
|
-
@include layout-lite.layout-padding-margin-lite();
|
|
27
|
-
|
|
28
|
-
@include typography-lite.o-form-theme();
|
|
29
|
-
@include paginator.o-paginator();
|
|
30
|
-
|
|
31
|
-
// .o-table,
|
|
32
|
-
// .o-checkbox,
|
|
33
|
-
// .o-dialog-class.o-table-dialog,
|
|
34
|
-
// .mat-mdc-menu-panel.o-table-menu,
|
|
35
|
-
// .mat-mdc-menu-panel.o-table-quickfilter-menu,
|
|
36
|
-
// .mat-mdc-menu-panel.o-table-quickfilter-menu,
|
|
37
|
-
// .report-on-demand-sidenav {
|
|
38
|
-
@include o-density.checkbox(19px, 19px, 15px);
|
|
39
|
-
// }
|
|
40
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use 'o-table-typography.scss';
|
|
3
|
-
@use '@angular/material'as mat;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
$default-typography: mat.define-typography-config($font-family: 'Poppins, "Helvetica Neue", sans-serif');
|
|
7
|
-
$default-typography: map.merge($default-typography, o-table-typography.$table-typography);
|
|
8
|
-
|
|
9
|
-
$lite-typography: null !default;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@use '@angular/material'as mat;
|
|
2
|
-
@use './../../density.scss'as o-density;
|
|
3
|
-
@use 'sass:math';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@mixin o-mat-form-field-typography-lite($config) {
|
|
7
|
-
$prefix-suffix-icon-font-scale: 1.4;
|
|
8
|
-
.mat-mdc-form-field {
|
|
9
|
-
|
|
10
|
-
@include mat.form-field-density(-4);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
&.icon-field .mat-mdc-form-field-icon-suffix .icon-btn,
|
|
14
|
-
&.icon-field .mat-mdc-form-field-icon-suffix .mat-icon-button,
|
|
15
|
-
.mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix .mat-mdc-icon-button,
|
|
16
|
-
.mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-prefix .mat-mdc-icon-button {
|
|
17
|
-
svg {
|
|
18
|
-
height: 100%;
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mat-mdc-button-touch-target {
|
|
23
|
-
width: 20px;
|
|
24
|
-
height: 20px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.mat-mdc-form-field-subscript-wrapper {
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.mat-mdc-text-field-wrapper {
|
|
33
|
-
.mat-mdc-form-field-flex {
|
|
34
|
-
.mat-mdc-form-field-infix {
|
|
35
|
-
min-height: auto;
|
|
36
|
-
padding-bottom: 4px;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.mat-mdc-floating-label {
|
|
40
|
-
display: block;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.mat-mdc-select-arrow-wrapper {
|
|
44
|
-
height: auto;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:not(.mdc-text-field--outlined) {
|
|
49
|
-
.mat-mdc-form-field-infix {
|
|
50
|
-
min-height: auto;
|
|
51
|
-
padding-top: 14px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@use "layout-lite";
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
*
|
|
5
|
-
* Responsive attributes
|
|
6
|
-
*
|
|
7
|
-
* References:
|
|
8
|
-
* 1) https://scotch.io/tutorials/a-visual-guide-to-css3-flexbox-properties#flex
|
|
9
|
-
* 2) https://css-tricks.com/almanac/properties/f/flex/
|
|
10
|
-
* 3) https://css-tricks.com/snippets/css/a-guide-to-flexbox/
|
|
11
|
-
* 4) https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
|
|
12
|
-
* 5) http://godban.com.ua/projects/flexgrid
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
// Layout
|
|
17
|
-
// ------------------------------
|
|
18
|
-
$baseline-grid: 4px !default;
|
|
19
|
-
layout-lite.$layout-gutter-width-vertical: $baseline-grid;
|
|
20
|
-
$layout-gutter-width-horizontal: 14px !default;
|
|
21
|
-
@mixin layout-padding-margin() {
|
|
22
|
-
[layout-padding-vertical] {
|
|
23
|
-
padding: layout-lite.$layout-gutter-width-vertical 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
[layout-margin-vertical] {
|
|
27
|
-
margin: layout-lite.$layout-gutter-width-vertical 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
[layout-padding-horizontal] {
|
|
31
|
-
padding: 0 $layout-gutter-width-horizontal;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
[layout-margin-horizontal] {
|
|
35
|
-
margin: 0 $layout-gutter-width-horizontal;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
[layout-padding-left] {
|
|
39
|
-
padding-left: $layout-gutter-width-horizontal;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
[layout-margin-left] {
|
|
43
|
-
margin-left: $layout-gutter-width-horizontal;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
[layout-padding-right] {
|
|
47
|
-
padding-right: $layout-gutter-width-horizontal;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
[layout-margin-right] {
|
|
51
|
-
margin-right:$layout-gutter-width-horizontal;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
[layout-padding-top] {
|
|
55
|
-
padding-top: layout-lite.$layout-gutter-width-vertical;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[layout-margin-top] {
|
|
59
|
-
margin-top: layout-lite.$layout-gutter-width-vertical;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[layout-padding-bottom] {
|
|
63
|
-
padding-bottom: layout-lite.$layout-gutter-width-vertical;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[layout-margin-bottom] {
|
|
67
|
-
margin-bottom: layout-lite.$layout-gutter-width-vertical;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
}
|