MDL-55802 output: Hide site name and user name on xs screens
authorDamyon Wiese <damyon@moodle.com>
Tue, 6 Sep 2016 06:10:55 +0000 (14:10 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 23 Sep 2016 09:55:15 +0000 (10:55 +0100)
Part of MDL-55071

theme/noname/scss/moodle/core.scss
theme/noname/scss/moodle/modules.scss

index fc87d8a..71a98a5 100644 (file)
@@ -1652,6 +1652,12 @@ img#persona_signin {
     height: 43px;
 }
 
+@include media-breakpoint-down(xs) {
+    .navbar-brand .site-name {
+        display: none;
+    }
+}
+
 /** Page header */
 #page-header {
     .logo {
index 9424080..6638a01 100644 (file)
@@ -333,7 +333,9 @@ div#dock {
                     .role {
                         font-weight: bold;
                     }
+
                 }
+
             }
 
             // Hide caret when JS is disabled.
@@ -345,6 +347,11 @@ div#dock {
 
     }
 }
+@include media-breakpoint-down(sm) {
+    .usertext {
+        display: none;
+    }
+}
 .jsenabled {
     .usermenu {
         .moodle-actionmenu {