Skip to content

Commit 6d07507

Browse files
Re-compile with expanded style
1 parent 3dcfa52 commit 6d07507

File tree

1 file changed

+55
-45
lines changed

1 file changed

+55
-45
lines changed

dist/bootstrap-float-label.css

Lines changed: 55 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,59 @@
11
.has-float-label {
22
display: block;
3-
position: relative; }
4-
.has-float-label label, .has-float-label > span {
5-
position: absolute;
6-
left: 0;
7-
top: 0;
8-
cursor: text;
9-
font-size: 75%;
10-
opacity: 1;
11-
-webkit-transition: all .2s;
12-
transition: all .2s;
13-
top: -.5em;
14-
left: 0.75rem;
15-
z-index: 3;
16-
line-height: 1;
17-
padding: 0 1px; }
18-
.has-float-label label::after, .has-float-label > span::after {
19-
content: " ";
20-
display: block;
21-
position: absolute;
22-
background: white;
23-
height: 2px;
24-
top: 50%;
25-
left: -.2em;
26-
right: -.2em;
27-
z-index: -1; }
28-
.has-float-label .form-control::-webkit-input-placeholder {
29-
opacity: 1;
30-
-webkit-transition: all .2s;
31-
transition: all .2s; }
32-
.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
33-
opacity: 0; }
34-
.has-float-label .form-control:placeholder-shown:not(:focus) + * {
35-
font-size: 150%;
36-
opacity: .5;
37-
top: .3em; }
3+
position: relative;
4+
}
5+
.has-float-label label, .has-float-label > span {
6+
position: absolute;
7+
left: 0;
8+
top: 0;
9+
cursor: text;
10+
font-size: 75%;
11+
opacity: 1;
12+
-webkit-transition: all .2s;
13+
transition: all .2s;
14+
top: -.5em;
15+
left: 0.75rem;
16+
z-index: 3;
17+
line-height: 1;
18+
padding: 0 1px;
19+
}
20+
.has-float-label label::after, .has-float-label > span::after {
21+
content: " ";
22+
display: block;
23+
position: absolute;
24+
background: white;
25+
height: 2px;
26+
top: 50%;
27+
left: -.2em;
28+
right: -.2em;
29+
z-index: -1;
30+
}
31+
.has-float-label .form-control::-webkit-input-placeholder {
32+
opacity: 1;
33+
-webkit-transition: all .2s;
34+
transition: all .2s;
35+
}
36+
.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
37+
opacity: 0;
38+
}
39+
.has-float-label .form-control:placeholder-shown:not(:focus) + * {
40+
font-size: 150%;
41+
opacity: .5;
42+
top: .3em;
43+
}
3844

3945
.input-group .has-float-label {
40-
display: table-cell; }
41-
.input-group .has-float-label .form-control {
42-
border-radius: 0.25rem; }
43-
.input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
44-
border-bottom-right-radius: 0;
45-
border-top-right-radius: 0;
46-
border-right: 0; }
47-
.input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
48-
border-bottom-left-radius: 0;
49-
border-top-left-radius: 0; }
46+
display: table-cell;
47+
}
48+
.input-group .has-float-label .form-control {
49+
border-radius: 0.25rem;
50+
}
51+
.input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
52+
border-bottom-right-radius: 0;
53+
border-top-right-radius: 0;
54+
border-right: 0;
55+
}
56+
.input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
57+
border-bottom-left-radius: 0;
58+
border-top-left-radius: 0;
59+
}

0 commit comments

Comments
 (0)