Sha256: 11162c9f503f54f2413a82021c3cb9235ecccc362474d51f29cd9a5a19e643b3

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

// Table of Contents
// ==================================================
// Reset
// Styles
// Decorations
// Colors

// Reset
// ==================================================
dd,
ol,
ul { padding-left: 20px; }
dl,
ol,
ul {
  background: color(trasparent);
  border-color: color(dark-haze);
}

// Styles
// ==================================================
.list-stripe {
  > li:nth-child(even) { background: color(light-haze); }

  &.dark {
    > li:nth-child(even) { background: inherit; }
    > li:nth-child(odd) { background: color(light-black); }
  }
  &.light {
    > li:nth-child(even) { background: color(haze); }
  }
}
@if ($pseudo-elements) {
  .list-hover {
    > li:hover { background: color(haze); }

    &.dark {
      > li:hover { background: background-hover-color(black); }
    }
    &.light {
      > li:hover { background: background-hover-color(haze); }
    }
  }
}
.list-inline {
  > li { display: inline-block; }
}
.list-clear {
  list-style: none;
  padding: 0;
}
.list-scroll {
  max-height: 300px;
  overflow-y: auto;
}

// Decorations
// ==================================================
.list-line,
.list-border {
  > li {
    padding: 5px 0;

    &:not(:last-child) {
      border-bottom-style: solid;
      border-bottom-width: 1px;
    }
  }
}
.list-border {
  border-radius: border-radius(b);
  border-style: solid;
  border-width: 1px;

  > li {
    padding-left: 10px;
    padding-right: 10px;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_frontend-15.1.6 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.5 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.1.0 vendor/assets/stylesheets/blocks/_list.scss