diff --git a/customize.dist/src/less2/include/colortheme-dark.less b/customize.dist/src/less2/include/colortheme-dark.less index ba80b2d64..a16f9b5ca 100644 --- a/customize.dist/src/less2/include/colortheme-dark.less +++ b/customize.dist/src/less2/include/colortheme-dark.less @@ -64,7 +64,8 @@ @cryptpad_color_light_green: #c5ffa8; @cryptpad_color_light_green_fade: fade(@cryptpad_color_light_green, 20%); @cryptpad_color_light_yellow: #FFE69C; -@cryptpad_color_yellow_fade: fade(#FFE69C, 15%); +@cryptpad_color_yellow_fade: fade(@cryptpad_color_light_yellow, 50%); +@cryptpad_color_yellow_fader: fade(#FFE69C, 15%); // not in light theme @cryptpad_color_lighter_blue: #d2e1f2; @cryptpad_color_link:@cryptpad_color_brand_300; @@ -115,7 +116,7 @@ @cp_forms-disabled: @cryptpad_color_grey_500; // Bootstrap alerts -@cp_alerts-warning-bg: @cryptpad_color_yellow_fade; +@cp_alerts-warning-bg: @cryptpad_color_yellow_fader; @cp_alerts-warning-fg: @cryptpad_color_light_yellow; @cp_alerts-warning-text: @cryptpad_color_light_yellow; @cp_alerts-danger-bg: @cryptpad_color_red_fader; @@ -432,8 +433,8 @@ @cp_form-bg2: @cryptpad_color_grey_900; @cp_form-border: @cryptpad_color_grey_800; @cp_form-poll-color: @cryptpad_color_grey_800; -@cp_form-poll-no: @cryptpad_color_light_red; -@cp_form-poll-yes: @cryptpad_color_light_green; -@cp_form-poll-maybe: @cryptpad_color_light_yellow; +@cp_form-poll-no: fade(@cryptpad_color_red, 25%); +@cp_form-poll-yes: fade(@cryptpad_color_green, 25%); +@cp_form-poll-maybe: @cryptpad_color_grey_700; @cp_form-poll-yes-color: @cryptpad_color_green; @cp_form-invalid: @cryptpad_color_red; diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index 1102f6074..a7b103797 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -432,8 +432,8 @@ @cp_form-bg2: @cryptpad_color_grey_100; @cp_form-border: @cryptpad_color_grey_200; @cp_form-poll-color: @cryptpad_color_grey_800; -@cp_form-poll-no: @cryptpad_color_light_red; -@cp_form-poll-yes: @cryptpad_color_light_green; -@cp_form-poll-maybe: @cryptpad_color_light_yellow; +@cp_form-poll-no: fade(@cryptpad_color_light_red, 75%); +@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; diff --git a/www/admin/inner.js b/www/admin/inner.js index 8d90eb90a..3e05de971 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -1921,6 +1921,7 @@ define([ if (active.indexOf('-') !== -1) { active = active.split('-')[0]; } + if (!categories[active]) { active = 'general'; } common.setHash(active); Object.keys(categories).forEach(function (key) { var $category = $('
', {'class': 'cp-sidebarlayout-category'}).appendTo($categories); diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 011bb587b..28f24448a 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1069,6 +1069,7 @@ define([ editor.replaceSelections(newTexts, 'around'); editor.focus(); }; + Messages.mdToolbar_embed = "Embed file"; // XXX for (var k in actions) { $('