package reading.component.widget.style import scalacss.Defaults._ import reading.component.style.{ Color => C } object Input extends StyleSheet.Inline { import dsl._ val parent = style( position.relative ) val input = style( height(45.px), border(1.px, solid, C.mickado.value), borderRadius(2.px), padding(10.px), &.hover(borderColor(C.gray.value)) ) val clear = style( position.absolute, top(0.px), right(10.px), display.flex, height(100.%%), alignItems.center, cursor.pointer ) }