mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
86 lines
1.3 KiB
SCSS
86 lines
1.3 KiB
SCSS
@import "constants";
|
|
@import "mixins";
|
|
|
|
.tree {
|
|
height: 100%;
|
|
padding-bottom: 30px;
|
|
|
|
ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
> ul {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.no-indent {
|
|
background-color: $color-white;
|
|
}
|
|
|
|
.first-indent {
|
|
background-color: $color-wild-sand;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.second-indent {
|
|
background-color: $color-gainsboro;
|
|
padding-left: 60px;
|
|
}
|
|
|
|
li {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
position: relative;
|
|
|
|
span {
|
|
display: block;
|
|
padding: 15px;
|
|
|
|
&.my-module-group-element {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
&.glyphicon-map-marker {
|
|
border: 0;
|
|
display: inline-block;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
&.active > span {
|
|
background-color: $color-theme-primary;
|
|
color: $color-white;
|
|
font-weight: bold;
|
|
|
|
&.first-indent > span,
|
|
&.no-indent > span {
|
|
border: 0;
|
|
display: inline-block;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
i.glyphicon {
|
|
font-size: 9pt;
|
|
|
|
&.expanded {
|
|
@include rotate(90deg);
|
|
}
|
|
}
|
|
|
|
// Links are recolored
|
|
a {
|
|
color: $color-emperor;
|
|
|
|
&:hover {
|
|
color: $color-theme-primary;
|
|
}
|
|
}
|
|
|
|
.border-custom {
|
|
box-shadow: 0 -.25px 0 .25px $color-alto;
|
|
margin: 0 15px;
|
|
}
|
|
}
|
|
}
|