mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-05 09:00:11 +00:00
Fade in menu button
This commit is contained in:
@@ -377,6 +377,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
|
|||||||
${!this.narrow
|
${!this.narrow
|
||||||
? html`
|
? html`
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
|
class="menu-button"
|
||||||
.label=${this.hass.localize("ui.sidebar.sidebar_toggle")}
|
.label=${this.hass.localize("ui.sidebar.sidebar_toggle")}
|
||||||
.path=${this.hass.dockedSidebar === "docked"
|
.path=${this.hass.dockedSidebar === "docked"
|
||||||
? mdiMenuOpen
|
? mdiMenuOpen
|
||||||
@@ -743,6 +744,10 @@ class HaSidebar extends SubscribeMixin(LitElement) {
|
|||||||
-webkit-transform: scaleX(var(--scale-direction));
|
-webkit-transform: scaleX(var(--scale-direction));
|
||||||
transform: scaleX(var(--scale-direction));
|
transform: scaleX(var(--scale-direction));
|
||||||
}
|
}
|
||||||
|
.menu-button {
|
||||||
|
animation: fadeInSlideDown var(--ha-animation-duration) ease-out both;
|
||||||
|
animation-delay: var(--ha-animation-delay-base);
|
||||||
|
}
|
||||||
ha-md-list-item {
|
ha-md-list-item {
|
||||||
animation: fadeInSlideDown var(--ha-animation-duration) ease-out both;
|
animation: fadeInSlideDown var(--ha-animation-duration) ease-out both;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user