108 lines
2.0 KiB
SCSS
108 lines
2.0 KiB
SCSS
.share-button-container {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.share-button {
|
|
padding: 8px 16px;
|
|
background: rgba(0, 240, 255, 0.1);
|
|
border: 1px solid rgba(0, 240, 255, 0.3);
|
|
border-radius: 6px;
|
|
color: #00f0ff;
|
|
cursor: pointer;
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
background: rgba(0, 240, 255, 0.2);
|
|
border-color: #00f0ff;
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
|
|
.share-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 999;
|
|
background: transparent;
|
|
}
|
|
|
|
.share-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
margin-top: 8px;
|
|
background: rgba(0, 0, 0, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(0, 240, 255, 0.3);
|
|
border-radius: 8px;
|
|
padding: 8px;
|
|
min-width: 180px;
|
|
z-index: 1000;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
|
animation: slideDown 0.2s ease;
|
|
}
|
|
|
|
.share-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
background: rgba(0, 240, 255, 0.1);
|
|
}
|
|
}
|
|
|
|
.share-icon {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.share-name {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.share-toast {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
color: #00f0ff;
|
|
padding: 12px 20px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(0, 240, 255, 0.3);
|
|
z-index: 10000;
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: all 0.3s ease;
|
|
|
|
&.show {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|