replace @extend with relevant parts of .form-control

This commit is contained in:
IanDelMar 2022-03-19 11:39:25 +01:00
parent 39ded2cca2
commit 6be03c7fe5
1 changed files with 27 additions and 1 deletions

View File

@ -61,7 +61,33 @@ body {
.widget_categories,
.widget_archive {
select {
@extend .form-control;
display: block;
width: 100%;
height: $input-height;
padding: $input-padding-y $input-padding-x;
font-family: $input-font-family;
@include font-size($input-font-size);
font-weight: $input-font-weight;
line-height: $input-line-height;
color: $input-color;
background-color: $input-bg;
background-clip: padding-box;
border: $input-border-width solid $input-border-color;
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
@include border-radius($input-border-radius, 0);
@include box-shadow($input-box-shadow);
@include transition($input-transition);
// Unstyle the caret on `<select>`s in IE10+.
&::-ms-expand {
background-color: transparent;
border: 0;
}
// Customize the `:focus` state to imitate native WebKit styles.
@include form-control-focus($ignore-warning: true);
}
}