:host {
  position: relative;
  width:100vw;
  height:100vh;
}

canvas {
  box-sizing: border-box;
  position: fixed;
  left: 0px;
  top : 0px;
  width: 100vw;
  height: 100vh;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}

.toolbar .btn-group{
  pointer-events: auto;
}

.toolbar-top {
  width: 100vw;
  position: fixed;
  left: 0;
  top: 10px;
}

.toolbar-bottom {
  width: 100vw;
  position: fixed;
  left: 0;
  bottom: 10px;
}


.number-edit-colors {
  position: fixed;
  top : 0;
  left :0; 
  bottom: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none; /*透明div鼠标事件穿透*/
  overflow-x: visible;
}

.number-edit-colors .left-color-picker{
  width: 100%;
  pointer-events: auto;
  position: relative;
  padding: 10px;
}


.text-center{
  text-align: center;
}

.text-left {
  text-align: left;
}

.number-edit-colors-inner{
  pointer-events: auto;
  overflow-y: auto;
  padding:10px;
  /*
  overflow-wrap: break-word;
  box-sizing: border-box;
  width:100%;
  overflow-x: hidden;
  */
}




.toolbar-left {
  position: fixed;
  top : 0;
  left :0; 
  bottom: 0;
  width: 200px;
  padding-left: 5px;
  /* display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: visible;
  z-index: 200;
  pointer-events:inherit; */
}



.toolbar-right {
  position: fixed;
  right: 0;
  top: 0;
  width: 240px;
  padding: 5px;
}

.right-toolbar .right-color-picker{
  width: 100%;
  pointer-events: auto;
  position: relative;
}

.area-list {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  height: auto;
  flex-direction:column;
  align-items: stretch;
  justify-content: flex-start;
  max-height: 65vh;
  background-color: transparent;
  box-shadow: none;
  overflow-y: scroll;
  background-color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}




.area-list-header{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.area-list-header  .btn{
  margin-bottom: 0;
}

div.area-list-header *:first-child{
  flex-grow: 1;
}

.area-list-inner .area-item {
  padding-left: 2px;
  text-align: left;
}



.color-box{
  box-sizing: border-box;
  display: inline-block;
  font-size: 10px;
  width: 35px; 
  height: 35px;
  line-height: 31px;
  text-align: center;
  position: relative;
  border-radius: 50%;
  background-color: pink;  
  margin: 5px;
  box-shadow: 1px 1px 5px #555;
  cursor: pointer;
  color: #fff;
  text-shadow: 1px 1px #333;
  border:2px solid white;
  user-select: none;
}


.upload-wraper{
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color:white;
}


.area-item {
  cursor: pointer;
}
.area-item:hover {
  opacity: 0.8;
}



/*按钮增加互动效果*/
.btn-group .btn span{
  white-space: nowrap;
}

.btn{
  padding-left: 6px;
  padding-right: 6px;
}

.btn i {
  margin-right:2px;
}



.loading {
  position: fixed;
  z-index:100;
  left:50%;
  top:50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
}



