QrRapido/wwwroot/css/site.css
Ricardo Carneiro 286da5e5de
Some checks failed
Deploy QR Rapido / test (push) Successful in 32s
Deploy QR Rapido / build-and-push (push) Failing after 9s
Deploy QR Rapido / deploy-staging (push) Has been skipped
Deploy QR Rapido / deploy-production (push) Has been skipped
fix: gerar url/link.
2025-08-01 10:33:34 -03:00

186 lines
3.4 KiB
CSS

/* Site test CSS */
body {
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.test-style {
color: red;
font-weight: bold;
}
/* Ensure Bootstrap and FontAwesome work */
.btn {
border-radius: 0.375rem;
}
.card {
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
/* URL Validation Feedback */
#url-validation-error {
font-size: 0.875rem;
margin-top: 0.5rem;
padding: 0.5rem;
border-radius: 0.25rem;
}
.form-control.is-invalid {
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.form-control.is-valid {
border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
/* Share Button Styles */
#share-qr-btn {
position: relative;
transition: all 0.3s ease;
}
#share-qr-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
#share-dropdown {
min-width: 250px;
border: none;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
#share-dropdown .dropdown-item {
padding: 12px 20px;
border-bottom: 1px solid #f1f3f4;
transition: all 0.2s ease;
}
#share-dropdown .dropdown-item:last-child {
border-bottom: none;
}
#share-dropdown .dropdown-item:hover {
background: linear-gradient(45deg, #f8f9fa, #e9ecef);
padding-left: 25px;
transform: translateX(5px);
}
#share-dropdown .dropdown-item i {
width: 20px;
margin-right: 12px;
font-size: 16px;
}
/* Mobile optimizations for share button */
@media (max-width: 768px) {
#share-dropdown {
min-width: 100%;
margin-top: 5px;
}
#share-dropdown .dropdown-item {
padding: 15px 20px;
font-size: 16px;
}
#share-dropdown .dropdown-item i {
font-size: 18px;
margin-right: 15px;
}
#share-qr-btn {
font-size: 16px;
padding: 12px 20px;
}
}
/* Share button loading state */
#share-qr-btn.loading {
pointer-events: none;
opacity: 0.7;
}
#share-qr-btn.loading::after {
content: "";
position: absolute;
width: 16px;
height: 16px;
top: 50%;
left: 50%;
margin-left: -8px;
margin-top: -8px;
border: 2px solid transparent;
border-top: 2px solid #ffffff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Special colors for social platforms */
.text-purple {
color: #6f42c1 !important;
}
/* Share success feedback */
.share-success {
position: fixed;
top: 20px;
right: 20px;
z-index: 1050;
transform: translateX(100%);
transition: transform 0.3s ease;
}
.share-success.show {
transform: translateX(0);
}
.premium-feature-box {
border: 2px solid #ffc107;
border-radius: 8px;
padding: 15px;
margin: 15px 0;
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}
.premium-feature-box h6 {
color: #856404;
margin-bottom: 5px;
}
.form-check-input:checked {
background-color: #ffc107;
border-color: #ffc107;
}
.premium-upgrade-prompt {
text-align: center;
padding: 10px;
}
.premium-upgrade-prompt a {
text-decoration: none;
font-weight: bold;
}
.premium-upgrade-prompt a:hover {
text-decoration: underline;
}
#url-preview-content {
font-family: monospace;
border-left: 4px solid #007bff;
}
.text-success {
color: #28a745 !important;
}