//
// Copyright IBM Corp. 2016, 2018
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@use "../../config" as *;
@use "../../theme" as *;
@use "../../utilities/component-reset" as *;
@use "../../utilities/convert" as *;

@mixin credits {
  .#{$prefix}--credits {
    @include reset;
    position: relative;
    > img {
      width: 100%;
    }
  }

  .#{$prefix}--credits__info {
    position: absolute;
    top: 0;
    right: 0;
    padding: calcRem(5px) calcRem(7px);
    color: $text-inverse-default;
    background: rgba(#0b1920, 0.7);
  }
}
