Fix text color in danger-alt buttons

pull/1/head
David Benqué 4 years ago
parent c2c5f827fb
commit 5f6c814bbc

@ -142,6 +142,7 @@
@cp_buttons-default-color: @cryptpad_text_col;
@cp_buttons-default-border: @cryptpad_text_col;
@cp_buttons-red: #E55236;
@cp_buttons-red-text: @cryptpad_color_light_red;
@cp_buttons-red-color: #FFF;
@cp_buttons-red-border: transparent;
@cp_buttons-primary: @cryptpad_color_brand;
@ -159,7 +160,7 @@
@cp_sidebar-right-bg: @cryptpad_color_grey_900;
@cp_sidebar-right-fg: @cryptpad_text_col; // XXX was black
@cp_sidebar-left-active: @cp_sidebar-right-bg;
@cp_sidebar-hint: @cryptpad_color_hint_grey;
@cp_sidebar-hint: fade(@cryptpad_text_col, 80%);
// Drive
@cp_drive-bg: @cp_sidebar-right-bg;

@ -142,6 +142,7 @@
@cp_buttons-default-color: @cryptpad_text_col;
@cp_buttons-default-border: @cryptpad_text_col;
@cp_buttons-red: #E55236;
@cp_buttons-red-text: @cp_buttons-red;
@cp_buttons-red-color: #FFF;
@cp_buttons-red-border: transparent;
@cp_buttons-primary: @cryptpad_color_brand;

@ -142,7 +142,7 @@
&.danger-alt, &.btn-danger-alt, &.btn-danger-outline {
border-color: @cp_buttons-red;
color: @cp_buttons-red;
color: @cp_buttons-red-text;
&:hover, &:not(:disabled):active, &:focus {
border-color: @cp_buttons-red;
color: @cp_buttons-red-color;

Loading…
Cancel
Save