@import './global.less';

.@{prefix}-container {
  width: 100%;
  height: @navbar-height;
  box-sizing: border-box;
  min-height: @navbar-height;
  max-height: @navbar-height;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-2);

  &-no-border {
    border-bottom: none;
  }
}

.@{prefix}-btn-icon {
  font-size: 18px !important;
  color: var(--color-text-1) !important;
  margin: 0 10px;
  line-height: 24px !important;
}

.@{prefix}-mask {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-mask-bg);
  left: 0;
  top: 0;
  z-index: 990;
}

// animation
.@{prefix}-fadeIn-enter,
.@{prefix}-fadeIn-appear {
  opacity: 0;
}

.@{prefix}-fadeIn-enter-active,
.@{prefix}-fadeIn-appear-active {
  opacity: 1;
  transition: opacity 0.3s;
}

.@{prefix}-fadeIn-exit {
  opacity: 1;
}

.@{prefix}-fadeIn-exit-active {
  opacity: 0;
  transition: opacity 0.3s;
}
