Skip to content
Snippets Groups Projects
Commit ce7e6d37 authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Polymer 1.0: more info content style fixes

parent ab7536ff
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment