Commit 72e3db42 authored by eme's avatar eme

fix issue #2658896 and refactor and fix chevron-right.svg

parent f0a59254
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#0074bd" d="M7.951 7.645c-.193.196-.193.516 0 .71l3.258 3.29c.193.193.191.519-.002.709l-1.371 1.371c-.193.192-.512.191-.707 0l-5.335-5.371c-.194-.194-.194-.514 0-.708l5.335-5.369c.195-.195.514-.195.707-.001l1.371 1.371c.193.194.195.513.002.709l-3.258 3.289z"/></svg>
/*---------------------- menu horizontal hover---------*/
.menu-item:hover {
.toolbar .menu-item:hover {
background: #fff;
}
.menu-item:focus {
.toolbar .menu-item:focus {
background: #abeae4;
}
.menu-item--expanded .menu {
.toolbar .menu-item--expanded .menu {
background: #fff;
width: auto;
height: auto;
}
.menu-item--expanded {
.toolbar-tray-horizontal .menu-item--expanded {
background-color: #f5f5f2;
}
.toolbar-tray-horizontal ul li.menu-item{ border-top: none transparent;border-right: 1px solid #dddddd;border-bottom: 1px solid #dddddd;border-left: 1px solid #dddddd; }
.toolbar .toolbar-tray-horizontal .menu-item:last-child{border-left: 1px solid #dddddd;border-right: 1px solid #dddddd;}
.toolbar .toolbar-tray-horizontal ul ul li.menu-item:first-child{border-top: 1px solid #dddddd;}
.toolbar-tray-horizontal ul li.menu-item {
border-top: none transparent;
border-right: 1px solid #dddddd;
border-bottom: 1px solid #dddddd;
border-left: 1px solid #dddddd;
}
.toolbar .toolbar-tray-horizontal .menu-item:last-child {
border-left: 1px solid #dddddd;
border-right: 1px solid #dddddd;
}
.toolbar .toolbar-tray-horizontal ul ul li.menu-item:first-child {
border-top: 1px solid #dddddd;
}
.toolbar-tray-horizontal li.menu-item--expanded:hover ul ul,
.toolbar-tray-horizontal li.menu-item--expanded:hover ul ul ul,
.toolbar-tray-horizontal li.menu-item--expanded:hover ul ul ul ul,
......@@ -26,35 +43,37 @@
}
/* Lists nested under hovered list items */
.toolbar-tray-horizontal li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li li li.menu-item--expanded:hover ul,
.toolbar-tray-horizontal li li li li li.menu-item--expanded:hover ul {
display: block;
left: auto; /* LTR */
}
.toolbar-tray-horizontal .menu ul li a,.toolbar-tray-horizontal .menu ul .toolbar-icon{ padding: 12px 15px 12px 12px;}
.toolbar-tray-horizontal .menu ul li a, .toolbar-tray-horizontal .menu ul .toolbar-icon {
padding: 12px 15px 12px 12px;
}
.toolbar-tray-horizontal ul li.menu-item--expanded:hover ul {
display: block;
position: absolute;
width: 200px;
}
.toolbar-tray-horizontal ul li.menu-item--expanded .menu-item > ul
{
display: none;
.toolbar-tray-horizontal ul li.menu-item--expanded .menu-item > ul {
display: none;
}
.toolbar-tray-horizontal ul li.menu-item--expanded ul li.menu-item--expanded {
background-position: center right;
background-image: url('/core/misc/icons/0074bd/chevron-right.svg');
background-image: url('../misc/icons/ffffff/chevron-right.svg');
background-repeat: no-repeat;
}
.toolbar-tray-horizontal ul li.menu-item--expanded .menu-item:hover ul {
display: block;
margin: -40px 0 0 197px;
......@@ -64,6 +83,7 @@
.toolbar-tray-horizontal li:hover ul li {
float: none;
}
.toolbar-tray-horizontal .toolbar .level-2 > ul {
position: absolute;
padding-top: 0;
......@@ -71,9 +91,7 @@
left: 200px;
width: 200px;
}
/*.toolbar .toolbar-tray-vertical li.open > ul.toolbar-menu {
display: none;
}*/
.toolbar .toolbar-tray-vertical li.open > ul.toolbar-menu.clearfix {
display: block;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment