// Copyright (c) 2016-2018 VMware, Inc. All Rights Reserved.
// This software is released under MIT license.
// The full license information can be found in LICENSE in the root directory of this project.

@include exports('code.clarity') {
  //Styles for Clarity Code Snippets
  pre {
    margin: 0.5rem 0;
  }
  pre {
    border: $clr-default-borderwidth solid $clr-color-neutral-400;
    max-height: 15rem;
    border-radius: $clr-default-borderradius;
    overflow: auto;
  }
  pre code {
    white-space: pre;
  }
  //Overriding bootstrap code styles
  // @deprecated Bootstrap dependencies are deprecated since 1.0. Review and edit before 2.0 if needed.
  code {
    &.clr-code {
      color: $clr-color-danger-800;
      padding: 0;
      background: transparent;
    }
  }
}
