.code-box {
  position: relative;
  font-size: 16px
}

.code-box:hover .code-box__btn {
  opacity: 1
}

.code-box .code-box-text {
  position: static;
  font-size: 16px
}

.code-box .container .token.comment:first-child {
  margin-left: -20px
}
.code-box .code-box-text > .code-box__btn {
  display: none;
}

.code-box__btn {
  opacity: 0;
  position: absolute;
  float: right;
  top: 11px;
  right: 11px;
  width: 36px;
  height: 36px;
  background-color: #eee;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 2px;
  -webkit-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  z-index: 98;
}

.code-box__btn:disabled {
  background-color: #eee;
  border-color: #ccc;
  color: #333;
  pointer-events: none
}

.code-box__btn:hover {
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333
}

.code-box__btn:active, .code-box__btn:focus {
  outline: 0
}

.code-box__tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 80px;
  padding: 6px 0;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 2px;
  font-size: 13px;
  z-index: 90
}

.code-box__tooltip:after {
  display: block;
  position: absolute;
  right: 13px;
  bottom: -5px;
  content: " ";
  width: 0;
  height: 0;
  border-color: #333 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 5px 5px 0;
  z-index: 999
}