Newer
Older
//
// # Forms
//
// No styleguide reference.
.InputBox,
.TextBox,
&:focus {
&:extend(.form-control:focus);
}
// Placeholder
.placeholder();
&[disabled],
&[readonly],
fieldset[disabled] & {
&:extend(.form-control[disabled]);
}
}
min-height: 100px;
&:extend(textarea.form-control);
}
height: @input-height-base;
min-height: @input-height-base;
&:extend(textarea.form-control);
}
form {
label {
display: block;
}
ul,
ol {
padding: 0;
list-style: none;
}
}
form ul:not(.List) li,
form .P {
&:extend(.form-group);
}
.RadioLabel,
.CheckBoxLabel {
font-weight: normal;
cursor: pointer;
&:extend(.radio);
}
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
90
91
92
93
94
95
96
.RadioLabel {
input[type="radio"] {
&:extend(.radio input[type="radio"]);
}
}
.CheckBoxLabel {
input[type="checkbox"] {
&:extend(.radio input[type="radio"]);
}
}
.icheck-label {
padding-left: 0;
}
.iradio,
.icheckbox {
display: inline-block;
min-width: 1em;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1;
text-align: center;
cursor: pointer;
&:before {
color: @text-muted;
}
&:hover,
.icheck-label:hover &,
.icheck-label:focus & {
&:before {
color: @link-color;
}
}
}
.iradio {
&:before {
}
&.checked:before {
content: @fa-var-check-circle;
}
}
.icheckbox {
&:before {
content: @fa-var-square;
}
&.checked:before {
content: @fa-var-check-square;
}