Fix Submit UI

- anonymous checkbox alignment
- invalid red colors across light/dark themes
pull/1/head
David Benqué 4 years ago
parent 487840a1f4
commit d35a499fc7

@ -437,4 +437,4 @@
@cp_form-poll-yes: fade(@cryptpad_color_green, 25%); @cp_form-poll-yes: fade(@cryptpad_color_green, 25%);
@cp_form-poll-maybe: @cryptpad_color_grey_700; @cp_form-poll-maybe: @cryptpad_color_grey_700;
@cp_form-poll-yes-color: @cryptpad_color_green; @cp_form-poll-yes-color: @cryptpad_color_green;
@cp_form-invalid: @cryptpad_color_red; @cp_form-invalid: @cryptpad_color_light_red;

@ -197,9 +197,6 @@
} }
} }
.cp-form-page + .cp-form-send-container {
margin-top: 10px;
}
.cp-form-send-container { .cp-form-send-container {
text-align: center; text-align: center;
margin: 50px auto 100px auto; margin: 50px auto 100px auto;
@ -215,8 +212,15 @@
} }
li { li {
text-align: left; text-align: left;
a {
color: @cryptpad_color_link;
}
} }
} }
.cp-form-anon-answer {
text-align: center;
margin: 20px 0 30px 0;
}
} }
.cp-form-page-container { .cp-form-page-container {
@ -293,7 +297,7 @@
justify-content: space-between; justify-content: space-between;
} }
input:invalid { input:invalid {
border: 2px solid @cp_form-invalid; border: 2px solid @cryptpad_color_red;
color: @cp_form-invalid; color: @cp_form-invalid;
} }
media-tag { media-tag {

@ -1909,7 +1909,7 @@ define([
return h('div.cp-form-send-container', [ return h('div.cp-form-send-container', [
invalid, invalid,
cbox ? h('div', cbox) : undefined, cbox ? h('div.cp-form-anon-answer', cbox) : undefined,
send, reset send, reset
]); ]);
}; };

Loading…
Cancel
Save