@import "../mixins";
@import "../variables";

.manipulation-fullscreen {
  @include full-width();
  @include full-height();

  z-index: $fullscreenZIndex;
  position: fixed !important;
  top: 0;
  left: 0;
  margin: 0;
  border: 0;

  background-color: rgba(0, 0, 0, 0.9);

  display: flex;
}

.manipulation-sidebar {
  width: 15%;
  overflow: scroll;
  text-align: center;
  padding: 10px;

  .manipulation-sidebar-primary-image,
  .manipulation-sidebar-secondary-image {
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    color: #fff;
  }
}

.manipulation-sidebar-mobile {
  width: 50%;
  text-align: center;
  padding: 10px;
  display: none;

  .manipulation-sidebar-primary-image,
  .manipulation-sidebar-secondary-image {
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    color: #fff;
  }
}

.manipulation-main-area {
  width: 70%;
  flex: 1 1 auto;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: scroll;
  text-align: center;

  cursor: move; /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;

  &.grabbing {
      cursor: grabbing;
      cursor: -moz-grabbing;
      cursor: -webkit-grabbing;
  }

  canvas {
    margin: 0 auto;
  }
}

.manipulation-main-area-mobile {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: scroll;
  text-align: center;

  cursor: move; /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;

  &.grabbing {
      cursor: grabbing;
      cursor: -moz-grabbing;
      cursor: -webkit-grabbing;
  }

  canvas {
    margin: 0 auto;
  }
}

.manipulation-tools {
  width: 15%;
  flex: 1 1 auto;
  overflow: auto;

  .manipulation-tools-text {
    color: #FBF7F6;
    margin-bottom: 0.7em;
  }
}

.manipulation-tools-mobile {
  width: 50%;
  flex: 1 1 auto;
  overflow: auto;
  display: none;

  .manipulation-tools-text {
    color: #FBF7F6;
    margin-bottom: 0.7em;
  }
}

.burger-menu {
  position: fixed;
  top: 0.5em;
  left: 0.5em;
  cursor: pointer;

  .stripe {
    width: 2em;
    height: 0.3em;
    background-color: #fff5ef;
    margin: 0.2em 0;
  }
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 4.5px 0;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 25px;
  border: 0px solid rgba(1, 1, 1, 0);
}

input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
  border: 0.9px solid rgba(0, 0, 30, 0.42);
  height: 13px;
  width: 13px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4.5px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: rgba(253, 133, 243, 0.66);
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 25px;
  border: 0px solid rgba(1, 1, 1, 0);
}

input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
  border: 0.9px solid rgba(0, 0, 30, 0.42);
  height: 13px;
  width: 13px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: rgba(251, 83, 239, 0.66);
  border: 0px solid rgba(1, 1, 1, 0);
  border-radius: 50px;
  box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
}

input[type=range]::-ms-fill-upper {
  background: rgba(252, 108, 241, 0.66);
  border: 0px solid rgba(1, 1, 1, 0);
  border-radius: 50px;
  box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
}

input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
  border: 0.9px solid rgba(0, 0, 30, 0.42);
  height: 13px;
  width: 13px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  height: 4px;
}

input[type=range]:focus::-ms-fill-lower {
  background: rgba(252, 108, 241, 0.66);
}

input[type=range]:focus::-ms-fill-upper {
  background: rgba(253, 133, 243, 0.66);
}

