|
|
|
|
|
#question-types,
|
|
|
#survey-area {
|
|
|
border: 1px solid #dee2e6;
|
|
|
border-radius: 0.25rem;
|
|
|
padding: 1rem;
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
#question-types {
|
|
|
background-color: #f8f9fa;
|
|
|
position: sticky;
|
|
|
top: 10px;
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
}
|
|
|
|
|
|
#upload-btn-hf {
|
|
|
background-color: orange;
|
|
|
color: white;
|
|
|
border-color: orange;
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
#upload-btn-hf:focus {
|
|
|
outline: 2px solid orange;
|
|
|
box-shadow: 0 0 5px orange;
|
|
|
}
|
|
|
|
|
|
|
|
|
.Choice-question {
|
|
|
background-color: #ffffff;
|
|
|
border: 1px solid #ced4da;
|
|
|
border-radius: 0.25rem;
|
|
|
padding: 0.75rem;
|
|
|
margin-bottom: 0.5rem;
|
|
|
cursor: move;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
text-align: left;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.Choice-question span {
|
|
|
flex-grow: 1;
|
|
|
text-align: left;
|
|
|
}
|
|
|
|
|
|
.info-icon {
|
|
|
display: inline-block;
|
|
|
width: 18px;
|
|
|
height: 18px;
|
|
|
border: 1px solid #000;
|
|
|
border-radius: 50%;
|
|
|
text-align: center;
|
|
|
font-size: 14px;
|
|
|
font-weight: bold;
|
|
|
line-height: 18px;
|
|
|
cursor: pointer;
|
|
|
position: relative;
|
|
|
margin-left: auto;
|
|
|
}
|
|
|
|
|
|
.info-icon:hover::after {
|
|
|
content: attr(data-tooltip);
|
|
|
position: absolute;
|
|
|
top: -30px;
|
|
|
left: 100%;
|
|
|
margin-left: 10px;
|
|
|
background: #333;
|
|
|
color: #fff;
|
|
|
padding: 5px 10px;
|
|
|
border-radius: 5px;
|
|
|
white-space: nowrap;
|
|
|
font-size: 12px;
|
|
|
z-index: 10;
|
|
|
}
|
|
|
|
|
|
.modal-backdrop {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.question {
|
|
|
background-color: #ffffff;
|
|
|
border: 1px solid #ced4da;
|
|
|
border-radius: 0.25rem;
|
|
|
padding: 0.75rem;
|
|
|
margin-bottom: 0.5rem;
|
|
|
}
|
|
|
|
|
|
.Choice-question.dragging {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
|
|
|
.question.dragging {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
|
|
|
|
|
|
.question input {
|
|
|
margin-bottom: 10px;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
.Choice-question::before {
|
|
|
content: '⋮';
|
|
|
margin-right: 0.5rem;
|
|
|
color: #6c757d;
|
|
|
}
|
|
|
|
|
|
.Choice-question input {
|
|
|
margin-bottom: 10px;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
.input-group {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.input-group .form-control {
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
|
|
|
.input-group2 {
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
width: 200px;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
float: left;
|
|
|
border: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.input-group2 .form-control-sm {
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
.input-group2 .btn {
|
|
|
height: auto;
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
.btn-danger.btn-sm {
|
|
|
float: right;
|
|
|
|
|
|
}
|
|
|
|
|
|
.btn-danger.btn-sm {
|
|
|
padding: 0.2rem 0.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
main {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
|
|
|
#survey-area {
|
|
|
flex-grow: 1;
|
|
|
min-height: 500px;
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
padding-bottom: 100px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
#question-types {
|
|
|
margin-bottom: 1rem;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.form-check {
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
.form-check-input {
|
|
|
-webkit-appearance: checkbox;
|
|
|
|
|
|
-moz-appearance: checkbox;
|
|
|
|
|
|
appearance: checkbox;
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
.form-check-label {
|
|
|
margin: 0;
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
display: inline;
|
|
|
|
|
|
}
|
|
|
|
|
|
.form-control-sm {
|
|
|
width: 100px;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
border: 1px solid #ced4da;
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
.form-check .form-control-sm {
|
|
|
vertical-align: middle;
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-secondary.btn-sm.mb-2 {
|
|
|
vertical-align: middle;
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
margin-top: 11px;
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.drag-handle {
|
|
|
font-size: 1.25em;
|
|
|
margin-right: 10px;
|
|
|
cursor: move;
|
|
|
}
|
|
|
|
|
|
.link-like {
|
|
|
all: unset;
|
|
|
color: #0d6efd;
|
|
|
text-decoration: underline;
|
|
|
cursor: pointer;
|
|
|
font: inherit;
|
|
|
vertical-align: baseline;
|
|
|
}
|
|
|
|
|
|
|
|
|
.handle {
|
|
|
cursor: move;
|
|
|
}
|
|
|
|
|
|
|
|
|
.component {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
|
|
|
.drag-handle:hover {
|
|
|
cursor: move;
|
|
|
}
|
|
|
|
|
|
.drag-text {
|
|
|
font-size: 0.875rem;
|
|
|
|
|
|
color: #6c757d;
|
|
|
margin-bottom: 0.4rem;
|
|
|
}
|
|
|
|
|
|
h4 {
|
|
|
font-size: 1.4em;
|
|
|
}
|
|
|
|
|
|
.logo-crop-wrapper {
|
|
|
height: 300px;
|
|
|
overflow: hidden;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.cropped-logo {
|
|
|
height: 400px;
|
|
|
object-fit: cover;
|
|
|
object-position: center;
|
|
|
}
|
|
|
|
|
|
|
|
|
.card-header button.dropdown-toggle::after {
|
|
|
content: "▸";
|
|
|
font-size: 0.8rem;
|
|
|
margin-left: 8px;
|
|
|
transition: transform 0.2s ease;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.card-header button.dropdown-toggle:not(.collapsed)::after {
|
|
|
transform: rotate(90deg);
|
|
|
}
|
|
|
|
|
|
|
|
|
.rotate-icon {
|
|
|
transition: transform 0.3s ease;
|
|
|
}
|
|
|
.collapsed .rotate-icon {
|
|
|
transform: rotate(0deg);
|
|
|
}
|
|
|
.rotate-icon.collapsed {
|
|
|
transform: rotate(0deg);
|
|
|
}
|
|
|
.rotate-icon:not(.collapsed) {
|
|
|
transform: rotate(0deg);
|
|
|
}
|
|
|
|
|
|
|
|
|
|