aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/index/style/Count.scala
blob: cc1eb80ae41da47256bd478d05ae05f770a9258f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package reading.component.index.style

import scalacss.Defaults._

import reading.component.style.{ Color => C }

object Count extends StyleSheet.Inline {
  import dsl._

  val count = style(
    display.flex,
    alignItems.center,
    justifyContent.center,
    backgroundColor(C.stiletto.value),
    width(25.px),
    height(25.px),
    borderRadius(50.%%),
    marginLeft(20.px)
  )
}