Sha256: aaf49c59521ad25d184c341c58547fde2603c32fd88199335c738e154da49f7d

Contents?: true

Size: 1.42 KB

Versions: 43

Compression:

Stored size: 1.42 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(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-slate); }
  }
  &.light {
    > li:nth-child(even) { background: color(haze); }
  }
}
@if ($pseudo-elements) {
  .list-hover {
    > li:hover { background: background-hover-color(light-haze); }

    &.dark {
      > li:hover { background: background-hover-color(slate); }
    }
    &.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: 8px 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: 8px;
    padding-right: 8px;
  }
}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
active_frontend-16.4.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.4.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.3.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.3.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.3.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.3.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.3.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.2.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.2.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.2.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.7 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.6 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.5 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.1.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.0.24 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-16.0.23 vendor/assets/stylesheets/blocks/_list.scss