.icons-view {
  margin-top: 15px;
  text-align: center;
  @include row;
  padding-left: 0;

  .element {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin: 2px;
    vertical-align: top;

    i {
      background-size: contain;
      background-position: 0px 2px;
    }
  }

  explorer {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    height: 192px;
    overflow: hidden;
    width: $icon-list-size + ($icon-list-padding * 2) + 2px + 12px;
    margin: 2px;
    list-style-type: none;
  }

  explorer,
  .element {
    .container {
      height: $icon-list-size;
      width: $icon-list-size;
      display: block;
      padding: $icon-list-padding;
      border: 1px solid transparent;
      margin-left: auto;
      margin-right: auto;
      float: none;
      box-sizing: border-box;
    }

    .img.container.video {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .video.container {
      .video {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100%;
      }

      .icon-video {
        fill: #009fcd;
      }
    }

    .img.container {
      border: 1px solid #ccc;
      position: relative;
      height: 120px;

      > div {
        height: 100%;
        width: 100%;
        position: relative;
        overflow: hidden;
      }
    }

    img,
    i {
      float: none !important;
      margin-left: auto;
      margin-right: auto;
      cursor: pointer;
      max-width: 100%;
    }

    legend {
      float: left;
      width: 100%;
      height: 36px;
      position: relative !important;
      padding: 5px !important;
      line-height: 20px !important;
      background: none;

      a {
        display: block;
        text-align: center;
        margin: 0;
        margin-top: 5px;
        width: 100%;
        position: relative;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    a {
      i.shared {
        bottom: 2px;
      }

      i.inline {
        display: inline-block;
        position: relative;
        height: 20px;
        width: 20px;
      }

      i {
        width: $icon-list-size;
        height: $icon-list-size;
        background-size: auto 100%;
      }
    }

    input[type="checkbox"] {
      position: absolute;
      left: 20px;
      top: 20px;
    }

    em {
      display: none;
    }
  }
}

.icons-view:after {
  clear: both;
  content: " ";
  display: block;
  width: 100%;
}

.icons-view.absolute {
  position: absolute;
}

.icons-view.apps {
  text-align: left;
}
