aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs-example/less/all.less
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs-example/less/all.less')
-rw-r--r--packages/react-docs-example/less/all.less41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/react-docs-example/less/all.less b/packages/react-docs-example/less/all.less
new file mode 100644
index 000000000..8e891946d
--- /dev/null
+++ b/packages/react-docs-example/less/all.less
@@ -0,0 +1,41 @@
+/*
+ * Adds always visible scrollbars on OSX so that user knows the content is scrollable
+ * Source: https://davidwalsh.name/osx-overflow
+ */
+::-webkit-scrollbar {
+ -webkit-appearance: none;
+ width: 4px;
+ height: 2px;
+}
+::-webkit-scrollbar-thumb {
+ border-radius: 4px;
+ background-color: rgba(0, 0, 0, 0.5);
+ -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
+}
+
+#documentation {
+ p {
+ line-height: 1.5;
+ }
+
+ a {
+ color: #1d5cde; // linkBlue
+ }
+
+ .comment {
+ p {
+ margin: 0px;
+ }
+ }
+
+ .typeTooltip {
+ border: 1px solid lightgray;
+ opacity: 1;
+ }
+}
+
+code {
+ border: 1px solid #e3eefe;
+ font-family: 'Roboto Mono';
+ background-color: #f2f6ff !important; // lightBlue
+}