From d09433b4f11a44fe23b9b6e9415a1011296d6a8d Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 26 Aug 2021 20:20:51 +0200 Subject: Explicitly set placeholder color for admin theme Explicitly set the placeholder color and opacity for the form fields of the admin theme as the various browsers are using different defaults. --- theme/admin/rsrc/css/import/_styles.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'theme/admin/rsrc/css/import') diff --git a/theme/admin/rsrc/css/import/_styles.scss b/theme/admin/rsrc/css/import/_styles.scss index b499700..421aaac 100644 --- a/theme/admin/rsrc/css/import/_styles.scss +++ b/theme/admin/rsrc/css/import/_styles.scss @@ -11,6 +11,14 @@ color: #000; } +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# Placeholders +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +::placeholder { + color: $textColorLight; + opacity: 0.5; +} + /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Scrollbars ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -- cgit v1.2.3