/* Switch to desktop layout.
-----------------------------------------------
These transform the menu tree from
collapsible to desktop (navbar + dropdowns)
-----------------------------------------------*/
/* @group It's not recommended to edit these rules */
.js .menu-dropdown ul {
position: absolute;
width: 12em;
top: 1em;
display: none;
}
.menu-dropdown li {
float: left;
}
[dir="rtl"] .menu-dropdown li {
float: right;
}
.menu-dropdown ul li,
[dir="rtl"] .menu-dropdown ul li {
float: none;
}
.menu-dropdown a {
white-space: nowrap;
}
.menu-dropdown ul a {
white-space: normal;
}
/* @end */
.menu-dropdown a,
.menu-dropdown a:hover,
.menu-dropdown a:focus,
.menu-dropdown a:active,
.menu-dropdown a.highlighted {
color: #555555;
}
.menu-dropdown a.disabled {
color: #bbbbbb;
}
.menu-dropdown li.has-children > a {
padding-right: 24px;
}
.menu-dropdown a span.sub-arrow {
top: 50%;
margin-top: -2px;
right: 12px;
width: 0;
height: 0;
border-width: 4px;
border-style: solid dashed dashed dashed;
border-color: #555555 transparent transparent transparent;
background: transparent;
border-radius: 0;
}
.menu-dropdown a.highlighted span.sub-arrow:before {
display: none;
}
.menu-dropdown li {
border-top: 0;
}
.menu-dropdown ul {
border: 1px solid #bbbbbb;
padding: 5px 0;
background: #ccc;
}
.menu-dropdown ul a,
.menu-dropdown ul a:hover,
.menu-dropdown ul a:focus,
.menu-dropdown ul a:active,
.menu-dropdown ul a.highlighted {
border: 0 !important;
padding: 10px 20px;
color: #555555;
}
.menu-dropdown ul a:hover,
.menu-dropdown ul a:focus,
.menu-dropdown ul a:active,
.menu-dropdown ul a.highlighted {
background: #eeeeee;
}
.menu-dropdown ul a.disabled {
background: white;
color: #cccccc;
}
.menu-dropdown ul .has-children > a {
padding-right: 20px;
}
.menu-dropdown ul a span.sub-arrow {
right: 8px;
top: 50%;
margin-top: -5px;
border-width: 5px;
border-style: dashed dashed dashed solid;
border-color: transparent transparent transparent #555555;
}
.menu-dropdown span.scroll-up,
.menu-dropdown span.scroll-down {
position: absolute;
display: none;
visibility: hidden;
overflow: hidden;
background: white;
height: 20px;
}
.menu-dropdown span.scroll-up:hover,
.menu-dropdown span.scroll-down:hover {
background: #eeeeee;
}
.menu-dropdown span.scroll-up-arrow,
.menu-dropdown span.scroll-down-arrow {
position: absolute;
top: 0;
left: 50%;
margin-left: -6px;
width: 0;
height: 0;
overflow: hidden;
border-width: 6px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #555555 transparent;
}
.menu-dropdown span.scroll-down-arrow {
top: 8px;
border-style: solid dashed dashed dashed;
border-color: #555555 transparent transparent transparent;
}
[dir="rtl"] .menu-dropdown li.has-children > a {
padding-right: 12px;
padding-left: 24px;
}
[dir="rtl"] .menu-dropdown span.sub-arrow {
right: auto;
left: 12px;
}
[dir="rtl"] .menu-dropdown > li > ul:before {
left: auto;
right: 30px;
}
[dir="rtl"] .menu-dropdown > li > ul:after {
left: auto;
right: 31px;
}
[dir="rtl"] .menu-dropdown li.has-children > a {
padding: 10px 20px !important;
}
[dir="rtl"] .menu-dropdown span.sub-arrow {
right: auto;
left: 8px;
border-style: dashed solid dashed dashed;
border-color: transparent #555555 transparent transparent;
}
File
core/modules/system/css/menu-dropdown.theme.breakpoint-queries.css