diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-09 17:49:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-09 17:49:57 +0800 |
commit | e4f90996af5972c09e80f31f66abc3fcb2c2e99c (patch) | |
tree | 0caac523dcbfa4e81b16b5b634ed9bf7ba8b3a4a /packages/react-docs-example/example/less | |
parent | 974c0d2b958b6770915c86ac231375cbe2ab7893 (diff) | |
download | dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar.gz dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar.bz2 dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar.lz dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar.xz dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.tar.zst dexon-sol-tools-e4f90996af5972c09e80f31f66abc3fcb2c2e99c.zip |
Remove example from react-docs package to react-docs-example package
Diffstat (limited to 'packages/react-docs-example/example/less')
-rw-r--r-- | packages/react-docs-example/example/less/all.less | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/react-docs-example/example/less/all.less b/packages/react-docs-example/example/less/all.less new file mode 100644 index 000000000..8e891946d --- /dev/null +++ b/packages/react-docs-example/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 +} |