80 lines
1.5 KiB
CSS
80 lines
1.5 KiB
CSS
|
|
|
|
.helpdesk-floating {
|
|
position: fixed;
|
|
right: 24px;
|
|
bottom: 24px;
|
|
width: 65px;
|
|
height: 65px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #25D366;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
text-decoration: none;
|
|
z-index: 99999;
|
|
box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
|
|
transition: all .3s ease;
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.helpdesk-floating:hover {
|
|
color: #fff;
|
|
transform: translateY(-3px) scale(1.05);
|
|
box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
|
|
}
|
|
|
|
.helpdesk-floating i {
|
|
font-size: 34px;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Pulse Animation */
|
|
.helpdesk-floating::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 65px;
|
|
height: 65px;
|
|
border-radius: 50%;
|
|
border: 2px solid rgba(37, 211, 102, 0.4);
|
|
animation: helpdeskPulse 2s infinite;
|
|
}
|
|
|
|
@keyframes helpdeskPulse {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: .8;
|
|
}
|
|
|
|
70% {
|
|
transform: scale(1.4);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* Mobile */
|
|
@media (max-width: 768px) {
|
|
.helpdesk-floating {
|
|
width: 58px;
|
|
height: 58px;
|
|
right: 16px;
|
|
bottom: 16px;
|
|
}
|
|
|
|
.helpdesk-floating::before {
|
|
width: 58px;
|
|
height: 58px;
|
|
}
|
|
|
|
.helpdesk-floating i {
|
|
font-size: 30px;
|
|
}
|
|
}
|