@ -447,6 +447,6 @@
@cp_form-poll-yes: fade(@cryptpad_color_light_green, 75%);
@cp_form-poll-maybe: @cryptpad_color_grey_300;
@cp_form-poll-yes-color: @cryptpad_color_green;
@cp_form-invalid: @cryptpad_color_red;
@cp_form-invalid: @cp_alerts-danger-text;
@cp_form-palette: @cp_palette;
@cp_form-palette2: @cp_palette-dark;
@ -479,10 +479,10 @@
.cp-form-anon-answer {
text-align: center;
margin: 20px 0 30px 0;
.cp-radio {
margin-top: 10px;
}
.cp-form-required-radio.cp-radio-required {
background: fade(@cryptpad_text_col, 15%);
padding: 3px;
border: 2px solid @cryptpad_color_red;
color: @cp_form-invalid;
.cp-form-anon-answer-input {
@ -577,7 +577,6 @@
flex: 1;
.cp-form-required-tag {
padding: 5px;
margin-top: -10px;
margin-right: -10px;
@ -3032,7 +3032,9 @@ define([
anonOffContent, false, {
input: { value: 0 },
});
Messages.form_answerChoice = "Please choose how you would like to answer this form: "; // XXX
var radioContainer = h('div.cp-form-required-radio', [
Messages.form_answerChoice,
anonRadioOn,
anonRadioOff,
]);
@ -3268,8 +3270,8 @@ define([
return h('div.cp-form-send-container', [
invalid,
errors,
h('div.cp-form-anon-answer', [
radioContainer
]),