Files
ukaiautomation/critical-button-fix.css

96 lines
2.3 KiB
CSS
Raw Normal View History

2025-06-08 11:21:30 +01:00
/* CRITICAL BUTTON FIX - Override everything */
.btn {
background: #179e83 !important;
color: white !important;
padding: 15px 30px !important;
border: none !important;
border-radius: 5px !important;
text-decoration: none !important;
display: inline-block !important;
font-family: Arial, sans-serif !important;
font-size: 16px !important;
font-weight: bold !important;
text-align: center !important;
cursor: pointer !important;
margin: 10px 0 !important;
min-width: 150px !important;
box-sizing: border-box !important;
line-height: normal !important;
vertical-align: baseline !important;
position: relative !important;
z-index: 10 !important;
}
.btn:hover {
background: #11725e !important;
color: white !important;
text-decoration: none !important;
}
.btn:visited,
.btn:active,
.btn:focus {
color: white !important;
text-decoration: none !important;
}
.btn-primary {
background: #179e83 !important;
color: white !important;
}
.btn-secondary {
background: #6c757d !important;
color: white !important;
}
/* Force text visibility */
.btn * {
color: white !important;
font-family: Arial, sans-serif !important;
}
/* Remove any potential hiding styles */
.btn {
visibility: visible !important;
opacity: 1 !important;
text-indent: 0 !important;
text-overflow: visible !important;
white-space: normal !important;
overflow: visible !important;
transform: none !important;
}
/* Emergency fallback for empty buttons */
.btn:empty::after {
content: "Click Here" !important;
color: white !important;
}
/* Ensure container doesn't hide buttons */
.expert-consultation-cta,
.cta-content,
.cta-buttons {
overflow: visible !important;
position: relative !important;
}
/* Reset any problematic inherited styles */
.btn {
all: unset !important;
background: #179e83 !important;
color: white !important;
padding: 15px 30px !important;
border-radius: 5px !important;
text-decoration: none !important;
display: inline-block !important;
font-family: Arial, sans-serif !important;
font-size: 16px !important;
font-weight: bold !important;
text-align: center !important;
cursor: pointer !important;
margin: 10px !important;
min-width: 150px !important;
box-sizing: border-box !important;
}