@import '../../../../ng-aquila/src/shared-styles/theming/theming';
@import '../styles/themes/docs-theme';

.nxv-docs__example-code {
  width: 100%;
  margin-bottom: 0;
  padding: 0 24px;
  min-height: 150px;
  background: v(ui-01);
}

.nvx-tab__content {
  overflow-x: scroll;
}

.nxv-example-viewer {
  border: 1px solid lightgrey;
  margin-bottom: 32px;
  width: 100%;
  background: v(ui-01);
}

.nxv-example-viewer__show-code-button,
.nxv-example-viewer__copy-code-button {
  margin-right: 16px;
}

.nxv-example-viewer__copy-code-button nx-icon {
  margin-right: 8px;
}

.nxv-example-viewer__source {
  padding: 0;
}

.nxv-example-viewer__body {
  padding: 24px;
}

.nxv-example-viewer__header {
  background: v(documentation-header-background);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nxv-example-viewer__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nxv-example-viewer__divider {
  margin: 0;
  border: solid #ddd;
  border-width: 1px 0 0;
}

.nxv-example-viewer__source nx-tab-group ::ng-deep .nx-tab-header {
  padding: 0;
  padding-left: 24px;
  margin: 16px 0;
  justify-content: flex-start;
}

.nxv-fullscreen-button {
  display: block;
  width: 24px;
  height: 24px;
}

nxv-stack-blitz-button ::ng-deep button {
  margin: 0 0 0 8px;
}

.nxv-example-viewer--no-box {
  border: none;

  .nxv-example-viewer__body {
    padding: 0;
  }
}
