aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/index/style/Filters.scala
blob: c3249650e31b839a3223d0e299c4030cfe52af62 (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
package reading.component.index.style

import scalacss.Defaults._

import reading.component.style.Col

object Filters extends StyleSheet.Inline {
  import dsl._

  val filters = style(
    marginBottom(50.px),
    display.flex
  )

  val filter = style(
    display.flex,
    alignItems.center,
    padding(15.px),
    marginRight(20.px),
    borderRadius(2.px),
    &.hover(cursor.pointer),
    border(1.px, solid, Col.alto),
    fontSize(18.px)
  )

  val name = style(
    marginRight(10.px)
  )

  val cross = style(
    width(15.px),
    height(15.px)
  )
}