mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #36045 from overleaf/dp-dark-theme-textareas
Apply themed light/dark styling to textarea form controls GitOrigin-RevId: 304b73e983d0e20fa5d691a513ca6b16b8ef5d54
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
@import 'list';
|
||||
@import 'select';
|
||||
@import 'modal';
|
||||
@import 'offcanvas';
|
||||
@import 'quote';
|
||||
@import 'footer';
|
||||
@import 'nav';
|
||||
|
||||
@@ -530,7 +530,8 @@ input[type='range'] {
|
||||
}
|
||||
|
||||
input.form-control[type='text'],
|
||||
input.form-control[type='search'] {
|
||||
input.form-control[type='search'],
|
||||
textarea.form-control {
|
||||
color: var(--input-field-color);
|
||||
background-color: var(--input-field-bg);
|
||||
border-color: var(--input-field-border-color);
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
// Mirrors .modal in modal.scss; .bibtex-entry-preview-panel is a
|
||||
// non-offcanvas drawer that needs the same light-theme forcing.
|
||||
@include theme('default') {
|
||||
.offcanvas,
|
||||
.bibtex-entry-preview-panel {
|
||||
@include light-themed-variables;
|
||||
@include light-dropdown-menu;
|
||||
@include light-notification;
|
||||
@include light-select;
|
||||
@include form-check-light;
|
||||
@include form-select-light;
|
||||
|
||||
.form-control,
|
||||
.form-control-wrapper {
|
||||
@include light-input;
|
||||
}
|
||||
|
||||
.btn {
|
||||
@include light-buttons;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user