/*  ----------------------------------------------------------------------------
    plugins list
*/
.td-admin-plugins {
  .td-admin-columns {
    margin-left: -15px;
    margin-right: -15px;
  }

  // remove the border introduced in WP4.7
  .td-demo-thumb {
    border: none;
  }

  max-width: none;
  .about-text {
    max-width: 1050px;
  }
}
.td-wp-admin-plugin {
  max-width: 300px;
  display: inline-block;
  padding: 0 15px 30px;

  &:hover {
    .td-plugin-image {
      .box-shadow(0 0 21px 0 rgba(0, 0, 0, 0.12))
    }
  }
}

.td-plugin-image {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  height: 360px;
  background-color: #fff;
  .transition(box-shadow 0.3s ease)
}


.td-plugin-meta {
  font-size: 13px;
  width: 100%;
  text-align: center;
  font-family: 'Open Sans', arial, sans-serif;

  .theme-name {
    font-size: 17px;
    text-align: center;
    font-weight: bold;
    margin: 0;
    padding: 20px 10px 0;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  p {
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 13px;
    line-height: 17px;
    display: block;
    margin: 12px 30px 8px;
    color: #999;
    height: 61px;
    overflow: hidden;

    a {
      display: inline-block;
      margin: 6px 6px 0;
    }

    strong {
      color: #888;
    }

    &.td-plugin-notice {
      font-size: 12px;
      color: red;
      opacity: 0.65;
      height: auto;
    }

  }

  .td-plugin-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .td-plugin-button {
    color: #888;
    line-height: 1;
    text-decoration: none;
    padding: 10px 20px 9px;
    display: block;
    position: relative;
    margin: 0 auto 26px;
    text-transform: uppercase;
    font-size: 11px;
    opacity: 0.8;

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 50px;
      border: 1px solid #888;
      width: 100%;
      height: 100%;
      opacity: 0.4;
      z-index: -1;
      .transition(all 0.3s ease);
    }

    &:hover {
      &:before {
        opacity: 0.6;
      }
    }
  }
}

/*  ----------------------------------------------------------------------------
    buttons
*/
.td-wp-admin-plugin {
  .td-button-install-plugin {
    display: none;
    color: #fff;

    &:before {
      border-color: #0085ba;
      background-color: #0085ba;
      opacity: 0.85;
    }

    &:hover {
      &:before {
        opacity: 1;
        box-shadow: 0 2px 8px 0 rgba(0, 133, 186, 0.6);
      }
    }
  }

  .td-button-update-plugin {
    display: none;
    color: #fff;

    &:before {
      border-color: #0085ba;
      background-color: #0085ba;
      opacity: 0.85;
    }

    &:hover {
      &:before {
        opacity: 1;
        box-shadow: 0 2px 8px 0 rgba(0, 133, 186, 0.6);
      }
    }
  }

  .td-button-uninstall-plugin {
    display: none;
  }


  .td-button-activate-plugin {
    display: none;
    color: #fff;

    &:before {
      border-color: #40a200;
      background-color: #40a200;
      opacity: 0.85;
    }

    &:hover {
      &:before {
        opacity: 1;
        box-shadow: 0 2px 8px 0 rgba(64, 162, 0, 0.6);
      }
    }
  }
}

.td-plugin-active {
  .td-button-uninstall-plugin {
    display: inline-block;
  }
}

.td-plugin-inactive {
  .td-button-activate-plugin {
    display: inline-block;
  }
}

.td-plugin-not-installed {
  .td-button-install-plugin {
    display: inline-block;
  }
}

.td-plugin-update {
  .td-button-update-plugin {
    display: inline-block;
  }
}

.td-plugin-no-install {
  .theme-actions {
    display:none;
  }
}


/*  ----------------------------------------------------------------------------
    supported plugin list
*/
.td-supported-plugin-list {
  font-size: 14px;
  width: 600px;
}
.td-supported-plugin {
  padding-bottom: 10px;
  margin-top: 10px;
  border-bottom: 1px solid #e9e9e9;
  position: relative;
  span {
    position: absolute;
    left:171px;
    top:0px;
    font-size: 13px;
    color: #797979;
  }
}

/*  ----------------------------------------------------------------------------
    wp-admin/plugins.php list
*/

.td-amp-plugin-warning {
  .transform(translateY(-1px));

  .notice-warning {
    padding: 10px 12px;
  }
}
