$pageBgColor = #383838
$headerBgColor = #515ce6
$footerBgColor = #515ce6
$borderColor = #ddd
$fs22 = 22px

.pic2editor {
  height: 100%;
  background-color: $pageBgColor;
  .header {
    padding: 12px;
    text-align: center;
    background: $headerBgColor;
    .icon-wrap {
      flex(center, center)
      .icon {
        position: relative;
        margin-left: 20px;
        &:first-of-type { margin-left:0; }
        &.disabled {
          i { opacity:0.5; }
        }
      }
    }
  }

  .editor-wrap {
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 46px - 60px);
    padding: 20px 20px 80px;
    background-color: $pageBgColor;
  }

  input[type='file'] {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    position(absolute, 0, , , 0);
  }
  button { outline:none; cursor:pointer; }
  i { font-size:$fs22; color:#fff; cursor:pointer; }
}

.controls-wrap .scrollable {
  display: inline-block;
  overflow-x: auto;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  background-color: $footerBgColor;
  vertical-align: middle;
}

.controls-wrap .menu-item {
  display: inline-block;
  height: 60px;
  border-right: 1px solid $borderColor;
  vertical-align: middle;
}
.controls-wrap .hiddenmenu-button {
  margin: 0 10px;
  border: none;
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
}
.controls-wrap .submenu {
  /* display: none; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 0;
}
.controls-wrap {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: #fff;
  .menu-button, .submenu-button {
    width: 60px;
    height: 60px;
    border: none;
    vertical-align: middle;
    background-color: $footerBgColor;
    color: #fff;
    font-size: 12px;
    outline: 0;
  }
  .textStyle-box, .textSize-box {
    box-sizing: border-box;
    padding: 40px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 9999;
  }
  .btn-prev {
    box-sizing: border-box;
    display: inline-block;
    width: 61px;
    height: 60px;
    line-height: 60px;
    background-color: $footerBgColor;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
    border-right: 1px solid $borderColor;
    i { font-size:18px; }
  }
}
