From ee84a51ae1576cb609a993d64e2ac0a6e403549f Mon Sep 17 00:00:00 2001 From: Jing Date: Sat, 16 Apr 2016 22:20:55 +0200 Subject: [PATCH] played around with layout --- client/static/index.html | 124 ++++++++++++++++++++++++++++++--------- 1 file changed, 96 insertions(+), 28 deletions(-) diff --git a/client/static/index.html b/client/static/index.html index 5237794..282d0d0 100644 --- a/client/static/index.html +++ b/client/static/index.html @@ -16,10 +16,6 @@ md-card h2:first-of-type { margin-top: 0; } -md-toolbar .md-button.md-default-theme { - border-radius: 99%; -} - h2 { font-weight: 400; } @@ -30,7 +26,52 @@ h2 { .md-toolbar-tools-bottom :last-child { opacity: 0.8; } - + +#status { +color: #c60008; +} + +/* The starting CSS styles for the enter animation */ +.fade.ng-enter { + transition:0.5s linear all; + opacity:0; +} + +/* The finishing CSS styles for the enter animation */ +.fade.ng-enter.ng-enter-active { + opacity:1; +} + +/* now the element will fade out before it is removed from the DOM */ +.fade.ng-leave { + transition:0.5s linear all; + opacity:1; +} +.fade.ng-leave.ng-leave-active { + opacity:0; +} + +section { + background: #ffffff; + border-radius: 3px; + text-align: center; + margin: 0.5em; + position: relative !important; + padding-bottom: 5px; } + +section .md-button { + margin-top: 10px; +margin-bottom: 1px; } + +.label { + position: absolute; + top: 10px; + left: 10px; + font-size: 14px; + opacity: 0.84; } + + + @@ -55,32 +96,49 @@ h2 { + -
-
- - -

Current status: {{status}}

- - << - - + + Pause + +
+
Skip
+ < - - || - > - - >> +
+ +
+
Chapter
+ + < + + + > + +
+ + +
+
Volume
+ + - + + + + - - -
+ + +
+ + {{status}} + +
@@ -95,17 +153,27 @@ h2 {