668 lines
12 KiB
CSS
668 lines
12 KiB
CSS
/* PC 意见反馈页 */
|
|
|
|
body.page-feedback .site-header {
|
|
background: var(--bg);
|
|
border-bottom-color: var(--line-soft);
|
|
}
|
|
|
|
.feedback-page {
|
|
padding-top: 72px;
|
|
}
|
|
|
|
.feedback-hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 48px 0 8px;
|
|
}
|
|
|
|
.feedback-hero__title {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
line-height: 36px;
|
|
}
|
|
|
|
.feedback-hero__desc {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
font-size: 15px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.feedback-layout {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 40px;
|
|
padding: 24px 0 48px;
|
|
}
|
|
|
|
.feedback-form {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
max-width: 784px;
|
|
padding: 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
background: #141417;
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.feedback-form__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.feedback-form__field:has(.feedback-form__types) {
|
|
gap: 10px;
|
|
}
|
|
|
|
.feedback-form__label {
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.feedback-form__types {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.feedback-type {
|
|
height: 36px;
|
|
padding: 0 16px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.feedback-type input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.feedback-type.is-active,
|
|
.feedback-type:has(input:checked) {
|
|
color: #ff4a7b;
|
|
background: rgba(236, 35, 127, 0.1);
|
|
border-color: rgba(236, 35, 127, 0.3);
|
|
}
|
|
|
|
.feedback-form__textarea-wrap {
|
|
align-self: stretch;
|
|
height: 160px;
|
|
min-height: 160px;
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.feedback-form__textarea-wrap:focus-within {
|
|
border-color: rgba(236, 35, 127, 0.45);
|
|
}
|
|
|
|
.feedback-form__textarea {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
min-height: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: none;
|
|
resize: none;
|
|
background: transparent;
|
|
color: var(--text);
|
|
font: inherit;
|
|
font-size: 15px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.feedback-form__textarea::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.feedback-form__count {
|
|
align-self: stretch;
|
|
text-align: right;
|
|
color: var(--text-dim);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.feedback-uploads {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
width: min(100%, 384px);
|
|
}
|
|
|
|
.feedback-upload {
|
|
width: 120px;
|
|
height: 120px;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
color: var(--text-dim);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px dashed var(--line);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.feedback-upload--placeholder {
|
|
cursor: default;
|
|
}
|
|
|
|
.feedback-upload--preview {
|
|
border-style: solid;
|
|
}
|
|
|
|
.feedback-upload--preview.is-uploading {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.feedback-upload--preview.is-error {
|
|
border-color: rgba(236, 35, 127, 0.7);
|
|
}
|
|
|
|
.feedback-upload .icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.feedback-upload--preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.feedback-upload__remove {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(11, 11, 13, 0.72);
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.feedback-upload__remove .icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.feedback-form__control {
|
|
align-self: stretch;
|
|
height: 48px;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.feedback-form__control:focus-within {
|
|
border-color: rgba(236, 35, 127, 0.45);
|
|
}
|
|
|
|
.feedback-form__control > .icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.feedback-form__input {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
color: var(--text);
|
|
font: inherit;
|
|
font-size: 15px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.feedback-form__input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.feedback-form__foot {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.feedback-form__submit {
|
|
height: 48px;
|
|
padding: 0 22px;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.feedback-form__submit.is-loading,
|
|
.feedback-form__submit:disabled {
|
|
opacity: 0.72;
|
|
cursor: wait;
|
|
}
|
|
|
|
.feedback-form__submit .icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.feedback-form__hint {
|
|
margin: 0;
|
|
color: var(--text-dim);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.feedback-aside {
|
|
width: 376px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.feedback-aside__card {
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
background: #141417;
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.feedback-aside__card--muted {
|
|
gap: 10px;
|
|
background: #1b1b1f;
|
|
}
|
|
|
|
.feedback-aside__title {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.feedback-aside__link,
|
|
.feedback-aside__row {
|
|
margin: 0;
|
|
align-self: stretch;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.feedback-aside__link .icon,
|
|
.feedback-aside__row .icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.feedback-aside__row a {
|
|
color: inherit;
|
|
}
|
|
|
|
.feedback-aside__link {
|
|
color: var(--text-muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.feedback-aside__row a:hover,
|
|
.feedback-aside__link:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
@media (min-width: 769px) {
|
|
.page-feedback .feedback-form {
|
|
min-height: 690px;
|
|
}
|
|
|
|
.page-feedback .site-footer__legal {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
}
|
|
|
|
.page-feedback .site-footer__rule {
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 769px) and (max-width: 1199px) {
|
|
.page-feedback .site-header {
|
|
height: 72px;
|
|
padding: 0 24px;
|
|
flex-wrap: nowrap;
|
|
gap: 16px;
|
|
}
|
|
|
|
.page-feedback .site-header__left,
|
|
.page-feedback .site-header__right {
|
|
width: auto;
|
|
min-width: 0;
|
|
gap: 12px;
|
|
}
|
|
|
|
.page-feedback .site-header .search {
|
|
width: min(260px, 30vw);
|
|
}
|
|
|
|
.page-feedback .site-header .nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 769px) and (max-width: 900px) {
|
|
.page-feedback .site-header .search {
|
|
display: none;
|
|
}
|
|
|
|
.page-feedback .feedback-page {
|
|
width: calc(100% - 32px);
|
|
}
|
|
|
|
.page-feedback .feedback-layout {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.page-feedback .feedback-form,
|
|
.page-feedback .feedback-aside {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 901px) and (max-width: 1023px) {
|
|
.page-feedback .site-footer__inner {
|
|
padding: 32px 16px 24px;
|
|
gap: 24px;
|
|
}
|
|
|
|
.page-feedback .site-footer__top {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 28px;
|
|
}
|
|
|
|
.page-feedback .site-footer__brand {
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.page-feedback .site-footer__links {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 28px 12px;
|
|
}
|
|
|
|
.page-feedback .footer-download {
|
|
grid-column: 1 / -1;
|
|
justify-self: center;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.page-feedback .site-footer__legal {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body.page-feedback .site-header {
|
|
display: none !important;
|
|
}
|
|
|
|
.page-feedback .page-subheader {
|
|
display: flex;
|
|
}
|
|
|
|
.feedback-page {
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.feedback-hero {
|
|
gap: 8px;
|
|
padding: 20px var(--h5-gutter) 4px;
|
|
}
|
|
|
|
.feedback-hero__title {
|
|
font-size: 22px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.feedback-hero__desc {
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.feedback-layout {
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
padding: 12px var(--h5-gutter) 20px;
|
|
}
|
|
|
|
.feedback-form {
|
|
width: 100%;
|
|
max-width: none;
|
|
padding: 0;
|
|
gap: 18px;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.feedback-form__field:has(.feedback-form__types) {
|
|
gap: 8px;
|
|
}
|
|
|
|
.feedback-type {
|
|
height: 32px;
|
|
}
|
|
|
|
.feedback-form__textarea-wrap {
|
|
height: 140px;
|
|
min-height: 140px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.feedback-form__textarea {
|
|
min-height: 0;
|
|
}
|
|
|
|
.feedback-uploads {
|
|
gap: 10px;
|
|
}
|
|
|
|
.feedback-upload {
|
|
width: min(96px, calc((100% - 20px) / 3));
|
|
height: 96px;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.feedback-upload .icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.feedback-form__foot {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 18px;
|
|
}
|
|
|
|
.feedback-form__submit {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.feedback-form__hint {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.feedback-aside {
|
|
width: 100%;
|
|
gap: 0;
|
|
}
|
|
|
|
.feedback-aside__card--muted {
|
|
padding: 16px;
|
|
gap: 8px;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.feedback-aside__card--muted .feedback-aside__title {
|
|
font-size: 15px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
.feedback-aside__card--muted .feedback-aside__row {
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.feedback-aside__card--muted .feedback-aside__row .icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* Feedback uses the compact footer arrangement shown in the mobile design. */
|
|
.page-feedback .site-footer {
|
|
background: #141417;
|
|
}
|
|
|
|
.page-feedback .site-footer__inner {
|
|
padding: 32px 16px 28px;
|
|
gap: 18px;
|
|
}
|
|
|
|
.page-feedback .site-footer__brand {
|
|
gap: 18px;
|
|
}
|
|
|
|
.page-feedback .site-footer__links {
|
|
flex-wrap: wrap;
|
|
gap: 12px 16px;
|
|
}
|
|
|
|
.page-feedback .footer-col {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.page-feedback .footer-col:first-child,
|
|
.page-feedback .footer-col:nth-child(2) a:last-child,
|
|
.page-feedback .footer-col:nth-child(3) a:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.page-feedback .footer-download {
|
|
display: flex;
|
|
flex-basis: 100%;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: 0;
|
|
background: none;
|
|
}
|
|
|
|
.page-feedback .footer-download .qr-box,
|
|
.page-feedback .footer-download__copy strong,
|
|
.page-feedback .footer-download__copy p,
|
|
.page-feedback .footer-download__copy .icon {
|
|
display: none;
|
|
}
|
|
|
|
.page-feedback .footer-download .btn {
|
|
height: 20px;
|
|
padding: 0;
|
|
color: #a1a1aa;
|
|
background: none;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.page-feedback .site-footer__rule {
|
|
display: none;
|
|
}
|
|
|
|
.page-feedback .site-footer__legal {
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 0;
|
|
}
|
|
|
|
.page-feedback .site-footer__legal p:first-child {
|
|
order: 2;
|
|
width: 100%;
|
|
padding-top: 16px;
|
|
margin-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, .07);
|
|
}
|
|
|
|
.page-feedback .site-footer__legal p:last-child {
|
|
order: 1;
|
|
}
|
|
|
|
.page-feedback .site-footer__adult,
|
|
.page-feedback .site-footer__rights {
|
|
display: none;
|
|
}
|
|
|
|
.page-feedback .site-footer__mobile-adult {
|
|
display: inline;
|
|
}
|
|
}
|