Modèle:MinecraftConnect/styles.css
De Nefald
Autres actions
/* Modèle MinecraftConnect */
.minecraft-connect-wrapper {
display: inline-flex;
align-items: center;
gap: 8px;
position: relative;
}
.minecraft-connect-link {
display: inline-flex;
align-items: center;
padding: 8px 16px;
background: linear-gradient(135deg, #3a8c3e 0%, #2d6b30 100%);
color: white !important;
text-decoration: none !important;
border-radius: 6px;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
border: 2px solid #2d6b30;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.minecraft-connect-link:hover {
background: linear-gradient(135deg, #4aa44e 0%, #3a8c3e 100%);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
border-color: #4aa44e;
}
.minecraft-connect-link:active {
transform: translateY(0);
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.minecraft-copy-btn {
padding: 8px 12px;
background: #ffffff;
border: 2px solid #ddd;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.minecraft-copy-btn:hover {
background: #f0f0f0;
border-color: #3a8c3e;
transform: scale(1.1);
}
.minecraft-copy-btn:active {
transform: scale(0.95);
}
.minecraft-copied-msg {
position: absolute;
right: -80px;
background: #2d6b30;
color: white;
padding: 6px 12px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
white-space: nowrap;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.minecraft-copied-msg.show {
opacity: 1;
}
/* Animation de feedback */
@keyframes copySuccess {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.2); }
}
.minecraft-copy-btn.copied {
animation: copySuccess 0.3s ease;
background: #4aa44e;
border-color: #3a8c3e;
}
/* Responsive */
@media (max-width: 768px) {
.minecraft-connect-wrapper {
flex-direction: column;
align-items: stretch;
gap: 6px;
}
.minecraft-copied-msg {
position: static;
margin-top: 4px;
text-align: center;
}
}