107 lines
1.5 KiB
CSS
107 lines
1.5 KiB
CSS
body {
|
|
background: #f0f2f5;
|
|
}
|
|
.survey-scale {
|
|
display: grid;
|
|
grid-template-columns: 130px 1fr 130px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.scale-label {
|
|
font-size: 14px;
|
|
color: #555;
|
|
}
|
|
|
|
.scale-options {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
text-align: center;
|
|
}
|
|
|
|
.scale-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.scale-item input {
|
|
display: none;
|
|
}
|
|
|
|
.scale-item .number {
|
|
font-size: 14px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.scale-item .circle {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
border: 2px solid #999;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.scale-item input:checked + .circle {
|
|
border-color: #0d6efd;
|
|
background: radial-gradient(#0d6efd 40%, transparent 45%);
|
|
}
|
|
|
|
.scale-item:hover .circle {
|
|
border-color: #0d6efd;
|
|
}
|
|
|
|
|
|
.form-card {
|
|
max-width: 800px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.question-card {
|
|
border-radius: 12px;
|
|
border: 1px solid #eee;
|
|
background: #fafafa;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.question-card:hover {
|
|
background: #f5f9ff;
|
|
border-color: #dbeafe;
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
.survey-scale {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 8px;
|
|
}
|
|
|
|
.scale-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.scale-options {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
}
|
|
|
|
.scale-item {
|
|
flex: 1;
|
|
}
|
|
|
|
.scale-item .circle {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.scale-item .number {
|
|
font-size: 12px;
|
|
}
|
|
} |