summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/css/search-box.css
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/jsonview/css/search-box.css')
-rw-r--r--devtools/client/jsonview/css/search-box.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/devtools/client/jsonview/css/search-box.css b/devtools/client/jsonview/css/search-box.css
new file mode 100644
index 0000000000..25828c6b76
--- /dev/null
+++ b/devtools/client/jsonview/css/search-box.css
@@ -0,0 +1,20 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/******************************************************************************/
+/* Search Box */
+
+.devtools-searchbox {
+ background-color: var(--theme-body-background);
+}
+
+.devtools-filterinput {
+ margin-inline-start: auto; /* Align to the right */
+}
+
+/* JSONView doesn't load dark-theme.css */
+.theme-dark .devtools-filterinput {
+ background-color: rgba(24, 29, 32, 1);
+ color: rgba(184, 200, 217, 1);
+}