blob: 1d9695811e4ecf11fd5c7c4205c4fcf814058966 (
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._
object Cross extends StyleSheet.Inline {
import dsl._
val cross = style(
position.relative
)
val line1 = style(
content := "\"\"",
position.absolute,
left(40.%%),
width(20.%%),
height(100.%%),
transform := "rotate(45deg)"
)
val line2 = style(
content := "\"\"",
position.absolute,
left(40.%%),
width(20.%%),
height(100.%%),
transform := "rotate(-45deg)"
)
}
|