1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/scss/ui/_inputs.scss
2019-05-20 23:02:56 +02:00

79 lines
1.2 KiB
SCSS

textarea {
&[cols] {
height: auto;
}
}
.form-label {
display: block;
margin-bottom: .375rem;
font-size: $h5-font-size;
font-weight: 600;
}
.form-group {
display: block;
}
.form-control {
&:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #fff inset;
}
&:disabled,
&.disabled {
color: $text-muted;
user-select: none;
}
}
.form-control-light {
background-color: $min-black;
border-color: $min-black;
}
.form-footer {
margin-top: 2rem;
}
.form-fieldset {
padding: 1rem;
background: $gray-100;
border: 1px solid $border-color;
border-radius: $border-radius;
}
.form-required {
color: $red;
}
.custom-control-label::before {
background: transparent;
border: 1px solid $border-color;
}
/**
Form help
*/
.form-help {
display: inline-block;
width: 1rem;
height: 1rem;
text-align: center;
line-height: 1rem;
color: $text-muted;
background: $gray-100;
border-radius: 50%;
font-size: px2rem(12px);
transition: .3s background-color, .3s color;
text-decoration: none;
cursor: pointer;
user-select: none;
&:hover,
&[aria-describedby] {
background: $primary;
color: #fff;
}
}