Hover icon indicating copy to clipboard operation
Hover copied to clipboard

Add left border reveal and right border reveal

Open LJNielsenDk opened this issue 9 years ago • 4 comments

LJNielsenDk avatar Apr 02 '16 13:04 LJNielsenDk

Check this

@mixin leftline-reveal {
  $duration: $mediumDuration;

  @include hacks();
  position: relative;
  overflow: hidden;

  &:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: $activeColor;
    width: 4px;
    @include prefixed(transform, translateX(-4px));
    @include prefixed(transition-property, transform);
    @include prefixed(transition-duration, $duration);
    @include prefixed(transition-timing-function, ease-out);
  }

  &:hover,
  &:focus,
  &:active {

    &:before {
      @include prefixed(transform, translateX(0));
    }
  }
}

mathielen avatar Aug 15 '16 15:08 mathielen

Happy to merge this if anyone can send a pull request for both effects in Sass and LESS formats.

IanLunn avatar Oct 21 '16 10:10 IanLunn

Hi, is this still an issue or has it been implemented? If it's still active, I would like to contribute

svitlana-galianova avatar Dec 30 '17 21:12 svitlana-galianova

Hi,

I recently saw that this page has not yet added left and right borders for display. By learning from the previous warehouse content, I have added the hovering of the left and right borders and issued a pull request.

Adding the hovering effect of the left and right borders can be inferred from the previous hovering effect, which is a process of further understanding and learning. I am happy to contribute to it.

I hope my pull request can be approved.

Hangzhe avatar Oct 29 '23 02:10 Hangzhe