UNPKG

@findify/react-components

Version:
128 lines (117 loc) 2.08 kB
$height: 30px; .root{ width: 100%; display: flex; flex-direction: column; } .range{ } .input-block { padding-top: 10px; } .input-wrap{ position: relative; display: flex; align-items: center; padding: 0 8px; cursor: text; transition: border-color .1s linear; border: 1px solid $color-grey-2; background: white; &:focus-within{ border-color: $color-grey-3; } } .input{ $width: 100%; display: block; width: $width; margin: 0; box-sizing: border-box; height: $height; line-height: $height; padding-left: 8px; background: transparent; color: $color-black; font-family: $font-base; font-size: $font-size-large; border: none; outline: none; z-index: 1; -moz-appearance: textfield!important; &:placeholder{ color: $color-grey-1; } &::-webkit-outer-spin-button, &::-webkit-inner-spin-button { -webkit-appearance: none!important; margin: 0; } } @media screen and (-webkit-min-device-pixel-ratio:0) { .input{ font-size: 16px; } } .currency{ $font-size: $font-size-medium; font-size: $font-size; height: 100%; z-index: 0; } .submit{ $font-size: $font-size-medium; display: flex; border: 0; display: flex; align-items: center; height: 100%; background: transparent; outline: 0; font-size: $font-size; border-radius: 0; width: 100%; padding: 0 8px; cursor: pointer; justify-content: space-around; &:hover{ text-decoration: underline; } span { font-size: $font-size-small; } } .divider{ padding: 0 6px; display: flex; align-items: center; height: 100%; } .slider { width: 100%; height: 20px; margin-top: 20px; } .thumb{ top: 2px; width: 18px; height: 18px; background-color: $color-grey-2; cursor: pointer; box-sizing: border-box; border-radius: 50%; border: 1px solid $color-grey-2; &:focus{ border-color: $color-grey-4; } } .track{ position: relative; background: $color-grey-1; top: 10px; height: 3px; border-radius: 3px; &:nth-child(2){ background-color: $color-grey-3; } }