UNPKG

virtualized-tree

Version:

Forked version of react-virtualized-tree React component to specifically fit my needs. No one but me should be using this project

67 lines (59 loc) 1.29 kB
.tree-node { user-select: none; cursor: pointer; } .tree-lookup-input { font-size: 1em; position: relative; font-weight: 400; font-style: normal; color: rgba(0,0,0,.87); } .tree-lookup-input input { width: 100%; margin: 0; outline: 0; -webkit-tap-highlight-color: rgba(255,255,255,0); text-align: left; line-height: 1.21428571em; padding: .7em 1em; background: #fff; border: 1px solid rgba(34,36,38,.15); color: rgba(0,0,0,.87); border-radius: .28571429rem; -webkit-transition: box-shadow .1s ease,border.1s ease; transition: box-shadow .1s ease, border .1s ease; box-shadow: none; padding-right: 2.67142857em!important; margin-bottom: 7px; } .tree-lookup-input.group input { width: 80%; } .tree-lookup-input input:focus { border: 1px solid #85b7d9; background: #fff; color: rgba(0,0,0,.8); box-shadow: none; } .tree-lookup-input i { margin-left: -3em; padding: .7em 1em; color: rgba(0,0,0,.3); cursor: text; } .tree-filter-container { border: 1px solid rgba(0, 0, 0, .3); box-shadow: 0 0 10px rgba(0, 0, 0, .2); padding: 2%; } .tree-group { width: 20%; appearance: none; background-color: #2185d0; color: #fff; cursor: pointer; border: 1px solid #2185d0; font-weight: 700; padding: .7em 1em; }