diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-06-24 13:56:30 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-06-24 13:56:30 -0400 |
| commit | d01039b10f0ebd328224c0b1a190b0f884a7c727 (patch) | |
| tree | a97d85738f3173896aeffa04a22368b70b9dcdc3 /src/client/views/collections/CollectionTreeView.scss | |
| parent | 6abf829099e4f61f2f557078f645fb9f2aa2414c (diff) | |
| parent | c9f77d5aab98e6e7865cdcad957d5c937631775d (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into schema_fixes
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.scss')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.scss | 107 |
1 files changed, 58 insertions, 49 deletions
diff --git a/src/client/views/collections/CollectionTreeView.scss b/src/client/views/collections/CollectionTreeView.scss index 458030b28..a85604e58 100644 --- a/src/client/views/collections/CollectionTreeView.scss +++ b/src/client/views/collections/CollectionTreeView.scss @@ -4,60 +4,33 @@ border-width: $COLLECTION_BORDER_WIDTH; border-color: transparent; border-style: solid; - border-radius: $border-radius; + border-radius: inherit; box-sizing: border-box; height: 100%; - padding: 20px; + padding-top: 20px; padding-left: 10px; padding-right: 0px; background: $light-color-secondary; font-size: 13px; - overflow: scroll; + overflow: auto; ul { list-style: none; padding-left: 20px; } - li { - margin: 5px 0; - } - .no-indent { padding-left: 0; } .bullet { - float: left; position: relative; width: 15px; - display: block; color: $intermediate-color; - margin-top: 3px; + margin-top: 4px; transform: scale(1.3, 1.3); } - - .docContainer { - margin-left: 10px; - display: block; - // width:100%;//width: max-content; - } - - .docContainer:hover { - .treeViewItem-openRight { - display: inline-block; - height:13px; - // display: inline; - svg { - display:block; - padding:0px; - margin: 0px; - } - } - } - - .editableView-container { font-weight: bold; } @@ -70,17 +43,6 @@ display: inline; } - .treeViewItem-openRight { - margin-left: 5px; - display: none; - } - - .docContainer:hover { - .delete-button { - display: inline; - // width: auto; - } - } .coll-title { width: max-content; @@ -88,13 +50,60 @@ font-size: 24px; } - .collection-child { - margin-top: 10px; - margin-bottom: 10px; - } - +} +.collectionTreeView-keyHeader { + font-style: italic; + font-size: 8pt; + margin-left: 3px; + display:none; + background: lightgray; +} + +.docContainer { + position: relative; + text-overflow: ellipsis; + white-space: pre-wrap; + overflow: hidden; + // width:100%;//width: max-content; + +} +.treeViewItem-openRight { + display: none; +} + +.treeViewItem-border { + display:inherit; + border-left: dashed 1px #00000042; +} + +.treeViewItem-header:hover { .collectionTreeView-keyHeader { - font-style: italic; - font-size: 8pt; + display:inherit; + } + .treeViewItem-openRight { + display: inline-block; + height:13px; + margin-top:2px; + margin-left: 5px; + // display: inline; + svg { + display:block; + padding:0px; + margin: 0px; + } } +} + +.treeViewItem-header { + border: transparent 1px solid; + display:flex; +} +.treeViewItem-header-above { + border-top: black 1px solid; +} +.treeViewItem-header-below { + border-bottom: black 1px solid; +} +.treeViewItem-header-inside { + border: black 1px solid; }
\ No newline at end of file |
