From 296367bf0eb756e6bcba0f7ee9a9bf10cab230d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 10 Nov 2020 15:20:30 +0000 Subject: [PATCH] Fix Ctrl-e new pad modals --- customize.dist/src/less2/include/drive.less | 8 ++++++-- customize.dist/src/less2/include/icons.less | 2 +- customize.dist/src/less2/include/toolbar.less | 11 +++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/customize.dist/src/less2/include/drive.less b/customize.dist/src/less2/include/drive.less index e09dc0a0f..13105ea53 100644 --- a/customize.dist/src/less2/include/drive.less +++ b/customize.dist/src/less2/include/drive.less @@ -868,8 +868,11 @@ border: 1px solid @colortheme_modal-fg; li:not(.cp-app-drive-element-selected):hover { - background: @colortheme_modal-fg; - color: @colortheme_modal-bg; + background: @colortheme_logo_2_light; + color: @cryptpad_text_col; + .cptools { + color: @cryptpad_text_col; + } } .cp-modal { display: flex; @@ -896,6 +899,7 @@ } .cp-app-drive-new-name { + color: @cryptpad_text_col; white-space: nowrap; } diff --git a/customize.dist/src/less2/include/icons.less b/customize.dist/src/less2/include/icons.less index ebadf5185..228e10c3d 100644 --- a/customize.dist/src/less2/include/icons.less +++ b/customize.dist/src/less2/include/icons.less @@ -16,13 +16,13 @@ height: 24px; margin: 0; display: inline-block; - font-size: 14px; //align-items: center; //justify-content: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-wrap: break-word; + color: @cryptpad_text_col; } &.cp-icons-element-selected { background-color: rgba(0,0,0,0.2); diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 540da69fe..8e2fa70f9 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -271,8 +271,11 @@ border: 1px solid @colortheme_modal-fg; &:hover { //border: 1px solid @colortheme_modal-fg; - background: @colortheme_modal-fg; - color: @colortheme_modal-bg; + background: @colortheme_logo_2_light; + color: @cryptpad_text_col; + .cptools { + color: @cryptpad_text_col; + } } } .cp-modal { @@ -282,7 +285,7 @@ cursor: pointer; } &> p { - margin: 50px; + margin: 20px; } &> div { flex: 1; @@ -293,7 +296,7 @@ } &> div:last-child { flex: unset; - margin: 50px 0; + margin: 20px 0; } }