Sha256: ebe394a96beebfde7598b2c4f77e6cf7830c08fcf27b82f7df8a52316787a90d

Contents?: true

Size: 1.51 KB

Versions: 24

Compression:

Stored size: 1.51 KB

Contents

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

// scss-lint:disable ImportantRule

// 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: color-hover(light-haze); }

    &.dark {
      > li:hover { background: color-hover(slate); }
    }
    &.light {
      > li:hover { background: color-hover(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-encase,
.list-border {
  > li {
    padding: 10px 0;

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

  > li {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.list-encase {
  > li { border-bottom: 0 !important; }
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_frontend-18.0.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-18.0.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.7.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.6.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.6.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.6.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.6.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.5.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.5.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.4.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.4.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.3.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.3.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.2.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.1.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.1.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.1.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.1.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.1.0 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-17.0.4 vendor/assets/stylesheets/blocks/_list.scss