/*
 * Skin: Purple
 * ----------
 */
@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";
@import "../variables.less";
@import "../mixins.less";

.skin-purple {
  //Navbar
  .main-header {
    .navbar {
      .navbar-variant(@purple; #fff);
      .sidebar-toggle {
        color: #fff;
        &:hover {
          background-color: darken(@purple, 5%);
        }
      }
      @media (max-width: @screen-header-collapse) {
        .dropdown-menu {
          li {
            &.divider {
              background-color: rgba(255, 255, 255, 0.1);
            }
            a {
              color: #fff;
              &:hover {
                background: darken(@purple, 5%);
              }
            }
          }
        }
      }
    }
    //Logo

    li.user-header {
      background-color: @purple;
    }
  }

  //Content Header
  .content-header {
    background: transparent;
  }

  //Create the sidebar skin
  .skin-dark-sidebar(@purple);
}

.skin-purple.layout-top-nav .main-header > .logo {
  .logo-variant {
    background-color: none;
  }
}



.btn, .btn:hover {


  &.btn-primary, .btn-primary:link {
    background-color: darken(@purple, 10%);
    border-color: darken(@purple, 20%);
    color: #fff;
  }


  &a.btn-primary:hover {
    background-color: darken(@purple, 20%);
    border-color: darken(@purple, 20%);
    color: #fff;
  }

  &.btn-white:link {
    background-color: darken(@purple, 10%);
    color: #fff;
  }

  &.btn-white:hover {
    background-color: darken(@purple, 30%);
    color: #fff;
  }
}


a {
  color: @purple;
  &:hover {
    color: darken(@purple, 20%);
  }
  &:visited {
    color: @purple;
  }
}

.text-primary {
  color: darken(@purple, 20%);
}

.fixed-table-container tbody .selected td {
  background-color: #fff8af;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: @purple;
}

.search-highlight, .search-highlight:hover {
  background-color: #e9d15b;
}