Sha256: 0b043aeff11aa872bd810fa87c4b22fbcb92cd62abad8c32759fb46f63299f3f

Contents?: true

Size: 605 Bytes

Versions: 15

Compression:

Stored size: 605 Bytes

Contents

// Generate a two-color caret for any element.
@mixin double-caret(
  $foreground: $text-white,
  $background: lighten($gray-300, 5%)
) {
  &::after,
  &::before {
    position: absolute;
    top: 11px;
    right: 100%;
    left: -16px;
    display: block;
    width: 0;
    height: 0;
    pointer-events: none;
    content: " ";
    border-color: transparent;
    border-style: solid solid outset;
  }

  &::after {
    margin-top: 1px;
    margin-left: 2px;
    border-width: 7px;
    border-right-color: $foreground;
  }

  &::before {
    border-width: 8px;
    border-right-color: $background;
  }
}

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
truesight-rtd-theme-1.0.1 _sass/lib/@primer/css/support/mixins/misc.scss
truesight-rtd-theme-1.0.0 _sass/lib/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.10 _sass/lib/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.9 _sass/lib/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.8 _sass/lib/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.7 _sass/lib/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.6 _sass/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.5 _sass/@primer/css/support/mixins/misc.scss
jekyll-rtd-theme-2.0.4 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.3 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.2 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.1 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.0 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.0.pre.beta1 _sass/@primer/support/mixins/misc.scss
jekyll-rtd-theme-2.0.0.pre.beta _sass/@primer/support/mixins/misc.scss