@ngx-stoui/core 12.1.1 → 12.1.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/ngx-stoui.css
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
@import url("https://fonts.googleapis.com/css?family=Material+Icons");
|
|
3
3
|
@import url("https://fonts.googleapis.com/css?family=Material+Icons+Outlined");
|
|
4
4
|
body .sto-action-footer {
|
|
5
|
-
background-color: var(--bg-
|
|
5
|
+
background-color: var(--bg-app);
|
|
6
6
|
border-top: 1px solid var(--divider);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
body .sto-header {
|
|
10
|
-
background-color: var(--bg-
|
|
10
|
+
background-color: var(--bg-card) !important;
|
|
11
11
|
border-bottom-color: var(--divider);
|
|
12
12
|
}
|
|
13
13
|
body .sto-header--test-environment {
|
|
@@ -26,7 +26,7 @@ body .sto-header button:hover {
|
|
|
26
26
|
background-color: var(--bg-hover);
|
|
27
27
|
}
|
|
28
28
|
body .sto-header__actions--small {
|
|
29
|
-
background: var(--bg-
|
|
29
|
+
background: var(--bg-card);
|
|
30
30
|
}
|
|
31
31
|
body .sto-breadcrumb__home {
|
|
32
32
|
color: var(--primary-resting);
|
|
@@ -190,7 +190,7 @@ body .sto-mdl-table__body__row:not(.sto-mdl-table__body__row--selected):hover, b
|
|
|
190
190
|
body .sto-mdl-table__footer__row {
|
|
191
191
|
border-bottom: 1px solid var(--divider);
|
|
192
192
|
border-top: 1px solid var(--divider);
|
|
193
|
-
background: var(--bg-
|
|
193
|
+
background: var(--bg-app);
|
|
194
194
|
}
|
|
195
195
|
body .ngx-datatable.sto-datatable {
|
|
196
196
|
background-color: transparent;
|
|
@@ -324,7 +324,7 @@ body .ngx-datatable.sto-datatable .datatable-footer .datatable-pager .pager li.p
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
body .sto-daterange {
|
|
327
|
-
background-color: var(--bg-
|
|
327
|
+
background-color: var(--bg-card);
|
|
328
328
|
}
|
|
329
329
|
body .sto-daterange .sto-daterange__error--container {
|
|
330
330
|
background-color: #f44336;
|
|
@@ -336,22 +336,22 @@ body .sto-daterange-wrapper .sto-form__field.mat-focused .mat-form-field-suffix
|
|
|
336
336
|
color: var(--text-secondary);
|
|
337
337
|
}
|
|
338
338
|
body .sto-date.sto-date__popout {
|
|
339
|
-
background: var(--bg-
|
|
339
|
+
background: var(--bg-card);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
body .sto-drawer__overlay {
|
|
343
343
|
background: var(--text);
|
|
344
344
|
}
|
|
345
345
|
body .sto-drawer {
|
|
346
|
-
background-color: var(--bg-
|
|
346
|
+
background-color: var(--bg-app);
|
|
347
347
|
}
|
|
348
348
|
body .sto-drawer__footer {
|
|
349
349
|
border-top: 1px solid var(--divider);
|
|
350
|
-
background-color: var(--bg-
|
|
350
|
+
background-color: var(--bg-card);
|
|
351
351
|
color: var(--text);
|
|
352
352
|
}
|
|
353
353
|
body .sto-drawer__content {
|
|
354
|
-
background-color: var(--bg-
|
|
354
|
+
background-color: var(--bg-app);
|
|
355
355
|
color: var(--text);
|
|
356
356
|
}
|
|
357
357
|
body .sto-drawer__header__infix a, body .sto-drawer__header__infix mat-icon {
|
|
@@ -361,12 +361,12 @@ body .sto-drawer__header__infix a:hover, body .sto-drawer__header__infix mat-ico
|
|
|
361
361
|
color: var(--text-disabled);
|
|
362
362
|
}
|
|
363
363
|
body .sto-drawer__header__wrapper {
|
|
364
|
-
background-color: var(--bg-
|
|
364
|
+
background-color: var(--bg-card);
|
|
365
365
|
color: var(--text);
|
|
366
366
|
}
|
|
367
367
|
body .sto-drawer .sto-slide-panel {
|
|
368
368
|
color: var(--text);
|
|
369
|
-
background-color: var(--bg-
|
|
369
|
+
background-color: var(--bg-app);
|
|
370
370
|
}
|
|
371
371
|
body .sto-drawer .sto-slide-panel .mat-list.sto-navigation .mat-list-item {
|
|
372
372
|
color: var(--text);
|
|
@@ -381,9 +381,37 @@ body .sto-drawer .sto-slide-panel .mat-list.sto-navigation .mat-list-item .sto-n
|
|
|
381
381
|
color: var(--text);
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header {
|
|
385
|
+
background-color: var(--bg-card);
|
|
386
|
+
}
|
|
384
387
|
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header[aria-disabled=true] {
|
|
385
388
|
color: var(--text);
|
|
386
389
|
}
|
|
390
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-icon-button, body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-button {
|
|
391
|
+
color: var(--text-secondary);
|
|
392
|
+
}
|
|
393
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-icon-button:hover, body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-button:hover {
|
|
394
|
+
color: rgba(var(--text-secondary), 0.8);
|
|
395
|
+
}
|
|
396
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
|
|
397
|
+
background-color: transparent;
|
|
398
|
+
}
|
|
399
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header .mat-button-toggle-standalone.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
|
|
400
|
+
background-color: var(--bg-light);
|
|
401
|
+
}
|
|
402
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header:not(.mat-expanded) {
|
|
403
|
+
border-bottom: solid 1px var(--divider);
|
|
404
|
+
}
|
|
405
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header.mat-expanded:hover {
|
|
406
|
+
background-color: var(--bg-card);
|
|
407
|
+
}
|
|
408
|
+
body .sto-filter.mat-expansion-panel .mat-expansion-panel-header.mat-expanded:focus {
|
|
409
|
+
background-color: var(--bg-card);
|
|
410
|
+
}
|
|
411
|
+
body .sto-filter.mat-expansion-panel .separator {
|
|
412
|
+
background-color: var(--divider);
|
|
413
|
+
}
|
|
414
|
+
|
|
387
415
|
.mat-typography:not(.sto-sm-typography):not(.sto-l-typography) .sto-filter .mat-expansion-panel-header {
|
|
388
416
|
font-size: 20px;
|
|
389
417
|
line-height: 28px;
|
|
@@ -420,7 +448,7 @@ body .mat-option.sto-option--clear {
|
|
|
420
448
|
}
|
|
421
449
|
|
|
422
450
|
body .sto-form__field .mat-form-field-flex, body .sto-form__field.mat-form-field .mat-form-field-flex {
|
|
423
|
-
background-color:
|
|
451
|
+
background-color: var(--bg-light);
|
|
424
452
|
}
|
|
425
453
|
body .sto-form__field .mat-form-field-flex .mat-input, body .sto-form__field.mat-form-field .mat-form-field-flex .mat-input {
|
|
426
454
|
color: var(--text);
|
|
@@ -434,9 +462,6 @@ body .sto-form__field.sto-form__field--readonly .mat-form-field-flex .mat-select
|
|
|
434
462
|
body .sto-form__field.sto-form__field--readonly .mat-form-field-flex, body .sto-form__field.mat-form-field.sto-form__field--readonly .mat-form-field-flex {
|
|
435
463
|
background-color: transparent;
|
|
436
464
|
}
|
|
437
|
-
body .sto-form__field .mat-form-field-flex:hover + .mat-form-field-underline, body .sto-form__field.mat-form-field .mat-form-field-flex:hover + .mat-form-field-underline {
|
|
438
|
-
background-color: rgba(0, 0, 0, 0.12);
|
|
439
|
-
}
|
|
440
465
|
body .sto-form__field.mat-focused .mat-form-field-infix .mat-form-field-label, body .sto-form__field.mat-form-field.mat-focused .mat-form-field-infix .mat-form-field-label {
|
|
441
466
|
color: var(--text);
|
|
442
467
|
}
|
|
@@ -565,7 +590,7 @@ body .mat-menu-panel.preference-manager-list .preference-manager-list-footer {
|
|
|
565
590
|
}
|
|
566
591
|
|
|
567
592
|
body .sto-select-filter {
|
|
568
|
-
background-color: var(--bg-
|
|
593
|
+
background-color: var(--bg-app);
|
|
569
594
|
}
|
|
570
595
|
|
|
571
596
|
body .mat-card.mat-primary {
|
|
@@ -663,7 +688,7 @@ body .mat-pseudo-checkbox {
|
|
|
663
688
|
color: var(--text-secondary);
|
|
664
689
|
}
|
|
665
690
|
body .mat-pseudo-checkbox::after {
|
|
666
|
-
color: var(--bg-
|
|
691
|
+
color: var(--bg-app);
|
|
667
692
|
}
|
|
668
693
|
body .mat-pseudo-checkbox-disabled {
|
|
669
694
|
color: #b0b0b0;
|
|
@@ -687,7 +712,7 @@ body .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {
|
|
|
687
712
|
background: #b0b0b0;
|
|
688
713
|
}
|
|
689
714
|
body .mat-app-background, body.mat-app-background {
|
|
690
|
-
background-color: var(--bg-
|
|
715
|
+
background-color: var(--bg-app);
|
|
691
716
|
color: var(--text);
|
|
692
717
|
}
|
|
693
718
|
body .mat-elevation-z0 {
|
|
@@ -770,14 +795,14 @@ body .mat-elevation-z24 {
|
|
|
770
795
|
}
|
|
771
796
|
|
|
772
797
|
body .mat-autocomplete-panel {
|
|
773
|
-
background: var(--bg-
|
|
798
|
+
background: var(--bg-card);
|
|
774
799
|
color: var(--text);
|
|
775
800
|
}
|
|
776
801
|
body .mat-autocomplete-panel:not([class*=mat-elevation-z]) {
|
|
777
802
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
778
803
|
}
|
|
779
804
|
body .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover) {
|
|
780
|
-
background: var(--bg-
|
|
805
|
+
background: var(--bg-card);
|
|
781
806
|
}
|
|
782
807
|
body .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled) {
|
|
783
808
|
color: var(--text);
|
|
@@ -947,7 +972,7 @@ body .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content {
|
|
|
947
972
|
}
|
|
948
973
|
body .mat-bottom-sheet-container {
|
|
949
974
|
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
|
|
950
|
-
background: var(--bg-
|
|
975
|
+
background: var(--bg-card);
|
|
951
976
|
color: var(--text);
|
|
952
977
|
}
|
|
953
978
|
body .mat-button, body .mat-icon-button, body .mat-stroked-button {
|
|
@@ -990,7 +1015,7 @@ body .mat-stroked-button:not(.mat-button-disabled) {
|
|
|
990
1015
|
}
|
|
991
1016
|
body .mat-flat-button, body .mat-raised-button, body .mat-fab, body .mat-mini-fab {
|
|
992
1017
|
color: var(--text);
|
|
993
|
-
background-color: var(--bg-
|
|
1018
|
+
background-color: var(--bg-card);
|
|
994
1019
|
}
|
|
995
1020
|
body .mat-flat-button.mat-primary, body .mat-raised-button.mat-primary, body .mat-fab.mat-primary, body .mat-mini-fab.mat-primary {
|
|
996
1021
|
color: var(--primary-contrast-resting);
|
|
@@ -1064,7 +1089,7 @@ body .mat-button-toggle .mat-button-toggle-focus-overlay {
|
|
|
1064
1089
|
}
|
|
1065
1090
|
body .mat-button-toggle-appearance-standard {
|
|
1066
1091
|
color: var(--text);
|
|
1067
|
-
background: var(--bg-
|
|
1092
|
+
background: var(--bg-card);
|
|
1068
1093
|
}
|
|
1069
1094
|
body .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
|
|
1070
1095
|
background-color: var(--bg-focus);
|
|
@@ -1093,7 +1118,7 @@ body .mat-button-toggle-disabled {
|
|
|
1093
1118
|
background-color: var(--bg-disabled);
|
|
1094
1119
|
}
|
|
1095
1120
|
body .mat-button-toggle-disabled.mat-button-toggle-appearance-standard {
|
|
1096
|
-
background: var(--bg-
|
|
1121
|
+
background: var(--bg-card);
|
|
1097
1122
|
}
|
|
1098
1123
|
body .mat-button-toggle-disabled.mat-button-toggle-checked {
|
|
1099
1124
|
background-color: var(--bg-disabled);
|
|
@@ -1107,7 +1132,7 @@ body .mat-button-toggle-group-appearance-standard {
|
|
|
1107
1132
|
}
|
|
1108
1133
|
|
|
1109
1134
|
body .mat-card {
|
|
1110
|
-
background: var(--bg-
|
|
1135
|
+
background: var(--bg-card);
|
|
1111
1136
|
color: var(--text);
|
|
1112
1137
|
}
|
|
1113
1138
|
body .mat-card:not([class*=mat-elevation-z]) {
|
|
@@ -1123,13 +1148,13 @@ body .mat-checkbox-frame {
|
|
|
1123
1148
|
border-color: var(--text-secondary);
|
|
1124
1149
|
}
|
|
1125
1150
|
body .mat-checkbox-checkmark {
|
|
1126
|
-
fill: var(--bg-
|
|
1151
|
+
fill: var(--bg-app);
|
|
1127
1152
|
}
|
|
1128
1153
|
body .mat-checkbox-checkmark-path {
|
|
1129
|
-
stroke: var(--bg-
|
|
1154
|
+
stroke: var(--bg-app) !important;
|
|
1130
1155
|
}
|
|
1131
1156
|
body .mat-checkbox-mixedmark {
|
|
1132
|
-
background-color: var(--bg-
|
|
1157
|
+
background-color: var(--bg-app);
|
|
1133
1158
|
}
|
|
1134
1159
|
body .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background, body .mat-checkbox-checked.mat-primary .mat-checkbox-background {
|
|
1135
1160
|
background-color: var(--primary-resting);
|
|
@@ -1220,7 +1245,7 @@ body .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-elemen
|
|
|
1220
1245
|
opacity: 0.1;
|
|
1221
1246
|
}
|
|
1222
1247
|
body .mat-table {
|
|
1223
|
-
background: var(--bg-
|
|
1248
|
+
background: var(--bg-card);
|
|
1224
1249
|
}
|
|
1225
1250
|
body .mat-table thead, body .mat-table tbody, body .mat-table tfoot,
|
|
1226
1251
|
body mat-header-row, body mat-row, body mat-footer-row,
|
|
@@ -1315,7 +1340,7 @@ body .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-co
|
|
|
1315
1340
|
}
|
|
1316
1341
|
body .mat-datepicker-content {
|
|
1317
1342
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
1318
|
-
background-color: var(--bg-
|
|
1343
|
+
background-color: var(--bg-card);
|
|
1319
1344
|
color: var(--text);
|
|
1320
1345
|
}
|
|
1321
1346
|
body .mat-datepicker-content.mat-accent .mat-calendar-body-in-range::before {
|
|
@@ -1411,7 +1436,7 @@ body .mat-date-range-input-inner[disabled] {
|
|
|
1411
1436
|
}
|
|
1412
1437
|
body .mat-dialog-container {
|
|
1413
1438
|
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
|
1414
|
-
background: var(--bg-
|
|
1439
|
+
background: var(--bg-card);
|
|
1415
1440
|
color: var(--text);
|
|
1416
1441
|
}
|
|
1417
1442
|
body .mat-divider {
|
|
@@ -1421,7 +1446,7 @@ body .mat-divider-vertical {
|
|
|
1421
1446
|
border-right-color: var(--divider);
|
|
1422
1447
|
}
|
|
1423
1448
|
body .mat-expansion-panel {
|
|
1424
|
-
background: var(--bg-
|
|
1449
|
+
background: var(--bg-card);
|
|
1425
1450
|
color: var(--text);
|
|
1426
1451
|
}
|
|
1427
1452
|
body .mat-expansion-panel:not([class*=mat-elevation-z]) {
|
|
@@ -1435,7 +1460,7 @@ body .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([
|
|
|
1435
1460
|
}
|
|
1436
1461
|
@media (hover: none) {
|
|
1437
1462
|
body .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover {
|
|
1438
|
-
background: var(--bg-
|
|
1463
|
+
background: var(--bg-card);
|
|
1439
1464
|
}
|
|
1440
1465
|
}
|
|
1441
1466
|
body .mat-expansion-panel-header-title {
|
|
@@ -1637,7 +1662,7 @@ body .mat-list-single-selected-option, body .mat-list-single-selected-option:hov
|
|
|
1637
1662
|
background: var(--bg-hover);
|
|
1638
1663
|
}
|
|
1639
1664
|
body .mat-menu-panel {
|
|
1640
|
-
background: var(--bg-
|
|
1665
|
+
background: var(--bg-card);
|
|
1641
1666
|
}
|
|
1642
1667
|
body .mat-menu-panel:not([class*=mat-elevation-z]) {
|
|
1643
1668
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
@@ -1661,7 +1686,7 @@ body .mat-menu-item-highlighted:not([disabled]) {
|
|
|
1661
1686
|
background: var(--bg-hover);
|
|
1662
1687
|
}
|
|
1663
1688
|
body .mat-paginator {
|
|
1664
|
-
background: var(--bg-
|
|
1689
|
+
background: var(--bg-card);
|
|
1665
1690
|
}
|
|
1666
1691
|
body .mat-paginator,
|
|
1667
1692
|
body .mat-paginator-page-size .mat-select-trigger {
|
|
@@ -1773,7 +1798,7 @@ body .mat-select-arrow {
|
|
|
1773
1798
|
color: var(--text-secondary);
|
|
1774
1799
|
}
|
|
1775
1800
|
body .mat-select-panel {
|
|
1776
|
-
background: var(--bg-
|
|
1801
|
+
background: var(--bg-card);
|
|
1777
1802
|
}
|
|
1778
1803
|
body .mat-select-panel:not([class*=mat-elevation-z]) {
|
|
1779
1804
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
@@ -1797,15 +1822,15 @@ body .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow {
|
|
|
1797
1822
|
color: var(--text-disabled);
|
|
1798
1823
|
}
|
|
1799
1824
|
body .mat-drawer-container {
|
|
1800
|
-
background-color: var(--bg-
|
|
1825
|
+
background-color: var(--bg-app);
|
|
1801
1826
|
color: var(--text);
|
|
1802
1827
|
}
|
|
1803
1828
|
body .mat-drawer {
|
|
1804
|
-
background-color: var(--bg-
|
|
1829
|
+
background-color: var(--bg-card);
|
|
1805
1830
|
color: var(--text);
|
|
1806
1831
|
}
|
|
1807
1832
|
body .mat-drawer.mat-drawer-push {
|
|
1808
|
-
background-color: var(--bg-
|
|
1833
|
+
background-color: var(--bg-card);
|
|
1809
1834
|
}
|
|
1810
1835
|
body .mat-drawer:not(.mat-drawer-side) {
|
|
1811
1836
|
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
|
|
@@ -1826,7 +1851,7 @@ body [dir=rtl] .mat-drawer-side.mat-drawer-end {
|
|
|
1826
1851
|
border-right: solid 1px var(--divider);
|
|
1827
1852
|
}
|
|
1828
1853
|
body .mat-drawer-backdrop.mat-drawer-shown {
|
|
1829
|
-
background-color: var(--bg-
|
|
1854
|
+
background-color: var(--bg-card);
|
|
1830
1855
|
opacity: 0.6;
|
|
1831
1856
|
}
|
|
1832
1857
|
body .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
|
|
@@ -2002,7 +2027,7 @@ body .mat-step-header .mat-step-label.mat-step-label-error {
|
|
|
2002
2027
|
color: #f44336;
|
|
2003
2028
|
}
|
|
2004
2029
|
body .mat-stepper-horizontal, body .mat-stepper-vertical {
|
|
2005
|
-
background-color: var(--bg-
|
|
2030
|
+
background-color: var(--bg-card);
|
|
2006
2031
|
}
|
|
2007
2032
|
body .mat-stepper-vertical-line::before {
|
|
2008
2033
|
border-left-color: var(--divider);
|
|
@@ -2214,7 +2239,7 @@ body .mat-tab-nav-bar.mat-background-warn > .mat-tab-header-pagination .mat-ripp
|
|
|
2214
2239
|
background-color: rgba(255, 255, 255, 0.12);
|
|
2215
2240
|
}
|
|
2216
2241
|
body .mat-toolbar {
|
|
2217
|
-
background: var(--bg-
|
|
2242
|
+
background: var(--bg-card);
|
|
2218
2243
|
color: var(--text);
|
|
2219
2244
|
}
|
|
2220
2245
|
body .mat-toolbar.mat-primary {
|
|
@@ -2265,7 +2290,7 @@ body .mat-tooltip {
|
|
|
2265
2290
|
background: var(--bg-overlay);
|
|
2266
2291
|
}
|
|
2267
2292
|
body .mat-tree {
|
|
2268
|
-
background: var(--bg-
|
|
2293
|
+
background: var(--bg-card);
|
|
2269
2294
|
}
|
|
2270
2295
|
body .mat-tree-node,
|
|
2271
2296
|
body .mat-nested-tree-node {
|
|
@@ -4529,27 +4554,12 @@ mat-form-field {
|
|
|
4529
4554
|
background: inherit;
|
|
4530
4555
|
}
|
|
4531
4556
|
|
|
4532
|
-
body .sto-form__field .mat-form-field-flex:hover {
|
|
4533
|
-
background-color: rgba(102, 135, 184, 0.15);
|
|
4534
|
-
}
|
|
4535
4557
|
body .sto-form__field .mat-form-field-wrapper .mat-form-field-underline {
|
|
4536
4558
|
background-color: var(--divider);
|
|
4537
4559
|
}
|
|
4538
|
-
body .sto-form__field--readonly .mat-form-field-flex:hover {
|
|
4539
|
-
background-color: transparent;
|
|
4540
|
-
}
|
|
4541
|
-
body .sto-form__field--readonly .mat-form-field-flex:hover + .mat-form-field-underline {
|
|
4542
|
-
background-color: transparent;
|
|
4543
|
-
}
|
|
4544
4560
|
body .sto-form__field--disabled {
|
|
4545
4561
|
color: var(--text-disabled);
|
|
4546
4562
|
}
|
|
4547
|
-
body .sto-form__field--disabled .mat-form-field-flex:hover {
|
|
4548
|
-
background-color: var(--text-disabled);
|
|
4549
|
-
}
|
|
4550
|
-
body .sto-form__field--disabled .mat-form-field-flex:hover + .mat-form-field-underline {
|
|
4551
|
-
background-color: transparent;
|
|
4552
|
-
}
|
|
4553
4563
|
body .sto-form__field--disabled .mat-form-field-flex {
|
|
4554
4564
|
color: var(--text-disabled);
|
|
4555
4565
|
}
|
|
@@ -4636,7 +4646,7 @@ body .sto-form__field--disabled .mat-select.mat-select-disabled .mat-select-arro
|
|
|
4636
4646
|
.sto-form__field .mat-form-field-flex {
|
|
4637
4647
|
padding: 6px;
|
|
4638
4648
|
border-radius: 4px;
|
|
4639
|
-
background-color:
|
|
4649
|
+
background-color: var(--bg-light);
|
|
4640
4650
|
align-items: center;
|
|
4641
4651
|
}
|
|
4642
4652
|
.sto-form__field .mat-form-field-flex .mat-icon-button .mat-datepicker-toggle-default-icon {
|
|
@@ -4819,6 +4829,8 @@ body:not(.sto-dark-theme) {
|
|
|
4819
4829
|
--text-disabled: #BEBEBE;
|
|
4820
4830
|
--divider: #DCDCDC;
|
|
4821
4831
|
--bg-default: #FFFFFF;
|
|
4832
|
+
--bg-app: #F7F7F7;
|
|
4833
|
+
--bg-card: #FFFFFF;
|
|
4822
4834
|
--bg-semi-transparent: rgba(255, 255, 255, 0.2);
|
|
4823
4835
|
--bg-light: #F7F7F7;
|
|
4824
4836
|
--bg-medium: #DCDCDC;
|
|
@@ -4879,6 +4891,8 @@ body.sto-dark-theme {
|
|
|
4879
4891
|
--text-disabled: #637583;
|
|
4880
4892
|
--divider: #3E4F5C;
|
|
4881
4893
|
--bg-default: #132634;
|
|
4894
|
+
--bg-app: #132634;
|
|
4895
|
+
--bg-card: #243746;
|
|
4882
4896
|
--bg-semi-transparent: rgba(255, 255, 255, 0.16);
|
|
4883
4897
|
--bg-light: #2E3F4D;
|
|
4884
4898
|
--bg-medium: #243746;
|
package/package.json
CHANGED
package/style/form/sto-form.scss
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
@import "../theme/theme";
|
|
2
2
|
@import "../theme/typography";
|
|
3
3
|
|
|
4
|
-
@mixin mat-input-hover-effect($background-color, $underline-color) {
|
|
5
|
-
.mat-form-field-flex {
|
|
6
|
-
&:hover {
|
|
7
|
-
background-color: $background-color;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&:hover + .mat-form-field-underline {
|
|
11
|
-
background-color: $underline-color;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
4
|
@mixin sto-form-theme($theme, $variables) {
|
|
17
5
|
$color: map_get($variables, color);
|
|
18
6
|
$secondary-color: map_get($variables, secondary);
|
|
@@ -23,19 +11,12 @@
|
|
|
23
11
|
|
|
24
12
|
.sto-form {
|
|
25
13
|
&__field {
|
|
26
|
-
@include mat-input-hover-effect(rgba(#6687B8, 0.15), $border-hover);
|
|
27
|
-
|
|
28
14
|
.mat-form-field-wrapper .mat-form-field-underline {
|
|
29
15
|
background-color: $border;
|
|
30
16
|
}
|
|
31
17
|
}
|
|
32
18
|
|
|
33
|
-
&__field--readonly {
|
|
34
|
-
@include mat-input-hover-effect(transparent, transparent);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
19
|
&__field--disabled {
|
|
38
|
-
@include mat-input-hover-effect($disabled-color, transparent);
|
|
39
20
|
color: $disabled-color;
|
|
40
21
|
|
|
41
22
|
.mat-form-field-flex {
|
|
@@ -56,7 +37,7 @@ body {
|
|
|
56
37
|
@include sto-form-theme($sto-theme, $variables);
|
|
57
38
|
}
|
|
58
39
|
|
|
59
|
-
$form-field-bg:
|
|
40
|
+
$form-field-bg: var(--bg-light);
|
|
60
41
|
$border-radius: 4px;
|
|
61
42
|
$height: 72px;
|
|
62
43
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin sto-action-footer-theme($theme, $variables) {
|
|
5
5
|
$border-color: map_get($variables, border-color);
|
|
6
|
-
$background-color: map_get($variables,
|
|
6
|
+
$background-color: map_get($variables, background);
|
|
7
7
|
|
|
8
8
|
.sto-action-footer {
|
|
9
9
|
background-color: $background-color;
|
package/style/theme/_colors.scss
CHANGED
|
@@ -147,13 +147,13 @@ $theme-fg: (
|
|
|
147
147
|
);
|
|
148
148
|
|
|
149
149
|
$theme-bg: (
|
|
150
|
-
app-bar: var(--bg-
|
|
151
|
-
background: var(--bg-
|
|
150
|
+
app-bar: var(--bg-card),
|
|
151
|
+
background: var(--bg-app),
|
|
152
152
|
hover: var(--bg-hover),
|
|
153
|
-
card: var(--bg-
|
|
154
|
-
dialog: var(--bg-
|
|
153
|
+
card: var(--bg-card),
|
|
154
|
+
dialog: var(--bg-card),
|
|
155
155
|
disabled-button: var(--bg-disabled),
|
|
156
|
-
raised-button: var(--bg-
|
|
156
|
+
raised-button: var(--bg-card),
|
|
157
157
|
focused-button: var(--bg-focus),
|
|
158
158
|
selected-button: var(--bg-light),
|
|
159
159
|
selected-disabled-button: var(--bg-disabled),
|
|
@@ -15,17 +15,48 @@
|
|
|
15
15
|
|
|
16
16
|
.sto-filter.mat-expansion-panel {
|
|
17
17
|
.mat-expansion-panel-header {
|
|
18
|
+
background-color: $background-color;
|
|
18
19
|
|
|
19
20
|
&[aria-disabled=true] {
|
|
20
21
|
color: $color;
|
|
21
22
|
}
|
|
22
|
-
}
|
|
23
23
|
|
|
24
|
+
.mat-icon-button, .mat-button {
|
|
25
|
+
color: $icon-color;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: $icon-hover;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
|
|
33
|
+
background-color: transparent;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.mat-button-toggle-standalone.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
|
|
37
|
+
background-color: $selected-color;
|
|
38
|
+
}
|
|
24
39
|
|
|
25
|
-
|
|
26
|
-
|
|
40
|
+
&:not(.mat-expanded) {
|
|
41
|
+
border-bottom: solid 1px $border-color;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.mat-expanded:hover {
|
|
45
|
+
// Y THO? Looks shit.
|
|
46
|
+
//background-color: $hover-color;
|
|
47
|
+
background-color: $background-color;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.mat-expanded:focus {
|
|
51
|
+
// Y THO? Looks shit.
|
|
52
|
+
//background-color: $selected-color;
|
|
53
|
+
background-color: $background-color;
|
|
54
|
+
}
|
|
27
55
|
}
|
|
28
56
|
|
|
57
|
+
.separator {
|
|
58
|
+
background-color: $border-color;
|
|
59
|
+
}
|
|
29
60
|
}
|
|
30
61
|
|
|
31
62
|
}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
@use '~@angular/material' as mat;
|
|
2
2
|
@import "theme";
|
|
3
3
|
@import "typography";
|
|
4
|
-
|
|
5
|
-
$ship-cove-10: rgba($ship-cove, 0.1);
|
|
6
|
-
$black: #000000;
|
|
7
|
-
$black-4: rgba($black, 0.04);
|
|
8
|
-
$black-8: rgba($black, 0.08);
|
|
9
|
-
$black-12: rgba($black, 0.12);
|
|
4
|
+
|
|
10
5
|
@mixin sto-input-override-theme($theme, $variables) {
|
|
11
6
|
$color: map_get($variables, color);
|
|
12
|
-
$
|
|
13
|
-
$form-field-bg: $ship-cove-10;
|
|
14
|
-
$underline-color: $black-12;
|
|
15
|
-
$hover-bg: map_get($variables, hover-color);
|
|
7
|
+
$form-field-bg: var(--bg-light);
|
|
16
8
|
$border-radius: 4px;
|
|
17
9
|
$icon-color: map_get($variables, icon);
|
|
18
10
|
$icon-hover: map_get($variables, icon-hover);
|
|
@@ -47,8 +39,7 @@ $black-12: rgba($black, 0.12);
|
|
|
47
39
|
background-color: transparent;
|
|
48
40
|
}
|
|
49
41
|
|
|
50
|
-
.mat-form-field-flex:hover
|
|
51
|
-
background-color: $black-12;
|
|
42
|
+
.mat-form-field-flex:hover ~ .mat-form-field-underline {
|
|
52
43
|
}
|
|
53
44
|
|
|
54
45
|
&.mat-focused .mat-form-field-infix .mat-form-field-label {
|