From: Jason Skomorowski Date: Fri, 5 Dec 2014 18:32:16 +0000 (-0500) Subject: tester.html aesthetics WRIS-3 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=441d74ccae79d119f94724031d84c5f17901688a tester.html aesthetics WRIS-3 --- diff --git a/examples/htdocs/tester.html b/examples/htdocs/tester.html index f1251a0..de99f30 100644 --- a/examples/htdocs/tester.html +++ b/examples/htdocs/tester.html @@ -48,21 +48,126 @@ height: 100%; width: 100%; } +html { + margin: 0; + height: 100%; +} +body { + background-color: #888892; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + height: 100%; +} +header { + font-size: 1.3em; +} +#top-bar { + background-color: #002868; + color: white; + padding: .5em; + display: flex; + align-items: center; + justify-content: space-between; +} +header button { + margin-left: 1em; + border-radius: 4px; + background-color: #4368a1; + color: #dbe9ff; + font: inherit; + font-weight: normal; + border: 1px solid #7492c3; + padding: 0.1em 0.15em; +} +header button:hover, header button:active, header button:focus { + background-color: #2f5591; +} +#maybe { + background-color: #F0AD4E; + border-color: #EEA236; + color: #664009; + color: white; +} +#maybe:hover, #maybe:active, #maybe:focus { + background-color: #EC971F; + border-color: #D58512; +} +#yes { + background-color: #5CB85C; + border-color: #4CAE4C; + color: #214d21; + color: white; +} +#yes:hover, #yes:focus, #yes:active { + background-color: #449D44; + border-color: #398439; +} +#no { + background-color: #D9534F; + border-color: #D43F3A; + color: #4f1311; + color: white; +} +#no:hover, #no:focus, #no:active { + background-color: #C9302C; + border-color: #AC2925; +} +#current-bar { + background-color: #54d8a8; + color: #002868; + padding: .5em; +} +#query { + font-weight: bold; + font-size: 110%; +} +#settings { + flex: 1; + display: flex; + align-items: center; +} +#results { + flex: 1; + display: flex; + text-align: right; + align-items: center; + justify-content: flex-end; +} +#test-area { + flex: 1; + padding: 1em; + display: flex; + justify-content: center; + align-items: center; +} -Relevant to query ? - - - -Settings: - - -Results: - - +
+
+ + Settings: + + + + + Results: + + + +
+
+ +
+ Relevant to query ? + + + +
@@ -77,9 +182,9 @@ Results:
-
- -
+
+
+