diff --git a/theme/noname/scss/moodle/core.scss b/theme/noname/scss/moodle/core.scss
index 2051604338e..fc87d8ad566 100644
--- a/theme/noname/scss/moodle/core.scss
+++ b/theme/noname/scss/moodle/core.scss
@@ -1659,6 +1659,15 @@ img#persona_signin {
}
}
+/** Header. */
+header {
+ .collapse.in,
+ .collapsing {
+ display: block;
+ clear: both;
+ }
+}
+
/** Header-bar styles **/
.page-context-header {
// We need to be explicit about the height of the header.
diff --git a/theme/noname/scss/moodle/icons.scss b/theme/noname/scss/moodle/icons.scss
index afa13595859..f67f6bf8ec4 100644
--- a/theme/noname/scss/moodle/icons.scss
+++ b/theme/noname/scss/moodle/icons.scss
@@ -15,8 +15,8 @@ a:first-of-type > .icon {
}
// Fix the cog icon for an action menu.
-.action-menu > .dropdown {
- margin-left: -0.5rem;
+.action-menu > .dropdown .icon {
+ margin-left: 0;
}
// Fix the first item in a drop down menu (it's a list of links and icons, but has been made vertical.
diff --git a/theme/noname/scss/moodle/modules.scss b/theme/noname/scss/moodle/modules.scss
index 7cda361fd10..9424080f1d6 100644
--- a/theme/noname/scss/moodle/modules.scss
+++ b/theme/noname/scss/moodle/modules.scss
@@ -279,13 +279,12 @@ div#dock {
// Usermenu
.usermenu {
.login {
- // color: $navbarText;
- line-height: 40px;
+ line-height: 2.25rem;
a {
- color: $dropdown-link-color;
+ color: $link-color;
&:hover,
&:focus {
- color: $dropdown-link-hover-color;
+ color: $link-hover-color;
text-decoration: underline;
}
}
diff --git a/theme/noname/scss/moodle/search.scss b/theme/noname/scss/moodle/search.scss
index fcbf0e535c0..8ee8dd55559 100644
--- a/theme/noname/scss/moodle/search.scss
+++ b/theme/noname/scss/moodle/search.scss
@@ -12,22 +12,27 @@
}
.search-input-wrapper {
- margin: 0 5px 0 2px;
+ margin: 0 $spacer 0 0;
overflow: hidden;
float: right;
height: 100%;
width: 16px;
transition: width 0.5s ease, left 0.5s ease;
+ padding-top: $navbar-brand-padding-y;
+ padding-bottom: $navbar-brand-padding-y;
}
.search-input-wrapper > div {
float: left;
- margin: 10px 0 9px 0;
+ margin: 0;
+ .icon {
+ margin-right: 0;
+ }
}
.search-input-wrapper > form {
opacity: 0;
- margin: 5px 0 5px 25px;
+ margin-left: 25px;
transition: opacity 0.5s ease-in-out;
}
@@ -40,11 +45,19 @@
}
.search-input-wrapper.expanded {
- width: 160px;
+ width: 162px;
}
-.navbar .search-input-wrapper > form {
- margin: 5px 0 5px 25px;
+@include media-breakpoint-down(xs) {
+ .search-input-wrapper {
+ > div {
+ margin: 0;
+ }
+ > form {
+ display: none;
+ }
+ margin: 0 $spacer 0 0;
+ }
}
.search-areas-actions {
diff --git a/theme/noname/templates/columns1.mustache b/theme/noname/templates/columns1.mustache
index af1221e6756..dc721b92ce8 100644
--- a/theme/noname/templates/columns1.mustache
+++ b/theme/noname/templates/columns1.mustache
@@ -13,34 +13,7 @@
{{{ output.standard_top_of_body_html }}}
-
-