@import '../icons/style.css';

.allicons > div {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid black; /* replace $black with actual color */
  margin: 5px;
  text-align: center;
  border-radius: 5px;
  transition: all 0.35s ease;
  position: relative; /* needed for :after positioning */
}

.allicons > div:after {
  content: "";
  height: 100%;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.35s ease-in-out;
}

.allicons > div i {
  font-size: 25px;
  color: black; /* replace $black with actual color */
  vertical-align: middle;
  transition: all 0.35s ease;
}

.allicons > div:hover,
.allicons > div.is--active {
  background: black; /* replace $black with actual color */
}

.allicons > div:hover i,
.allicons > div.is--active i {
  color: white; /* replace $white with actual color */
  position: relative;
}

.allicons > div:hover i:after,
.allicons > div.is--active i:after {
  content: attr(class);
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 10px;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  color: white; /* replace $white with actual color */
  background: #222; /* replace $iBlack with actual color */
  padding: 10px;
  box-sizing: border-box;
  z-index: 999;
}

[class*="icon-"] {
  font-family: 'xicons'; /* from $iconFontFamily */
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
