@onemrvapublic/design-system-theme 17.8.2 → 17.8.4
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/components/_button.scss +18 -4
- package/components/_input.scss +19 -20
- package/package.json +1 -1
package/components/_button.scss
CHANGED
|
@@ -95,16 +95,24 @@
|
|
|
95
95
|
text-decoration: none;
|
|
96
96
|
.mat-icon {
|
|
97
97
|
padding: 0;
|
|
98
|
-
margin: 0 $spacer 0
|
|
98
|
+
margin: 0 $spacer 0 -8px;
|
|
99
99
|
line-height: 21px;
|
|
100
100
|
height: 21px;
|
|
101
|
-
width: 2 * $spacer;
|
|
102
101
|
vertical-align: top;
|
|
103
102
|
text-align: center;
|
|
104
103
|
}
|
|
104
|
+
&.onemrva-icon-right {
|
|
105
|
+
padding-right: 4 * $spacer;
|
|
106
|
+
mat-icon:last-of-type {
|
|
107
|
+
position: absolute;
|
|
108
|
+
float: right;
|
|
109
|
+
display: inline-block;
|
|
110
|
+
right: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
105
113
|
&.small {
|
|
106
114
|
border-radius: 500px;
|
|
107
|
-
padding: 2px
|
|
115
|
+
padding: 2px 12px;
|
|
108
116
|
font-size: 14px;
|
|
109
117
|
line-height: 21px;
|
|
110
118
|
font-weight: 400;
|
|
@@ -114,9 +122,15 @@
|
|
|
114
122
|
font-size: 14px;
|
|
115
123
|
line-height: 21px;
|
|
116
124
|
height: 21px;
|
|
117
|
-
width:
|
|
125
|
+
width: 12px;
|
|
118
126
|
padding: 0;
|
|
119
127
|
}
|
|
128
|
+
&.onemrva-icon-right {
|
|
129
|
+
padding-right: 28px;
|
|
130
|
+
mat-icon {
|
|
131
|
+
padding-right: 4px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
120
134
|
}
|
|
121
135
|
&.choice-btn {
|
|
122
136
|
height: 36px;
|
package/components/_input.scss
CHANGED
|
@@ -28,12 +28,14 @@
|
|
|
28
28
|
@include mat.input-base($theme);
|
|
29
29
|
@include mat.input-theme($theme);
|
|
30
30
|
|
|
31
|
-
.mat-mdc-text-field-wrapper.mdc-text-field--outlined
|
|
32
|
-
.mdc-notched-outline--upgraded
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined {
|
|
32
|
+
.mdc-notched-outline--upgraded {
|
|
33
|
+
.mdc-floating-label--float-above {
|
|
34
|
+
--mat-mdc-form-field-label-transform: translateY(
|
|
35
|
+
calc(calc(10px + var(--mat-form-field-container-height) / 2) * -1)
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
.mat-mdc-form-field {
|
|
@@ -53,12 +55,6 @@
|
|
|
53
55
|
color: µ.grayscale($theme, 900);
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
.mat-mdc-text-field-wrapper
|
|
57
|
-
.mat-mdc-form-field-flex
|
|
58
|
-
.mat-mdc-floating-label {
|
|
59
|
-
//top: 25px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
58
|
.mat-mdc-form-field-hint-spacer {
|
|
63
59
|
display: none;
|
|
64
60
|
}
|
|
@@ -115,10 +111,12 @@
|
|
|
115
111
|
&.mat-form-field-onemrva-warning {
|
|
116
112
|
&.mat-focused,
|
|
117
113
|
&:hover {
|
|
118
|
-
.mat-mdc-text-field-wrapper
|
|
119
|
-
.mat-mdc-form-field-flex
|
|
120
|
-
|
|
121
|
-
|
|
114
|
+
.mat-mdc-text-field-wrapper {
|
|
115
|
+
.mat-mdc-form-field-flex {
|
|
116
|
+
.mat-mdc-floating-label {
|
|
117
|
+
left: 3px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
|
|
@@ -256,10 +254,11 @@
|
|
|
256
254
|
}
|
|
257
255
|
}
|
|
258
256
|
|
|
259
|
-
.mat-mdc-text-field-wrapper.mdc-text-field--outlined
|
|
257
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined {
|
|
260
258
|
.mat-mdc-form-field-infix {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
259
|
+
padding: 8px 0;
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
}
|
|
264
263
|
}
|
|
265
264
|
}
|