scinote-web/app/assets/stylesheets/partials/_tree_view.scss

122 lines
1.7 KiB
SCSS
Raw Normal View History

2018-03-22 18:41:33 +08:00
@import "constants";
2016-02-12 23:52:43 +08:00
@import "mixins";
.tree {
height: 100%;
padding-bottom: 30px;
2018-03-22 18:41:33 +08:00
ul {
padding-left: 0;
}
> ul {
margin-bottom: 0;
}
.no-indent {
2016-02-12 23:52:43 +08:00
background-color: $color-white;
}
2018-03-22 18:41:33 +08:00
.first-indent {
2018-03-28 19:54:01 +08:00
background-color: $color-concrete;
2018-03-22 18:41:33 +08:00
padding-left: 30px;
2016-02-12 23:52:43 +08:00
}
2018-03-22 18:41:33 +08:00
.second-indent {
background-color: $color-concrete;
2018-03-22 18:41:33 +08:00
padding-left: 60px;
2016-02-12 23:52:43 +08:00
}
2018-03-22 18:41:33 +08:00
li {
list-style-type: none;
margin: 0;
position: relative;
span {
display: block;
padding: 15px;
2016-02-12 23:52:43 +08:00
2018-03-22 18:41:33 +08:00
&.my-module-group-element {
border: 0;
padding: 0;
}
&.fa-map-marker-alt {
2018-03-22 18:41:33 +08:00
border: 0;
display: inline-block;
padding: 0;
}
2016-02-12 23:52:43 +08:00
}
2018-03-22 18:41:33 +08:00
&.active > span {
2018-03-28 19:54:01 +08:00
background-color: $brand-primary;
2018-03-22 18:41:33 +08:00
color: $color-white;
font-weight: bold;
2016-02-12 23:52:43 +08:00
2018-03-22 18:41:33 +08:00
&.first-indent > span,
&.no-indent > span {
border: 0;
display: inline-block;
padding: 0;
}
2016-02-12 23:52:43 +08:00
}
i.no-arrow {
padding-left: 15px;
}
i.fas {
2018-05-18 19:34:52 +08:00
cursor: pointer;
2018-03-22 18:41:33 +08:00
font-size: 9pt;
&.expanded {
@include rotate(90deg);
}
}
// Links are recolored
a {
color: $color-emperor;
&.disabled {
color: $color-white;
}
2018-03-22 18:41:33 +08:00
&:hover {
2018-03-28 19:54:01 +08:00
color: $brand-primary;
2018-03-22 18:41:33 +08:00
}
}
.border-custom {
box-shadow: 0 -.25px 0 .25px $color-alto;
margin: 0 15px;
}
2016-02-12 23:52:43 +08:00
}
#settings {
.fa-caret-right {
margin-left: -15px;
}
.no-indent {
padding-left: 30px;
}
.first-indent {
padding-left: 45px;
}
}
2016-02-12 23:52:43 +08:00
}
#repo-tree {
.fas-custom {
float: right;
}
.active {
.fas-custom {
fill: $color-white;
}
}
}