Sha256: 658a460b8a19515f4ec04ccef7fdbc908ee6033f6ec96f10f61bcb1deea818e8

Contents?: true

Size: 1.33 KB

Versions: 165

Compression:

Stored size: 1.33 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); }
  }
}
.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-style: solid;
  border-width: 1px;

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

Version data entries

165 entries across 165 versions & 1 rubygems

Version Path
active_frontend-15.0.16 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.15 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.14 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.13 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.12 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.11 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.10 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.9 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.8 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.7 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.6 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.5 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.3 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.2 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-15.0.1 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-14.2.6 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-14.2.5 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-14.2.4 vendor/assets/stylesheets/blocks/_list.scss
active_frontend-14.2.3 vendor/assets/stylesheets/blocks/_list.scss