// Copyright 2017 Palantir Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0.

@import "@blueprintjs/core/src/common/react-transition";
@import "variables";

.docs-api-drawer {
  .docs-modifiers {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
  }

  .docs-interface-header {
    flex: 0 0 auto;
    padding: ($pt-spacing * 2) ($pt-spacing * 5);

    + .docs-section {
      flex-shrink: 0;
      padding-left: $pt-spacing * 5;
      padding-right: $pt-spacing * 5;
    }
  }

  .docs-modifiers-table {
    overflow: auto;
    padding-bottom: $pt-spacing * 5;

    th:first-child,
    td:first-child {
      padding-left: $pt-spacing * 5;
    }

    td:last-child {
      padding-right: $pt-spacing * 5;
    }
  }
}

.docs-code {
  font-family: var(--bp-typography-family-mono);
  font-weight: 600;
}
