mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Normalize more-info bottom padding (#1682)
This commit is contained in:
parent
d517cad6e6
commit
7f8c092dfc
@ -10,7 +10,6 @@ class HaLabeledSlider extends PolymerElement {
|
|||||||
<style>
|
<style>
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
padding-bottom: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -29,9 +29,6 @@ class MoreInfoLight extends LocalizeMixin(EventsMixin(PolymerElement)) {
|
|||||||
return html`
|
return html`
|
||||||
<style include="iron-flex"></style>
|
<style include="iron-flex"></style>
|
||||||
<style>
|
<style>
|
||||||
.effect_list {
|
|
||||||
padding-bottom: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.effect_list, .brightness, .color_temp, .white_value {
|
.effect_list, .brightness, .color_temp, .white_value {
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
@ -61,6 +58,18 @@ class MoreInfoLight extends LocalizeMixin(EventsMixin(PolymerElement)) {
|
|||||||
max-height: 84px;
|
max-height: 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.has-brightness
|
||||||
|
.has-color_temp.is-on,
|
||||||
|
.has-white_value.is-on {
|
||||||
|
margin-top: -16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-brightness .brightness,
|
||||||
|
.has-color_temp.is-on .color_temp,
|
||||||
|
.has-white_value.is-on .white_value {
|
||||||
|
padding-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.has-color.is-on ha-color-picker {
|
.has-color.is-on ha-color-picker {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
@ -78,6 +87,7 @@ class MoreInfoLight extends LocalizeMixin(EventsMixin(PolymerElement)) {
|
|||||||
paper-item {
|
paper-item {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class$="[[computeClassNames(stateObj)]]">
|
<div class$="[[computeClassNames(stateObj)]]">
|
||||||
|
@ -55,8 +55,12 @@ class MoreInfoControls extends EventsMixin(PolymerElement) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
paper-dialog-scrollable {
|
||||||
|
padding-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
:host([domain=camera]) paper-dialog-scrollable {
|
:host([domain=camera]) paper-dialog-scrollable {
|
||||||
margin: 0 -24px -5px;
|
margin: 0 -24px -21px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user