2015-10-15 18:24:32 +02:00
|
|
|
*:focus {
|
2019-01-08 11:52:31 +01:00
|
|
|
outline: 0;
|
2015-10-15 18:24:32 +02:00
|
|
|
}
|
|
|
|
|
2017-08-25 18:11:48 +02:00
|
|
|
input,
|
|
|
|
select,
|
2015-04-01 18:32:10 +02:00
|
|
|
textarea {
|
2019-01-08 11:52:31 +01:00
|
|
|
background-color: $base-background-colour;
|
|
|
|
border: solid 1px $base-colour;
|
|
|
|
border-radius: 0;
|
|
|
|
color: $base-colour;
|
|
|
|
line-height: $base-spacing-unit * 1.5;
|
|
|
|
height: $base-spacing-unit * 1.5;
|
|
|
|
padding: 0 #{$base-spacing-unit / 2};
|
|
|
|
width: 100%;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
2017-08-25 18:11:48 +02:00
|
|
|
input[type="checkbox"],
|
2015-04-01 18:32:10 +02:00
|
|
|
input[type="radio"] {
|
2019-01-08 11:52:31 +01:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
line-height: normal;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="file"] {
|
2019-01-08 11:52:31 +01:00
|
|
|
line-height: normal;
|
|
|
|
height: auto;
|
|
|
|
padding: #{$base-spacing-unit / 4} #{$base-spacing-unit / 2};
|
2015-10-15 18:24:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"] {
|
2019-01-08 11:52:31 +01:00
|
|
|
border-radius: 0;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[disabled] {
|
2019-01-08 11:52:31 +01:00
|
|
|
background-color: whitesmoke;
|
|
|
|
cursor: not-allowed;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2019-01-08 11:52:31 +01:00
|
|
|
line-height: normal;
|
|
|
|
padding: 0;
|
|
|
|
padding-left: $base-spacing-unit / 2;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
2019-01-08 11:52:31 +01:00
|
|
|
min-height: $base-spacing-unit * 4;
|
|
|
|
overflow: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
resize: vertical;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-08-25 18:11:48 +02:00
|
|
|
|
2015-04-01 18:32:10 +02:00
|
|
|
/**
|
|
|
|
* Form utility classes
|
|
|
|
*/
|
2017-08-25 18:11:48 +02:00
|
|
|
|
2019-01-08 11:52:31 +01:00
|
|
|
.form--inline {
|
|
|
|
.form__group {
|
|
|
|
display: inline-block;
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
2019-01-08 11:52:31 +01:00
|
|
|
}
|
2017-08-25 18:11:48 +02:00
|
|
|
|
2019-01-08 11:52:31 +01:00
|
|
|
.form {
|
|
|
|
.form__group {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: $base-spacing-unit;
|
|
|
|
.form__label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: ($base-spacing-unit / 2);
|
|
|
|
}
|
2015-04-01 18:32:10 +02:00
|
|
|
}
|
2019-01-08 11:52:31 +01:00
|
|
|
}
|