Merge branch 'MDL-47242-master' of git://github.com/jethac/moodle

Conflicts:
	theme/bootstrapbase/style/moodle.css
This commit is contained in:
Sam Hemelryk 2014-09-23 12:23:08 +12:00
commit be91dff8bb
2 changed files with 64 additions and 1 deletions

View file

@ -458,6 +458,69 @@
} }
} }
} }
.navbar {
.nav-collapse.active {
border-top: 1px solid @navbarBorder;
box-shadow: 0px -8px 24px rgba(0, 0, 0, 0.125);
&.pull-left,
&.pull-right {
float: none;
}
> .nav {
margin: 0;
// Add padding to first-level links.
> li > a {
padding-left: 20px;
border-radius: 0px;
}
.dropdown-menu {
margin: 0px 0px 0px 15px;
li > a {
border-radius: 0px;
}
}
}
.nav, .nav .dropdown-menu {
.dropdown-submenu {
.dropdown-toggle {
&:after {
display: inline-block;
float: none;
.caret();
border-top-color: @navbarBorder;
margin-left: 4px;
margin-top: 8px;
}
}
&.open {
> a {
background-color: @navbarBackground;
}
}
// Suppress showing of submenu menu content on hover.
&:hover {
.dropdown-menu {
display: none;
}
&.open {
> a {
background: @navbarBackground;
}
> .dropdown-menu,
.open > .dropdown-menu {
display: block;
}
}
}
}
}
}
}
} }
@media (max-width: 767px) { @media (max-width: 767px) {

File diff suppressed because one or more lines are too long