<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. */
  • Content:
    .search-result {
      color: $search-result-color;
      text-decoration: none;
    
      &: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);
    
      // Fix Google CSE markup and the resulting style
      b {
        font-weight: normal;
      }
    }
    
    .search-result__subtitle {
      @extend %h4;
    
      margin-top: $spacer-xxs;
      transition: standard-transition(color);
    
      // 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/04-molecules/search/search-result/_search-result.scss
  • Size: 764 Bytes
  • Handle: @search-result
  • Preview:
  • Filesystem Path: components/04-molecules/search/search-result/search-result.html

No notes defined.