blob: 95ed3872238266bb6f153b62a0371ed70ed80e82 (
plain) (
blame)
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
|
// Forms
.form-group:not(:last-child) {
margin-bottom: 1rem;
}
form,
.form-group {
.label {
display: block;
margin-bottom: .5rem;
}
}
.input {
position: relative;
display: block;
width: 100%;
max-width: 100%;
height: 3.2rem;
background-color: #fff;
background-image: none;
border: .1rem solid @control-color;
border-radius: 3px;
color: @body-font-color;
font-size: 1.4rem;
line-height: 1.6rem;
padding: .7rem .8rem;
-webkit-appearance: none;
outline: 0;
&:focus {
border-color: @core-color;
}
&[disabled] {
opacity: .75;
background-color: #eeeff2;
pointer-events: none;
}
// Input Small
&.input-sm {
height: 2.4rem;
border-radius: 2px;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem .6rem;
}
// Input Large
&.input-lg {
height: 4.2rem;
border-radius: 4px;
font-size: 1.8rem;
line-height: 2rem;
padding: 1rem 1.2rem;
}
// Input Inlines
&.input-inline {
width: auto;
display: inline-block;
}
// Status
&.is-success {
border-color: @control-color-success;
}
&.is-danger {
border-color: @control-color-danger;
}
// TODO: Input with icons
}
|