gaoluyang
5 天以前 c7566bba45e6f90594d36ec4b80ac4ff89f577ee
src/assets/styles/ruoyi.scss
@@ -69,7 +69,7 @@
}
.el-form .el-form-item__label {
  font-weight: 700;
  font-weight: 600;
}
.el-dialog:not(.is-fullscreen) {
  margin-top: 6vh !important;
@@ -86,9 +86,9 @@
  .el-table__header-wrapper, .el-table__fixed-header-wrapper {
    th {
      word-break: break-word;
      background-color: #f8f8f9 !important;
      color: #515a6e;
      height: 40px !important;
      /* 不再写死颜色 + !important,交回 theme/element.scss 读 --lims-table-head-bg,
         这样暗色模式与后续换色都能自动跟随 */
      font-weight: 600;
      font-size: 13px;
    }
  }
@@ -102,8 +102,8 @@
/** 表单布局 **/
.form-header {
  font-size:15px;
  color:#6379bb;
  border-bottom:1px solid #ddd;
  color: var(--el-color-primary);
  border-bottom:1px solid var(--lims-divider);
  margin:8px 10px 25px 10px;
  padding-bottom:5px
}
@@ -144,9 +144,9 @@
/* tree border */
.tree-border {
  margin-top: 5px;
  border: 1px solid var(--el-border-color-light, #e5e6e7);
  background: var(--el-bg-color, #FFFFFF) none;
  border-radius:4px;
  border: 1px solid var(--lims-border);
  background: var(--lims-surface) none;
  border-radius: var(--lims-radius-sm);
  width: 100%;
}
@@ -169,7 +169,7 @@
/** 表格更多操作下拉样式 */
.el-table .el-dropdown-link {
  cursor: pointer;
  color: #409EFF;
  color: var(--el-color-primary);
  margin-left: 10px;
}
@@ -195,8 +195,8 @@
}
.list-group-item {
  border-bottom: 1px solid #e7eaec;
  border-top: 1px solid #e7eaec;
  border-bottom: 1px solid var(--lims-divider);
  border-top: 1px solid var(--lims-divider);
  margin-bottom: -1px;
  padding: 11px 0px;
  font-size: 13px;
@@ -249,13 +249,13 @@
    margin-bottom: 6px;
    padding: 8px 12px 6px;
    font-size: 15px;
    color: #303133;
    background: #f8f8f8;
    color: var(--lims-text);
    background: var(--lims-surface-2);
  }
  .section-header {
    font-size: 15px;
    color: #6379bb;
    border-bottom: 1px solid #ddd;
    color: var(--el-color-primary);
    border-bottom: 1px solid var(--lims-divider);
    margin: 12px 0 16px 0;
    padding-bottom: 8px;
  }
@@ -270,7 +270,7 @@
    .info-label {
      flex-shrink: 0;
      width: 200px;
      color: #606266;
      color: var(--lims-text-2);
      font-size: 13px;
      line-height: 1.6;
      padding-top: 4px;
@@ -279,7 +279,7 @@
    }
    .info-value {
      flex: 1;
      color: #303133;
      color: var(--lims-text);
      font-size: 13px;
      font-weight: 500;
      line-height: 1.6;
@@ -287,7 +287,7 @@
      padding-top: 4px;
      min-height: 1.6em;
      &.plaintext {
        border-bottom: 1px dashed #dde1e6;
        border-bottom: 1px dashed var(--lims-border);
      }
    }
  }
@@ -296,21 +296,21 @@
.detail-wrap { padding: 0 4px; }
.detail-card {
  border: 1px solid #ebeef5;
  border-radius: 6px;
  border: 1px solid var(--lims-border);
  border-radius: var(--lims-radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.detail-card-title {
  background: #f7f9fb;
  background: var(--lims-surface-2);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #ebeef5;
  color: var(--lims-text);
  border-bottom: 1px solid var(--lims-divider);
}
.detail-card-title i { margin-right: 5px; color: #409EFF; }
.detail-card-title i { margin-right: 5px; color: var(--el-color-primary); }
.detail-row { padding: 0 8px; }
@@ -319,18 +319,18 @@
  align-items: flex-start;
  padding: 10px 8px;
  font-size: 13px;
  border-bottom: 1px solid #f5f7fa;
  border-bottom: 1px solid var(--lims-divider);
}
.detail-item:last-child { border-bottom: none; }
.detail-label {
  flex-shrink: 0;
  width: 72px;
  color: #909399;
  color: var(--lims-text-3);
  margin-right: 12px;
}
.detail-value { color: #303133; flex: 1; word-break: break-all; }
.detail-location { color: #999; font-size: 12px; }
.detail-value { color: var(--lims-text); flex: 1; word-break: break-all; }
.detail-location { color: var(--lims-text-3); font-size: 12px; }
.method-tag {
  display: inline-block;
@@ -344,9 +344,9 @@
.mono { font-family: Consolas, 'SFMono-Regular', monospace; font-size: 12px; }
.code-body { padding: 14px; }
.code-wrap {
  background: #f7f9fb;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
  background: var(--lims-surface-2);
  border: 1px solid var(--lims-border);
  border-radius: var(--lims-radius-sm);
  overflow: hidden;
  max-height: 260px;
  position: relative;
@@ -366,9 +366,9 @@
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dcdcdc;
}
.code-action .el-button:hover {
.code-action .el-button:hover {
  background: #ffffff;
  border-color: #409EFF;
  border-color: var(--el-color-primary);
}
.code-pre {
  margin: 0;
@@ -376,7 +376,7 @@
  font-size: 12px;
  line-height: 1.6;
  font-family: Consolas, 'SFMono-Regular', monospace;
  color: #444;
  color: var(--lims-text-2);
  white-space: pre-wrap;
  word-break: break-all;
  overflow: auto;