<div class="project-index">
    <div class="project-index__entry">
        <header class="project-index__header">
            <h1 class="project-index__title">A</h1>
        </header>
        <ul class="project-index__client-projects client-projects">
            <li class="client-projects__client">
                <header class="client-projects__header">
                    <h1 class="client-projects__client-name">Allianz</h1>
                </header>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Frische neue Ideen</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor ad culpa ipsum ea
                            sint. Minim anim esse proident sint sit laborum tempor dolore cillum aliqua
                            aliqua. Nisi ipsum deserunt minim commodo est ut aliqua.</p>
                    </div><a href="#" class="link-teaser client-projects__goto-btn">zum Projekt</a>
                </div>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Meteoriteneinschlag in der IT</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor dolore cillum aliqua
                            aliqua.</p>
                    </div>
                    <multi-toggler aria-hidden="true" class="collapse-toggler client-projects__show-more-btn" data-target-next data-toggle-class="sr-only" data-toggle-self-class="collapsed" data-toggle-on-init><span class="collapse-toggler__flop">mehr anzeigen <img src="../../assets/plus-red.svg"></span>
                        <span class="collapse-toggler__flip">weniger anzeigen
                            <img src="../../assets/minus-red.svg">
                        </span>
                    </multi-toggler>
                    <p class="client-projects__text">Ipsum ex nisi cillum voluptate qui sunt voluptate nostrud consequat adipisicing
                        in occaecat sit qui. Irure excepteur tempor eu consectetur proident laborum
                        commodo ullamco deserunt excepteur culpa. Excepteur dolore ad veniam et
                        in culpa dolore irure aliqua. Ea fugiat minim cillum exercitation. Culpa
                        ex nulla id consequat pariatur quis non veniam qui consequat ipsum cillum.
                        Sint eiusmod nulla veniam mollit sunt cillum ea adipisicing adipisicing
                        laborum quis ea aliqua. Et sit mollit aliqua irure minim do deserunt proident
                        consectetur consequat.</p>
                </div>
            </li>
            <li class="client-projects__client">
                <header class="client-projects__header">
                    <h1 class="client-projects__client-name">AXA</h1>
                </header>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Benutzerfreundlich und Agil</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor ad culpa ipsum ea
                            sint. Minim anim esse proident sint sit laborum tempor dolore cillum aliqua
                            aliqua. Nisi ipsum deserunt minim commodo est ut aliqua.</p>
                    </div><a href="#" class="link-teaser client-projects__goto-btn">zum Projekt</a>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="project-index">
    <div class="project-index__entry">

        <header class="project-index__header">
            <h1 class="project-index__title">A</h1>
        </header>

        <ul class="project-index__client-projects client-projects">

            <li class="client-projects__client">
                <header class="client-projects__header">
                    <h1 class="client-projects__client-name">Allianz</h1>
                </header>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Frische neue Ideen</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor ad culpa ipsum ea sint. Minim anim esse proident sint sit laborum tempor dolore cillum aliqua aliqua. Nisi ipsum deserunt minim commodo est ut aliqua.</p>
                    </div>
                    <a href="#" class="link-teaser client-projects__goto-btn">zum Projekt</a>
                </div>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Meteoriteneinschlag in der IT</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor dolore cillum aliqua aliqua.</p>
                    </div>
                    <multi-toggler aria-hidden="true" class="collapse-toggler client-projects__show-more-btn" data-target-next data-toggle-class="sr-only" data-toggle-self-class="collapsed" data-toggle-on-init>
                        <span class="collapse-toggler__flop">mehr anzeigen <img src={context.app.uri('assets/plus-red.svg')} /></span>
                        <span class="collapse-toggler__flip">weniger anzeigen <img src={context.app.uri('assets/minus-red.svg')} /></span>
                    </multi-toggler>
                    <p class="client-projects__text">Ipsum ex nisi cillum voluptate qui sunt voluptate nostrud consequat adipisicing in occaecat sit qui. Irure excepteur tempor eu consectetur proident laborum commodo ullamco deserunt excepteur culpa. Excepteur dolore ad veniam et in culpa dolore irure aliqua. Ea fugiat minim cillum exercitation. Culpa ex nulla id consequat pariatur quis non veniam qui consequat ipsum cillum. Sint eiusmod nulla veniam mollit sunt cillum ea adipisicing adipisicing laborum quis ea aliqua. Et sit mollit aliqua irure minim do deserunt proident consectetur consequat.</p>
                </div>
            </li>

            <li class="client-projects__client">
                <header class="client-projects__header">
                    <h1 class="client-projects__client-name">AXA</h1>
                </header>
                <div class="client-projects__project">
                    <div class="client-projects__intro">
                        <h2 class="client-projects__project-title">Benutzerfreundlich und Agil</h2>
                        <p class="client-projects__intro-text">Dolor commodo dolor id consequat elit cillum tempor ad culpa ipsum ea sint. Minim anim esse proident sint sit laborum tempor dolore cillum aliqua aliqua. Nisi ipsum deserunt minim commodo est ut aliqua.</p>
                    </div>
                    <a href="#" class="link-teaser client-projects__goto-btn">zum Projekt</a>
                </div>
            </li>

        </ul>

    </div>
