blob: e8f970ebdec98e71370a083635f24b576ea2a5fe (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
package reading.component.index.style
import scalacss.Defaults._
import reading.component.style.{ Color => C }
object BookDetail extends StyleSheet.Inline {
import dsl._
val detail = style(
display.flex,
flexWrap.wrap,
justifyContent.spaceAround
)
val cover = style(
height(400.px),
marginBottom(30.px)
)
val item = style(
lineHeight(25.px),
margin(0.px, 15.px, 15.px),
&.lastChild(marginBottom(0.px))
)
val itemName = style(
fontWeight.bold,
textTransform.uppercase,
marginBottom(10.px)
)
val itemValues = style(
marginLeft(15.px)
)
val itemValue = style(
marginBottom(5.px),
&.before(
content := "\"•\"",
color(C.stiletto.value),
marginRight(10.px)
)
)
}
|