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 {
|
2018-05-18 16:41:32 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-07-09 19:13:44 +08:00
|
|
|
&.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
|
|
|
}
|
|
|
|
|
2018-05-18 16:41:32 +08:00
|
|
|
i.no-arrow {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
2018-07-09 19:13:44 +08:00
|
|
|
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;
|
2019-09-23 20:34:48 +08:00
|
|
|
position: relative;
|
2018-03-22 18:41:33 +08:00
|
|
|
|
2018-12-13 23:50:22 +08:00
|
|
|
&.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
|
|
|
}
|
2018-05-18 16:41:32 +08:00
|
|
|
|
2019-09-23 20:34:48 +08:00
|
|
|
.tree-link {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
a:not(.canvas-center-on) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:not(.canvas-center-on)::after {
|
|
|
|
height: 48px;
|
|
|
|
left: -3px;
|
|
|
|
position: absolute;
|
|
|
|
top: -18px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-18 16:41:32 +08:00
|
|
|
#settings {
|
2018-07-09 19:13:44 +08:00
|
|
|
.fa-caret-right {
|
2018-05-18 16:41:32 +08:00
|
|
|
margin-left: -15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-indent {
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.first-indent {
|
|
|
|
padding-left: 45px;
|
|
|
|
}
|
|
|
|
}
|
2016-02-12 23:52:43 +08:00
|
|
|
}
|
2019-07-19 22:25:14 +08:00
|
|
|
|
|
|
|
#repo-tree {
|
2019-09-23 22:12:41 +08:00
|
|
|
height: calc(100% - 50px);
|
|
|
|
|
2019-07-25 21:11:38 +08:00
|
|
|
.fas-custom {
|
2019-07-19 22:25:14 +08:00
|
|
|
float: right;
|
2019-08-21 21:32:57 +08:00
|
|
|
top: 2px;
|
2019-07-19 22:25:14 +08:00
|
|
|
}
|
|
|
|
|
2019-07-25 21:11:38 +08:00
|
|
|
.active {
|
|
|
|
.fas-custom {
|
|
|
|
fill: $color-white;
|
|
|
|
}
|
2019-07-19 22:25:14 +08:00
|
|
|
}
|
|
|
|
}
|