.fab-icon-enter-active,
.fab-icon-leave-active {
  transition: opacity 100ms ease, transform 100ms ease;
}
.fab-icon-enter-from,
.fab-icon-leave-to {
  opacity: 0;
  transform: scale(0.8);
}
.fab-icon-enter-to,
.fab-icon-leave-from {
  opacity: 1;
  transform: scale(1);
}
.ufo-fab {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 4px;
  border: none;
  background-color: var(--fabBackgroundColor);
  cursor: pointer;
  position: relative;
  color: var(--fabColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ufo-fab.dark {
  --fabColor: var(--fabDarkColor);
  --fabBackgroundColor: var(--fabDarkBackgroundColor);
  --fabHoverBackgroundColor: var(--fabDarkHoverBackgroundColor);
  --fabDisabledColor: var(--fabDarkDisabledColor);
  --fabSelectedBackgroundColor: var(--fabDarkSelectedBackgroundColor);
  --fabSubtleColor: var(--fabDarkSubtleColor);
  --fabSubtleBackgroundColor: var(--fabDarkSubtleBackgroundColor);
  --fabSubtleHoverBackgroundColor: var(--fabDarkSubtleHoverBackgroundColor);
}
.ufo-fab svg {
  width: 24px;
  height: 24px;
}
.ufo-fab--small {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ufo-fab--small svg {
  width: 20px;
  height: 20px;
}
.ufo-fab--medium {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ufo-fab--medium svg {
  width: 20px;
  height: 20px;
}
.ufo-fab--tiny {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ufo-fab--tiny svg {
  width: 18px;
  height: 18px;
}
.ufo-fab[disabled] {
  color: var(--fabDisabledColor) !important;
  cursor: not-allowed;
}
.ufo-fab--has-label {
  width: max-content;
  color: var(--fabColor);
  font: var(--editor-ui-b2-regular);
  letter-spacing: 0.12px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.ufo-fab--has-label svg {
  margin-right: 8px;
}
.ufo-fab:focus, .ufo-fab:active {
  outline: none;
}
.ufo-fab:hover {
  background-color: var(--fabHoverBackgroundColor);
}
.ufo-fab:hover .tooltip {
  background-color: var(--fabHoverBackgroundColor);
  visibility: visible;
  opacity: 1;
}
.ufo-fab:hover[disabled] {
  background-color: var(--fabBackgroundColor);
}
.ufo-fab.ufo-fab--alert {
  color: var(--fabAlertColor);
  z-index: 2;
}
.ufo-fab.ufo-fab--alert:hover {
  background-color: var(--fabAlertHoverBackgroundColor);
  color: var(--fabAlertHoverColor);
}
.ufo-fab.ufo-fab--alert:hover[disabled] {
  background-color: var(--fabBackgroundColor);
}
.ufo-fab.ufo-fab--alert .tooltip {
  background-color: var(--fabAlertHoverBackgroundColor);
  color: var(--fabAlertHoverColor);
}
.ufo-fab.subtle {
  color: var(--fabSubtleColor);
  background: var(--fabSubtleBackgroundColor);
}
.ufo-fab.subtle:hover {
  background: var(--fabSubtleHoverBackgroundColor);
}
.ufo-fab.selected {
  background-color: var(--fabSelectedBackgroundColor);
}
.ufo-fab .tooltip {
  visibility: hidden;
  background-color: var(--fabHoverBackgroundColor);
  color: var(--fabColor);
  font: var(--editor-ui-b3-semibold);
  letter-spacing: 0.12px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
  position: absolute;
  z-index: 11;
  opacity: 0;
  transition: opacity 200ms;
  top: 50%;
  right: 120%;
  transform: translateY(-50%);
  max-width: 220px;
  width: max-content;
  line-break: auto;
}
.ufo-fab .tooltip.top {
  bottom: 120%;
  top: auto;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}
.ufo-fab .tooltip.top.spacing {
  left: 131%;
}
.ufo-fab .tooltip.bottom {
  top: 120%;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}
.ufo-fab .tooltip.bottom.spacing {
  left: 131%;
}
.ufo-fab .tooltip.right {
  top: 50%;
  left: 120%;
  transform: translateY(-50%);
  display: inline-table;
}