@coolon/angular-ui-powerups 12.4.0-alpha.35 → 12.4.0-alpha.36
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.
|
@@ -7,27 +7,38 @@
|
|
|
7
7
|
display: inline-block;
|
|
8
8
|
|
|
9
9
|
.content {
|
|
10
|
-
|
|
10
|
+
position: relative;
|
|
11
11
|
display: grid;
|
|
12
12
|
grid-template-areas: "label edit-control" "content edit-control";
|
|
13
13
|
grid-template-columns: 1fr auto;
|
|
14
|
-
grid-template-rows:
|
|
14
|
+
grid-template-rows: auto;
|
|
15
15
|
|
|
16
16
|
font-size: typography-utils.font-size($typography-config, input);
|
|
17
17
|
|
|
18
|
+
//box-sizing: border-box;
|
|
19
|
+
// copied from mat input...
|
|
20
|
+
border-top: 0.84375em solid transparent;
|
|
21
|
+
padding-bottom: 1.34375em;
|
|
22
|
+
|
|
23
|
+
$top-padding-tweak: 1px;
|
|
24
|
+
padding-top: $top-padding-tweak;
|
|
25
|
+
|
|
18
26
|
> label {
|
|
19
|
-
|
|
20
|
-
|
|
27
|
+
position: absolute;
|
|
28
|
+
transform: translateY(-100%);
|
|
21
29
|
@include mixins.floating-label-style();
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
> p {
|
|
25
33
|
grid-area: content;
|
|
26
34
|
@include typography-utils.typography-level($typography-config, input);
|
|
35
|
+
|
|
36
|
+
// copied from mat input...
|
|
37
|
+
padding: 0.5em 0;
|
|
38
|
+
margin: -0.0625em 0 0 0;
|
|
39
|
+
|
|
27
40
|
box-sizing: border-box;
|
|
28
41
|
flex: 1;
|
|
29
|
-
padding: 0.2857em 0 0 0; // bump our top padding to align with the text input padding (it's a guess at this point...)
|
|
30
|
-
margin: 0;
|
|
31
42
|
|
|
32
43
|
&.editing-enabled {
|
|
33
44
|
cursor: pointer;
|