Sha256: c4cfd5882e60edd39e13b7f5fd0b83c387d23b0049447079f5d6a8ef67feee4a

Contents?: true

Size: 1.59 KB

Versions: 8

Compression:

Stored size: 1.59 KB

Contents

/* list
---------------------------------------------------------------------------- */
.list-group-item {
  @extend %item-style;
  @extend %no-shadow;
  border-radius: 0;

  &.active {
    background-color: color('secondary');
    border-color: color('secondary');

    &:hover,
    &:focus {
      background-color: color('secondary-dark');
      border-color: color('secondary-dark');
    }

    > .badge {
      color: color('secondary');
    }
  }

  // Round the first and last items
  &:first-child {
    border-top-right-radius: $border-radius-large;
    border-top-left-radius: $border-radius-large;
  }
  &:last-child {
    border-bottom-right-radius: $border-radius-large;
    border-bottom-left-radius: $border-radius-large;
  }

  @at-root #{&}.list-group-item-success {
    color: color('secondary');
  }
  @at-root #{&}.list-group-item-primary {
    color: color('secondary');
  }
  @at-root #{&}.list-group-item-secondary {
    color: color('secondary');
  }
  @at-root #{&}.list-group-item-info {
    color: color('secondary');
  }
  @at-root #{&}.list-group-item-accent {
    color: color('accent');
  }
  @at-root #{&}.list-group-item-warning {
    color: color('warning');
  }
  @at-root #{&}.list-group-item-danger {
    color: color('danger');
  }
}

.list-benefit {
  margin: 0.25em 20px 0 20px;
  padding-left: 30px;
  text-align: left;
  font-size: font-size('default');
  list-style: none;
  background: image-url("forever_style_guide/check.png") no-repeat 0 0;

  @media(max-width: $screen-xs-min) {
    margin: 0;
  }
}

.list-roman {
  list-style: lower-roman;
  list-style-position: outside;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
forever_style_guide-1.2.11 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.10 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.9 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.8 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.7 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.5 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.4 app/assets/stylesheets/forever_style_guide/modules/_list.scss
forever_style_guide-1.2.3 app/assets/stylesheets/forever_style_guide/modules/_list.scss