material.less
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
input[type=text], input[type=password], input[type=email], input[type=url], input[type=time], input[type=date], input[type=datetime-local], input[type=tel], input[type=number], input[type=search] {
height: 2.2rem;
width: 100%;
font-size: 1.15rem;
}
.input-field label {
top: .6rem;
left: 0;
font-size: 1.15rem;
opacity: 1;
color: #b8b8b8;
&.active {
font-size: .8rem;
-webkit-transform: translateY(-160%);
-moz-transform: translateY(-160%);
-ms-transform: translateY(-160%);
-o-transform: translateY(-160%);
transform: translateY(-160%);
}
}
.input-field {
position: relative;
margin-top: 1.6rem;
}
.switch label .lever {
margin-left: 0;
}
.switch.margin {
margin-top: 20px;
}
.progress {
position: relative;
height: 4px;
display: block;
width: 100%;
background-color: #90caf9;
border-radius: 2px;
margin: 0.5rem 0 1rem 0;
overflow: hidden;
.determinate {
position: absolute;
background-color: inherit;
top: 0;
bottom: 0;
background-color: #209bde;
-webkit-transition: width .3s linear;
-moz-transition: width .3s linear;
-o-transition: width .3s linear;
-ms-transition: width .3s linear;
transition: width .3s linear;
}
}
.materialize-textarea-big {
textarea.materialize-textarea {
font-size: 1.14rem;
overflow-y: hidden;
padding: 0;
resize: none;
min-height: 3rem;
margin: 0;
}
label.active {
top: 0;
}
}
[type=checkbox].filled-in:checked + label.imaged:before {
top: 15px;
}
[type=checkbox].filled-in:checked + label.imaged:after {
top: 15px;
}
[type=checkbox].filled-in:not(:checked) + label.imaged:after {
top: 15px;
}
label.imaged {
img{
height: 50px;
}
}