--- a/src/pyams_skin/resources/less/menus.less Mon Jan 18 18:41:23 2016 +0100
+++ b/src/pyams_skin/resources/less/menus.less Mon Jan 18 18:45:59 2016 +0100
@@ -7,7 +7,7 @@
ul {
width: 100%;
- padding: 40px 28px 25px 0;
+ //padding: 40px 28px 25px 0;
padding: 0;
margin: 0;
font-size: 13px;
@@ -22,6 +22,10 @@
&.divider {
height: 20px;
border: 0;
+
+ &:last-child {
+ display: none;
+ }
}
&.header {
font-family: "Ubuntu-Light", Arial, Helvetica, sans-serif;
@@ -29,8 +33,8 @@
font-weight: bold;
color: #eee;
background-color: #b13510;
- border-top-color: #d44918;
- border-bottom-color: #a13812;
+ //border-top-color: #d44918;
+ //border-bottom-color: #a13812;
padding: 4px 10px 4px 20px;
line-height: 18px;
@@ -102,6 +106,21 @@
color: #fefefe!important;
position: relative;
}
+ &.active {
+ li.active {
+ >a {
+ cursor: default;
+
+ &.open {
+ cursor: pointer;
+
+ &.active {
+ cursor: default;
+ }
+ }
+ }
+ }
+ }
b {
float: right;
font-size: 14px;
@@ -206,8 +225,8 @@
>ul {
>li {
- border-top: 1px solid #718999;
- border-bottom: 1px solid #576975;
+ //border-top: 1px solid #718999;
+ //border-bottom: 1px solid #576975;
&:hover >ul::before,
&:hover >ul >li::before {
@@ -219,6 +238,7 @@
}
b {
position: absolute!important;
+ visibility: hidden;
right: 10px;
top: 10px;
}
@@ -252,6 +272,14 @@
}
}
}
+ &:not(.open),
+ &.open:not(.active) {
+ >a {
+ &:hover b {
+ visibility: visible;
+ }
+ }
+ }
>ul::before {
content: "";
display: block;