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

import scalacss.Defaults._

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

object Global extends StyleSheet.Standalone {
  import dsl._

  "html" - (
    boxSizing.borderBox
  )

  "body" - (
    position.absolute,
    width(100.%%),
    height(100.%%)
  )

  "a" - (
    color(C.eastBay.value),
    &.hover(
      textDecoration := "underline"
    )
  )

  "*, *:before, *:after" - (
    boxSizing.inherit
  )

  "button" - (
    cursor.pointer,
    display.flex,
    backgroundColor(initial),
    color(C.black.value),
    border.none,
    fontSize.inherit
  )
}