handover.css 2.44 KB
.uc-handover-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 24px;
}
.uc-handover-steps > div {
  color: var(--ant-color-text-description);
  text-align: center;
  font-size: 28px;
}
.uc-handover-steps small {
  display: block;
  font-size: 16px;
}
.uc-handover-steps .is-active {
  color: var(--ant-color-primary);
}
.uc-handover-steps .is-success {
  color: var(--ant-color-primary);
}
.uc-handover-steps > span {
  width: 28%;
  height: 1px;
  margin-top: 16px;
  background: var(--ant-color-border);
}
.uc-handover-notice {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--ant-color-fill-quaternary);
}
.uc-handover-notice--warning {
  border-inline-start: 3px solid var(--ant-color-warning);
}
.uc-handover-users {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 12px 24px;
}
.uc-handover-users .ant-select {
  width: 100% !important;
}
.uc-handover-agree {
  margin-top: 16px;
}
.uc-handover-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.uc-handover-proof-actions {
  display: inline-flex;
  align-items: center;
}
.uc-handover-proof-preview {
  width: 100%;
  height: 560px;
  border: 0;
}
.uc-handover-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ant-color-bg-mask) 88%, transparent);
}
.uc-handover-image-viewer__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.uc-handover-image-viewer__image {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
}
.uc-handover-image-viewer__image .ant-image-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.uc-handover-image-viewer__arrow {
  position: fixed;
  top: 50%;
  z-index: 1;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ant-color-text) 48%, transparent);
  color: var(--ant-color-text-light-solid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
}
.uc-handover-image-viewer__arrow--left {
  left: 50px;
}
.uc-handover-image-viewer__arrow--right {
  right: 50px;
}
.uc-handover-image-viewer__arrow > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(-2px);
}