aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/index/style/Count.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/reading/component/index/style/Count.scala')
-rw-r--r--src/main/scala/reading/component/index/style/Count.scala20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/scala/reading/component/index/style/Count.scala b/src/main/scala/reading/component/index/style/Count.scala
new file mode 100644
index 0000000..cc1eb80
--- /dev/null
+++ b/src/main/scala/reading/component/index/style/Count.scala
@@ -0,0 +1,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)
+ )
+}