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