aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-08-26 20:20:51 +0200
committerThomas Lange <code@nerdmind.de>2021-08-26 20:20:51 +0200
commitd09433b4f11a44fe23b9b6e9415a1011296d6a8d (patch)
tree16a3fb18f23af02c9bfd244232ca51f9452ab817 /theme/admin
parent3e35de0805f64759d3ff4c28632e65ec795223ac (diff)
downloadblog-d09433b4f11a44fe23b9b6e9415a1011296d6a8d.tar.gz
blog-d09433b4f11a44fe23b9b6e9415a1011296d6a8d.tar.xz
blog-d09433b4f11a44fe23b9b6e9415a1011296d6a8d.zip
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.
Diffstat (limited to 'theme/admin')
-rw-r--r--theme/admin/rsrc/css/bright.css8
-rw-r--r--theme/admin/rsrc/css/dark.css8
-rw-r--r--theme/admin/rsrc/css/import/_styles.scss8
3 files changed, 24 insertions, 0 deletions
diff --git a/theme/admin/rsrc/css/bright.css b/theme/admin/rsrc/css/bright.css
index 3f76207..d9ffd14 100644
--- a/theme/admin/rsrc/css/bright.css
+++ b/theme/admin/rsrc/css/bright.css
@@ -53,6 +53,14 @@
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Placeholders
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+::placeholder {
+ color: #444;
+ opacity: 0.5;
+}
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Scrollbars
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
* {
diff --git a/theme/admin/rsrc/css/dark.css b/theme/admin/rsrc/css/dark.css
index 3d5b883..8472aab 100644
--- a/theme/admin/rsrc/css/dark.css
+++ b/theme/admin/rsrc/css/dark.css
@@ -53,6 +53,14 @@
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Placeholders
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+::placeholder {
+ color: #8D9AA7;
+ opacity: 0.5;
+}
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Scrollbars
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
* {
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
@@ -12,6 +12,14 @@
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Placeholders
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+::placeholder {
+ color: $textColorLight;
+ opacity: 0.5;
+}
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Scrollbars
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
* {