~ubuntu-branches/ubuntu/utopic/horizon/utopic-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/static/bootstrap/scss/bootstrap/mixins/_list-group.scss

  • Committer: Package Import Robot
  • Author(s): James Page, Chris Johnston, James Page
  • Date: 2014-10-03 17:54:18 UTC
  • mfrom: (0.4.1) (1.1.44) (70.1.2 utopic)
  • Revision ID: package-import@ubuntu.com-20141003175418-1jomx0azdvnl5fxz
Tags: 1:2014.2~rc1-0ubuntu1
[ Chris Johnston ]
* d/theme/css/ubuntu.css: Fix Ubuntu theme for Instances "more" dropdown
  (LP: #1308651).

[ James Page ]
* New upstream release candidate:
  - d/p/*: Refresh.
* d/watch: Use tarballs.openstack.org for upstream releases. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// List Groups
2
 
 
3
 
@mixin list-group-item-variant($state, $background, $color) {
4
 
  .list-group-item-#{$state} {
5
 
    color: $color;
6
 
    background-color: $background;
7
 
 
8
 
    // [converter] extracted a& to a.list-group-item-#{$state}
9
 
  }
10
 
 
11
 
  a.list-group-item-#{$state} {
12
 
    color: $color;
13
 
 
14
 
    .list-group-item-heading {
15
 
      color: inherit;
16
 
    }
17
 
 
18
 
    &:hover,
19
 
    &:focus {
20
 
      color: $color;
21
 
      background-color: darken($background, 5%);
22
 
    }
23
 
    &.active,
24
 
    &.active:hover,
25
 
    &.active:focus {
26
 
      color: #fff;
27
 
      background-color: $color;
28
 
      border-color: $color;
29
 
    }
30
 
  }
31
 
}