76 lines
1.3 KiB
SCSS
Executable File
76 lines
1.3 KiB
SCSS
Executable File
*:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
background-color: map-get($colors, 'background');
|
|
border: solid 1px map-get($colors, 'base');
|
|
border-radius: 0;
|
|
color: map-get($colors, 'base');
|
|
line-height: $base-spacing-unit * 1.5;
|
|
height: $base-spacing-unit * 1.5;
|
|
padding: 0 #{$base-spacing-unit * 0.5};
|
|
width: 100%;
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
input[type="radio"] {
|
|
background: transparent;
|
|
border: 0;
|
|
line-height: normal;
|
|
height: auto;
|
|
width: auto;
|
|
}
|
|
|
|
input[type="file"] {
|
|
line-height: normal;
|
|
height: auto;
|
|
padding: #{$base-spacing-unit * 0.25} #{$base-spacing-unit * 0.5};
|
|
}
|
|
|
|
input[type="submit"] {
|
|
border-radius: 0;
|
|
}
|
|
|
|
input[disabled] {
|
|
background-color: whitesmoke;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
select {
|
|
line-height: normal;
|
|
padding: 0;
|
|
padding-left: $base-spacing-unit * 0.5;
|
|
}
|
|
|
|
textarea {
|
|
min-height: $base-spacing-unit * 4;
|
|
overflow: auto;
|
|
vertical-align: top;
|
|
resize: vertical;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Form utility classes
|
|
*/
|
|
|
|
.form--inline {
|
|
.form__group {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.form {
|
|
.form__group {
|
|
display: block;
|
|
margin-bottom: $base-spacing-unit;
|
|
.form__label {
|
|
display: block;
|
|
margin-bottom: ($base-spacing-unit * 0.5);
|
|
}
|
|
}
|
|
} |