Reduce contrast of rich text toolbar. Fix #4997 (#5740)

This commit is contained in:
Jack Paine 2020-01-25 00:05:27 +00:00 committed by Thibaud Colas
parent 2933589680
commit 70da204eb1
3 changed files with 10 additions and 5 deletions

View file

@ -4,6 +4,7 @@ Changelog
2.9 (xx.xx.xxxx) - IN DEVELOPMENT 2.9 (xx.xx.xxxx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
* Reduced contrast of rich text toolbar (Jack Paine)
* Fix: Added ARIA alert role to live search forms in the admin (Casper Timmers) * Fix: Added ARIA alert role to live search forms in the admin (Casper Timmers)
* Fix: Reorder login form elements to match expected tab order (Kjartan Sverrisson) * Fix: Reorder login form elements to match expected tab order (Kjartan Sverrisson)
* Fix: Re-add 'Close Explorer' button on mobile viewports (Sævar Öfjörð Magnússon) * Fix: Re-add 'Close Explorer' button on mobile viewports (Sævar Öfjörð Magnússon)

View file

@ -1,10 +1,10 @@
$editor-z-index: $draftail-editor-z-index; $editor-z-index: $draftail-editor-z-index;
$draftail-editor-text: $color-text-input; $draftail-editor-text: $color-text-input;
$draftail-editor-chrome: $color-grey-1; $draftail-editor-chrome: $color-white;
$draftail-editor-chrome-text: $color-white; $draftail-editor-chrome-text: $color-grey-2;
$draftail-editor-chrome-active: $color-white; $draftail-editor-chrome-active: $color-grey-2;
$draftail-editor-chrome-accent: lighten($draftail-editor-chrome, 20%); $draftail-editor-chrome-accent: transparent;
$draftail-editor-border: 0; $draftail-editor-border: 0;
$draftail-editor-padding: 0; $draftail-editor-padding: 0;
@ -99,6 +99,10 @@ $draftail-editor-font-family: $font-serif;
@include nice-margin; @include nice-margin;
} }
.Draftail-Toolbar {
border: 1px solid $color-grey-3;
}
.title .Draftail-Editor .public-DraftEditor-content, .title .Draftail-Editor .public-DraftEditor-content,
.title .Draftail-Editor .public-DraftEditorPlaceholder-root { .title .Draftail-Editor .public-DraftEditorPlaceholder-root {
font-size: 2em; font-size: 2em;

View file

@ -14,7 +14,7 @@ What's new
Other features Other features
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
* ... * Reduced contrast of rich text toolbar (Jack Paine)
Bug fixes Bug fixes