<div class="vgr-search-card vgr-search-card--panel vgr-search-card--person">
    <div class="vgr-search-card__header vgr-search-card__header--photo vgr-clearfix">

        <div class="vgr-search-card__image-holder">
            <img class="vgr-search-card__image" src="../../temp/profile-photo.png" alt="alt text" width="66" height="66"> Unavialble

        </div>

        <h2 class="vgr-search-card__headline">
            <a href="/">Lorem ipsum</a>
        </h2>

        <p class="vgr-search-card__meta">Applikationsspecialist</p>

        <p class="vgr-search-card__meta">Digitala medier & Dokumenthantering</p>

    </div>

    <div class="vgr-search-card__map">
        <img src="../../temp/map.png" alt="">
    </div>

    <div class="vgr-search-card__information">

        <dl class="vgr-detail-list">
            <dt class="vgr-detail-list__title">Ekonomiska uppgifter</dt>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Ansvar</span> 36692</dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Beställar-ID</span> 36692 12</dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">I-nummer</span> I70210</dd>
        </dl>
    </div>

    <div class="vgr-search-card__folded vgr-search-card__information" id="folded-1">

        <dl class="vgr-detail-list">
            <dt class="vgr-detail-list__title">Kontaktuppgifter</dt>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">E-postadress</span> <a class="vgr-detail-list__link" href="/">evelyn.stolfer@vgregion.se</a></dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Telefon</span> 010 - 473 75 77</dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Mobiltelefon</span> 0702 - 96 67 99</dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Växeltelefon</span> <a class="vgr-detail-list__link" href="/">0500 -620 00</a></dd>
            <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Faxnummer</span> 0500 -620 65</dd>
        </dl>

        <div class="vgr-address-list">
            <div class="vgr-address-list-inner">
                <p class="vgr-link-list__heading">Adresser</p>
                <ul class="vgr-address-list-container vgr-unstyled-list">
                    <li class="vgr-address-list-item">
                        <div>
                            Postadress<br> Regionkansliet
                            <br> Residenset, Torget<br> 462 80 Vänersborg<br>
                        </div>
                    </li>
                    <li class="vgr-address-list-item">
                        <div>
                            Postadress<br> Regionkansliet
                            <br> Residenset, Torget<br> 462 80 Vänersborg<br>
                        </div>
                    </li>
                    <li class="vgr-address-list-item">
                        <div>
                            Postadress<br> Regionkansliet
                            <br> Residenset, Torget<br> 462 80 Vänersborg<br>
                        </div>
                    </li>
                </ul>
            </div>
        </div>

        <p class="vgr-link-list__heading">Organisation</p>
        <ul class="vgr-link-list vgr-unstyled-list">
            <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Regiondirektören</a></li>
            <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Koncernkontoret</a></li>
            <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Regionstyrelsen</a></li>
        </ul>

        <p class="vgr-link-list__heading">Arbetsidentifkation</p>
        <ul class="vgr-link-list vgr-unstyled-list">
            <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Ledning, administration</a></li>
        </ul>

        <p class="vgr-link-list__heading">Primär anställning</p>
        <ul class="vgr-link-list vgr-unstyled-list">
            <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Automatisk vald</a></li>
        </ul>
    </div>

    <button class="vgr-search-card__expand-button" aria-controls="folded-1" data-component="toggle-button">
    <svg width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path d="M8.418.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0L.601 1.828a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L5 4 8.418.859z" fill="#5B5B5B" fill-rule="evenodd"/></svg>Fler kontaktuppgifter</button>

