aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/example/less/all.less
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-08 23:58:16 +0800
committerGitHub <noreply@github.com>2018-03-08 23:58:16 +0800
commit40ca846cdc44efa98ab9db11c16cff301020f11f (patch)
tree2fdaee2607881c657d2ccf71ddc6d407ed522aca /packages/react-docs/example/less/all.less
parent03902b0b26fe443705dde20c42e78e1cb4bd3c4b (diff)
parent2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48 (diff)
downloaddexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar.gz
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar.bz2
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar.lz
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar.xz
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.tar.zst
dexon-sol-tools-40ca846cdc44efa98ab9db11c16cff301020f11f.zip
Merge pull request #438 from 0xProject/extractDocs
Extract Docs Template To Separate Package
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
+}