From ef9f653239b9161ea8428a8ddd510d8bff120341 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 12 Feb 2021 15:29:20 +0100 Subject: [PATCH] Fix resize button colors in rich text --- customize.dist/src/less2/include/colortheme-dark.less | 1 + customize.dist/src/less2/include/colortheme.less | 1 + www/pad/app-pad.less | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/customize.dist/src/less2/include/colortheme-dark.less b/customize.dist/src/less2/include/colortheme-dark.less index eb578ad68..a0fee30c1 100644 --- a/customize.dist/src/less2/include/colortheme-dark.less +++ b/customize.dist/src/less2/include/colortheme-dark.less @@ -387,6 +387,7 @@ // Rich text @cp_pad-fg: @cryptpad_text_col; @cp_pad-icon-filter: invert(); +@cp_pad-resize: @cryptpad_color_grey_800; // Comments @cp_comments-fg: @cryptpad_text_col; @cp_comments-bg: @cryptpad_color_grey_800; diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index d96ce4e0f..f35f00ed1 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -387,6 +387,7 @@ // Rich text @cp_pad-fg: @cryptpad_text_col; @cp_pad-icon-filter: none; +@cp_pad-resize: @cryptpad_text_col; // Comments @cp_comments-fg: @cryptpad_text_col; @cp_comments-bg: @cryptpad_color_white; diff --git a/www/pad/app-pad.less b/www/pad/app-pad.less index b939c4b9d..2f98506a3 100644 --- a/www/pad/app-pad.less +++ b/www/pad/app-pad.less @@ -68,6 +68,10 @@ body.cp-app-pad { margin-left: -40px; margin-top: 10px; margin-right: 0; + button { + color: @cp_pad-resize; + border-color: @cp_pad-resize; + } &.hidden { margin-left: -70px; margin-right: 40px;