</div>
<div class="vgr-search-card vgr-search-card--panel vgr-search-card--{{ modifier }}{% if bestbet %} vgr-search-card--bestbet{% endif %}">
  <div class="vgr-search-card__header vgr-search-card__header--photo vgr-clearfix">

    <div class="vgr-search-card__image-holder">
      <img class="vgr-search-card__image" src="{{ image | path }}" alt="{{ imageAlt }}" width="{{ imageWidth }}" height="{{ imageHeight }}">

      {% if status[online] %}
        Online
      {% elif status[offline] %}
        Offline
      {% else %}
        Unavialble
      {% endif %}

      {% if status.online %}
        <div class="vgr-search-card__status">
          <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Skype-status tillgänglig</title><g fill="none" fill-rule="evenodd"><circle fill="#83D746" cx="8" cy="8" r="8"/><path d="M11.704 4.077A.275.275 0 0 0 11.521 4a.27.27 0 0 0-.186.08L5.971 9.835S4.805 8.39 4.74 8.318c-.066-.07-.151-.188-.28-.188-.13 0-.19.099-.257.172-.05.058-.68.68-1.086 1.148a1.325 1.325 0 0 1-.059.067.333.333 0 0 0-.059.182c0 .07.024.128.059.183l.083.083 2.6 2.869c.068.073.151.166.272.166.118 0 .215-.138.271-.198l6.656-7.055A.335.335 0 0 0 13 5.56c0-.08-.03-.147-.07-.205l-1.226-1.28z" fill="#FFF"/></g></svg>
        </div>
      {% endif %}

      {% if statusOffline %}
        <div class="vgr-search-card__status">
          <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Skype-status offline</title><g fill="none" fill-rule="evenodd"><circle fill="#FF3607" cx="8" cy="8" r="8"/><path fill="#FFF" d="M4 7h8v2H4z"/></g></svg>
        </div>
      {% endif %}

      {% if statusUnavailable %}
        <div class="vgr-search-card__status">
          <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Skype-status otillgänglig</title><g fill="none" fill-rule="evenodd"><circle fill="#B8B9B7" cx="8" cy="8" r="8"/><path d="M10.932 10.043l-2.05-2.057 2.055-2.03a.217.217 0 0 0 0-.306l-.585-.588A.215.215 0 0 0 10.2 5a.222.222 0 0 0-.153.062L8.001 7.086 5.952 5.064a.215.215 0 0 0-.153-.062.222.222 0 0 0-.153.062l-.583.587a.217.217 0 0 0 0 .306l2.055 2.03-2.048 2.056a.216.216 0 0 0 0 .306l.584.587a.215.215 0 0 0 .306 0L8 8.887l2.043 2.047a.215.215 0 0 0 .306 0l.585-.587a.216.216 0 0 0 .064-.153.224.224 0 0 0-.066-.151z" fill="#FFF"/></g></svg>
        </div>
      {% endif %}
    </div>

    <h2 class="vgr-search-card__headline">
      <a href="{{ url }}">{{ headline }}</a>
    </h2>
    {% if title %}
      <p class="vgr-search-card__meta">{{ title }}</p>
    {% endif %}
    {% if placement %}
      <p class="vgr-search-card__meta">{{ placement }}</p>
    {% endif %}
  </div>

  {% if mapAddress %}
  <div class="vgr-search-card__map">
    <img src="{{ mapAddress | path }}" alt="">
  </div>
  {% endif %}

  <div class="vgr-search-card__information">

    <dl class="vgr-detail-list">
      <dt class="vgr-detail-list__title">Ekonomiska uppgifter</dt>
      <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Ansvar</span> 36692</dd>
      <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">Beställar-ID</span> 36692 12</dd>
      <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">I-nummer</span> I70210</dd>
    </dl>
  </div>

  {% if expandable %}
    <div class="vgr-search-card__folded vgr-search-card__information" id="folded-1">

      <dl class="vgr-detail-list">
        <dt class="vgr-detail-list__title">Kontaktuppgifter</dt>
        <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">{{ emailLabel }}</span> <a class="vgr-detail-list__link" href="/">{{ email }}</a></dd>
        <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">{{ landlinelabel }}</span> {{ landline }}</dd>
        <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">{{ mobileLabel }}</span> {{ mobile }}</dd>
        <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">{{ switchedTelephoneLabel
   }}</span> <a class="vgr-detail-list__link" href="/">{{ switchedTelephone }}</a></dd>
        <dd class="vgr-detail-list__item"><span class="vgr-detail-list__label">{{ faxNumberLabel }}</span> {{ faxNumber }}</dd>
      </dl>

      <div class="vgr-address-list">
        <div class="vgr-address-list-inner">
          <p class="vgr-link-list__heading">Adresser</p>
          <ul class="vgr-address-list-container vgr-unstyled-list">
            <li class="vgr-address-list-item">
              <div>
                Postadress<br>
                Regionkansliet<br>
                Residenset, Torget<br>
                462 80 Vänersborg<br>
              </div>
            </li>
            <li class="vgr-address-list-item">
              <div>
                Postadress<br>
                Regionkansliet<br>
                Residenset, Torget<br>
                462 80 Vänersborg<br>
              </div>
            </li>
            <li class="vgr-address-list-item">
              <div>
                Postadress<br>
                Regionkansliet<br>
                Residenset, Torget<br>
                462 80 Vänersborg<br>
              </div>
            </li>
          </ul>
        </div>
      </div>

      <p class="vgr-link-list__heading">Organisation</p>
      <ul class="vgr-link-list vgr-unstyled-list">
        <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Regiondirektören</a></li>
        <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Koncernkontoret</a></li>
        <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Regionstyrelsen</a></li>
      </ul>

      <p class="vgr-link-list__heading">Arbetsidentifkation</p>
      <ul class="vgr-link-list vgr-unstyled-list">
        <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Ledning, administration</a></li>
      </ul>

      <p class="vgr-link-list__heading">Primär anställning</p>
      <ul class="vgr-link-list vgr-unstyled-list">
        <li class="vgr-link-list__item"><a class="vgr-link-list__link" href="/">Automatisk vald</a></li>
      </ul>
    </div>

    <button class="vgr-search-card__expand-button" aria-controls="folded-1" data-component="toggle-button">
    <svg width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path d="M8.418.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0L.601 1.828a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L5 4 8.418.859z" fill="#5B5B5B" fill-rule="evenodd"/></svg>Fler kontaktuppgifter</button>
  {% endif %}
