From 04e58bd375e232e97f3ef417b9011ea1a88423e4 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 19 Nov 2014 18:37:21 -0800 Subject: [PATCH] tab bar autohides on scroll down --- .../polymer/home-assistant-main.html | 42 +++++++++++++++---- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/http/www_static/polymer/home-assistant-main.html b/homeassistant/components/http/www_static/polymer/home-assistant-main.html index 9cdd31c090f..226910771a1 100644 --- a/homeassistant/components/http/www_static/polymer/home-assistant-main.html +++ b/homeassistant/components/http/www_static/polymer/home-assistant-main.html @@ -24,10 +24,28 @@ color: white; } + core-toolbar.tall { + /* 2x normal height */ + height: 128px; + } + + core-toolbar .bottom { + opacity: 0; + transition: opacity 0.30s ease-out; + } + + core-toolbar.tall .bottom { + opacity: 1; + } + paper-tab { text-transform: uppercase; } + paper-menu-button { + margin-top: 5px; + } + paper-dropdown { border-radius: 3px; } @@ -50,9 +68,9 @@ - + - +
Home Assistant
@@ -82,12 +100,10 @@ ALL -