diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-16 09:29:38 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-16 09:29:38 -0500 |
commit | f9f450fd878e2a0f5bda59f5cc3a36bc1b93d9fa (patch) | |
tree | 721f6c4408ad731b35fa2994256d8fd1946fde78 /app/assets/stylesheets/framework/lists.scss | |
parent | db098f22e1ef871095d416757ee330e1e807524a (diff) | |
download | gitlab-ce-f9f450fd878e2a0f5bda59f5cc3a36bc1b93d9fa.tar.gz |
Basic layout for groups tree
[ci skip]
Diffstat (limited to 'app/assets/stylesheets/framework/lists.scss')
-rw-r--r-- | app/assets/stylesheets/framework/lists.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/lists.scss b/app/assets/stylesheets/framework/lists.scss index 15dc0aa6a52..8476154644d 100644 --- a/app/assets/stylesheets/framework/lists.scss +++ b/app/assets/stylesheets/framework/lists.scss @@ -263,3 +263,47 @@ ul.controls { ul.indent-list { padding: 10px 0 0 30px; } + + +// Specific styles for tree list +.group-list-tree { + .folder-toggle-wrap { + float: left; + line-height: $list-text-height; + font-size: 0; + + span { + font-size: $gl-font-size; + } + } + + .folder-caret, + .folder-icon { + display: inline-block; + } + + .folder-caret { + width: 15px; + } + + .folder-icon { + width: 20px; + } + + > .group-row:not(.is-expandable) { + .folder-caret .fa { + opacity: 0; + } + } + + .content-list li:last-child { + padding-bottom: 0; + } + + .group-list-tree { + margin-top: 10px; + margin-bottom: 0; + margin-left: 20px; + border-top: solid 1px $border-white-light; + } +} |