1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-30 16:18:31 +00:00
FrankerFaceZ/styles/widgets/menu-tree.scss

69 lines
939 B
SCSS
Raw Normal View History

2017-11-13 01:23:39 -05:00
.ffz--menu-tree {
position: relative;
&:focus {
outline: none;
&:after {
position: absolute;
top: 0; left: 0;
height: 100%;
width: 100%;
content: '';
pointer-events: none;
box-shadow: inset 0 0 0 1px #7d5bbe,
0 0 6px -2px #7d5bbe;
}
}
.active > div,
.active > div:hover,
.tw-theme--dark & .active > div:hover {
2017-11-13 01:23:39 -05:00
background-color: #6441a4;
color: #fff;
}
div:hover {
cursor: pointer;
background-color: #fff;
.tw-theme--dark & {
2017-11-13 01:23:39 -05:00
background-color: #201c2b;
}
}
li div {
font-size: 1.4rem;
margin-top: 0.5rem;
padding-left: 0.5rem
}
li:first-child div,
li ul div {
margin-top: 0rem;
}
li ul div {
font-size: inherit;
}
li li div { padding-left: 1rem }
li li li div { padding-left: 1.5rem }
li li li li div { padding-left: 2rem }
.pill {
font-size: 0.9rem;
}
.arrow {
opacity: 0.3;
font-size: 1.6rem;
}
}
.ffz--invisible {
visibility: hidden;
}