@inleads/inleads-widgets
Version:
Widgets for chatbot, WhatsApp, nps, contact-form
97 lines (85 loc) • 1.65 kB
CSS
:host {
display: block ;
all: initial;
}
.nps-widget-container {
background-color: #1B1464;
padding: 30px 15px;
text-align: center;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
position: relative;
}
.nps-widget-container.bottomLeft,
.nps-widget-container.bottomRight,
.nps-widget-container.topLeft,
.nps-widget-container.topRight,
.nps-widget-container.center {
border-radius: 15px;
border: none;
}
.nps-widget-container h3 {
color: #fff;
font-size: 16px;
margin-bottom: 15px;
font-family: 'system-ui';
}
.nps-widget-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 6px;
}
.nps-widget-container .btn {
border-radius: 2px;
background-color: #fff;
color: #333;
font-weight: 600;
cursor: pointer;
padding: 8px 15px;
width: 32px;
height: 32px;
margin-left: 3px;
border: none;
display: flex;
justify-content: center;
align-items: center;
}
.nps-widget-container .btn.btn-danger {
background-color: #FF7575;
color: #fff;
font-family: 'system-ui';
}
.nps-widget-container .btn.btn-warning {
background-color: #FBBE28;
color: #fff;
font-family: 'system-ui';
}
.nps-widget-container .btn.btn-success {
background-color: #74CE38;
color: #fff;
font-family: 'system-ui';
}
.widget-x {
position: absolute;
top: 8px;
right: 8px;
color: #fff;
font-size: 24px;
cursor: pointer;
border:none;
text-decoration: none;
font-family: 'system-ui';
}
.success-info {
color: #FFF;
text-align: center;
font-family: 'system-ui';
}
.success-star {
height: 45px;
width: 45px;
}
.hidden {
display: none;
}