</div>
/* No context defined for this component. */
  • Content:
    //
    // project-index
    //
    
    // Related Markup probably not necessary in actual page
    .project-index {
      color: $project-index-text-color;
    }
    
    .project-index__entry {
      margin-top: $spacer-xl;
    }
    
    .project-index__header {
      border-bottom: 5px solid $project-index-text-color;
      text-align: center;
    }
    
    .project-index__title {
      display: inline-block;
      margin: 0;
      background-color: $project-index-text-color;
      padding: 0 $spacer-sm $spacer-xs;
      color: $project-index-text-inverted-color;
    }
    
    //
    // client-projects
    //
    
    %client-projects-headline-small {
      line-height: $list-teaser-project-headline-line-height-small;
      font-size: $list-teaser-project-headline-font-size-small;
    }
    
    .client-projects {
      @extend %list-unstyled;
      position: relative;
    }
    
    .client-projects__header {
      margin-top: $spacer-sm;
    }
    
    .client-projects__client {
      position: relative;
    }
    
    .client-projects__client-name {
      @extend %client-projects-headline-small;
      margin: $spacer-lg 0 $spacer-sm;
      color: $project-index-highlight-color;
    }
    
    .client-projects__project {
      display: grid;
      border-top: 1px solid $project-index-text-color;
      border-bottom: 1px solid $project-index-text-color;
      padding: $spacer-sm 0;
      grid-template-columns: 1fr;
      grid-auto-rows: auto;
    
      &:last-child {
        border-bottom-width: 2px;
      }
    }
    
    .client-projects__project + .client-projects__project {
      border-top: 0;
    }
    
    .client-projects__project-title {
      @extend %client-projects-headline-small;
      margin-bottom: $spacer-sm;
      text-transform: none;
    }
    
    .client-projects__intro-text {
      @extend %teaser-text-italic;
      margin: 0;
    }
    
    .client-projects__show-more-btn,
    .client-projects__goto-btn {
      margin: $spacer-sm 0 0;
      justify-self: start;
    }
    
    .client-projects__show-more-btn {
      img {
        vertical-align: middle;
      }
    }
    
    .client-projects__text {
      @extend %teaser-text;
      margin: $spacer-md 0 $spacer-sm;
    }
    
    @supports (display: grid) {
      @media screen and (min-width: $grid-breakpoint-md) {
        .client-projects__header {
          position: absolute;
        }
    
        .client-projects__client-name {
          margin: 0;
        }
    
        .client-projects__project {
          grid-template-columns: 1fr 50% 1fr;
          grid-column-gap: $spacer-md;
        }
    
        .client-projects__intro {
          grid-column: 2 / span 1;
        }
    
        .client-projects__show-more-btn,
        .client-projects__goto-btn {
          align-self: end;
          justify-self: end;
          grid-column: 3 / span 1;
        }
    
        .client-projects__text {
          grid-column: 2 / span 2;
        }
      }
    }
    
  • URL: /components/raw/project-list-teaser/_project-list-teaser.scss
  • Filesystem Path: components/02-molecules/visual-elements/teaser/list-teaser/project-list-teaser/_project-list-teaser.scss
  • Size: 2.5 KB
  • Handle: @project-list-teaser
  • Preview:
  • Filesystem Path: components/02-molecules/visual-elements/teaser/list-teaser/project-list-teaser/project-list-teaser.html

There are no notes for this item.