Sha256: a38a7ef4e44223ec20210fb187c416754a59dfbecad97a1e30f55024afe69dd1

Contents?: true

Size: 599 Bytes

Versions: 21

Compression:

Stored size: 599 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

21 entries across 21 versions & 5 rubygems

Version Path
primery-0.1.0 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.6.0 _sass/primer-support/lib/mixins/misc.scss
github-docs-0.0.5 _sass/primer-support/mixins/misc.scss
jekyll-theme-amp-0.1.1 _sass/primer/support/mixins/misc.scss
jekyll-theme-amp-0.1.0 _sass/primer/support/mixins/misc.scss
hardpool-flat-3.1.0 _sass/primer/support/mixins/misc.scss
hardpool-flat-3.0.0 _sass/primer/support/mixins/misc.scss
github-docs-0.0.4 _sass/primer-support/mixins/misc.scss
github-docs-0.0.3 _sass/primer-support/mixins/misc.scss
github-docs-0.0.2 _sass/primer-support/mixins/misc.scss
github-docs-0.0.1 _sass/primer-support/mixins/misc.scss
jekyll-theme-primer-0.5.4 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.5.3 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.5.2 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.5.1 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.5.0 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.4.0 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.3.1 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.3.0 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.2.1 _sass/primer-support/lib/mixins/misc.scss