summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/src/components/shared/IconLabel.css
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/aboutdebugging/src/components/shared/IconLabel.css')
-rw-r--r--devtools/client/aboutdebugging/src/components/shared/IconLabel.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/client/aboutdebugging/src/components/shared/IconLabel.css b/devtools/client/aboutdebugging/src/components/shared/IconLabel.css
new file mode 100644
index 0000000000..01470a2a8c
--- /dev/null
+++ b/devtools/client/aboutdebugging/src/components/shared/IconLabel.css
@@ -0,0 +1,27 @@
+/* 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/. */
+
+.icon-label {
+ display: flex;
+ column-gap: var(--base-unit);
+ align-items: center;
+ margin: calc(var(--base-unit) * 2) 0;
+ -moz-context-properties: fill;
+
+ font-size: var(--icon-label-font-size);
+}
+
+.icon-label--ok {
+ --icon-color: var(--green-70);
+}
+.icon-label--info {
+ --icon-color: var(--grey-90);
+}
+
+.icon-label__icon {
+ padding: var(--base-unit);
+ fill: var(--icon-color);
+ width: calc(var(--base-unit) * 4);
+ height: calc(var(--base-unit) * 4);
+}