Browse Source

sidebar chacked button

tags/1.0.0
Robin Thoni 8 years ago
parent
commit
1b27c19993
2 changed files with 5 additions and 1 deletions
  1. 4
    0
      app/less/app.less
  2. 1
    1
      app/views/sidebar.html

+ 4
- 0
app/less/app.less View File

@@ -31,6 +31,10 @@ footer {
31 31
   line-height: 30px;
32 32
 }
33 33
 
34
+.md-group-button-checked {
35
+  background-color: rgba(0, 0, 0, 0.12);
36
+}
37
+
34 38
 .md-sidebar {
35 39
   height: 100%;
36 40
   min-height: 150px;

+ 1
- 1
app/views/sidebar.html View File

@@ -19,7 +19,7 @@
19 19
             </li>
20 20
             <li ng-repeat="group in getCurrentGroups()" class="col-xs-12">
21 21
                 <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
22
-                           ng-class="{'md-focused': DataShareBusiness.getCurrentGroup().Id == group.Id}"
22
+                           ng-class="{'md-group-button-checked': DataShareBusiness.getCurrentGroup().Id == group.Id}"
23 23
                            ng-href="{{DataShareBusiness.getGroupUrl(group)}}">
24 24
                     {{ group.Name }}
25 25
                 </md-button>

Loading…
Cancel
Save