Add dropdown submenu

This commit is contained in:
ClemDee
2019-07-03 13:52:10 +02:00
parent e50f554774
commit a6f5652423
2 changed files with 76 additions and 35 deletions

View File

@@ -11,6 +11,27 @@
li {
padding: 0;
font-size: @colortheme_app-font-size;
&.dropdown-submenu {
position: relative;
&> a {
cursor: default;
// reset bootstrap active style
&:active {
background: inherit;
color: inherit;
}
}
.dropdown-toggle {
margin-left: 10px;
}
.dropdown-menu {
top: -0.7rem;
left: 100%;
&.left {
left: -10rem;
}
}
}
a {
cursor: pointer;
.fa, .cptools {
@@ -19,19 +40,6 @@
}
}
}
.dropdown-submenu {
position: relative;
& .dropdown-menu {
top: -0.6rem;
left: 100%;
&.left {
left: -10rem;
}
}
&:hover .dropdown-menu {
display: block;
}
}
.cp-app-drive-context-noAction {
font-style: italic;
color: #aaa;