</div>
{
  "headline": "Lorem ipsum",
  "url": "/",
  "datetime": "2015-08-19",
  "date": "19 augusti 2015",
  "source": "Västra Götalandsregionen",
  "excerpt": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus laoreet tristique erat a tincidunt. Morbi eleifend augue sit amet nunc vulputate finibus…",
  "modifier": "person",
  "expandable": true,
  "bestbet": null,
  "status": "online",
  "image": "/temp/profile-photo.png",
  "mapAddress": "/temp/map.png",
  "imageAlt": "alt text",
  "imageHeight": "66",
  "imageWidth": "66",
  "title": "Applikationsspecialist",
  "placement": "Digitala medier & Dokumenthantering",
  "emailLabel": "E-postadress",
  "email": "evelyn.stolfer@vgregion.se",
  "landlinelabel": "Telefon",
  "landline": "010 - 473 75 77",
  "mobileLabel": "Mobiltelefon",
  "mobile": "0702 - 96 67 99",
  "switchedTelephoneLabel": "Växeltelefon",
  "switchedTelephone": "0500 -620 00",
  "faxNumberLabel": "Faxnummer",
  "faxNumber": "0500 -620 65"
}
  • Content:
    .vgr-search-card {
      margin-bottom: .625rem;
      padding: 1rem .75rem;
      background: $color-white;
    
      $headline-size: 1.125rem;
      $meta-size: 14px;
      $meta-color: #0c6725;
      $excerpt-size: 14px;
    
      [aria-expanded=true] {
        display: block;
      }
    
      [aria-expanded=false] {
        display: none;
      }
    
      &--panel {
        box-shadow: 0 1px 3px rgba($color-black, .2);
      }
    
      &__folded {
        display: none;
        padding-top: .625rem;
        border-top: 1px solid $color-gray-lighter;
      }
    
      &__headline {
        margin: 0;
        font-weight: 400;
        font-size: $large-font-size;
      }
    
      &__image-holder {
        position: relative;
        float: left;
        margin: .5rem;
        width: 4.125rem;
        height: 4.125rem;
      }
    
      &__image {
        width: 4.125rem;
        height: 4.125rem;
      }
    
      &__status {
        position: absolute;
        right: 0;
        bottom: 1px;
        width: 1rem;
        height: 1rem;
      }
    
      &__date {
        color: $meta-color;
        font-size: $meta-size;
      }
    
      &__source {
        display: inline;
        color: $meta-color;
        font-size: $meta-size;
      }
    
      &__excerpt {
        margin: 0;
        font-size: $excerpt-size;
      }
    
      &__meta {
        margin: 0;
        font-size: $meta-size;
      }
    }
    
    .vgr-search-card__header {
      width: calc(100% + 1.5rem);
      background: #f6f6f6;
      box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05);
    
      &--photo {
        margin: -1rem -.75rem 0;
      }
    }
    
    .vgr-search-card--bestbet {
      .vgr-search-card__header {
        background: #004674;
        color: #fff;
    
        a {
          color: inherit;
        }
      }
    }
    
    .vgr-search-card__information {
      margin-top: .625rem;
    
      &[aria-hidden="true"] {
        display: none;
      }
    }
    
    .vgr-detail-list {
      display: table;
      margin: 0;
      width: 100%;
      font-size: 14px;
    
      &__title {
        color: #727272;
      }
    
      &__item {
        margin-left: 0;
      }
    
      &__label {
        padding-right: 10px;
        color: #000;
        font-weight: 700;
      }
    
      @media screen and (min-width: $small) {
        &__item {
          display: table-row;
        }
    
        &__label {
          display: table-cell;
          width: 130px;
        }
      }
    }
    
    .vgr-link-list {
      font-size: 14px;
    
      &__heading {
        margin: .5rem 0 0;
        color: #727272;
        font-size: 14px;
      }
    
      &__item {
        &:not(:first-child) {
          margin-top: 5px;
        }
      }
    
      &__link {
        display: block;
        padding: 10px;
        border: 1px solid #e3e3e3;
        background: #f6f6f6;
        line-height: 1;
      }
    }
    
    .vgr-search-card__map {
      margin: 0 -.75rem;
    }
    
    .vgr-address-list {
      overflow: scroll;
      margin-top: .5rem;
      margin-right: -.75rem;
      margin-left: -.75rem;
      padding-right: .75rem;
      padding-left: .75rem;
      max-width: 100vw;
      border-width: 0;
      border-style: solid;
      border-color: #d8d8d8;
      border-top-width: 1px;
      border-bottom-width: 1px;
      background: #f8f8f8;
      -webkit-overflow-scrolling: touch;
    
      &-container {
        margin-bottom: 1rem;
        white-space: nowrap;
      }
    
      &-item {
        display: inline-block;
        margin: 10px;
        min-width: 10rem;
        width: 25vw;
        background: #fff;
      }
    }
    
    .vgr-search-card__expand-button {
      display: block;
      margin: .75rem -.75rem -1rem;
      padding: 1rem;
      width: calc(100% + 1.5rem);
      border: 0;
      background: #f6f6f6;
      box-shadow: inset 0 1px 0 rgba(0, 0, 0, .05);
      text-align: left;
      font-size: 14px;
      cursor: pointer;
      transition: background .1s ease-in-out;
    
      svg {
        margin-right: .5rem;
        vertical-align: middle;
      }
    
      &:hover,
      &:focus {
        background: #efefef;
        text-decoration: underline;
      }
    }
    
    .vgr-search-card__folded[aria-expanded="true"] + .vgr-search-card__expand-button {
      display: none;
    }
    
  • URL: /components/raw/search-card/_search-card.scss
  • Filesystem Path: components/scoped/search/search-card/_search-card.scss
  • Size: 3.5 KB

There are no notes for this item.