app/assets/stylesheets/administrate/base/_forms.scss
fieldset {
background-color: transparent;
border: 0;
margin: 0;
padding: 0;
}
legend {
font-weight: $bold-font-weight;
margin-bottom: $small-spacing / 2;
padding: 0;
}
label {
display: block;
font-weight: $bold-font-weight;
}
input,
select {
display: block;
font-family: $base-font-family;
font-size: $base-font-size;
}
[type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
input:not([type]),
textarea,
select[multiple] {
background-color: $white;
border: $base-border;
border-radius: $base-border-radius;
box-shadow: none;
box-sizing: border-box;
font-family: $base-font-family;
font-size: $base-font-size;
padding: $base-spacing / 3;
transition: border-color $base-duration $base-timing;
width: 100%;
&:hover {
border-color: shade($base-border-color, 20%);
}
&:focus {
border-color: $action-color;
box-shadow: none;
outline: none;
}
&:disabled {
background-color: shade($base-background-color, 5%);
cursor: not-allowed;
&:hover {
border: $base-border;
}
}
}
textarea {
resize: vertical;
}
[type="search"] {
appearance: none;
}
[type="checkbox"],
[type="radio"] {
display: inline;
margin-right: $small-spacing / 2;
}
[type="file"] {
width: 100%;
}
select {
width: 100%;
}