.copy-the-code-inside-wrap .copy-the-code-button {
position: absolute;
right: 0;
top: 0;
}
.copy-the-code-inside .copy-the-code-button {
position: absolute;
right: 0;
top: 0;
}
.copy-the-code-wrap {
display: block;
position: relative;
}
.copy-the-code-wrap .copy-the-code-button {
background: #e1e3e8;
padding: 10px 20px;
cursor: pointer;
box-shadow: none;
color: #424242;
font-size: 14px;
font-weight: normal;
border-radius: 0;
text-transform: capitalize;
border: none;
outline: none;
}
.copy-the-code-wrap .copy-the-code-button:hover {
background: #d0d1d6;
}
.copy-the-code-outside + * {
margin-top: 0;
}
.copy-the-code-outside {
text-align: right;
} .copy-the-code-wrap.copy-the-code-style-svg-icon .copy-the-code-button {
background: transparent;
padding: 0;
}
.copy-the-code-wrap.copy-the-code-style-svg-icon .copy-the-code-button svg {
height: auto;
width: 20px;
fill: #c1c1c1;
}
.copy-the-code-wrap.copy-the-code-style-cover .copy-the-code-button {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
opacity: 0;
background: rgba(0, 0, 0, 0.5);
font-weight: bold;
color: #fff;
transition: all 0.3s ease-in-out;
padding: 0;
font-size: 12px;
}
.copy-the-code-wrap.copy-the-code-style-cover:hover .copy-the-code-button {
opacity: 1;
}
.copy-the-code-inside-wrap.copy-the-code-style-svg-icon .copy-the-code-button {
padding: 10px;
}
.copy-the-code-wrap.copy-the-code-style-cover {
display: inline-block;
}
.copy-the-code-wrap .copy-the-code-target {
margin-top: 0;
}
.copy-the-code-style-svg-icon .copy-the-code-outside {
height: 32px;
}
.copy-the-code-shortcode svg {
height: 16px;
width: 16px;
fill: #424242;
}
.copy-the-code-shortcode {
cursor: pointer;
}.ctc-inline-copy-icon .copy-icon {
height: 16px;
width: 16px;
}
.ctc-inline-copy-icon .check-icon {
display: none;
}
.ctc-inline-copy-icon {
display: inline-flex;
}
.ctc-inline-hidden {
display: none !important;
}
.ctc-inline-copy-text {
line-height: normal;
}
.ctc-inline-copy {
display: inline-flex;
align-items: center;
gap: .5em;
position: relative;
cursor: pointer;
}
.ctc-inline-copy::before {
content: "";
top: 50%;
bottom: 50%;
left: -7px;
margin-top: -6px;
border: 6px solid transparent;
border-left-color: rgb(36, 41, 47);
position: absolute;
}
.ctc-inline-copy::after {
position: absolute;
content: attr(aria-label);
padding: 0.5em 0.75em;
right: 100%;
color: white;
background: rgb(36, 41, 47);
font-size: 11px;
border-radius: 6px;
line-height: 1;
right: 100%;
bottom: 50%;
margin-right: 6px;
transform: translateY(50%);
min-width: 60px;
}
.ctc-inline-copy::after,
.ctc-inline-copy::before {
opacity: 0;
visibility: hidden;
transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out;
}
.copied.ctc-inline-copy .check-icon {
display: block;
}
.copied.ctc-inline-copy .copy-icon {
display: none !important;
}
.copied.ctc-inline-copy::after,
.copied.ctc-inline-copy::before {
opacity: 1;
visibility: visible;
transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out;
} .ctc-inline-style-cover .ctc-inline-copy-icon {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
.ctc-inline-style-cover .copy-icon {
display: none;
}
.ctc-inline-style-cover:hover .copy-icon {
display: block;
}
.copied.ctc-inline-style-cover .check-icon {
display: block;
}
.ctc-inline-style-cover svg {
fill: white;
}
.ctc-inline-style-cover:hover .ctc-inline-copy-icon {
background: rgb(0 0 0 / 50%);
}