<div>
    <div class="blocks"><a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style="background-image: url(../../assets/heribert-rechts.png);">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline lorem ipsum dolor sit amet bla bla trololo.</h3><img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
            </div>
        </a>
        <a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3>
                <img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__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><a href="#" class="podcast-teaser podcast-teaser--avatar" style="background-image: url(../../assets/heribert-rechts.png);">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3><img src="../../assets/arrow-long-right-red.svg">
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
            </div>
        </a>
    </div>
    <div class="blocks"><a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3><img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
            </div>
        </a>
        <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay--big" style="background-image: url(../../assets/heribert-rechts.png), url(../../assets/heribert-links.png);">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3>
                <img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__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>
    </div>
    <div class="blocks"><a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style="background-image: url(../../assets/heribert-rechts.png);">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3><img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__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>
        <a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">Podcast Subheadline</h3>
                <img src="../../assets/arrow-long-right-white.svg">
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person">Heribert Innoq</div>
            </div>
        </a>
    </div>
</div>
import { cssRight, cssBoth } from "./components/02-molecules/teaser/tile-teaser/podcast-tile-teaser/config";

<div>
    <div class="blocks">
        <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style={cssRight}>
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline lorem ipsum dolor sit amet bla bla trololo.
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                    Heribert Innoq
                </div>
            </div>
        </a>
        <a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__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>

        <a href="#" class="podcast-teaser podcast-teaser--avatar" style={cssRight}>
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-red.svg")} />
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                    Heribert Innoq
                </div>
            </div>
        </a>
    </div>

    <div class="blocks">
        <a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                    Heribert Innoq
                </div>
            </div>
        </a>

        <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay--big" style={cssBoth}>
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__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>
    </div>

    <div class="blocks">
        <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style={cssRight}>
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__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>

        <a href="#" class="podcast-teaser podcast-teaser--default">
            <div class="podcast-teaser__body">
                <div class="podcast-teaser__caption">Podcast</div>
                <h2 class="podcast-teaser__headline">Podcast Headline</h2>
                <h3 class="podcast-teaser__subheadline">
                    Podcast Subheadline
                </h3>
                <img src={context.app.uri("assets/arrow-long-right-white.svg")} />
            </div>
            <div class="podcast-teaser__footer">
                <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                    Heribert Innoq
                </div>
            </div>
        </a>
    </div>
</div>
/* No context defined for this component. */
  • Content:
    $podcast-teaser-height-sm: ms(30);
    $podcast-teaser-height-md: ms(35);
    
    .podcast-teaser {
      @extend %block-link;
      @extend %hover-zoom-in;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: $podcast-teaser-height-sm;
      overflow: hidden;
    }
    
    .podcast-teaser__body {
      margin-bottom: 0;
      padding: $spacer-sm $spacer-md;
    }
    
    .podcast-teaser__footer {
      margin-bottom: 0;
      padding: $spacer-sm $spacer-md;
    
      > * {
        margin: 0;
      }
    }
    
    .podcast-teaser__caption {
      @extend %teaser-caption;
    }
    
    .podcast-teaser__headline {
      @extend %h3;
    
      margin-bottom: $spacer-md;
      color: $podcast-teaser-default-color;
    }
    
    .podcast-teaser__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) {
      .podcast-teaser {
        min-height: $podcast-teaser-height-md;
      }
    }
    
    
    //
    // Variations
    //
    .podcast-teaser--avatar,
    .podcast-teaser--avatar--overlay {
      .podcast-teaser__subheadline {
        max-width: 80%;
      }
    }
    
    .podcast-teaser--avatar--overlay {
      background-color: $podcast-teaser-overlay-color;
      background-repeat: no-repeat;
      background-position: top right;
      background-size: auto 100%;
      color: $podcast-teaser-default-color;
      background-blend-mode: multiply;
    }
    
    .podcast-teaser--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;
    
      .podcast-teaser__body  {
        padding: $spacer-lg;
        text-align: center;
      }
    
      .podcast-teaser__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;
        }
      }
    }
    
    .podcast-teaser--avatar {
      background-color: $podcast-teaser-default-color;
      background-repeat: no-repeat;
      background-position: top right;
      background-size: auto 100%;
      color:  $podcast-teaser-default-bg;
    
      .podcast-teaser__headline,
      .podcast-teaser__subheadline  {
        color:  $podcast-teaser-default-bg;
      }
    }
    
    .podcast-teaser--default {
      background-color: $podcast-teaser-default-bg;
      color: $podcast-teaser-default-color;
    }
    
    //Breakpoints
    @media screen and (min-width: $grid-breakpoint-md) {
      .podcast-teaser--avatar--overlay--big {
        background-size: contain;
      }
    }
    
  • URL: /components/raw/podcast-tile-teaser/_podcast-tile-teaser.scss
  • Filesystem Path: components/02-molecules/teaser/tile-teaser/podcast-tile-teaser/_podcast-tile-teaser.scss
  • Size: 2.7 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-tile-teaser/config.jsx
  • Filesystem Path: components/02-molecules/teaser/tile-teaser/podcast-tile-teaser/config.jsx
  • Size: 300 Bytes
  • Handle: @podcast-tile-teaser
  • Preview:
  • Filesystem Path: components/02-molecules/teaser/tile-teaser/podcast-tile-teaser/podcast-tile-teaser.html

There are no notes for this item.