summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/widgets/mdn-docs.css
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/shared/widgets/mdn-docs.css')
-rw-r--r--devtools/client/shared/widgets/mdn-docs.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/devtools/client/shared/widgets/mdn-docs.css b/devtools/client/shared/widgets/mdn-docs.css
new file mode 100644
index 000000000..e3547489f
--- /dev/null
+++ b/devtools/client/shared/widgets/mdn-docs.css
@@ -0,0 +1,39 @@
+/* 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/. */
+
+.mdn-container {
+ height: 300px;
+ margin: 4px;
+ overflow: auto;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+}
+
+.mdn-container header,
+.mdn-container footer {
+ flex: 1;
+ padding: 0 1em;
+}
+
+.mdn-property-info {
+ flex: 10;
+ padding: 0 1em;
+ overflow: auto;
+ transition: opacity 400ms ease-in;
+}
+
+.mdn-syntax {
+ margin-top: 1em;
+}
+
+.devtools-throbber {
+ align-self: center;
+ opacity: 0;
+}
+
+.mdn-visit-page {
+ display: inline-block;
+ padding: 1em 0;
+}