@dontdrinkandroot/ngx-material-extensions 0.3.0 → 0.3.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/_extensions.scss +6 -39
- package/_theme.scss +16 -5
- package/package.json +1 -1
package/_extensions.scss
CHANGED
|
@@ -63,7 +63,7 @@ body {
|
|
|
63
63
|
|
|
64
64
|
height: $ddr-mat-fab-height;
|
|
65
65
|
|
|
66
|
-
.mat-fab {
|
|
66
|
+
.mat-mdc-fab {
|
|
67
67
|
position: fixed !important;
|
|
68
68
|
right: 0;
|
|
69
69
|
bottom: 0;
|
|
@@ -86,48 +86,15 @@ body {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.mat-card {
|
|
90
|
-
.mat-list-item-content {
|
|
91
|
-
padding-left: 0 !important;
|
|
92
|
-
padding-right: 0 !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.mat-card-content {
|
|
96
|
-
.mat-nav-list, .mat-list {
|
|
97
|
-
@extend .pt-0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
89
|
ddr-filter {
|
|
103
90
|
|
|
104
|
-
|
|
105
|
-
font-size: 14px;
|
|
106
|
-
|
|
107
|
-
.mat-form-field {
|
|
91
|
+
width: 100%;
|
|
108
92
|
|
|
93
|
+
.mat-mdc-form-field {
|
|
109
94
|
width: 100%;
|
|
95
|
+
}
|
|
110
96
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@media (prefers-color-scheme: dark) {
|
|
116
|
-
.mat-form-field-outline {
|
|
117
|
-
background-color: #424242;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.mat-form-field-wrapper {
|
|
122
|
-
padding-bottom: 0;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.mat-form-field-infix {
|
|
126
|
-
border-block-start-width: 5px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.mat-input-element {
|
|
130
|
-
font-size: 16px;
|
|
131
|
-
}
|
|
97
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
98
|
+
display: none;
|
|
132
99
|
}
|
|
133
100
|
}
|
package/_theme.scss
CHANGED
|
@@ -5,13 +5,24 @@
|
|
|
5
5
|
$ddr-mat-primary-light: mat.define-palette(mat.$blue-palette, 700, 600, 800) !default;
|
|
6
6
|
$ddr-mat-primary-dark: mat.define-palette(mat.$blue-palette, 600, 500, 700) !default;
|
|
7
7
|
$ddr-mat-accent: mat.define-palette(mat.$pink-palette) !default;
|
|
8
|
-
$
|
|
8
|
+
$typography: mat.define-typography-config() !default;
|
|
9
9
|
|
|
10
|
-
$ddr-mat-light-theme: mat.define-light-theme(
|
|
11
|
-
|
|
10
|
+
$ddr-mat-light-theme: mat.define-light-theme((
|
|
11
|
+
color: (
|
|
12
|
+
primary: $ddr-mat-primary-light,
|
|
13
|
+
accent: $ddr-mat-accent,
|
|
14
|
+
),
|
|
15
|
+
typography: $typography
|
|
16
|
+
)) !default;
|
|
17
|
+
$ddr-mat-dark-theme: mat.define-dark-theme((
|
|
18
|
+
color: (
|
|
19
|
+
primary: $ddr-mat-primary-dark,
|
|
20
|
+
accent: $ddr-mat-accent,
|
|
21
|
+
),
|
|
22
|
+
typography: $typography
|
|
23
|
+
)) !default;
|
|
12
24
|
|
|
13
25
|
@include mat.all-component-themes($ddr-mat-light-theme);
|
|
14
|
-
|
|
15
26
|
@media (prefers-color-scheme: dark) {
|
|
16
|
-
@include mat.all-component-
|
|
27
|
+
@include mat.all-component-colors($ddr-mat-dark-theme);
|
|
17
28
|
}
|