blob: e036bce8359eb1b3d1c66b54c77cbabcbcdbbb08 (
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
|
package reading.component.style
import scalacss.Defaults._
import reading.component.style.{ Color => C }
object Count extends StyleSheet.Inline {
import dsl._
val major = style(
display.flex,
alignItems.center,
justifyContent.center,
backgroundColor(C.stiletto.value),
width(25.px),
height(25.px),
borderRadius(50.%%)
)
val minor = style(
color(C.gray.value),
marginLeft(5.px),
fontWeight.normal,
&.before(content := "\"(\""),
&.after(content := "\")\"")
)
}
|