aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/less/all.less
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-07 17:20:15 +0800
committerFabio Berger <me@fabioberger.com>2018-03-07 17:20:15 +0800
commitf66efed777f1046718478a28f5dd3c4942379774 (patch)
tree4215103a5fce52319fe110affe2b1fca3dfd9b35 /packages/react-docs/src/less/all.less
parente88eba18772015b07c9ae305260c12f1cdf69e8c (diff)
downloaddexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.gz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.bz2
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.lz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.xz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.zst
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.zip
Add example docs to react-docs package
Diffstat (limited to 'packages/react-docs/src/less/all.less')
-rw-r--r--packages/react-docs/src/less/all.less37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/react-docs/src/less/all.less b/packages/react-docs/src/less/all.less
new file mode 100644
index 000000000..4060b8128
--- /dev/null
+++ b/packages/react-docs/src/less/all.less
@@ -0,0 +1,37 @@
+/*
+ * 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;
+ }
+
+ .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
+}