Skip to content

Commit 0aa0600

Browse files
author
David Monllao
committed
Merge branch 'MDL-44538-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2 parents b415e34 + c9f5af8 commit 0aa0600

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

theme/bootstrapbase/less/moodle/core.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,12 +2100,6 @@ img#persona_signin {
21002100
color: @dropdownLinkColorHover;
21012101
background-color: @dropdownLinkBackgroundHover;
21022102
}
2103-
&:first-child {
2104-
.border-top-radius(4px);
2105-
}
2106-
&:last-child {
2107-
.border-bottom-radius(4px);
2108-
}
21092103
}
21102104
a.hidden {
21112105
display: none;
@@ -2120,6 +2114,12 @@ img#persona_signin {
21202114
}
21212115
> li {
21222116
display: block;
2117+
&:first-child a {
2118+
.border-top-radius(4px);
2119+
}
2120+
&:last-child a {
2121+
.border-bottom-radius(4px);
2122+
}
21232123
}
21242124

21252125
/** bottom left of button **/

theme/bootstrapbase/style/moodle.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4532,22 +4532,6 @@ img#persona_signin {
45324532
color: #fff;
45334533
background-color: #0070a8;
45344534
}
4535-
.moodle-actionmenu[data-enhanced].show .menu a:first-child {
4536-
-webkit-border-top-right-radius: 4px;
4537-
-moz-border-radius-topright: 4px;
4538-
border-top-right-radius: 4px;
4539-
-webkit-border-top-left-radius: 4px;
4540-
-moz-border-radius-topleft: 4px;
4541-
border-top-left-radius: 4px;
4542-
}
4543-
.moodle-actionmenu[data-enhanced].show .menu a:last-child {
4544-
-webkit-border-bottom-right-radius: 4px;
4545-
-moz-border-radius-bottomright: 4px;
4546-
border-bottom-right-radius: 4px;
4547-
-webkit-border-bottom-left-radius: 4px;
4548-
-moz-border-radius-bottomleft: 4px;
4549-
border-bottom-left-radius: 4px;
4550-
}
45514535
.moodle-actionmenu[data-enhanced].show .menu a.hidden {
45524536
display: none;
45534537
}
@@ -4562,6 +4546,22 @@ img#persona_signin {
45624546
.moodle-actionmenu[data-enhanced].show .menu > li {
45634547
display: block;
45644548
}
4549+
.moodle-actionmenu[data-enhanced].show .menu > li:first-child a {
4550+
-webkit-border-top-right-radius: 4px;
4551+
-moz-border-radius-topright: 4px;
4552+
border-top-right-radius: 4px;
4553+
-webkit-border-top-left-radius: 4px;
4554+
-moz-border-radius-topleft: 4px;
4555+
border-top-left-radius: 4px;
4556+
}
4557+
.moodle-actionmenu[data-enhanced].show .menu > li:last-child a {
4558+
-webkit-border-bottom-right-radius: 4px;
4559+
-moz-border-radius-bottomright: 4px;
4560+
border-bottom-right-radius: 4px;
4561+
-webkit-border-bottom-left-radius: 4px;
4562+
-moz-border-radius-bottomleft: 4px;
4563+
border-bottom-left-radius: 4px;
4564+
}
45654565
.moodle-actionmenu[data-enhanced].show .menu.align-tl-bl {
45664566
top: 100%;
45674567
left: 0;

0 commit comments

Comments
 (0)