diff --git a/js/ext/angular/test/sideMenu2.html b/js/ext/angular/test/sideMenu2.html index 3fee4c1424b..ef4ce96adac 100644 --- a/js/ext/angular/test/sideMenu2.html +++ b/js/ext/angular/test/sideMenu2.html @@ -8,7 +8,7 @@ -
+{{$index}}....
(On desktop click and drag from left to right)
@@ -165,6 +170,14 @@ .controller('MainCtrl', function($scope) { console.log('MainCtrl'); + $scope.data = { + grade: 'grade-a' + }; + + $scope.gradeChange = function(grade) { + document.body.className = grade; + }; + $scope.range = []; for (var i=0; i<150; i++) $scope.range.push(i); diff --git a/scss/_menu.scss b/scss/_menu.scss index 731b83e7f7d..08115c199e9 100644 --- a/scss/_menu.scss +++ b/scss/_menu.scss @@ -24,6 +24,15 @@ box-shadow: $menu-side-shadow; } +.grade-b .menu-content, +.grade-c .menu-content { + right: -1px; + left: -1px; + border-right: 1px solid #ccc; + border-left: 1px solid #ccc; + box-shadow: none; +} + .menu-left { left: 0; }