<div class="c-app-wrapper">
    <!-- Sidebar starts -->
    <aside class="c-sidebar o-grid__span-col--2">
        <div class="c-sidebar__wrapper">
            <header class="c-sidebar__header">
                <a href="/" class="c-sidebar__logo" title="Home Page">
                    <!-- Logo starts -->
                    <svg class="c-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 174.13 181.89">
  <defs><style>.cls-1{fill:none;stroke-miterlimit:10;stroke-width:0.5px}.cls-1{stroke:#e6e7e8}.cls-3{fill:#f1f2f2}.cls-4{fill:#e6e7e8}.cls-5{fill:#d1d3d4}.cls-6{fill:#bcbec0}.cls-11{fill:#fff}</style></defs>
  <g id="Layer_2" data-name="Layer 2">
    <g id="Layer_6" data-name="Layer 6">
      <path d="M0.62 0.62L81.16 0.62" class="cls-1"/>
      <path fill="none" stroke="#a7a9ac" stroke-miterlimit="10" stroke-width="0.5px" d="M80.36 0.62L160.09 80.15"/>
      <path d="M0.18 0.18L80.36 80.15" class="cls-1"/>
      <path d="M80.36 80.15L80.36 100.03" class="cls-1"/>
      <path d="M40.49 40.38L0.62 0.62 40.49 0.62 40.49 40.38z" class="cls-3"/>
      <path d="M40.49 0.62L80.36 40.38 40.49 40.38 40.49 0.62z" class="cls-4"/>
      <path d="M80.36 40.38L40.49 0.62 80.36 0.62 80.36 40.38z" class="cls-5"/>
      <path d="M80.36 0.62L120.22 40.38 80.36 40.38 80.36 0.62z" class="cls-6"/>
      <path d="M120.22 40.38L160.09 80.15 120.22 80.15 120.22 40.38z" class="cls-6"/>
      <path d="M120.22 80.15L80.36 40.38 120.22 40.38 120.22 80.15z" class="cls-5"/>
      <path d="M80.36 40.38L120.22 80.15 80.36 80.15 80.36 40.38z" class="cls-4"/>
      <path d="M80.36 80.15L40.49 40.38 80.36 40.38 80.36 80.15z" class="cls-3"/>
      <path d="M120.22 119.91L160.09 80.15 120.22 80.15 120.22 119.91z" class="cls-5"/>
      <path d="M120.22 80.15L80.36 119.91 120.22 119.91 120.22 80.15z" class="cls-4"/>
      <path d="M80.36 119.91L120.22 80.15 80.36 80.15 80.36 119.91z" class="cls-3"/>
      <path d="M80.36 139.79L40.49 100.03 80.36 100.03 80.36 139.79z" class="cls-4"/>
      <path fill="#a7a9ac" d="M130.38 159.67L90.52 119.91 130.38 119.91 130.38 159.67z"/>
      <path fill="#414042" d="M130.38 133.81L156.31 159.67 130.38 159.67 130.38 133.81z"/>
      <path fill="#a9abac" d="M120.22 119.91L146.27 93.98 146.27 119.91 120.22 119.91z"/>
      <path fill="#DD2A0E" d="M148.21 94.02L174.13 119.88 148.21 119.88 148.21 94.02z"/>
      <g class="c-logo__text">
        <path d="M51.09,177a4.08,4.08,0,0,0-1.69-3.68A8.43,8.43,0,0,0,45.51,172a4.76,4.76,0,0,1-2.83-1.13,1.59,1.59,0,0,1,0-2c.43-.74,1.4-1.11,2.88-1.11A4.29,4.29,0,0,1,48.8,169l2-2a7.78,7.78,0,0,0-2.24-1.51,9.51,9.51,0,0,0-3.66-.56,6.75,6.75,0,0,0-3.92,1.35,4.06,4.06,0,0,0-1.87,3.5,3.59,3.59,0,0,0,1.62,3.38,9.13,9.13,0,0,0,3.72,1.24c1.64.16,2.65.6,3.08,1.34a2.08,2.08,0,0,1,0,2.22c-.43.75-1.45,1.11-3.11,1.11a6.06,6.06,0,0,1-4-1.51l-2,2A8.63,8.63,0,0,0,41,181.22a10.09,10.09,0,0,0,3.95.68,6.81,6.81,0,0,0,4.31-1.45A4.19,4.19,0,0,0,51.09,177Z" class="cls-11"/>
        <path d="M16.78,181.89h3.41l-4.27-7.47.29-.09c2-.66,3-2.15,3-4.56,0-3.2-1.91-4.76-5.83-4.76H6.07v16.89H9v-7.19h3.57ZM9,172v-4.2H14.2c1.91.06,2.34,1.14,2.37,2s-.47,2.14-2.4,2.17H9Z" class="cls-11"/><path d="M21.8 167.75L27.59 167.75 27.59 181.89 30.57 181.89 30.57 167.75 36.37 167.75 36.37 165.01 21.8 165.01 21.8 167.75z" class="cls-11"/><path d="M69.57 181.56L69.57 164.74 68.45 164.74 68.45 172.37 58.27 172.37 58.27 164.74 57.15 164.74 57.15 181.56 58.27 181.56 58.27 173.34 68.45 173.34 68.45 181.56 69.57 181.56z" class="cls-11"/>
        <path d="M85.3,177l1.88,4.6h1.27l-7.08-16.82H80l-7.34,16.82h1.14l2-4.6ZM80.63,165.6,84.92,176h-8.7Z" class="cls-11"/>
        <path d="M110.32 164.74L106.01 180.07 105.64 180.07 105.53 179.89 101.21 164.74 99.53 164.74 95.15 180.07 94.77 180.07 94.67 179.89 90.42 164.74 89.28 164.74 94.17 181.56 95.78 181.56 100.16 166.15 100.53 166.15 100.63 166.33 104.96 181.56 106.56 181.56 111.46 164.74 110.32 164.74z" class="cls-11"/><path d="M116.23 172.68L124.93 181.56 126.56 181.56 117.55 172.4 126.02 164.74 124.53 164.74 116.14 172.37 115.65 172.37 115.65 164.74 114.54 164.74 114.54 181.56 115.65 181.56 115.65 172.6 116.15 172.6 116.23 172.68z" class="cls-11"/>
        <path d="M139.01 173.34L139.01 172.37 130.6 172.37 130.6 165.71 139.57 165.71 139.57 164.74 129.48 164.74 129.48 181.56 139.97 181.56 139.97 180.59 130.6 180.59 130.6 173.34 139.01 173.34z" class="cls-11"/><path d="M153.88 164.74L148.38 173.17 143.01 164.74 141.68 164.74 147.83 174.27 147.83 181.56 148.94 181.56 148.94 174.27 155.09 164.74 153.88 164.74z" class="cls-11"/><path d="M167.56 173.34L167.56 172.37 159.14 172.37 159.14 165.71 168.12 165.71 168.12 164.74 158.03 164.74 158.03 181.56 168.51 181.56 168.51 180.59 159.14 180.59 159.14 173.34 167.56 173.34z" class="cls-11"/>
      </g>
    </g>
  </g>
</svg>
                    <!-- Logo ends -->

                </a>
            </header>

            <!-- Mobile menu button starts -->
            <button class="c-btn c-btn--link c-btn--link--no-underline c-sidebar__nav__trigger js-c-sidebar__nav__trigger" aria-label="Toggle menu">
        Menu
      </button>
            <!-- Mobile menu button ends -->

            <!-- Navigation starts -->
            <nav class="c-sidebar__nav">
                <ul class="c-sidebar__nav__list">
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Facilities</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Dashboard</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">DBOL</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">IBOL</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">WO</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Transfer</a>
                            </li>
                        </ul>
                    </li>
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Asset management</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Inventory Viewer</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Order History</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Inspection report</a>
                            </li>
                        </ul>
                    </li>
                    <li class="c-sidebar__nav__item">
                        <a href="#" class="c-sidebar__nav__link">Well analysis</a>
                    </li>
                    <li class="c-sidebar__nav__item">
                        <a href="#" class="c-sidebar__nav__link">CRM</a>
                    </li>
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Data Structure</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">People</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Companies</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Wells</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Racks</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Facilities</a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </nav>
            <!-- Navigation ends -->

            <footer class="c-sidebar__footer">
                <button class="c-btn c-btn--link c-sidebar__layout-btn">Switch layout</button>
                <div class="c-sidebar__username-dropdown">
                    <h2 class="c-sidebar__username">Your friend, Ramiro</h2>
                    <a href="#" class="c-sidebar__nav-link__logout">Sign Out</a>
                </div>
            </footer>
        </div>
    </aside>
    <!-- Sidebar ends -->

    <!-- Content wrapper starts -->
    <div class="c-content-wrapper">
        <!-- main content starts -->
        <main class="o-stack--lg">
            <header>
                <h2 class="o-display--sm">Which facility would you like to manage today?</h2>
            </header>
            <section class="o-stack">
                <div class="c-global-filter ">
                    <label for="filter" class="c-global-filter__label">Facility filters</label>
                    <input class="c-input c-global-filter__input" id="filter" placeholder="Type in to filter..." value="" type="text">
                </div>
                <div class="o-grid o-grid--auto--lg o-grid__gap--md">
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">AL Advisory</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Bryan - Rod Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Bryan - Tubing Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Dilley - Rework</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Dilley - Rod Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Dilley - Tubing Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Midland - Rework</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Midland - Rod Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Midland - Tubing Plant</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Mobile Well Site</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Norris - Guide (M)</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Norris - Guide (P)</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">NOV - Guide (P)</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">Texas IPC</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">WALS - Guide (B)</h3>
          </a>
                    <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">WALS - Guide (M)</h3>
          </a>
                </div>
            </section>
        </main>
        <!-- main content ends -->
    </div>
    <!-- Content wrapper ends -->
</div>
<div class="c-app-wrapper">
  {{> '@sidebar-nav' sidebarClass="o-grid__span-col--2" username="Your friend, Ramiro" }}

  <!-- Content wrapper starts -->
  <div class="c-content-wrapper">
    <!-- main content starts -->
    <main class="o-stack--lg">
      <header>
          <h2 class="o-display--sm">Which facility would you like to manage today?</h2>
      </header>
      <section class="o-stack">
        {{> '@global-filter' label="Facility filters" inputID="filter" placeholder="Type in to filter..."}}
        <div class="o-grid o-grid--auto--lg o-grid__gap--md">
          {{#each facilities }}
          <a href="#0" class="c-facility-card">
            <svg class="o-icon" aria-hidden="true"><use href="#facility"></use></svg>
            <h3 class="c-facility-card__name">{{facility.name}}</h3>
          </a>
          {{/each}}
        </div>
      </section>
    </main>
    <!-- main content ends -->
  </div>
  <!-- Content wrapper ends -->
</div>
{
  "facilities": [
    {
      "facility": {
        "name": "AL Advisory"
      }
    },
    {
      "facility": {
        "name": "Bryan - Rod Plant"
      }
    },
    {
      "facility": {
        "name": "Bryan - Tubing Plant"
      }
    },
    {
      "facility": {
        "name": "Dilley - Rework"
      }
    },
    {
      "facility": {
        "name": "Dilley - Rod Plant"
      }
    },
    {
      "facility": {
        "name": "Dilley - Tubing Plant"
      }
    },
    {
      "facility": {
        "name": "Midland - Rework"
      }
    },
    {
      "facility": {
        "name": "Midland - Rod Plant"
      }
    },
    {
      "facility": {
        "name": "Midland - Tubing Plant"
      }
    },
    {
      "facility": {
        "name": "Mobile Well Site"
      }
    },
    {
      "facility": {
        "name": "Norris - Guide (M)"
      }
    },
    {
      "facility": {
        "name": "Norris - Guide (P)"
      }
    },
    {
      "facility": {
        "name": "NOV - Guide (P)"
      }
    },
    {
      "facility": {
        "name": "Texas IPC"
      }
    },
    {
      "facility": {
        "name": "WALS - Guide (B)"
      }
    },
    {
      "facility": {
        "name": "WALS - Guide (M)"
      }
    }
  ]
}
  • Content:
    .c-facility-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: rem(220);
      border-radius: $global-radius;
      background: $color-gradient;
      box-shadow: $global-box-shadow__inset--solid,
                  $global-box-shadow;
      color: $color-grey-600;
      text-align: center;
    
      .o-icon {
        width: rem(80);
        height: rem(56);
        margin: 0;
        color: $color-link-hover;
        opacity: 0.6;
        transition: $global-transition;
      }
    
      @include hocus() {
        transform: translateY(rem(-4));
        border-bottom: $space-xs solid;
        background: $color-gradient--md;
        box-shadow: $global-box-shadow__inset--solid,
                    $global-box-shadow--long;
        text-decoration: none;
    
        .o-icon {
          transform: scale(1.1);
          opacity: 1;
        }
    
        .c-facility-card__name {
          color: $color-brand-primary-600;
        }
      }
    }
    
      .c-facility-card__name {
        font-weight: 600;
        margin-top: $space-unit;
      }
    
  • URL: /components/raw/facility-dashboard/_facility-card.scss
  • Filesystem Path: components/_pages/facility-dashboard/_facility-card.scss
  • Size: 969 Bytes

There are no notes for this item.