Fix: [WebUI] フルダークテーマの修正 (#708)

* Fix media alt textarea color

投稿に添付したメディアの編集モーダルウインドウに存在する「視覚的に閲覧が難しいユーザーへの説明」を入力するテキストエリアの色を修正

* Fix compose-form__warning color

投稿画面にて一部の公開範囲などを選んだ際に、入力欄の上部に表示される .compose-form__warning の背景色を修正(文字の視認性向上のため)

* fix CSS Selector

idの指定を`#~~~` から `[id=~~~]` に変更
This commit is contained in:
Yuicho 2024-04-10 08:32:52 +09:00 committed by GitHub
parent 6cf0f5bac7
commit 207fff0453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
input[type='text']:not(#cw-spoiler-input), input[type='text']:not(#cw-spoiler-input),
input[type='search'], input[type='search'],
input[type='number'], input[type='number'],
textarea[id='upload-modal__description'],
input:not([type]) { input:not([type]) {
background: $ui-base-color !important; background: $ui-base-color !important;
color: $primary-text-color !important; color: $primary-text-color !important;
@ -24,6 +25,7 @@ input:not([type]) {
color: $classic-secondary-color !important; color: $classic-secondary-color !important;
} }
.compose-form__warning,
.modal-root__modal { .modal-root__modal {
background: lighten($classic-base-color, 12%); background: lighten($classic-base-color, 12%);
} }