vehicles.css 1.07 KB
.uc-vehicle-cover {
  display: block;
  width: 88px;
  height: 64px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--ant-color-fill-quaternary);
}
/* 编辑表单的分节标题:与卡头同一套竖签语言,但弱一级。 */
.uc-vehicle-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--uj-text-1);
  font-size: var(--uj-font-md);
  font-weight: 600;
}
.uc-vehicle-section::before {
  content: '';
  flex: none;
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: var(--uj-border-strong);
}
/* 后续分节与上一节之间用通长发丝线分开(标题是每个 section 的首个子节点)。 */
form > section + section > .uc-vehicle-section {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--uj-divider);
}
.uc-vehicle-file {
  display: flex;
  align-items: center;
  max-width: 260px;
  min-width: 0;
}
.uc-vehicle-file__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uc-vehicle-file .ant-btn-link {
  flex: 0 0 auto;
  padding-inline: 6px 0;
}