1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00

form helpers

This commit is contained in:
chomik
2019-05-20 23:02:56 +02:00
parent 5dc2b3cbb7
commit 7389d5bbca
17 changed files with 114 additions and 45 deletions
+28
View File
@@ -16,6 +16,10 @@ textarea {
}
.form-control {
&:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #fff inset;
}
&:disabled,
&.disabled {
color: $text-muted;
@@ -48,3 +52,27 @@ textarea {
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;
}
}