1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Migrate main view to app elements

This commit is contained in:
Paulus Schoutsen
2016-07-31 00:32:49 -07:00
parent e5fe5ca0ae
commit a343d3d098
8 changed files with 75 additions and 137 deletions

View File

@@ -10,15 +10,12 @@
<style>
:host {
display: block;
background-color: #E5E5E5;
padding-top: 8px;
padding-right: 8px;
}
.no-badges {
height: 8px;
}
.badges {
margin-top: 16px;
font-size: 85%;
text-align: center;
}
@@ -61,9 +58,6 @@
<ha-badges-card states='[[cards.badges]]' hass='[[hass]]'></ha-badges-card>
</div>
</template>
<template is='dom-if' if='[[!cards.badges]]'>
<div class='no-badges'> </div>
</template>
<div class='horizontal layout center-justified'>
<template is='dom-repeat' items='[[cards.columns]]' as='column'>

View File

@@ -65,6 +65,7 @@
font-weight: 300;
overflow: hidden;
text-overflow: ellipsis;
line-height: normal;
}
iron-image {

View File

@@ -6,6 +6,7 @@
<template>
<style>
:host {
display: block;
--paper-tabs-selection-bar-color: #FFF;
}
paper-tab {