Sha256: 8266733afb1daf605db52ec0dcd894c2659ea15f6f880cd2fa9ef0d668c4443c

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

/* ==========================================================================
   Code Copy
   ========================================================================== */

   .code-header {
     display: flex;
     justify-content: flex-end;
   }

   .copy-code-button {
     display: grid;
     margin:0px 0px -15px 0px;
     background-color: $secondary-bg-color;
     grid-auto-flow: column;
     align-items: center;
     grid-column-gap: 4px;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     font-size: 1rem;
     padding: 4px 8px;

     &::before {
       content: "Copy";
     }

     &::after {
       content: "📋";
       display: block;
     }

     &.copied {
       &::before {
         content: "Copied!";
       }

       &::after {
         content: "✔️";
       }
     }
     &:hover {
          background-color: $quaternary-bg-color;
     }
   }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
domain-jekyll-1.2.0 _sass/domain/_codecopy.scss