/*
 * QL Basket
 * Description: Style file
 *
 * @author Quentin Lauv
 */


/**
 * Buttons
 */

.ql-bskt-btn {
  cursor: pointer;
  height: 35px;
  width: 35px;
}

.ql-bskt-btn.ql-disabled {
  cursor: default;
  pointer-events: none;
}

.ql-bskt-btn-open.ql-bskt-btn-favorite {
  background: url(./icn_heart1.png) center center no-repeat;
  display: inline-block;
  opacity: 0;
  filter: alpha(opacity=0);
  position: relative;
}

.ql-bskt-btn-open.ql-bskt-btn-favorite .ql-bskt-count {
  background-color: black;
  border-radius: 5px;
  bottom: 0;
  color: white;
  font-size: 0.6em;
  min-width: 6px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  padding: 0 3px;
  position: absolute;
  right: 0;
  text-align: center;
}

.ql-bskt-btn-add.ql-bskt-btn-favorite {
  background: url(./icn_heart0.png) center center no-repeat;
  background-size: cover;
}

.ql-bskt-btn-add.ql-bskt-btn-favorite .ql-on {
  background: url(./icn_heart1.png) center center no-repeat;
  background-size: cover;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  transition: opacity 0.1s, filter 0.1s;
  width: 100%;
}

.ql-bskt-btn-add.ql-bskt-btn-favorite:hover .ql-on,
.ql-bskt-btn-add.ql-bskt-btn-favorite.active .ql-on {
  opacity: 1;
  filter: alpha(opacity=100);
}


/**
 * Basket
 */

.ql-bskt {
  padding: 0 2%;
}

.ql-bskt-empty {
  border: 3px dashed #DADADA;
  height: 150px;
  position: relative;
  text-align: center;
}

.ql-bskt-empty .ql-text {
  color: #DADADA;
  height: 20px;
  left: 0;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  width: 100%;
}