From 6be651245a9dc14a022efb0136f2d4073a201ef3 Mon Sep 17 00:00:00 2001 From: Fatih Balsoy <28816254+fatihbalsoy@users.noreply.github.com> Date: Sat, 18 Nov 2023 19:12:31 -0500 Subject: [PATCH] Fixed plugin upload in dark mode --- src/styles/components/_card.scss | 4 +++- src/styles/themes/shared.dark.css | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/components/_card.scss b/src/styles/components/_card.scss index 24c67bf..08c0b81 100644 --- a/src/styles/components/_card.scss +++ b/src/styles/components/_card.scss @@ -45,7 +45,9 @@ form#comments-form, .media-upload-form, form#posts-filter, div#col-left, -.mdwp-card { +.mdwp-card, +.upload-plugin .wp-upload-form, +.upload-theme .wp-upload-form { border-radius: var(--br-10px) !important; padding: 15px !important; background: var(--light-back-color); diff --git a/src/styles/themes/shared.dark.css b/src/styles/themes/shared.dark.css index c703e28..e6844c3 100644 --- a/src/styles/themes/shared.dark.css +++ b/src/styles/themes/shared.dark.css @@ -27,7 +27,7 @@ body.wp-autoresize, body, #wpcontent, ul.cat-checklist, .wp-tab-active, ul.add-m background: var(--dark-back-color-paper) !important; } -legend, .theme-browser .theme .theme-name, .about-wrap, .theme-overlay .theme-actions, .media-frame.mode-grid .uploader-inline, #poststuff, form#createuser, form#your-profile, form#bulk-action-form, .menu-item-handle, #menu-management .menu-edit, #menu-settings-column .accordion-container, .comment-ays, .feature-filter, .imgedit-group, .manage-menus, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, p.popular-tags, #et_pb_widget_area_create, div#widgets-right, div#widgets-left, .themes.wp-clearfix, .form-wrap.edit-term-notes, form#comments-form, .media-upload-form, form#posts-filter, div#col-left, #adminmenu, #adminmenu .wp-submenu, #adminmenuback, .notice, div.error, div.updated, #screen-meta-links .screen-meta-toggle, #screen-meta-links .show-settings, #screen-meta, #contextual-help-wrap, .welcome-panel, .jitm-card, .theme-overlay .theme-wrap, #adminmenuwrap, table, .plugin-card, .plugin-card-bottom, .wp-filter { +legend, .theme-browser .theme .theme-name, .about-wrap, .theme-overlay .theme-actions, .media-frame.mode-grid .uploader-inline, #poststuff, form#createuser, form#your-profile, form#bulk-action-form, .menu-item-handle, #menu-management .menu-edit, #menu-settings-column .accordion-container, .comment-ays, .feature-filter, .imgedit-group, .manage-menus, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, p.popular-tags, #et_pb_widget_area_create, div#widgets-right, div#widgets-left, .themes.wp-clearfix, .form-wrap.edit-term-notes, form#comments-form, .media-upload-form, form#posts-filter, div#col-left, #adminmenu, #adminmenu .wp-submenu, #adminmenuback, .notice, div.error, div.updated, #screen-meta-links .screen-meta-toggle, #screen-meta-links .show-settings, #screen-meta, #contextual-help-wrap, .welcome-panel, .jitm-card, .theme-overlay .theme-wrap, #adminmenuwrap, table, .plugin-card, .plugin-card-bottom, .wp-filter, .upload-plugin .wp-upload-form, .upload-theme .wp-upload-form { background: var(--dark-back-color) !important; }