Sha256: 196c7a29d1478438675e86322111e00e8e635bdacadfa5fc9de1075777702908

Contents?: true

Size: 757 Bytes

Versions: 10

Compression:

Stored size: 757 Bytes

Contents

// @page Pattern Library/Components
// @name Link lists
// 
// @description
//   The default list styling for lists that have anchors to take you to other pages.
//
// @markup
//   <ul class='us-list'>
//     <li><a href="#">List item 1</a></li>
//     <li><a href="#">List item 2</a></li>
//     <li><a href="#">List item 3</a></li>
//   </ul>
//

%list,
.us-list {
  @extend %reset-box-model;
  list-style: none;

  a {
    @extend %anchor-link;
    display: block;
    padding-top: .5em;
    padding-bottom: .5em;

    &:after {
      @extend %link-triangle;
      font-size: .8em;
    }
  }

  a:hover {
    &:after {
      left: .5em;
    }
  }

  .us-hero & {
    margin-top: 1em;

    a {
      font-size: em(18px);
      color: $c-navy;
    }
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ustyle-1.8.7 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.8.1 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.8.0 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.7.0 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.6.1 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.5.8 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.4.1 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.4.0 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.3.12 vendor/assets/stylesheets/ustyle/components/_lists.scss
ustyle-1.3.6 vendor/assets/stylesheets/ustyle/components/_lists.scss