Sha256: 8efaa5f66d6862434745e4808568696152062ec8beb2d4cccf038eb6e2d9de3a

Contents?: true

Size: 1020 Bytes

Versions: 54

Compression:

Stored size: 1020 Bytes

Contents

@import "mixins/components.lists";

.c-list {
  display: block;
  margin: $list-margin;
  padding: $list-padding;
  list-style-position: outside;
}

.c-list .c-list {
  padding: $list-nested-padding;
}

.c-list__item {
  padding: $list-item-padding;
}

.c-list__item--unstyled {
  list-style: $list-item-unstyled-list-style;
}

.c-list--unstyled {
  @include list--unstyled;
}

.c-list--ordered {
  @include list--unstyled;
  counter-reset: ordered;

  .c-list__item {
    &:before {
      padding: $list-ordered-item-padding;
      content: counters(ordered, ".") " ";
      counter-increment: ordered;
    }
  }
}

.c-list--inline {
  @include list--inline;

  .c-list--inline {
    @include list--inline;
  }

  .c-list__item {
    display: inline-block;
    width: auto;
    padding-right: $list-inline-item-padding-right;
  }

  &:not(.c-list--unstyled) {
    .c-list__item {
      &:before {
        padding: $list-inline-item-bullet-padding;
        content: $list-inline-item-bullet-content;
      }
    }
  }
}

Version data entries

54 entries across 54 versions & 4 rubygems

Version Path
activeadmin_blaze_theme-1.1.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-1.0.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.7.10 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.7.8 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.7.6 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.7.4 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.5.16 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
activeadmin_blaze_theme-0.5.14 app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss
iatelier-0.5.2 src/sass/blaze/components.lists.scss
iatelier-0.5.1 src/sass/blaze/components.lists.scss
iatelier-0.5.0 src/sass/blaze/components.lists.scss
ilog-0.4.1 node_modules/blaze/scss/src/components.lists.scss
ilog-0.4.0 node_modules/blaze/scss/src/components.lists.scss
iatelier-0.4.4 src/sass/blaze/components.lists.scss
iatelier-0.4.3 src/sass/blaze/components.lists.scss
ilog-0.3.3 node_modules/blaze/scss/src/components.lists.scss
iatelier-0.4.2 src/sass/blaze/components.lists.scss
iatelier-0.4.1 src/sass/blaze/components.lists.scss
iatelier-0.4.0 src/sass/blaze/components.lists.scss
iatelier-0.3.2 src/sass/blaze/components.lists.scss