:host {
  margin: 64px 0;
  display: none;
  position: absolute;
  top: 0;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
  min-height: 54px;
}

:host(.fab-list-active) {
  display: flex;
}

::slotted(.fab-button-in-list) {
  margin: 8px 0;
  width: 54px;
  height: 54px;
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
}

:host(.fab-list-side-top) ::slotted(.fab-button-in-list),
:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list) {
  margin: 5px 0;
}

:host(.fab-list-side-start) ::slotted(.fab-button-in-list),
:host(.fab-list-side-end) ::slotted(.fab-button-in-list) {
  margin: 0 5px;
}

::slotted(.fab-button-in-list.fab-button-show) {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

:host(.fab-list-side-top) {
  top: auto;
  bottom: 0;
  flex-direction: column-reverse;
}

:host(.fab-list-side-start) {
  margin: 0 64px;
  right: 0;
  flex-direction: row-reverse;
}

:host(.fab-list-side-end) {
  margin: 0 64px;
  left: 0;
  flex-direction: row;
}