// /**
//  * Copyright © 2016 Magento. All rights reserved.
//  * See COPYING.txt for license details.
//  */

//  #  Loaders
//  A page loader is an animation a visitor sees while the page or an element is loaded. During this time a page is blocked with overlay.
//
//  Default loader markup
//  <pre>
//  <code>
//  &lt;div id="example1" class="loader" data-text="Please wait..." style="display: none;"&gt;
//  &lt;/div&gt;
//  </code>
//  </pre>
//  ```html
//  <div>
//  <div id="example1" class="loader" data-text="Please wait..." style="display: none;"></div>
//  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//  </div>
//  <button type="button" onclick="document.getElementById('example1').style='display: block;';document.getElementById('example1').parentNode.setAttribute('aria-busy','true');" style="z-index:99999; position: relative;"><span>Show</span></button>
//  <button type="button" onclick="document.getElementById('example1').style='display: none;';document.getElementById('example1').parentNode.setAttribute('aria-busy','false');" style="z-index:99999; position: relative;"><span>Hide</span></button>
//  ```
//

.loader {
    .lib-loader();
}

//  # Default loader variables
//  <pre>
//    <table>
//      <tr>
//        <th class="vars_head">Mixin variable</th>
//        <th class="vars_head">Default value</th>
//        <th class="vars_head">Allowable values</th>
//        <th class="vars_head">Comment</th>
//      </tr>
//      <tr>
//        <th>@_loader-overlay-background-color</th>
//        <td class="vars_value">rgba(255, 255, 255, .5)</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader overlay background color</td>
//      </tr>
//      <tr>
//        <th>@_loader-overlay-z-index</th>
//        <td class="vars_value">9999</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader overlay background z-index</td>
//      </tr>
//      <tr>
//        <th>@_loader-icon-width</th>
//        <td class="vars_value">160px</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon width</td>
//      </tr>
//      <tr>
//        <th>@_loader-icon-height</th>
//        <td class="vars_value">160px</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon height</td>
//      </tr>
//      <tr>
//        <th>@_loader-icon-background-color</th>
//        <td class="vars_value">transparent</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon background color</td>
//      </tr>
//      <tr>
//        <th>@_loader-icon-background-image</th>
//        <td class="vars_value">url('@{baseDir}images/loader-2.gif')</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon ackground image</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-icon-background-position</th>
//        <td class="vars_value">50% 50%</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon background position</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-icon-border-radius</th>
//        <td class="vars_value">5px</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon border radius</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-icon-padding</th>
//        <td class="vars_value">''</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader icon icon padding</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text</th>
//        <td class="vars_value">false</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text presence</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-color</th>
//        <td class="vars_value">@primary__color</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text color</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-font-size</th>
//        <td class="vars_value">@font-size__base</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text font size</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-font-family</th>
//        <td class="vars_value">@font-family__base</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text font family</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-font-weight</th>
//        <td class="vars_value">@font-weight__regular</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text font weight</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-font-style</th>
//        <td class="vars_value">@font-style__base</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text font style</td>
//      </tr>
//      <tr>
//        <th nowrap="nowrap">@_loader-text-padding</th>
//        <td class="vars_value">130px 0 0</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loader text padding</td>
//      </tr>
//    </table>
//  </pre>
//

//  #  Loading
//  Loading is an animation a visitor sees while a certain block is loaded. In this case only this block is locked by an overlay, not the whole page.
//
//  ```html
//  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//  <p id="example2">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//  <button type="button" onclick="document.getElementById('example2').className='loading';document.getElementById('example2').setAttribute('aria-busy','true');" style="z-index:99999; position: relative;"><span>Show</span></button>
//  <button type="button" onclick="document.getElementById('example2').className='';document.getElementById('example2').setAttribute('aria-busy','false');" style="z-index:99999; position: relative;"><span>Hide</span></button>
//  ```

.loading {
    .lib-loading();
}

// # Loading default variables
//  <pre>
//    <table>
//      <tr>
//        <th class="vars_head">Mixin variable</th>
//        <th class="vars_head">Default value</th>
//        <th class="vars_head">Allowable values</th>
//        <th class="vars_head">Comment</th>
//      </tr>
//      <tr>
//        <th>@_loading-background-color</th>
//        <td class="vars_value">@loader-overlay__background-color</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loading overlay background color</td>
//      </tr>
//      <tr>
//        <th>@_loading-background-image</th>
//        <td class="vars_value">@loader-icon__background-image</td>
//        <td class="vars_value">'' | false | value</td>
//        <td>Loading overlay background z-index</td>
//      </tr>
//    </table>
//  </pre>
