mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Polymer 1.0: more info content style fixes
This commit is contained in:
parent
ab7536ffd7
commit
ce7e6d37ed
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
<dom-module id="state-card-thermostat">
|
<dom-module id="state-card-thermostat">
|
||||||
<style>
|
<style>
|
||||||
|
:host {
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.state {
|
.state {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@ -18,6 +22,7 @@
|
|||||||
.current {
|
.current {
|
||||||
color: darkgrey;
|
color: darkgrey;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
<dom-module id="state-info">
|
<dom-module id="state-info">
|
||||||
<style>
|
<style>
|
||||||
|
:host {
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
state-badge {
|
state-badge {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
@ -23,6 +27,7 @@
|
|||||||
.time-ago {
|
.time-ago {
|
||||||
color: darkgrey;
|
color: darkgrey;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -38,14 +38,12 @@
|
|||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div class$='[[computeClassNames(stateObj)]]'>
|
<div class$='[[computeClassNames(stateObj)]]'>
|
||||||
<div class='brightness'>
|
<div class='brightness center horizontal layout'>
|
||||||
<div center horizontal layout>
|
<div>Brightness</div>
|
||||||
<div>Brightness</div>
|
<paper-slider
|
||||||
<paper-slider
|
max='255' id='brightness' value='{{brightnessSliderValue}}'
|
||||||
max='255' flex id='brightness' value='{{brightnessSliderValue}}'
|
on-change='brightnessSliderChanged' class='flex'>
|
||||||
on-change='brightnessSliderChanged'>
|
</paper-slider>
|
||||||
</paper-slider>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<color-picker on-colorselected='colorPicked' width='350' height='200'>
|
<color-picker on-colorselected='colorPicked' width='350' height='200'>
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='away-mode-toggle'>
|
<div class='away-mode-toggle'>
|
||||||
<div center horizontal layout>
|
<div class='center horizontal layout'>
|
||||||
<div flex>Away Mode</div>
|
<div class='flex'>Away Mode</div>
|
||||||
<paper-toggle-button checked='[[awayToggleChecked]]' on-change='toggleChanged'>
|
<paper-toggle-button checked='[[awayToggleChecked]]' on-change='toggleChanged'>
|
||||||
</paper-toggle-button>
|
</paper-toggle-button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user