blob: 99e4746fe500a98c0bc36c9655a209f8f2bd94f5 (
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
|
package reading.component.style
import scalacss.Defaults._
import reading.Media
import reading.component.style.{ Color => C }
object Index extends StyleSheet.Inline {
import dsl._
val page = style(
display.flex,
overflowY.scroll,
height(100.%%),
Media.desktop(
&.before(
content := "\"\"",
display.block,
position.fixed,
width(280.px),
height(100.%%),
backgroundColor(C.englishWalnut.value),
boxShadow := "4px 0px 6px -1px rgba(0, 0, 0, 0.2)"
)
)
)
val main = style(
width(100.%%)
)
}
|