Files
codeocean/app/assets/stylesheets/bootstrap-dropdown-submenu.css.scss
Sebastian Serth 944b455194 Introduce Dark Mode
This commit mainly changes the color definitions. Mostly, those changes are semantically equally, but there are a few changes that occurred to align the color scheme within the app.
2023-07-31 11:48:42 +02:00

43 lines
814 B
SCSS

.dropdown-submenu {
position: relative;
}
.dropdown-submenu > .dropdown-menu {
top: -0.2em;
left: 100%;
}
.dropdown-submenu.open > ul.dropdown-menu {
display: block;
}
.dropdown-submenu > a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: var(--bs-border-color-translucent);
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
border-left-color: var(--bs-dropdown-link-active-color);
}
.dropdown-submenu.float-start {
float: none;
}
.dropdown-submenu.float-start > .dropdown-menu {
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
}