fix workspace access and vendor correct fonts
Test and publish / verify (push) Successful in 2m22s

This commit is contained in:
2026-08-04 20:07:35 +03:30
parent 29d7f1636f
commit 9380f116d7
46 changed files with 320 additions and 122 deletions
+71 -23
View File
@@ -59,21 +59,48 @@ h2 { margin-bottom: 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.sidebar-user { display: grid; grid-template-columns: 36px 1fr auto; gap: 9px; align-items: center; margin-top: auto; padding: 13px 8px 0; border-top: 1px solid var(--line); }
.sidebar-user strong { display: block; overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { color: var(--muted); font-size: .66rem; text-transform: capitalize; }
.sidebar-profile-link, .sidebar-profile-details { text-decoration:none; }
.sidebar-profile-link { display:block; cursor:pointer; }
.sidebar-profile-link img.avatar { display:block; object-fit:cover; }
.sidebar-profile-details strong { color:var(--ink); }
.sidebar-profile-details:hover strong { color:var(--green); }
.profile-account-actions { display:grid; gap:8px; max-width:1500px; margin:18px 0 0; padding:24px 36px; }
.profile-account-actions h2, .profile-account-actions p { margin:0; }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--sand); color: #725d37; font-weight: 700; text-transform: uppercase; }
.profile-card { display:grid; grid-template-columns:auto 1fr 340px; gap:28px; align-items:center; max-width:1500px; margin:0; padding:32px 36px; }
.profile-avatar, .profile-avatar img { display:grid; width:84px; height:84px; place-items:center; border-radius:50%; background:var(--sand); color:#725d37; font-size:1.7rem; font-weight:700; object-fit:cover; }
.profile-card h2 { margin-bottom:6px; font-size:1.15rem; }
.profile-card p { margin:0; color:var(--muted); font-size:.78rem; }
.profile-upload { display:grid; gap:9px; padding-left:28px; border-left:1px solid var(--line); }
.profile-upload label { display:grid; gap:6px; color:var(--muted); font-size:.72rem; font-weight:700; }
.profile-upload input[type=file] { width:100%; font:inherit; font-size:.72rem; }
.profile-upload small { color:var(--muted); font-size:.65rem; }
.workspace-members-form { display:grid; gap:8px; margin-top:12px; }
.workspace-members-form > label { display:flex; align-items:center; gap:10px; padding:9px 10px; border:1px solid var(--line); border-radius:10px; background:var(--paper); cursor:pointer; }
.workspace-members-form > label:hover { border-color:var(--green-2); background:var(--mint); }
.workspace-members-form > label input { width:17px; height:17px; accent-color:var(--green); }
.workspace-members-form > label .avatar { width:29px; height:29px; flex:0 0 29px; font-size:.6rem; }
.workspace-members-form > label > span:last-of-type { display:grid; gap:2px; font-size:.72rem; font-weight:700; }
.workspace-members-form > label small { color:var(--muted); font-size:.62rem; font-weight:500; }
.workspace-members-form .button { margin-top:5px; justify-self:start; }
.workspace-access-card { grid-column: 2; margin-top: 20px; }
.workspace-list { max-height: 280px; overflow-y: auto; }
.workspace-access-select label { display:grid; gap:6px; color:var(--muted); font-size:.72rem; font-weight:700; }
.workspace-access-select select { width:100%; margin-bottom:12px; }
.avatar.small { width: 40px; height: 40px; }
.icon-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.main { min-width: 0; padding: 42px clamp(28px, 5vw, 68px) 70px; }
.page-head { display: flex; justify-content: space-between; align-items: end; margin: 0 auto 28px; max-width: 1180px; }
.page-head { display: flex; justify-content: space-between; align-items: end; margin: 0 auto 28px; max-width: 1500px; }
.page-head > div > p:last-child { margin-bottom: 0; color: var(--muted); }
.today-pill { min-width: 132px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: right; }
.today-pill span { display: block; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.today-pill strong { font-family: Vazirmatn, Tahoma, sans-serif; font-size: .83rem; direction: ltr; }
.notice { max-width: 1180px; margin: 0 auto 18px; padding: 12px 15px; border-radius: 10px; font-size: .86rem; }
.notice { max-width: 1500px; margin: 0 auto 18px; padding: 12px 15px; border-radius: 10px; font-size: .86rem; }
.notice.success { border: 1px solid #bfdbcb; background: #eaf5ef; color: #286047; }
.notice.error { border: 1px solid #edc6c2; background: #fff0ee; color: #9d3e38; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(300px, .82fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(300px, .82fr); gap: 20px; max-width: 1500px; margin: 0 auto; }
.presence-card { padding: 24px; }
.presence-top, .section-head { display: flex; justify-content: space-between; align-items: start; }
.live-badge { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 20px; background: #edf4f0; color: var(--green); font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
@@ -114,7 +141,7 @@ h2 { margin-bottom: 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.day-number { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 600; }
.day.today .day-number { background: var(--green); color: #fff; }
.day.friday { background: #fcfaf6; }
.day.holiday small { display: block; overflow: hidden; margin-top: 4px; color: #ae7562; font-size: .5rem; text-overflow: ellipsis; white-space: nowrap; }
.day.holiday small { display: block; margin-top: 4px; color: #ae7562; font-size: .5rem; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.day .status-dot { position: absolute; right: 8px; top: 16px; }
.status-dot.office { background: #51906f; }
@@ -146,7 +173,7 @@ h2 { margin-bottom: 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.empty > span { color: #9ca9a2; font-size: 1.5rem; }
.empty a { color: var(--green); font-weight: 700; }
.two-column { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(440px, 1.28fr); gap: 20px; max-width: 1180px; margin: auto; }
.two-column { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(440px, 1.28fr); gap: 20px; max-width: 1500px; margin: auto; }
.form-card, .two-column > .card, .approval-card { padding: 26px; }
.stack-form { display: grid; gap: 18px; margin-top: 24px; }
label { color: #49564f; font-size: .72rem; font-weight: 700; }
@@ -205,7 +232,7 @@ textarea { resize: vertical; }
.filter-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.filter-tabs a { padding: 7px 11px; border-radius: 7px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.filter-tabs a.active { background: var(--ink); color: #fff; }
.approval-card { max-width: 1180px; margin: auto; }
.approval-card { max-width: 1500px; margin: auto; }
.approval-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.approval-row:last-child { border-bottom: 0; }
.approval-title { display: flex; gap: 7px; align-items: center; }
@@ -226,7 +253,7 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.report-range-filter { display: grid; grid-template-columns: 145px 145px auto; gap: 9px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.report-range-filter input { margin-top: 4px; padding-top: 8px; padding-bottom: 8px; }
.report-range-filter .button { min-height: 39px; }
.accumulated-report { max-width: 1180px; margin: 0 auto 20px; overflow: hidden; }
.accumulated-report { max-width: 1500px; margin: 0 auto 20px; overflow: hidden; }
.accumulated-head { display: flex; justify-content: space-between; align-items: center; padding: 25px 28px 20px; }
.accumulated-head h2 { margin-bottom: 3px; }
.accumulated-head p:last-child { margin: 0; color: var(--muted); font-size: .7rem; }
@@ -252,14 +279,15 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.metric.done { background: #e3f0e8; color: #337052; }
.metric.blocked { background: #f5e6e4; color: #9d4a44; }
.metric.pending { background: #f6eddc; color: #87662c; }
.report-export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1180px; margin: auto; }
.report-export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1500px; margin: auto; }
.report-export-grid .report-card { grid-template-columns: 60px 1fr; max-width: none; margin: 0; padding: 25px; }
.report-export-grid .secondary-report { margin-top: 0; }
.report-export-grid .report-illustration { width: 55px; height: 55px; border-radius: 15px; }
.report-export-grid .report-form { grid-template-columns: 1fr 1fr; }
.report-export-grid .report-form .button { grid-column: 1 / -1; }
.board-page-head { position: relative; align-items: center; }
.board-page-head { position: relative; align-items: center; max-width: 1500px; }
.board-head-actions .button > i { margin-right: 7px; }
.board-head-actions { display: flex; gap: 8px; align-items: center; }
.new-task-panel { position: relative; }
.new-task-panel > summary { list-style: none; user-select: none; }
@@ -355,20 +383,33 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.task-due { padding: 3px 5px; border-radius: 6px; background: var(--sand); color: #786039; font-size: .53rem; font-weight: 700; }
.todo-progress { padding: 3px 5px; border-radius: 6px; background: var(--mint); color: var(--green-2); font-size: .53rem; font-weight: 800; }
.importance-emoji { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 6px; background: var(--paper); font-size: .66rem; line-height: 1; }
.importance-emoji.high { background: #f6eddc; }
.importance-emoji.urgent { background: #f5e6e4; }
.importance-emoji i { font-size: .68rem; }
.importance-emoji { background: transparent; }
.importance-low { color: #8b8b8b; background: #f1f1f1; }
.importance-normal { color: #4f7cff; background: #e7edff; }
.importance-high { color: #f59e0b; background: #fff3dc; }
.importance-urgent { color: #ef4444; background: #fde8e7; }
.kanban-card h3 { margin: 0 0 6px; font-size: .84rem; line-height: 1.3; }
.kanban-card > p { display: -webkit-box; overflow: hidden; margin: 0 0 10px; color: #64706a; font-size: .68rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.task-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding-top: 9px; padding-right: 27px; border-top: 1px solid var(--line); }
.task-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding-top: 9px; padding-right: 27px; }
.task-assignees { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; }
.task-assignee { display: flex; min-width: 0; gap: 6px; align-items: center; color: #53605a; font-size: .61rem; font-weight: 700; }
.task-assignee i { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: var(--blue); color: #4d6e94; font-size: .59rem; font-style: normal; }
.task-assignee i.avatar { width: 24px; height: 24px; }
.task-assignee img.avatar { display:block; width:24px; height:24px; object-fit:cover; }
.task-assignees { display:flex; align-items:center; gap:4px; }
.task-assignee { display:inline-flex; }
.task-actions .icon-button { width:30px; height:30px; padding:0; border:0; border-radius:9px; background:var(--paper); color:var(--green); font-size:.9rem; }
.task-actions .icon-button:hover { background:var(--mint); }
.task-actions .icon-button.danger { color:#a34d47; }
.task-actions .icon-button > i { font-size:.88rem; line-height:1; }
.task-remove > summary.icon-button { display:grid; place-items:center; cursor:pointer; list-style:none; }
.task-remove > summary.icon-button::-webkit-details-marker { display:none; }
.task-assignee span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-assignee.unassigned { color: var(--muted); font-weight: 500; }
.task-creator { overflow: hidden; color: #9aa39e; font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
.card-controls { position: static; }
.card-controls > summary { position: absolute; right: 10px; bottom: 10px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: var(--muted); font-size: .95rem; font-weight: 800; line-height: 1; cursor: pointer; list-style: none; }
.card-controls > summary { position: absolute; right: 10px; bottom: 10px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--muted); font-size: .95rem; font-weight: 800; line-height: 1; cursor: pointer; list-style: none; }
.card-controls > summary:hover, .card-controls[open] > summary { background: var(--paper); color: var(--ink); }
.card-controls > summary::-webkit-details-marker { display: none; }
.card-controls > summary i { display: block; font-size: 1.05rem; font-style: normal; line-height: 1; transition: transform .15s ease; }
@@ -396,13 +437,14 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.todo-add-form { display: flex; gap: 6px; }
.todo-add-form input { min-width: 0; margin: 0; padding: 7px 8px; font-size: .6rem; }
.todo-add-form .button { min-height: 31px; padding: 5px 9px; font-size: .58rem; }
.task-actions { display: flex; width: 100%; box-sizing: border-box; justify-content: space-between; align-items: center; padding-right: 31px; }
.task-actions > form:first-child { display: flex; gap: 4px; align-items: center; }
.task-actions select { width: auto; min-width: 104px; margin: 0; padding: 5px 25px 5px 7px; border: 0; background-color: var(--paper); font-size: .58rem; font-weight: 700; }
.task-actions { display: flex; width: 100%; box-sizing: border-box; justify-content: space-between; align-items: center; gap: 9px; padding-right: 31px; }
.task-actions > form:first-child { display: flex; height: 30px; gap: 4px; align-items: center; }
.task-actions select { width: 118px; min-width: 118px; height: 30px; margin: 0; padding: 5px 25px 5px 9px; border: 0; border-radius: 9px; background-color: var(--paper); font-size: .58rem; font-weight: 700; }
.task-actions .text-button { margin: 0; }
.task-move-button { display: none; }
.task-actions form:focus-within .task-move-button { display: inline-block; }
.task-lifecycle-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; margin-left: auto; }
.task-lifecycle-actions { display: flex; height: 30px; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; margin-left: auto; }
.task-lifecycle-actions form, .task-remove { height: 30px; }
.task-lifecycle-actions > form { display: flex; }
.archive-task { color: var(--green); font-weight: 700; }
.task-remove { position: relative; color: var(--muted); font-size: .58rem; }
@@ -427,6 +469,10 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.archived-card .card-tags { margin-bottom: 6px; }
.archived-card-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.archived-card-actions .button { min-height: 34px; padding: 7px 12px; font-size: .61rem; }
.archived-page-card { max-width: 1500px; margin: 0 auto; overflow: hidden; }
.archived-page-card > .section-head { padding: 26px 28px 22px; }
.archived-page-card .archived-card { padding-left:28px; padding-right:28px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.archived-delete { position: relative; }
.archived-delete > summary { color: var(--red); font-size: .6rem; font-weight: 700; cursor: pointer; list-style: none; }
.archived-delete > summary::-webkit-details-marker { display: none; }
@@ -465,7 +511,7 @@ blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid #d8dfdb;
.day-date-form input { margin-top: 4px; padding-top: 8px; padding-bottom: 8px; }
.day-date-form .jalali-trigger { top: 10px; }
.day-date-form .button { min-height: 39px; }
.day-layout { display: grid; gap: 20px; max-width: 1180px; margin: 0 auto; }
.day-layout { display: grid; gap: 20px; max-width: 1500px; margin: 0 auto; }
.day-summary-card { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr); align-items: center; padding: 24px 28px; }
.day-date-nav { display: grid; grid-template-columns: 37px 1fr 37px; gap: 14px; align-items: center; }
.day-date-nav > a { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font-size: 1.2rem; }
@@ -655,18 +701,17 @@ html[data-theme="dark"] .kanban-card > p { color: #aab6b0; }
html[data-theme="dark"] .task-assignee { color: #bdc8c2; }
html[data-theme="dark"] .task-due { background: #3b3222; color: #dec18b; }
html[data-theme="dark"] .todo-progress { background: #1d3b2c; color: #8fd0ae; }
html[data-theme="dark"] .importance-emoji.high { background: #453820; }
html[data-theme="dark"] .importance-emoji.urgent { background: #432725; }
html[data-theme="dark"] .kanban-cards.drag-over { background: rgba(107, 172, 142, .1); }
@media (max-width: 980px) {
.app-shell { grid-template-columns: 74px 1fr; }
.app-shell { grid-template-columns: 94px 1fr; }
.sidebar { padding: 25px 11px 16px; }
.brand > span:last-child, .sidebar nav a:not(.active) { font-size: 0; }
.brand { padding: 0 8px; }
.brand { justify-content: center; padding: 0 8px; }
.workspace-switcher { display: none; }
.sidebar nav a { justify-content: center; padding: 0; }
.nav-icon { font-size: 1.05rem; }
.nav-label, .sidebar-user > span:nth-child(2), .sidebar-user form { display: none; }
.nav-label, .sidebar-profile-details { display: none; }
.sidebar-user { display: flex; justify-content: center; padding-left: 0; padding-right: 0; }
.sidebar-theme { justify-content: center; padding-left: 0; padding-right: 0; }
.sidebar-theme span { display: none; }
@@ -675,6 +720,9 @@ html[data-theme="dark"] .kanban-cards.drag-over { background: rgba(107, 172, 142
.login-page { grid-template-columns: 1fr 1fr; }
.story-calendar { display: none; }
.two-column { grid-template-columns: 1fr; }
.workspace-access-card { margin-top: 0; }
.profile-card { grid-template-columns: auto 1fr; }
.profile-upload { grid-column: 1 / -1; padding-top:18px; padding-left:0; border-top:1px solid var(--line); border-left:0; }
.updates-layout { grid-template-columns: 1fr; }
.day-summary-card { grid-template-columns: 1fr; gap: 20px; }
.day-stats { padding-top: 18px; border-top: 1px solid var(--line); border-left: 0; }