:root {
  //--bg-color: #f8f8f8;
  //--bg-color-accent: #fff;
  //--bg-color-page: #f2f3f5;
  //--text-color-regular: #606266;
  //--border-color: #dcdfe6;
  --transition-duration-fast: 0.2s;
  --transition-function-ease-in-out-bezier: cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
  //text-align: center;
  cursor: default;
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none; /* Firefox */
  user-select: none;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0000;
  line-height: 1.5;
  font-family: v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  overflow: hidden;
}

#app {
  height: 100vh;
}

.flex-box {
  display: flex;
}

.flex-box-v {
  @extend .flex-box;
  flex-direction: column;
}

.flex-box-h {
  @extend .flex-box;
  flex-direction: row;
}

.flex-item {
  flex: 0 0 auto;
}

.flex-item-expand {
  flex-grow: 1;
}

.icon-btn {
  cursor: pointer;
  line-height: 100%;
}

.ellipsis {
  white-space: nowrap; /* 禁止文本换行 */
  overflow: hidden; /* 隐藏超出容器的文本 */
  text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
}

.unit-item {
  margin-left: 10px;
}

.fill-height {
  height: 100%;
}

.text-block {
  white-space: pre-line;
}

.content-wrapper {
  height: 100%;
  flex-grow: 1;
  overflow: hidden;
  gap: 5px;
  padding-top: 5px;
  //padding: 5px;
  box-sizing: border-box;

  .tb2 {
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
  }

  .value-wrapper {
    //border-top: v-bind('themeVars.borderColor') 1px solid;
    user-select: text;
    height: 100%;
  }

  .value-item-part {
    padding: 0 5px;
  }

  .value-footer {
    align-items: center;
    gap: 0;
    padding: 3px 10px 3px 10px;
    min-height: 30px;
  }
}

.n-dynamic-input-item {
  align-items: center;
  gap: 10px;
}

.n-tree-node-content__text {
  @extend .ellipsis;
}

.context-menu-item {
  min-width: 100px;
  padding-right: 10px;
}

.type-selector-header {
  height: 30px;
  line-height: 30px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

.type-selector-item {
  min-width: 100px;
  text-align: center;
}

.nav-pane-container {
  overflow: hidden;

  .nav-pane-bottom {
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 10px;
    min-height: 30px;
    //border-top: v-bind('themeVars.borderColor') 1px solid;
  }
}

.n-modal-mask {
  --wails-draggable: drag;
}
