BCards/src/BCards.Web/wwwroot/css/support-fab.css
Ricardo Carneiro b382688a8f
All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 4s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 11m18s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Has been skipped
BCards Deployment Pipeline / Deploy to Release Swarm (ARM) (push) Successful in 17s
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
feat: fale conosco
2025-10-28 19:58:43 -03:00

187 lines
3.5 KiB
CSS

/* Support FAB (Floating Action Button) Styles for BCards */
.support-fab-container {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 1050;
}
.support-fab-trigger {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
color: white;
font-size: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.support-fab-trigger:hover {
transform: scale(1.1);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.support-fab-trigger:active {
transform: scale(0.95);
}
.support-fab-menu {
position: absolute;
bottom: 70px;
right: 0;
min-width: 280px;
background: white;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
padding: 1rem;
animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.support-fab-header {
padding-bottom: 0.75rem;
border-bottom: 1px solid #e9ecef;
margin-bottom: 0.75rem;
}
.support-fab-header h6 {
margin: 0;
font-weight: 600;
color: #212529;
}
.support-fab-option {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
border-radius: 8px;
text-decoration: none;
color: #212529;
transition: all 0.2s ease;
border: none;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
}
.support-fab-option:hover {
background: #f8f9fa;
transform: translateX(4px);
}
.support-fab-option-icon {
width: 40px;
height: 40px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
flex-shrink: 0;
}
.support-fab-telegram .support-fab-option-icon {
background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
color: white;
}
.support-fab-form .support-fab-option-icon {
background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
color: white;
}
.support-fab-rating .support-fab-option-icon {
background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
color: white;
}
.support-fab-option-content {
flex: 1;
}
.support-fab-option-content strong {
display: block;
font-weight: 600;
font-size: 0.9rem;
}
.support-fab-option-content small {
display: block;
color: #6c757d;
font-size: 0.75rem;
}
.support-fab-upgrade {
padding: 0.75rem;
background: #fff3cd;
border-radius: 8px;
text-align: center;
margin-top: 0.5rem;
}
.support-fab-upgrade p {
color: #856404;
font-size: 0.85rem;
}
.support-fab-upgrade .btn-sm {
font-size: 0.8rem;
padding: 0.375rem 0.75rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
.support-fab-container {
bottom: 1.5rem;
right: 1.5rem;
}
.support-fab-trigger {
width: 56px;
height: 56px;
font-size: 1.3rem;
}
.support-fab-menu {
min-width: 260px;
right: 0;
}
}
@media (max-width: 576px) {
.support-fab-container {
bottom: 1rem;
right: 1rem;
}
.support-fab-trigger {
width: 52px;
height: 52px;
font-size: 1.2rem;
}
.support-fab-menu {
min-width: calc(100vw - 3rem);
max-width: 280px;
}
}