/*  ------------------  */

.view-code {
  width: calc(100vw - 17px);
  outline: 0;
  padding: 5px;
  background-color: #282A36;
  resize: none;
  overflow: hidden;
  font-size: .95rem;
  color: #50FA7B;
  font-family: Consolas;
  border: 0;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0s ease;
  caret-color: #282A36;
}

.view-mini {
  height: 0px;
  border: 0px;
}

.view-maxi {
  height: 45px;
  border: 1px;
}

.x-box:nth-child(even)>textarea {
  color: #8BE9FD;
}

.view-code:hover {
  background-color: #303340;
  color: #FF79C6 !important;
}