-
Notifications
You must be signed in to change notification settings - Fork 991
/
Copy pathstyle.cljs
41 lines (35 loc) · 1.03 KB
/
style.cljs
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
40
41
(ns status-im2.contexts.chat.messages.content.audio.style
(:require [quo2.foundations.colors :as colors]
[quo2.theme :as theme]))
(defn container
[]
{:width 295
:height 56
:border-radius 12
:border-width 1
:padding 12
:flex-direction :row
:align-items :center
:justify-content :space-between
:border-color (colors/theme-colors colors/neutral-20 colors/neutral-80)
:background-color (colors/theme-colors colors/neutral-5 colors/neutral-80-opa-40)})
(def play-pause-slider-container
{:flex-direction :row
:align-items :center})
(def slider-container
{:position :absolute
:left 60
:right 71
:bottom nil})
(defn play-pause-container
[]
{:background-color (get-in colors/customization [:blue (if (theme/dark?) 60 50)])
:width 32
:height 32
:border-radius 16
:align-items :center
:justify-content :center})
(def timestamp
{:margin-left 4})
(def error-label
{:margin-bottom 16})