mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
84 lines
1.5 KiB
SCSS
84 lines
1.5 KiB
SCSS
// scss-lint:disable SelectorDepth
|
|
// scss-lint:disable NestingDepth
|
|
// scss-lint:disable IdSelector
|
|
|
|
|
|
.folders-tree-container {
|
|
--row-height: 36px;
|
|
background-color: $color-concrete;
|
|
border-radius: 4px;
|
|
height: 250px;
|
|
overflow: auto;
|
|
padding: .5em;
|
|
|
|
.jstree-wholerow {
|
|
border-radius: 4px;
|
|
height: var(--row-height);
|
|
}
|
|
|
|
.jstree-wholerow-hovered {
|
|
background: $color-alto;
|
|
}
|
|
|
|
.jstree-wholerow-clicked {
|
|
background: $color-white;
|
|
}
|
|
|
|
.jstree-search {
|
|
color: unset;
|
|
font-style: unset;
|
|
font-weight: unset;
|
|
}
|
|
|
|
.jstree-leaf {
|
|
height: var(--row-height);
|
|
|
|
.jstree-clicked {
|
|
height: var(--row-height);
|
|
}
|
|
|
|
.jstree-hovered {
|
|
height: var(--row-height);
|
|
}
|
|
}
|
|
|
|
.jstree-closed {
|
|
line-height: var(--row-height);
|
|
}
|
|
|
|
.jstree-open {
|
|
line-height: var(--row-height);
|
|
}
|
|
|
|
.jstree-icon {
|
|
&.root-folder {
|
|
background-image: none !important;
|
|
color: $color-volcano;
|
|
}
|
|
|
|
&.icon-folder {
|
|
background-image: none !important;
|
|
color: $brand-primary-light;
|
|
}
|
|
}
|
|
|
|
.jstree-default-large .jstree-icon {
|
|
background-image: image-url("32px.png");
|
|
}
|
|
|
|
.jstree-default-large>.jstree-container-ul .jstree-loading>.jstree-ocl {
|
|
background: image-url("throbber.gif") center no-repeat;
|
|
}
|
|
|
|
li.jstree-node {
|
|
i.jstree-ocl,
|
|
a.jstree-anchor {
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
|
|
// Not in use but needs to be defined for proper compiling
|
|
.jstree-default-responsive .jstree-icon {
|
|
background-image: image-url("40px.png");
|
|
}
|
|
}
|