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.
- package/esm2020/lib/components/table/o-table.component.mjs +2 -2
- package/esm2020/lib/services/appearance.service.mjs +14 -2
- package/fesm2015/ontimize-web-ngx.mjs +14 -3
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +14 -3
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/services/appearance.service.d.ts +3 -0
- package/package.json +1 -1
- package/theme.scss +61 -155
- package/theming/{ontimize-theme.scss → ontimize-style-v8.scss} +32 -96
- package/theming/{implatform-fashion-theme.scss → ontimize-style.scss} +127 -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 +52 -0
- package/theming/styles/ontimize-v8/o-table-style.scss +224 -0
- package/theming/styles/ontimize-v8/variables.scss +10 -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-lite.scss → ontimize-blue.scss} +3 -14
- 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/{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
|
@@ -5,13 +5,16 @@ import { LocalStorageService } from './local-storage.service';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AppearanceService {
|
|
7
7
|
protected injector: Injector;
|
|
8
|
+
readonly darkThemeClass = "o-dark";
|
|
8
9
|
private isDarkModeSubject;
|
|
9
10
|
isDarkMode$: Observable<boolean>;
|
|
10
11
|
protected _appConfig: AppConfig;
|
|
12
|
+
protected _document: Document;
|
|
11
13
|
protected localStorageService: LocalStorageService;
|
|
12
14
|
constructor(injector: Injector);
|
|
13
15
|
setDarkMode(isDarkMode: boolean): void;
|
|
14
16
|
isDarkMode(): boolean;
|
|
17
|
+
updateThemeClass(isDark?: boolean): void;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppearanceService, never>;
|
|
16
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppearanceService>;
|
|
17
20
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ontimize-web-ngx",
|
|
3
3
|
"homepage": "https://github.com/OntimizeWeb/ontimize-web-ngx#readme",
|
|
4
|
-
"version": "15.0.0-beta.
|
|
4
|
+
"version": "15.0.0-beta.1",
|
|
5
5
|
"description": "Ontimize Web framework using Angular 15",
|
|
6
6
|
"bugs": "https://github.com/OntimizeWeb/ontimize-web-ngx/issues",
|
|
7
7
|
"author": "Imatia S.L.",
|
package/theme.scss
CHANGED
|
@@ -9,12 +9,20 @@
|
|
|
9
9
|
$theme-or-color-config: map.merge($theme-or-color-config, 'typography', $typographyConfig);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
//Include theme styles for core and each component used in your app.;
|
|
13
|
-
|
|
14
|
+
$typography: map.get($theme-or-color-config, typography);
|
|
15
|
+
|
|
16
|
+
@if($typography) {
|
|
17
|
+
@include mat.core();
|
|
18
|
+
@include mat.all-component-themes($theme-or-color-config);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@else {
|
|
22
|
+
@include mat.all-component-colors($theme-or-color-config);
|
|
23
|
+
}
|
|
14
24
|
|
|
15
25
|
$typography: mat.get-typography-config($theme-or-color-config);
|
|
16
|
-
//Emit the CSS rules for these CSS classes and native elements
|
|
17
|
-
@include mat.typography-hierarchy($typography);
|
|
18
26
|
|
|
19
27
|
@include app-global-theme($theme-or-color-config);
|
|
20
28
|
@include o-breadcrumb-theme($theme-or-color-config);
|
|
@@ -24,7 +32,6 @@
|
|
|
24
32
|
@include o-date-input-theme($theme-or-color-config);
|
|
25
33
|
@include o-dialog-theme($theme-or-color-config);
|
|
26
34
|
@include o-table-theme($theme-or-color-config);
|
|
27
|
-
@include o-table-typography($typography);
|
|
28
35
|
@include o-list-theme($theme-or-color-config);
|
|
29
36
|
@include o-list-picker-theme($theme-or-color-config);
|
|
30
37
|
@include o-app-header-theme($theme-or-color-config);
|
|
@@ -247,12 +254,17 @@
|
|
|
247
254
|
background-color: mat.get-color-from-palette($background, background, 0.29);
|
|
248
255
|
}
|
|
249
256
|
|
|
257
|
+
@if($typography) {
|
|
258
|
+
.o-card-menu-item-title {
|
|
259
|
+
font-size: mat.font-size($typography, headline-6);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
250
263
|
.o-card-menu-item-title {
|
|
251
264
|
color: mat.get-color-from-palette($primary);
|
|
252
|
-
font-size: mat.font-size($typography, headline-5);
|
|
253
265
|
}
|
|
254
266
|
|
|
255
|
-
.mat-mdc-button {
|
|
267
|
+
.mat-mdc-button:not(:disabled) {
|
|
256
268
|
color: mat.get-color-from-palette($primary);
|
|
257
269
|
background: mat.get-color-from-palette($accent, 100);
|
|
258
270
|
}
|
|
@@ -292,12 +304,14 @@
|
|
|
292
304
|
|
|
293
305
|
}
|
|
294
306
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
307
|
+
@if($typography) {
|
|
308
|
+
>.o-container-title,
|
|
309
|
+
>.mat-expansion-panel-header .o-container-title {
|
|
310
|
+
span {
|
|
311
|
+
font: {
|
|
312
|
+
size: mat.font-size($typography, body-1);
|
|
313
|
+
weight: mat.font-weight($typography, body-1);
|
|
314
|
+
}
|
|
301
315
|
}
|
|
302
316
|
}
|
|
303
317
|
}
|
|
@@ -590,13 +604,16 @@
|
|
|
590
604
|
background-color: mat.get-color-from-palette($background, background);
|
|
591
605
|
}
|
|
592
606
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
607
|
+
@if($typography) {
|
|
608
|
+
|
|
609
|
+
button,
|
|
610
|
+
html,
|
|
611
|
+
input,
|
|
612
|
+
select,
|
|
613
|
+
span,
|
|
614
|
+
textarea {
|
|
615
|
+
font-family: mat.font-family($typography);
|
|
616
|
+
}
|
|
600
617
|
}
|
|
601
618
|
|
|
602
619
|
::-webkit-scrollbar {
|
|
@@ -685,7 +702,9 @@
|
|
|
685
702
|
}
|
|
686
703
|
|
|
687
704
|
.mat-mdc-dialog-content {
|
|
688
|
-
|
|
705
|
+
@if($typography) {
|
|
706
|
+
font-size: mat.font-size($typography, body-1);
|
|
707
|
+
}
|
|
689
708
|
|
|
690
709
|
.mat-mdc-subheader.mdc-list-group__subheader {
|
|
691
710
|
font-weight: inherit;
|
|
@@ -708,18 +727,20 @@
|
|
|
708
727
|
|
|
709
728
|
}
|
|
710
729
|
|
|
711
|
-
|
|
712
|
-
.mat-mdc-list
|
|
730
|
+
@if($typography) {
|
|
731
|
+
.mat-mdc-list[dense] {
|
|
732
|
+
.mat-mdc-list-item {
|
|
713
733
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
734
|
+
.empty-filter-list,
|
|
735
|
+
.mdc-list-item__content>* {
|
|
736
|
+
font-size: mat.font-size($typography, body-1);
|
|
737
|
+
}
|
|
718
738
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
739
|
+
.mat-mdc-list-item-line:nth-child(n+2) {
|
|
740
|
+
font-size: mat.font-size($typography, caption);
|
|
741
|
+
}
|
|
722
742
|
|
|
743
|
+
}
|
|
723
744
|
}
|
|
724
745
|
}
|
|
725
746
|
}
|
|
@@ -751,12 +772,15 @@
|
|
|
751
772
|
.mdc-list-item__primary-text,
|
|
752
773
|
.mdc-list-item__secondary-text {
|
|
753
774
|
margin-bottom: 0;
|
|
775
|
+
|
|
754
776
|
&::before {
|
|
755
777
|
height: auto;
|
|
756
778
|
content: none;
|
|
757
779
|
}
|
|
758
780
|
|
|
759
|
-
|
|
781
|
+
@if($typography) {
|
|
782
|
+
font-size: mat.font-size($typography, caption);
|
|
783
|
+
}
|
|
760
784
|
|
|
761
785
|
}
|
|
762
786
|
}
|
|
@@ -773,9 +797,14 @@
|
|
|
773
797
|
box-sizing: border-box;
|
|
774
798
|
border-radius: 2px;
|
|
775
799
|
|
|
800
|
+
@if($typography) {
|
|
801
|
+
.mdc-list-item__content {
|
|
802
|
+
font-size: mat.font-size($typography, body-1);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
776
806
|
.mdc-list-item__content {
|
|
777
807
|
display: block;
|
|
778
|
-
font-size: mat.font-size($typography, body-1);
|
|
779
808
|
color: mat.get-color-from-palette($foreground, text);
|
|
780
809
|
padding: 6px;
|
|
781
810
|
flex-direction: row;
|
|
@@ -967,28 +996,11 @@
|
|
|
967
996
|
}
|
|
968
997
|
|
|
969
998
|
/*MAT MENU*/
|
|
970
|
-
/* TODO(mdc-migration): The following rule targets internal classes of menu that may no longer apply for the MDC version. */
|
|
971
|
-
/* TODO(mdc-migration): The following rule targets internal classes of menu that may no longer apply for the MDC version. */
|
|
972
999
|
.o-mat-menu.mat-mdc-menu-panel {
|
|
973
1000
|
min-height: auto;
|
|
974
1001
|
}
|
|
975
1002
|
|
|
976
|
-
/* CHART FONT */
|
|
977
|
-
o-chart .nvd3 {
|
|
978
|
-
text {
|
|
979
|
-
font: mat.font-weight($typography, caption) mat.font-size($typography, caption) mat.font-family($typography);
|
|
980
|
-
fill: mat.get-color-from-palette($foreground, text);
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
.nv-discretebar .nv-groups text,
|
|
984
|
-
.nv-multibarHorizontal .nv-groups text {
|
|
985
|
-
fill: mat.get-color-from-palette($foreground, text);
|
|
986
|
-
}
|
|
987
1003
|
|
|
988
|
-
.nv-axis path {
|
|
989
|
-
stroke: mat.get-color-from-palette($foreground, text);
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
1004
|
}// Layout-padding-xxx & Layout-margin-xxxx
|
|
993
1005
|
// ------------------------------
|
|
994
1006
|
$baseline-grid: 8px !default;
|
|
@@ -1445,113 +1457,7 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1445
1457
|
.o-table-quickfilter .quickFilter .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-prefix div {
|
|
1446
1458
|
border-right: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
1447
1459
|
}
|
|
1448
|
-
}@
|
|
1449
|
-
/* Small */
|
|
1450
|
-
$small-header-height: mat.define-typography-level(32px, 32px, 400),
|
|
1451
|
-
$small-row-height: mat.define-typography-level(28px, 28px, 400),
|
|
1452
|
-
$small-header-font-size: mat.define-typography-level(16px, 16px, 400),
|
|
1453
|
-
$small-row-font-size: mat.define-typography-level(12px, 12px, 400),
|
|
1454
|
-
/* Medium */
|
|
1455
|
-
$medium-header-height: mat.define-typography-level(40px, 40px, 400),
|
|
1456
|
-
$medium-row-height: mat.define-typography-level(36px, 36px, 400),
|
|
1457
|
-
$medium-header-font-size: mat.define-typography-level(20px, 20px, 400),
|
|
1458
|
-
$medium-row-font-size: mat.define-typography-level(14px, 14px, 400),
|
|
1459
|
-
/* Large */
|
|
1460
|
-
$large-header-height: mat.define-typography-level(52px, 40px, 400),
|
|
1461
|
-
$large-row-height: mat.define-typography-level(48px, 36px, 400),
|
|
1462
|
-
$large-header-font-size: mat.define-typography-level(24px, 24px, 400),
|
|
1463
|
-
$large-row-font-size: mat.define-typography-level(14px, 14px, 400)
|
|
1464
|
-
) {
|
|
1465
|
-
|
|
1466
|
-
// Declare an initial map with all of the levels.
|
|
1467
|
-
$config: (
|
|
1468
|
-
small-header-height: $small-header-height,
|
|
1469
|
-
small-row-height: $small-row-height,
|
|
1470
|
-
small-header-font-size: $small-header-font-size,
|
|
1471
|
-
small-row-font-size: $small-row-font-size,
|
|
1472
|
-
|
|
1473
|
-
medium-header-height: $medium-header-height,
|
|
1474
|
-
medium-row-height: $medium-row-height,
|
|
1475
|
-
medium-header-font-size: $medium-header-font-size,
|
|
1476
|
-
medium-row-font-size: $medium-row-font-size,
|
|
1477
|
-
|
|
1478
|
-
large-header-height: $large-header-height,
|
|
1479
|
-
large-row-height: $large-row-height,
|
|
1480
|
-
large-header-font-size: $large-header-font-size,
|
|
1481
|
-
large-row-font-size: $large-row-font-size
|
|
1482
|
-
);
|
|
1483
|
-
@return $config;
|
|
1484
|
-
}
|
|
1485
|
-
@mixin o-table-size-typography($typography, $size) {
|
|
1486
|
-
|
|
1487
|
-
$header-height: mat.font-size($typography, #{$size}-header-height);
|
|
1488
|
-
$row-height: mat.font-size($typography, #{$size}-row-height);
|
|
1489
|
-
$header-font-size: mat.font-size($typography, #{$size}-header-font-size);
|
|
1490
|
-
$row-font-size: mat.font-size($typography, #{$size}-row-font-size);
|
|
1491
|
-
|
|
1492
|
-
.o-table .o-table-container {
|
|
1493
|
-
.mat-mdc-table.#{$size} {
|
|
1494
|
-
tr.mat-mdc-header-row:not(.o-table-insertable) {
|
|
1495
|
-
height: $header-height;
|
|
1496
|
-
|
|
1497
|
-
.mat-mdc-header-cell {
|
|
1498
|
-
font-size: $header-font-size;
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
tr.mat-mdc-row {
|
|
1503
|
-
height: $row-height;
|
|
1504
|
-
|
|
1505
|
-
.mat-mdc-cell {
|
|
1506
|
-
.mat-mdc-form-field {
|
|
1507
|
-
font-size: $row-font-size;
|
|
1508
|
-
}
|
|
1509
|
-
font-size: $row-font-size;
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
tr.o-table-insertable.mat-mdc-header-row{
|
|
1514
|
-
height: $row-height;
|
|
1515
|
-
|
|
1516
|
-
.mat-mdc-table-sticky {
|
|
1517
|
-
.mat-mdc-form-field {
|
|
1518
|
-
font-size: $row-font-size;
|
|
1519
|
-
}
|
|
1520
|
-
font-size: $row-font-size;
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
.o-table-no-results span {
|
|
1525
|
-
font-size: $row-font-size;
|
|
1526
|
-
line-height: $header-height;
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
.o-table-context-menu.#{$size},
|
|
1532
|
-
.o-table-menu.#{$size} {
|
|
1533
|
-
.mat-mdc-menu-item {
|
|
1534
|
-
line-height: $row-height;
|
|
1535
|
-
height: $row-height;
|
|
1536
|
-
min-height: $row-height;
|
|
1537
|
-
}
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
.o-table-visible-columns-dialog {
|
|
1541
|
-
.mat-mdc-list.#{$size} .mat-mdc-list-item {
|
|
1542
|
-
height: $header-height;
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
@mixin o-table-typography($typography: null) {
|
|
1547
|
-
@if $typography == null{
|
|
1548
|
-
$typography: o-table-typography-config();
|
|
1549
|
-
}
|
|
1550
|
-
@include o-table-size-typography($typography, 'small');
|
|
1551
|
-
@include o-table-size-typography($typography, 'medium');
|
|
1552
|
-
@include o-table-size-typography($typography, 'large');
|
|
1553
|
-
}
|
|
1554
|
-
@mixin o-dialog-theme($theme-or-color-config) {
|
|
1460
|
+
}@mixin o-dialog-theme($theme-or-color-config) {
|
|
1555
1461
|
$theme: map.get($theme-or-color-config, color);
|
|
1556
1462
|
$background: map.get($theme, background);
|
|
1557
1463
|
$foreground: map.get($theme, foreground);
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
@use 'fonts/poppins.scss';
|
|
3
|
-
@use 'styles/lite/layout.scss';
|
|
4
|
-
@use 'styles/default/typography/ontimize.scss'as ontimize-typography;
|
|
5
|
-
@use 'styles/default/addons/report-on-demand.scss';
|
|
6
|
-
@use 'styles/default/addons/charts-on-demand.scss';
|
|
7
2
|
@use '@angular/material'as mat;
|
|
3
|
+
@use 'fonts/poppins.scss';
|
|
4
|
+
@use 'styles/ontimize-v8/variables.scss';
|
|
5
|
+
@use 'typography/ontimize.scss';
|
|
6
|
+
@use 'styles/ontimize-v8/o-form-field-style.scss';
|
|
7
|
+
@use 'styles/ontimize-v8/o-table-style.scss';
|
|
8
|
+
@use 'styles/ontimize-v8/containers';
|
|
9
|
+
@use 'styles/layout.scss';
|
|
8
10
|
@use 'styles/density.scss'as o-density;
|
|
11
|
+
@use 'styles/paginator.scss';
|
|
12
|
+
|
|
13
|
+
@use '../theme.scss';
|
|
14
|
+
@use 'addons/report-on-demand.scss';
|
|
15
|
+
@use 'addons/charts-on-demand.scss';
|
|
9
16
|
|
|
10
|
-
$typography: ontimize-typography.$default-typography;
|
|
11
17
|
$background-color: #eceff1;
|
|
12
18
|
/*Application background-color*/
|
|
13
19
|
$app-background-color: #eaeaea;
|
|
@@ -44,7 +50,7 @@ $app-background-color: #eaeaea;
|
|
|
44
50
|
is-dark: false,
|
|
45
51
|
foreground: map.get($mat-theme, foreground),
|
|
46
52
|
background: ontimize-light-theme-background($mat-theme)),
|
|
47
|
-
typography:
|
|
53
|
+
typography:ontimize.$typography)
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
// Creates a container object for a dark theme to be given to individual component theme mixins.
|
|
@@ -56,7 +62,7 @@ $app-background-color: #eaeaea;
|
|
|
56
62
|
is-dark: true,
|
|
57
63
|
foreground: map.get($mat-theme, foreground),
|
|
58
64
|
background: ontimize-dark-theme-background($mat-theme)),
|
|
59
|
-
typography:
|
|
65
|
+
typography: ontimize.$typography)
|
|
60
66
|
}
|
|
61
67
|
|
|
62
68
|
@mixin ontimize-theme-styles($theme-or-color-config) {
|
|
@@ -65,35 +71,28 @@ $app-background-color: #eaeaea;
|
|
|
65
71
|
|
|
66
72
|
$primary: map.get($theme, primary);
|
|
67
73
|
$accent: map.get($theme, accent);
|
|
68
|
-
// $warn: map.get($theme, warn);
|
|
69
74
|
$background: map.get($theme, background);
|
|
70
75
|
$foreground: map.get($theme, foreground);
|
|
71
76
|
$container-background: mat.get-color-from-palette($background, 'card');
|
|
72
|
-
|
|
73
|
-
$button-line-height: 30px;
|
|
74
|
-
$basic-padding-size: 8px;
|
|
75
|
-
// $tabs-header-border: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
76
|
-
$tabs-header-border: none;
|
|
77
|
-
$inactive-tab-opacity: .35;
|
|
78
|
-
$font-size-title-container: 1;
|
|
77
|
+
|
|
79
78
|
$fill-background-input: mat.get-color-from-palette($foreground, base, 0.1);
|
|
80
79
|
$is-dark-theme: map.get($theme, is-dark);
|
|
81
80
|
|
|
82
|
-
|
|
83
|
-
$background-tab-inactive-on-dark: #686868;
|
|
84
|
-
$background-tab-inactive-on-light: #D7DDE0;
|
|
85
|
-
$background-tab-inactive: if($is-dark-theme, $background-tab-inactive-on-dark, $background-tab-inactive-on-light);
|
|
81
|
+
$background-tab-inactive: if($is-dark-theme, variables.$background-tab-inactive-on-dark, variables.$background-tab-inactive-on-light);
|
|
86
82
|
$background-accent-button: if($is-dark-theme, transparent, #ffffff);
|
|
87
83
|
$background-hover-accent-button: if($is-dark-theme, mat.get-color-from-palette($accent, 500), mat.get-color-from-palette($accent, 100));
|
|
88
84
|
$background-primary-button: if($is-dark-theme, mat.get-color-from-palette($primary, 500), mat.get-color-from-palette($primary, 100));
|
|
89
85
|
$background-hover-primary-button: if($is-dark-theme, transparent, #ffffff);
|
|
90
|
-
|
|
91
|
-
@include
|
|
92
|
-
@include charts-on-demand.o-chart-on-demand($theme-or-color-config);
|
|
86
|
+
|
|
87
|
+
@include theme.o-material-theme($theme-or-color-config);
|
|
93
88
|
@include layout.layout-padding-margin();
|
|
94
|
-
@include o-density.checkbox(
|
|
89
|
+
@include o-density.checkbox(19px, 19px, 15px);
|
|
95
90
|
@include o-density.list();
|
|
96
91
|
@include o-density.radio();
|
|
92
|
+
@include o-table-style.o-table-style($theme-or-color-config);
|
|
93
|
+
@include report-on-demand.report-on-demand($theme-or-color-config);
|
|
94
|
+
@include charts-on-demand.o-chart-on-demand($theme-or-color-config);
|
|
95
|
+
|
|
97
96
|
|
|
98
97
|
.mat-dialog-actions {
|
|
99
98
|
|
|
@@ -135,7 +134,7 @@ $app-background-color: #eaeaea;
|
|
|
135
134
|
.standalone-chart-container,
|
|
136
135
|
.standalone-form-container .o-form-content-wrapper {
|
|
137
136
|
background: $container-background;
|
|
138
|
-
border-radius:
|
|
137
|
+
border-radius: variables.$border-radius;
|
|
139
138
|
}
|
|
140
139
|
|
|
141
140
|
.standalone-chart-container {
|
|
@@ -144,7 +143,7 @@ $app-background-color: #eaeaea;
|
|
|
144
143
|
|
|
145
144
|
.standalone-form-container {
|
|
146
145
|
.inner-form {
|
|
147
|
-
padding:
|
|
146
|
+
padding: variables.$basic-padding-size*2;
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
|
|
@@ -168,7 +167,7 @@ $app-background-color: #eaeaea;
|
|
|
168
167
|
.mat-toolbar {
|
|
169
168
|
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.24);
|
|
170
169
|
background-color: mat.get-color-from-palette($background, background);
|
|
171
|
-
border-radius:
|
|
170
|
+
border-radius: variables.$border-radius;
|
|
172
171
|
min-height: initial;
|
|
173
172
|
}
|
|
174
173
|
}
|
|
@@ -221,10 +220,12 @@ $app-background-color: #eaeaea;
|
|
|
221
220
|
|
|
222
221
|
.mdc-tab__content {
|
|
223
222
|
width: 100%;
|
|
223
|
+
|
|
224
224
|
.mdc-tab__text-label {
|
|
225
225
|
padding: 0 8px;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
+
|
|
228
229
|
&.mdc-tab--active {
|
|
229
230
|
background: $container-background;
|
|
230
231
|
|
|
@@ -245,8 +246,8 @@ $app-background-color: #eaeaea;
|
|
|
245
246
|
|
|
246
247
|
>.mat-mdc-tab-body-wrapper {
|
|
247
248
|
background: $container-background;
|
|
248
|
-
border-radius:
|
|
249
|
-
border-top:
|
|
249
|
+
border-radius: variables.$border-radius;
|
|
250
|
+
border-top: variables.$tabs-header-border;
|
|
250
251
|
border-top-left-radius: initial;
|
|
251
252
|
}
|
|
252
253
|
}
|
|
@@ -255,7 +256,7 @@ $app-background-color: #eaeaea;
|
|
|
255
256
|
&.mat-mdc-tab-group {
|
|
256
257
|
|
|
257
258
|
.mat-mdc-tab-body-wrapper {
|
|
258
|
-
padding:
|
|
259
|
+
padding: variables.$basic-padding-size;
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
262
|
}
|
|
@@ -268,75 +269,10 @@ $app-background-color: #eaeaea;
|
|
|
268
269
|
&.mat-mdc-icon-button,
|
|
269
270
|
&.mat-mdc-raised-button,
|
|
270
271
|
&.mat-mdc-outlined-button {
|
|
271
|
-
border-radius:
|
|
272
|
+
border-radius: variables.$border-radius;
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
/* TABLE */
|
|
276
|
-
.ontimize-table.o-table {
|
|
277
|
-
font-weight: 400;
|
|
278
|
-
|
|
279
|
-
.o-table-container {
|
|
280
|
-
border: none;
|
|
281
|
-
border-radius: $border-radius;
|
|
282
|
-
box-sizing: border-box;
|
|
283
|
-
|
|
284
|
-
/*Toolbar*/
|
|
285
|
-
.o-table-toolbar {
|
|
286
|
-
margin: 0 0 4px;
|
|
287
|
-
padding-top: $basic-padding-size;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.o-table-menu {
|
|
291
|
-
.o-table-option-active {
|
|
292
|
-
background: mat.get-color-from-palette($foreground, divider);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
thead tr th {
|
|
297
|
-
font-weight: 700;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
tbody tr.even,
|
|
301
|
-
thead tr {
|
|
302
|
-
background-color: inherit;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version.*/
|
|
306
|
-
tbody td.o-table-column-select-checkbox .mat-checkbox-inner-container .mat-checkbox-background,
|
|
307
|
-
thead tr th.o-table-column-select-checkbox .mat-checkbox-inner-container .mat-checkbox-background {
|
|
308
|
-
background-color: mat.get-color-from-palette($accent);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.mat-mdc-header-cell {
|
|
312
|
-
font-weight: 700;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.mat-mdc-paginator {
|
|
317
|
-
background: inherit;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.mat-mdc-table {
|
|
321
|
-
.mat-mdc-header-row .mat-mdc-header-cell {
|
|
322
|
-
font-weight: 700;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.ontimize-table.o-table.o-table-fixed {
|
|
328
|
-
.o-scrollable-container {
|
|
329
|
-
height: 100%;
|
|
330
|
-
overflow-y: auto;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
.mat-mdc-menu-panel.o-table-quickfilter-menu .mat-mdc-checkbox,
|
|
337
|
-
.mat-mdc-menu-panel.o-search-input-menu .mat-mdc-checkbox {
|
|
338
|
-
padding: 2px 0;
|
|
339
|
-
}
|
|
340
276
|
|
|
341
277
|
/*background levels */
|
|
342
278
|
.bg-level-0,
|