<a href="#" class="search-result"><time class="search-result__date">01.01.2018</time>
    <div class="search-result__title">Lorem ipsum</div>
    <div class="search-result__subtitle">Dolor sit amet</div>
    <p class="search-result__body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</a>
<a href="#" class="search-result">
    <time class="search-result__date">01.01.2018</time>
    <div class="search-result__title">
        Lorem ipsum
    </div>
    <div class="search-result__subtitle">
        Dolor sit amet
    </div>
    <p class="search-result__body">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    </p>
</a>
/* No context defined for this component. */
  • Content:
    .search-result {
      text-decoration: none;
      color: $search-result-color;
    
      &:hover,
      &:focus {
        .search-result__title {
          color: $brand-interaction;
        }
      }
    }
    
    .search-result__date,
    .search-result__type {
      @extend %heading-font-regular;
    }
    
    .search-result__type +
    .search-result__date {
      &::before {
        content: ' | ';
      }
    }
    
    .search-result__title {
      @extend %h3;
      transition: standard-transition(color);
      margin-bottom: 0;
    
      // Fix Google CSE markup and the resulting style
      b {
        font-weight: normal;
      }
    }
    
    .search-result__subtitle {
      @extend %h4;
      transition: standard-transition(color);
      margin-top: $spacer-xxs;
      margin-bottom: 0;
    
      // Fix Google CSE markup and the resulting style
      b {
        font-weight: normal;
      }
    }
    
    .search-result__body {
      margin-top: $spacer-sm;
    }
    
  • URL: /components/raw/search-result/_search-result.scss
  • Filesystem Path: components/02-molecules/search/search-result/_search-result.scss
  • Size: 802 Bytes
  • Handle: @search-result
  • Preview:
  • Filesystem Path: components/02-molecules/search/search-result/search-result.html

There are no notes for this item.