MDL-44538 action_menu: rounded corner of highlights only where needed.
This commit is contained in:
@@ -2100,12 +2100,6 @@ img#persona_signin {
|
||||
color: @dropdownLinkColorHover;
|
||||
background-color: @dropdownLinkBackgroundHover;
|
||||
}
|
||||
&:first-child {
|
||||
.border-top-radius(4px);
|
||||
}
|
||||
&:last-child {
|
||||
.border-bottom-radius(4px);
|
||||
}
|
||||
}
|
||||
a.hidden {
|
||||
display: none;
|
||||
@@ -2120,6 +2114,12 @@ img#persona_signin {
|
||||
}
|
||||
> li {
|
||||
display: block;
|
||||
&:first-child a {
|
||||
.border-top-radius(4px);
|
||||
}
|
||||
&:last-child a {
|
||||
.border-bottom-radius(4px);
|
||||
}
|
||||
}
|
||||
|
||||
/** bottom left of button **/
|
||||
|
||||
@@ -4532,22 +4532,6 @@ img#persona_signin {
|
||||
color: #fff;
|
||||
background-color: #0070a8;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu a:first-child {
|
||||
-webkit-border-top-right-radius: 4px;
|
||||
-moz-border-radius-topright: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
-webkit-border-top-left-radius: 4px;
|
||||
-moz-border-radius-topleft: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu a:last-child {
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
-moz-border-radius-bottomright: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
-moz-border-radius-bottomleft: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu a.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -4562,6 +4546,22 @@ img#persona_signin {
|
||||
.moodle-actionmenu[data-enhanced].show .menu > li {
|
||||
display: block;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu > li:first-child a {
|
||||
-webkit-border-top-right-radius: 4px;
|
||||
-moz-border-radius-topright: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
-webkit-border-top-left-radius: 4px;
|
||||
-moz-border-radius-topleft: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu > li:last-child a {
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
-moz-border-radius-bottomright: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
-moz-border-radius-bottomleft: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.moodle-actionmenu[data-enhanced].show .menu.align-tl-bl {
|
||||
top: 100%;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user