From 580adf88200e06d8b98663c803f44f54ff104fbd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 23 Jun 2015 20:43:59 -0700 Subject: [PATCH] Frontend: reactor sidebar into own file --- homeassistant/components/frontend/version.py | 2 +- .../frontend/www_static/frontend.html | 2461 +++++++++-------- .../polymer/components/ha-sidebar.html | 211 ++ .../www_static/polymer/home-assistant.html | 8 +- .../polymer/layouts/home-assistant-main.html | 167 +- 5 files changed, 1466 insertions(+), 1383 deletions(-) create mode 100644 homeassistant/components/frontend/www_static/polymer/components/ha-sidebar.html diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py index de273d5c65f..5fcb22b713a 100644 --- a/homeassistant/components/frontend/version.py +++ b/homeassistant/components/frontend/version.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "18d02dc9820b907ac4159da09cd20c4b" +VERSION = "ebe24a2f60f975cd4fb26156c44f3f3d" diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html index c3a7243ab19..9950fab0807 100644 --- a/homeassistant/components/frontend/www_static/frontend.html +++ b/homeassistant/components/frontend/www_static/frontend.html @@ -5811,9 +5811,9 @@ this._removeChildren(); /* Shared Styles */ /* - Unfortunately, we can't make use of these yet - sibling properties aren't - evaluated. See https://github.com/Polymer/polymer/issues/1399 - + Unfortunately, we can't use nested rules + See https://github.com/Polymer/polymer/issues/1399 + */ --paper-font-common-base: { font-family: 'Roboto', 'Noto', sans-serif; -webkit-font-smoothing: antialiased; @@ -5833,7 +5833,6 @@ this._removeChildren(); overflow: hidden; text-overflow: ellipsis; }; - */ /* Material Font Styles */ @@ -11706,6 +11705,10 @@ window.hass.uiUtil.formatDate = function(dateObj) { transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); }; + --shadow-none: { + box-shadow: none; + }; + /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */ --shadow-elevation-2dp: { @@ -13674,216 +13677,6 @@ is separate from validation, and `allowed-pattern` does not affect how the input - - - - - - - - - - - + + @@ -16620,6 +16617,12 @@ colorPickerPrototype.createdCallback = function(e) { document.registerElement('color-picker', { prototype: colorPickerPrototype }); + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + +