.dj-navigation-bar {
  &__padding {
    height: 44px;
  }

  &__fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 44px;
    font-size: 12px;
    z-index: 1999;

    &-content {
      background-color: #fff;
      height: 44px;
      position: relative;
      padding: 0 15px;

      &--back {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto 0;
        width: 20px;
        height: 17px;
        font-style: inherit;
      }

      &--text {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        color: #24252a;
        line-height: normal;
      }

      &--right {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 15px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        line-height: normal;
        font-size: 14px;
        color: #808082;
      }
    }
  }
}

/**
 * 需要 viewport-fit = cover
 */
@supports (bottom: env(safe-area-inset-top)) {
  .iphoneX-safe-area-top {
    height: constant(safe-area-inset-top);
    height: env(safe-area-inset-top);
    background: transparent;
  }
}
