aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs-example/less/all.less
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
committerFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
commitcc73f72d130ed91f74dbe378cc68e834850898f4 (patch)
tree70113a2be495bf8b050dd9cd8176b184eed4e25b /packages/react-docs-example/less/all.less
parente4f90996af5972c09e80f31f66abc3fcb2c2e99c (diff)
downloaddexon-0x-contracts-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.gz
dexon-0x-contracts-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.zst
dexon-0x-contracts-cc73f72d130ed91f74dbe378cc68e834850898f4.zip
remove example top-level dir
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
+}