Pony.fm/app/styles/forms.less

72 lines
930 B
Text
Raw Normal View History

2015-04-12 03:22:15 +02:00
@import "base/bootstrap/bootstrap";
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
.form-row {
margin-bottom: 10px;
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
.error {
.alert();
.alert-error();
2013-07-28 23:51:35 +02:00
2013-08-13 07:11:14 +02:00
display: none;
padding: 3px;
font-size: 8pt;
2013-07-28 19:45:21 +02:00
}
.alert {
2013-08-13 07:11:14 +02:00
padding: 3px;
font-size: 8pt;
2013-07-28 19:45:21 +02:00
}
2013-08-13 07:11:14 +02:00
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
.has-error {
label {
color: @red;
2013-07-28 19:45:21 +02:00
}
2013-08-13 07:11:14 +02:00
.error {
display: block;
2013-07-28 19:45:21 +02:00
}
2013-08-13 07:11:14 +02:00
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
label.strong {
font-size: 8pt;
font-weight: bold;
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
input[type="text"], input[type="password"], input[type="date"], textarea {
padding: 3px;
border: 1px solid;
border-color: #9c9c9c #9c9c9c #ccc #ccc;
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
input[type="text"], input[type="password"], input[type="date"], textarea, select {
.border-radius(0px);
.box-sizing(border-box);
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
display: block;
font-size: 12px;
width: 100%;
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
&:focus {
.box-shadow(none);
2013-07-28 19:45:21 +02:00
}
2013-08-13 07:11:14 +02:00
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
select {
height: auto;
line-height: normal;
padding: 0px;
}
2013-07-28 19:45:21 +02:00
2013-08-13 07:11:14 +02:00
label {
input[type="checkbox"] {
margin: 0px;
margin-top: -2px;
vertical-align: middle;
2013-07-28 19:45:21 +02:00
}
2013-08-13 07:11:14 +02:00
}
textarea {
height: 60px;
}