Skip to content
Python
11.5 KB
Raw Blame
/* 143:2419/2502/2594/2685: only step2; shared frame/progress are owned elsewhere. */
.first-import-r6-layout {
  display: grid;
  grid-template-columns: minmax(0, 738px) 278px;
  gap: 30px;
  min-height: 100%;
  height: auto;
}
.first-import-r6-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.first-import-r6-intro {
  margin: 0;
  color: #5a6169;
  font-size: 13px;
  line-height: 25px;
}
.first-import-r6-subintro {
  margin: 1px 0 20px;
  color: #63707b;
  font-size: 12px;
  line-height: 24px;
}
.first-import-r6-history-window {
  margin: -10px 0 12px;
  padding: 8px 10px;
  border: 1px solid #ead7a7;
  border-radius: 8px;
  background: #fff9e9;
  color: #76591b;
  font-size: 12px;
  line-height: 20px;
}
.first-import-r6-main > .r6-import-progress {
  flex: 0 0 auto;
}
.first-import-r6-feed {
  flex: 0 0 auto;
  margin-top: 26px;
  overflow: visible;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.first-import-r6-feed h2 {
  margin: 0 0 4px;
  font:
    600 16px / 30px "Noto Sans SC",
    "PingFang SC",
    sans-serif;
  letter-spacing: 0;
  color: #262a2e;
}
.first-import-r6-feed-status {
  margin: 0;
  font:
    400 12px / 24px "Noto Sans SC",
    "PingFang SC",
    sans-serif;
  letter-spacing: 0;
  color: #63707b;
}
.first-import-r6-query-list {
  display: grid;
  gap: 12px;
}
.first-import-r6-original-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.first-import-r6-fine {
  font-size: 11px;
  line-height: 20px;
  color: #63707b;
  margin: 4px 0;
}
.first-import-r6-failures {
  padding: 8px 0;
  font-size: 12px;
  line-height: 20px;
  color: #8c4646;
}
.first-import-r6-failures p {
  margin: 0;
}
.first-import-r6-options {
  min-width: 0;
  min-height: 0;
  padding: 24px;
  border: 1px solid #ffffffe0;
  border-radius: 22px;
  background:
    linear-gradient(rgb(230 242 247 / 40%), rgb(230 242 247 / 40%)),
    rgb(255 255 255 / 20%);
  box-shadow:
    inset 0 1px #fff,
    0 12px 32px rgb(49 75 101 / 4%);
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.first-import-r6-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 24px;
  color: #63707b;
}
.first-import-r6-options h2 {
  font:
    600 20px / 36px "Noto Sans SC",
    "PingFang SC",
    sans-serif;
  margin: 0 0 10px;
  color: #262a2e;
}
.first-import-r6-options-intro {
  margin: 0 0 14px;
  min-height: 42px;
  font-size: 12px;
  line-height: 21px;
  color: #63707b;
}
.first-import-r6-selection {
  position: relative;
  display: block;
  width: 100%;
  min-height: 124px;
  margin: 0 0 16px;
  padding: 18px 16px 12px;
  border: 1px solid rgb(179 196 209 / 42%);
  border-radius: 0;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 1px 1px #ffffffd9;
  backdrop-filter: blur(20px);
  cursor: pointer;
}
.first-import-r6-selection + .first-import-r6-selection {
  min-height: 144px;
}
.first-import-r6-selection[data-checked="true"] {
  background: rgb(158 178 194 / 22%);
  border-color: rgb(130 156 173 / 42%);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 85%),
    0 0 0 0 transparent;
}
.first-import-r6-selection[aria-disabled="true"] {
  cursor: default;
}
.first-import-r6-selection strong {
  display: block;
  max-width: calc(100% - 24px);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #384a57;
}
.first-import-r6-selection input {
  appearance: none;
  position: absolute;
  top: 22px;
  right: 18px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid #7b919f;
  border-radius: 3px;
  background: rgb(255 255 255 / 58%);
  cursor: pointer;
}
.first-import-r6-selection input::after {
  content: "";
  width: 4px;
  height: 8px;
  margin-top: -2px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.75);
  transition:
    opacity 120ms ease-out,
    transform 120ms ease-out;
}
.first-import-r6-selection input:checked {
  border-color: #536b7c;
  background: #536b7c;
  box-shadow: inset 0 1px rgb(255 255 255 / 20%);
}
.first-import-r6-selection input:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.first-import-r6-selection span {
  display: block;
  font-size: 12px;
  line-height: 20px;
  margin-top: 8px;
  color: #5e6e7a;
}
.first-import-r6-options-note {
  font-size: 11px;
  line-height: 22px;
  margin: 0 0 12px;
  color: #63707b;
}
.first-import-r6-options details {
  border: 0;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
  color: #63707b;
}
.first-import-r6-options summary {
  cursor: pointer;
  color: #4e6478;
}
.first-import-r6-options details p {
  margin: 6px 0;
}
.first-import-r6-footer-note {
  flex: 1 1 240px;
  min-width: 0;
}
.first-import-r6-footer-note p {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  color: #63707b;
}
.first-import-r6-footer-note [role="alert"] {
  color: #944242;
}
.first-import-r6-footer-note .first-import-r6-partial-success {
  color: #245f50;
  font-weight: 600;
}
.first-import-r6-footer-actions {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.first-import-r6-footer-actions > [data-variant="primary"] {
  min-width: min(160px, 100%);
}
.first-import-r6-footer-actions .r6-button-label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.first-import-r6-query {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  min-height: 70px;
  height: 70px;
  padding: 11px 14px 9px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 12px;
  background: rgb(226 237 244 / 52%);
  box-shadow: inset 0 1px rgb(255 255 255 / 62%);
  min-width: 0;
}
.first-import-r6-query blockquote {
  margin: 0;
  font-size: 14px;
  line-height: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.first-import-r6-query-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  align-self: start;
  margin-top: 2px;
  border: 1px solid #dee7ee;
  border-radius: 9px;
  background: #f6f8fa;
}
.first-import-r6-query-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.first-import-r6-query-meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  line-height: 18px;
  color: #63707b;
}
.first-import-r6-query-status {
  font-size: 12px;
  line-height: 22px;
  color: #63707b;
  margin: 8px 0;
}
.first-import-r6-query-pending blockquote {
  color: #4e6478;
}
dialog.first-import-r6-original {
  box-sizing: border-box;
  width: min(800px, calc(100vw - 40px));
  min-height: min(538px, calc(100dvh - 48px));
  height: min(538px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  padding: 26px 32px;
  border: 1px solid #fff;
  border-radius: 22px;
  background: #edf3f6;
  box-shadow:
    0 24px 64px rgb(38 59 74 / 16%),
    inset 0 1px #fff;
  color: #262a2e;
  overflow: hidden;
}
dialog.first-import-r6-original[open] {
  display: flex;
  flex-direction: column;
}
.first-import-r6-original > :not(.first-import-r6-original-body) {
  flex-shrink: 0;
}
.first-import-r6-original::backdrop {
  background: rgb(46 66 82 / 19%);
}
.first-import-r6-original > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.first-import-r6-original h2 {
  font:
    400 24px / 40px "Noto Sans SC",
    "PingFang SC",
    sans-serif;
  margin: 0;
}
.first-import-r6-original p {
  font-size: 13px;
  line-height: 24px;
}
.first-import-r6-original-body {
  overflow-wrap: anywhere;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.first-import-r6-original-body article {
  padding: 14px 0;
  border-top: 1px solid #d8e2ea;
}
.first-import-r6-original-body article[data-selected="true"] {
  border-left: 2px solid #6f8796;
  padding-left: 14px;
}
.first-import-r6-original-body header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #63707b;
}
.first-import-r6-original-body blockquote {
  margin: 12px 0;
  font:
    400 18px / 30px "Noto Sans SC",
    "PingFang SC",
    sans-serif;
  white-space: pre-wrap;
}
.first-import-r6-original footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.first-import-r6-original [role="alert"] {
  color: #944242;
}
@media (max-width: 1150px) {
  .first-import-r6-layout {
    grid-template-columns: minmax(0, 1fr) 278px;
    gap: 24px;
  }
}
@media (min-width: 761px) and (max-height: 959px) {
  .onboarding-r6-body:has(> .first-import-r6-layout) {
    overflow-y: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .first-import-r6-layout {
    height: auto;
  }
}
@media (min-width: 761px) and (max-height: 859px) {
  .first-import-r6-options {
    padding: 14px;
    overflow: visible;
  }
  .first-import-r6-eyebrow {
    margin-bottom: 4px;
    line-height: 18px;
  }
  .first-import-r6-options h2 {
    margin-bottom: 2px;
    line-height: 28px;
  }
  .first-import-r6-options-intro {
    min-height: 0;
    margin-bottom: 8px;
    line-height: 18px;
  }
  .first-import-r6-selection,
  .first-import-r6-selection + .first-import-r6-selection {
    min-height: 86px;
    margin-bottom: 8px;
    padding: 9px 12px;
  }
  .first-import-r6-selection strong {
    line-height: 24px;
  }
  .first-import-r6-selection input {
    top: 13px;
    right: 12px;
  }
  .first-import-r6-selection span {
    margin-top: 4px;
    line-height: 18px;
  }
  .first-import-r6-options-note {
    margin: 0;
    line-height: 18px;
  }
}
@media (max-width: 760px) {
  .first-import-r6-layout {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .first-import-r6-feed {
    overflow: visible;
  }
  .first-import-r6-options {
    overflow: visible;
  }
  .first-import-r6-footer-note {
    flex-basis: 100%;
  }
  .first-import-r6-footer-actions {
    width: 100%;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .first-import-r6-options,
  .first-import-r6-selection {
    background: #edf3f7;
    backdrop-filter: none;
  }
}
[data-native-reduce-transparency="true"]
  :is(.first-import-r6-options, .first-import-r6-selection) {
  background: #edf3f7;
  backdrop-filter: none;
}

/* ---------------------------------------------------------------------------
   Pointer feedback and the selected-state transition for step 2 (143:2419).

   The two connection tiles are the only decision on this page, and they had
   no hover and no transition: the fill snapped between states, which reads as
   a repaint rather than as a choice being registered. Colours are the ones
   already declared above; only the change over time is new.
   --------------------------------------------------------------------------- */
.first-import-r6-selection {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.first-import-r6-selection:not([aria-disabled="true"]):hover {
  border-color: rgb(130 156 173 / 62%);
  box-shadow:
    inset 0 1px 1px #ffffffd9,
    0 4px 16px rgb(59 83 98 / 10%);
}
.first-import-r6-selection:not([aria-disabled="true"]):not(
  [data-checked="true"]
):hover {
  background: rgb(255 255 255 / 22%);
}
.first-import-r6-selection:not(
  [aria-disabled="true"]
)[data-checked="true"]:hover {
  background: rgb(158 178 194 / 30%);
}
.first-import-r6-selection:has(input:focus-visible) {
  outline: 2px solid #557c93;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .first-import-r6-selection,
  .first-import-r6-selection input::after {
    transition: none;
  }
}
[data-native-reduce-motion="true"]
  :is(.first-import-r6-selection, .first-import-r6-selection input::after) {
  transition: none;
}