From 044ac31bad7b7596bc09ac769857e7097df121d4 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 1 Sep 2014 16:05:00 +0200 Subject: [PATCH] pin buttons to bottom of screen --- examples/selfcheck.html | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/examples/selfcheck.html b/examples/selfcheck.html index 979ca02..329e30d 100644 --- a/examples/selfcheck.html +++ b/examples/selfcheck.html @@ -8,11 +8,11 @@ body, input { font-family: 'Roboto', sans-serif; - background: #eee; - font-size: 150%; + font-size: 120%; } body { + background: #f0f0ff; margin: 2em; } @@ -43,10 +43,19 @@ body { } input[type=button] { + display: block; + float: left; + width: 100%; + height: 3em; +} + +.button { margin-top: 1em; display: block; width: 100%; - height: 5em; + position: absolute; + left: 0; + bottom: 0; } #timeout { @@ -56,8 +65,8 @@ input[type=button] { left: 50%; margin-left: -10em; margin-top: -5em; - width: 20em; - height: 10em; + width: 10em; + height: 5em; background: #ff8; padding: 2em; border: 0.5em solid #f00; @@ -77,8 +86,10 @@ RFID reader not found or driver program not started.
Timeout in 99 seconds. +
+
@@ -97,8 +108,10 @@ Select checkin button to return books. Ako želite vratiti knjigu, pristisnite ovaj gumb. +
+