@import "mixins";
@import "theme";

/* interactivetutorial.css */
#interactive-tutorial-wrapper {
  position: relative;
}

#interactive-tutorial-container {
  display: none;
  position: fixed; /* Stay in place */
  right: 0;
  top: 0;
  height: 450px;
  padding: 10px;
  border: 5px solid #fff;
  width: 23%;
  overflow: hidden;
  background-color: #444; /* Fallback color */
  color: #fff;

  > strong {
    background-color: #444;
  }
}

#interactive-tutorial-text {
  padding: 4px;
  margin: 4px;
  color: #fff;
  background-color: #444;
  font-size: $defaultFontSize * 0.875;
  max-height: 350px;
  overflow-y: auto;
}

#interactive-tutorial-exit,
#interactive-tutorial-next,
#interactive-tutorial-back {
  @include borderRadius(12px);
  @include boxShadow(1px 1px 3px #000);

  color: #aaa;
  font-size: $defaultFontSize * 1.125;
  font-weight: bold;
  background-color: #000;

  &:hover,
  &:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }
}

#interactive-tutorial-exit {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 4px;
}

#interactive-tutorial-back {
  float: left;
  padding: 4px;
}

#interactive-tutorial-next {
  float: right;
  padding: 4px;
}

.interactive-tutorial-command {
  background-color: #000;
  color: $hacker-green;
  white-space: nowrap;
}

.interactive-tutorial-code {
  background-color: #272822;
  color: white;
  padding: 3px;
}

.interactive-tutorial-tab {
  background-color: #555;
  color: #e6e6e6;
  padding: 3px;
  box-shadow: 0 0 3px #000;
}
