The admin options page (themeOptions/update) does NOT load the theme's css/plain.css — that file is registered for survey pages only — so the swatch chip styles added there never applied on the options page: with the new JS (hex label element) but old/absent CSS the swatches collapsed to tiny buttons with the hex beside them. The chip/disable-mode styles are options-page-only UI, so they now live in an inline <style> block in options/options.twig (always rendered with the page, twig auto_reload — no asset cache involved) and were removed from css/plain.css (sass source kept in sync). No options.js change, so OPTIONS_JS_TOKEN stays 20261126.3. jsdom test now asserts gap:10px and the column layout against the inline <style>; suite 6/6, export 0. Variants not rebuilt (deferred). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
234 lines
4 KiB
CSS
234 lines
4 KiB
CSS
body.font-arial {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
body.font-arial_black {
|
|
font-family: ArialBlack, Helvetica, sans-serif;
|
|
}
|
|
|
|
body.font-opensans {
|
|
font-family: "Open Sans", Helvetica, sans-serif;
|
|
}
|
|
|
|
body.font-georgia {
|
|
font-family: Georgia, "Times New Roman", Times, serif;
|
|
}
|
|
|
|
body.font-courier {
|
|
font-family: "Courier New", Courier, monospace;
|
|
}
|
|
|
|
#welcome-container {
|
|
padding: 15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.top-container .top-content {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.row.question-container {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
#navigator-container {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.privacy .ls-privacy-head, .privacy p.ls-privacy-body {
|
|
background: white;
|
|
padding: 15px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
h1.survey-name {
|
|
margin-top: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.group-description {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#surveys-list-container {
|
|
background: white;
|
|
padding: 15px;
|
|
}
|
|
|
|
.question-container {
|
|
border: inherit;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.ls-questionhelp {
|
|
margin-bottom: 5px;
|
|
margin-top: 5px;
|
|
}
|
|
.ls-questionhelp p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
table.ls-answers {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sortable-rank {
|
|
background: white;
|
|
}
|
|
|
|
.ls-answers .ls-heading th {
|
|
font-weight: inherit;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.privacy-block {
|
|
padding: 15px;
|
|
}
|
|
|
|
.privacy .form-check {
|
|
padding: 15px;
|
|
background: lightyellow;
|
|
}
|
|
.privacy .form-check .form-check-input {
|
|
float: none;
|
|
margin-left: 0;
|
|
}
|
|
|
|
#datasecurity_notice {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.save-form {
|
|
background: white;
|
|
}
|
|
.save-form .return-to-survey {
|
|
padding-left: 15px;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.save-message .h2 {
|
|
margin-top: 0;
|
|
font-weight: 700;
|
|
}
|
|
.save-message .text-warning {
|
|
color: inherit !important;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.save-survey-form {
|
|
background: white;
|
|
padding: 15px;
|
|
}
|
|
|
|
.checkbox-item input[type=checkbox]:checked + label::after,
|
|
.checkbox-item input[type=radio]:checked + label::after {
|
|
content: "";
|
|
}
|
|
|
|
.btn-primary {
|
|
border: none;
|
|
}
|
|
.btn-primary:hover {
|
|
filter: grayscale(0.5);
|
|
}
|
|
.btn-primary:focus {
|
|
filter: grayscale(0.5);
|
|
}
|
|
.btn-primary.active {
|
|
filter: grayscale(0.5);
|
|
}
|
|
.btn-primary:active {
|
|
filter: grayscale(0.5);
|
|
}
|
|
|
|
#surveys-list-container {
|
|
background: white;
|
|
padding: 15px;
|
|
}
|
|
|
|
.progress {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.progress-bar {
|
|
font-size: 80%;
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.qback_red .question-title-container {
|
|
background: red;
|
|
}
|
|
|
|
.qback_orange .question-title-container {
|
|
background: darkorange;
|
|
}
|
|
|
|
.qback_green .question-title-container {
|
|
background: darkgreen;
|
|
}
|
|
|
|
.qback_transparent .question-title-container {
|
|
background: transparent;
|
|
}
|
|
|
|
div.qvideo {
|
|
display: flex;
|
|
}
|
|
div.qvideo .video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
div.qvideo .question-title-container, div.qvideo .answer-container {
|
|
flex-grow: 2;
|
|
}
|
|
div.qvideo .question-title-container {
|
|
background: transparent;
|
|
color: #5A1D64;
|
|
}
|
|
div.qvideo .answer-container {
|
|
padding-left: 30px;
|
|
}
|
|
div.qvideo .question-valid-container {
|
|
display: none;
|
|
}
|
|
|
|
.hide-first-row table.ls-answers tr.answers-list:first-child {
|
|
display: none;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Header: three zones — left logo always far left, center logo always exactly
|
|
centered (absolute, independent of the other zones), right zone always far
|
|
right (ms-auto on .survey-nav-right). When a right logo is present, the
|
|
right-side menu texts (language changer, save/clear all, question index) sit
|
|
BELOW the logo (flex-column wrapper), still right-aligned. */
|
|
#survey-nav .container-fluid,
|
|
#survey-nav .container {
|
|
position: relative;
|
|
}
|
|
|
|
#survey-nav .logo-center {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
float: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
#survey-nav .logo-right {
|
|
margin-left: 0;
|
|
}
|
|
|
|
/* NOTE: the swatch-chip / disable-mode styles for the options page live INLINE in
|
|
options/options.twig (<style> block) — the admin options page does not load
|
|
css/plain.css, so they would not apply from here (rows 117-119). */
|
|
|
|
/*# sourceMappingURL=plain.css.map */
|