SHA256
Доработать согласия и статусы профиля
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
.confirm-dialog__danger { color: #fff; background: var(--danger); }
|
||||
:root[data-theme='dark'] .confirm-dialog__danger { color: var(--background); }
|
||||
|
||||
.confirm-dialog--above-editor { z-index: 100; }
|
||||
|
||||
/* Шторка с заголовком (js/components/sheet.js) */
|
||||
.sheet__card { display: grid; gap: 0; padding: 12px 16px 18px; border-radius: 22px; }
|
||||
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
|
||||
@@ -64,3 +66,14 @@
|
||||
.share-sheet__link { min-height: 44px; padding: 9px 10px; border: 1px solid var(--border-control); border-radius: 10px; background: var(--surface-raised); color: var(--text-primary); font: inherit; font-size: .875rem; }
|
||||
.share-sheet__copy, .share-sheet__system { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
|
||||
.share-sheet__copy svg, .share-sheet__system svg { width: 20px; height: 20px; }
|
||||
|
||||
/* Единое окно лайков в ленте и обсуждениях. */
|
||||
.like-consent { gap: 14px; }
|
||||
.like-consent > p { margin: 0; color: var(--text-secondary); line-height: 1.45; }
|
||||
.like-consent-counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
||||
.like-consent-count { display: grid; justify-items: center; align-content: center; gap: 5px; min-width: 0; padding: 12px 6px; border: 1px solid var(--border-control); border-radius: 12px; color: var(--text-primary); background: var(--surface-raised); text-align: center; font: inherit; }
|
||||
.like-consent-count > strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
|
||||
.like-consent-count > span { font-size: .73rem; line-height: 1.3; color: var(--text-secondary); }
|
||||
button.like-consent-count { cursor: pointer; }
|
||||
button.like-consent-count:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
.like-consent-sheet .sheet__card { width: min(100%, 420px); }
|
||||
|
||||
@@ -207,3 +207,15 @@
|
||||
/* Чужой профиль: плитка связи показывает текущую связь, над плитками – «хочет с вами дружить». */
|
||||
.pf-tile.is-related svg { color: var(--success); }
|
||||
.user-profile-relation-hint { margin: 0 0 var(--space-2); color: var(--accent); font-size: var(--text-sm); font-weight: var(--weight-medium); text-align: center; }
|
||||
|
||||
/* Пошаговое публичное заявление — часть редактирования профиля. */
|
||||
.profile-consent-flow { gap: 16px; }
|
||||
.profile-consent-progress { font-size: .75rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
|
||||
.profile-consent-heading { margin: 0; color: var(--text-primary); font-size: 1.15rem; line-height: 1.4; }
|
||||
.profile-consent-description { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
|
||||
.profile-consent-accept { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--border-control); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--text-primary); font-size: .9rem; line-height: 1.4; cursor: pointer; }
|
||||
.profile-consent-accept[hidden] { display: none; }
|
||||
.profile-consent-accept > input { width: 19px; height: 19px; min-width: 19px; margin-top: 1px; accent-color: var(--accent); }
|
||||
.profile-consent-sheet .sheet__card { width: min(100%, 470px); }
|
||||
.profile-consent-flow .form-actions-grid { margin-top: 4px; }
|
||||
.profile-consent-flow .primary-btn:disabled { opacity: .45; cursor: not-allowed; }
|
||||
|
||||
Reference in New Issue
Block a user