approvalPolicy.css 1.78 KB
.approval-policy-panel {
  min-width: 0;
}

.approval-policy-panel__table {
  overflow: hidden;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #fff;
}

.approval-policy-panel .ant-table {
  color: #465164;
  font-size: 13px;
}

.approval-policy-panel .ant-table-thead > tr > th {
  height: 38px;
  padding: 9px 12px;
  border-bottom-color: #e0e6ef;
  background: #fafbfc;
  color: #758195;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.approval-policy-panel .ant-table-tbody > tr > td {
  height: 44px;
  padding: 8px 12px;
  border-bottom-color: #eef1f6;
  font-variant-numeric: tabular-nums;
  line-height: 22px;
}

.approval-policy-panel .ant-table-tbody > tr:last-child > td {
  border-bottom: 0;
}

.approval-policy-panel .ant-table-tbody > tr.ant-table-row:hover > td {
  background: #fafbfc;
}

.approval-policy-panel__category {
  display: inline-block;
  max-width: 280px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--ant-color-primary-bg, #eef3ff);
  color: var(--uj-primary, #2b5ce6);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.approval-policy-panel__value {
  color: #465164;
  font-variant-numeric: tabular-nums;
}

.approval-policy-panel__note {
  margin: 10px 0 0;
  color: #97a3b7;
  font-size: 12px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.approval-cost-panel__name {
  color: #28313f;
  font-weight: 500;
}

.approval-cost-panel__total {
  color: #28313f;
  font-weight: 600;
}

.approval-cost-panel .ant-table-tbody .approval-cost-panel__description {
  color: #97a3b7;
}

@media (max-width: 600px) {
  .approval-policy-panel .ant-table-thead > tr > th,
  .approval-policy-panel .ant-table-tbody > tr > td {
    padding-right: 10px;
    padding-left: 10px;
  }
}