From 00d05087af6614129b7d8b5704349bba8fc02e09 Mon Sep 17 00:00:00 2001 From: Tadej Novak Date: Tue, 9 Dec 2014 21:45:10 +0100 Subject: [PATCH] More UI improvements --- css/style.css | 37 ++++++++++++++++++++++++++++++++++++- index.html | 4 ++-- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 2f11231..07339c1 100644 --- a/css/style.css +++ b/css/style.css @@ -39,6 +39,11 @@ h1 br { z-index: 1; } +#detector-info { + z-index: 10; + position: absolute; +} + .scrollable { overflow: auto; } @@ -115,7 +120,6 @@ h1 br { #labname { border: 0px; padding: 0 4px; - font-size: 24px; margin-top: 20px; font-weight: 500; line-height: 1; @@ -194,6 +198,14 @@ h1 br { .status { font-size: 18px; } + + #labname { + font-size: 22px; + } + + #detector-info { + top: 85px; right: 15px; + } } @media screen and (min-width: 992px) { @@ -206,6 +218,10 @@ h1 br { .status { font-size: 20px; } + + #labname { + font-size: 24px; + } } @media screen and (min-width: 1200px) { @@ -242,4 +258,23 @@ h1 br { .status .col-xs-4 { min-width: 75px; } + + #detector-info { + top: 15px; right: 15px; + } +} + +/* Retina support */ +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min-resolution: 1.5dppx), + only screen and (min-resolution: 144dpi) +{ + .pc-icon { + background-image: url('../assets/pc32sw@2x.png'); + background-size: 32px 32px; + } + + .pc-icon:hover { + background-image: url('../assets/pc32@2x.png'); + } } diff --git a/index.html b/index.html index 5e172aa..de7a299 100644 --- a/index.html +++ b/index.html @@ -89,7 +89,7 @@

Research yields {{ r.state.reputation | niceNumber }} reputation.

- +
@@ -102,7 +102,6 @@
-
@@ -113,6 +112,7 @@
+
Data