Migrate more-info-dialog to mwc and Lit (#6345)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Bram Kragten
2020-07-08 11:38:07 +02:00
committed by GitHub
parent e1cb549b28
commit b429fe8254
12 changed files with 385 additions and 480 deletions

View File

@@ -10,6 +10,7 @@ class HaLabeledSlider extends PolymerElement {
<style>
:host {
display: block;
border-radius: 4px;
}
.title {
@@ -17,13 +18,17 @@ class HaLabeledSlider extends PolymerElement {
opacity: var(--dark-primary-opacity);
}
.slider-container {
display: flex;
}
ha-icon {
float: left;
margin-top: 4px;
opacity: var(--dark-secondary-opacity);
}
ha-paper-slider {
flex-grow: 1;
background-image: var(--ha-slider-background);
}
</style>