<a href="#" class="list-teaser-podcast list-teaser-podcast--avatar--overlay--big" style="background-image: url(../../assets/heribert-rechts.png), url(../../assets/heribert-links.png);">
    <div class="list-teaser-podcast__body">
        <div class="list-teaser-podcast__caption">Podcast</div>
        <h2 class="list-teaser-podcast__headline">Podcast Headline</h2>
        <h3 class="list-teaser-podcast__subheadline">Podcast Subheadline</h3><img src="../../assets/arrow-long-right-white.svg">
    </div>
    <div class="list-teaser-podcast__footer">
        <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
        <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
    </div>
</a>
import { cssBoth } from "./components/02-molecules/visual-elements/teaser/list-teaser/podcast-list-teaser/config";

<a href="#" class="list-teaser-podcast list-teaser-podcast--avatar--overlay--big" style={cssBoth}>
    <div class="list-teaser-podcast__body">
        <div class="list-teaser-podcast__caption">Podcast</div>
        <h2 class="list-teaser-podcast__headline">Podcast Headline</h2>
        <h3 class="list-teaser-podcast__subheadline">
            Podcast Subheadline
        </h3>
        <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
    </div>
    <div class="list-teaser-podcast__footer">
        <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
            Heribert Innoq
        </div>
        <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
            Heribert Innoq
        </div>
    </div>
</a>
/* No context defined for this component. */
  • Content:
    $podcast-teaser-height-sm: ms(30);
    $podcast-teaser-height-md: ms(35);
    
    .list-teaser-podcast {
      @extend %list-teaser;
      @extend %block-link;
      @extend %hover-zoom-in;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: $podcast-teaser-height-sm;
    }
    
    .list-teaser-podcast__body {
      margin-bottom: 0;
      padding: $spacer-sm $spacer-md;
    }
    
    .list-teaser-podcast__footer {
      margin-bottom: 0;
      padding: $spacer-sm $spacer-md;
    
      > * {
        margin: 0;
      }
    }
    
    .list-teaser-podcast__caption {
      @extend %teaser-caption;
    }
    
    .list-teaser-podcast__headline {
      @extend %h2;
    
      margin-bottom: $spacer-md;
      color: $podcast-teaser-default-color;
    }
    
    .list-teaser-podcast__subheadline {
      @extend %body-font-italic;
    
      margin-bottom: $spacer-xs;
      line-height: $podcast-teaser-subheadline-line-height;
      color: $podcast-teaser-default-color;
      font-size: $podcast-teaser-subheadline-font-size;
    }
    
    .podcast-author {
      @extend %author-name;
    }
    
    @media screen and (min-width: $grid-breakpoint-md) {
      .list-teaser-podcast {
        min-height: $podcast-teaser-height-md;
      }
    }
    
    .list-teaser-podcast--avatar--overlay--big {
      background-color: $podcast-teaser-overlay-color;
      background-repeat: no-repeat;
      background-position: top right, top left;
      background-size: 0%;
      color: $podcast-teaser-default-color;
      background-blend-mode: multiply;
    
      .list-teaser-podcast__body  {
        padding: $spacer-lg;
        text-align: center;
      }
    
      .list-teaser-podcast__footer {
        display: flex;
        justify-content: space-evenly;
        // IE11 Hack
        // sass-lint:disable no-vendor-prefixes
        @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
          justify-content: space-around;
        }
      }
    }
    
    //Breakpoints
    @media screen and (min-width: $grid-breakpoint-md) {
      .list-teaser-podcast--avatar--overlay--big  {
        background-size: contain;
      }
    }
    
  • URL: /components/raw/podcast-list-teaser/_podcast-list-teaser.scss
  • Filesystem Path: components/02-molecules/visual-elements/teaser/list-teaser/podcast-list-teaser/_podcast-list-teaser.scss
  • Size: 1.9 KB
  • Content:
    import { context } from '../../../../../env'
    
    const urlRight = context.uri('assets/heribert-rechts.png')
    const urlLeft = context.uri('assets/heribert-links.png')
    
    export const cssRight = `background-image: url(${urlRight});`
    export const cssBoth = `background-image: url(${urlRight}), url(${urlLeft});`
    
  • URL: /components/raw/podcast-list-teaser/config.jsx
  • Filesystem Path: components/02-molecules/visual-elements/teaser/list-teaser/podcast-list-teaser/config.jsx
  • Size: 303 Bytes
  • Handle: @podcast-list-teaser
  • Preview:
  • Filesystem Path: components/02-molecules/visual-elements/teaser/list-teaser/podcast-list-teaser/podcast-list-teaser.html

There are no notes for this item.