.bpmn-settings {
  width: 560px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all cubic-bezier(0.8, 0.4, 0.8, 0.4) 0.24s;
  transform: translateX(100%);
  z-index: 101;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
  &.setting_open {
    transform: translateX(0);
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.2);
    .toggle-button {
      transform: translateX(0);
      z-index: -1;
    }
  }
  .setting-container {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    .setting-header {
      width: 100%;
      height: 48px;
      border-bottom: 1px solid #999999;
      padding: 0 18px;
      font-size: 20px;
      line-height: 48px;
    }
    .setting-content {
      flex: 1;
      padding: 16px;
      overflow-x: hidden;
      overflow-y: auto;
    }
    .setting-footer {
      width: 100%;
      height: 48px;
      border-top: 1px solid #999999;
      padding: 0 18px;
    }
  }
  .toggle-button {
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    padding: 8px;
    position: absolute;
    left: 0;
    bottom: 15vh;
    z-index: 0;
    background: rgba(64, 158, 255, 0.6);
    border-radius: 8px;
    transform: translateX(-100%);
    cursor: pointer;
    transition: all cubic-bezier(0.8, 0.4, 0.8, 0.4) 0.24s;
    &:hover {
      background: rgba(64, 158, 255, 1);
      box-shadow: 0 0 8px 0 rgba(64, 158, 255, 0.8);
    }
  }
}

.tips-message {
  width: 100%;
  text-align: left;
  color: #303133;
  .grip-tips {
    display: grid;
    grid-template-columns: auto 1fr;
    p:first-child {
      grid-row-start: 1;
      grid-row-end: 5;
    }
  }
  p {
    margin: 0 0 4px 0;
    font-weight: bold;
  }
}

.settings-form {
  .el-form-item,
  .el-form-item__content {
    overflow: hidden;
    box-sizing: border-box;
  }
  .theme-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    .theme-item {
      width: 100%;
      display: flex;
      align-items: center;
    }
    .theme-item_label {
      width: 280px;
      text-align: right;
    }
    .n-color-picker,
    .el-input-number {
      width: auto;
      flex: 1;
    }
  }
  .theme-item + .theme-item {
    margin-top: 8px;
  }
}
