updated color scheme to dark mode
This commit is contained in:
@ -745,7 +745,7 @@ function showAddQuestionForm() {
|
||||
<span class="opt-text">${esc(opt.text)}</span>
|
||||
<span class="opt-points">${opt.points} pts</span>
|
||||
${opt.nextQuestionId ? `<span class="opt-branch">→ ${esc(opt.nextQuestionId)}</span>` : ''}
|
||||
<button class="btn-icon remove-pending-opt" data-idx="${i}" title="Remove" style="color:var(--danger)">✖</button>
|
||||
<button class="btn-icon btn-icon-danger remove-pending-opt" data-idx="${i}" title="Remove">✖</button>
|
||||
</li>
|
||||
`).join('');
|
||||
list.querySelectorAll('.remove-pending-opt').forEach(btn => {
|
||||
@ -1063,7 +1063,7 @@ function optionItemHTML(q, o, editable) {
|
||||
${o.nextQuestionId ? `<span class="opt-branch">→ ${esc(o.nextQuestionId)}</span>` : ''}
|
||||
${editable ? `
|
||||
<button class="btn-icon edit-opt-btn" data-id="${o.answerOptionID}" title="Edit">✎</button>
|
||||
<button class="btn-icon del-opt-btn" data-id="${o.answerOptionID}" title="Delete" style="color:var(--danger)">✖</button>
|
||||
<button class="btn-icon btn-icon-danger del-opt-btn" data-id="${o.answerOptionID}" title="Delete">✖</button>
|
||||
` : ''}
|
||||
</li>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user