blob: 9453640e51df3868d11ec963ed2b6f7e8ab24d2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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
)
}
|