<a href="#" class="search-result"><span class="search-result__type">Inhaltstyp</span><time class="search-result__date">01.01.2018</time>
    <div class="search-result__title">Lorem ipsum</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">
    <span class="search-result__type">Inhaltstyp</span><time class="search-result__date">01.01.2018</time>
    <div class="search-result__title">
        Lorem ipsum
    </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 {
      &::after {
        content: ' | ';
      }
    }
    
    .search-result__title {
      @extend %h3;
      transition: standard-transition(color);
    
      // Fix Google CSE markup and the resulting style
      b {
        font-weight: normal;
      }
    }
    
  • URL: /components/raw/search-result/_search-result.scss
  • Filesystem Path: components/02-molecules/search/search-result/_search-result.scss
  • Size: 485 Bytes
  • Handle: @search-result
  • Preview:
  • Filesystem Path: components/02-molecules/search/search-result/search-result.html

There are no notes for this item.