Sha256: ec75673dbda36850ec8102c0c7eaf58766f59b0f3dc93e7a0c427bb4d0d27d2a

Contents?: true

Size: 1.98 KB

Versions: 5

Compression:

Stored size: 1.98 KB

Contents

@import "./variables";
@import "./mediaqueries";

.Nxd-content {
  display: flex;
}

.Nxd-menu__indent {
  margin-left: 31px !important;
}

.Nxd-method-badge {
  text-transform: uppercase;

  &--post {
    background: $green;
  }

  &--get {
    background: $blue-dark;
  }

  &--delete {
    background: $red;
  }

  &--patch {
    background: $teal;
  }

  &--put {
    background: $purple-dark;
  }
}

.table-no-line {
  td {
    border-bottom: none !important;
  }
}

.Nxd-api {
  padding-top: 0;
  padding-right: $unit2;

  @media #{$S-only} {
    padding-left: $unit2;
  }

  &__responses {
    top: 30px;
    position: sticky;
    display: block;
    overflow: auto;
  }

  &__code {
    background: $grey-light;
    border-bottom: 1px solid $grey-lighter;
    padding: $unit2;

    h4,
    h5 {
      color: $grey-darker;
    }

    &__header {
      margin: -#{$unit3} -#{$unit2} #{$unit2} -#{$unit2};

      .Vlt-native-dropdown {
        margin-right: $unit2;
        float: right;
      }

      &--sticky {
        position: fixed;
        top: 30px;
        width: 27.5%;
        z-index: 1000;

        @media #{$S-only} {
          left: 0;
          padding: 0 $unit1;
          top: 52px;
          width: 100vw;
          margin: 0;

        }
      }
    }

    .Vlt-accordion__trigger {
      &:after {
        background-color: rgba($white, 0.2);
        border-radius: 100%;
      }
    }
  }

  &__docs {
    padding-top: $unit3;

    @media #{$M-plus} {
      border-bottom: 1px solid $grey-light;
      padding-top: $unit5;
    }

    .Vlt-tooltip {
      white-space: nowrap;
    }
  }

  &--noborder {
    margin-bottom: -$unit2;

    .Nxd-api__docs {
      border: 0;
    }

    .Nxd-api__code {
      border: 0;

      @media #{$S-only} {
        display: none;
      }
    }
  }
}


.Nxd-version {
  p {
    text-transform: uppercase;
    font-size: 1.3rem !important;
  }

  a {
    font-size: 1.3rem !important;
    color: #005282 !important;
    &.active {
      font-weight: bold;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.11.3 lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
nexmo-oas-renderer-0.11.2 lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
nexmo-oas-renderer-0.11.1 lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
nexmo-oas-renderer-0.11.0 lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
nexmo-oas-renderer-0.10.0 lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss