@use 'sass:color'; @use '../functions.scss' as *; @use './Input.scss'; $border-color: Input.$border-color !default; $border-radius: Input.$border-radius !default; .NumberInput { position: relative; display: inline-block; border: 1px solid $border-color; border: 1px solid rgba($border-color, 0.75); border-radius: $border-radius; color: $border-color; background-color: #000; background-color: rgba(0, 0, 0, 0.75); padding: 0 4px; margin-right: 2px; line-height: 17px; text-align: right; overflow: visible; cursor: n-resize; } .NumberInput--fluid { display: block; } .NumberInput__content { margin-left: 6px; } .NumberInput__barContainer { position: absolute; top: 2px; bottom: 2px; left: 2px; } .NumberInput__bar { position: absolute; bottom: 0; left: 0; width: 3px; box-sizing: border-box; border-bottom: 1px solid $border-color; background-color: $border-color; } .NumberInput__input { display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border: 0; outline: 0; width: 100%; font-size: 12px; line-height: 17px; height: 17px; margin: 0; padding: 0 6px; font-family: Verdana, sans-serif; background-color: #000; color: #fff; text-align: right; }