diff options
author | href <href@random.sh> | 2018-02-02 21:35:46 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-02-02 21:35:46 +0100 |
commit | c98ddad3263f6859af3c5c76fa197876743d5ded (patch) | |
tree | 9e20617da1089e918e0445162dc9bd8eb54f3459 /priv/static/css | |
parent | import (diff) |
sse / embedded player
Diffstat (limited to 'priv/static/css')
-rw-r--r-- | priv/static/css/widget.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/priv/static/css/widget.css b/priv/static/css/widget.css new file mode 100644 index 0000000..9b1f7be --- /dev/null +++ b/priv/static/css/widget.css @@ -0,0 +1,48 @@ +#player { + display: flex; + font-family: Helvetica Neue, Helvetica, Arial, sans-serif; + align-items: center; + justify-content: center; +} + +#state { + font-size: 28px; + margin-right: 10px; + cursor: pointer; +} + +#state:hover { + color: red; +} + +#player.autodj #genre { + display: none; +} +#player.autodj #np { + font-size: 12px; + padding-top: 5px; +} + + +#player.live #genre { + font-size: 14px; + font-weight: bold; + color: red; +} +#player.live #genre span { font-weight: normal } + +#player.live #np { + font-size: 12px; +} + +.Aligner-item { + max-width: 50%; +} + +.Aligner-item--top { + align-self: flex-start; +} + +.Aligner-item--bottom { + align-self: flex-end; +} |