Sha256: f97f2cfea775127bf971ac8f92d4365d797499382c40de2f9806dffb0b7de2f0

Contents?: true

Size: 574 Bytes

Versions: 7

Compression:

Stored size: 574 Bytes

Contents

// Generate a two-color caret for any element.
@mixin double-caret($foreground: #fff, $background: #ddd) {
  &::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

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-theme-primer-0.1.7 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.6 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.5 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.4 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.3 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.2 _sass/primer-support/lib/mixins/misc.scss
jekyll-theme-primer-0.1.1 _sass/primer-support/lib/mixins/misc.scss