Skip to content

Commit e6613c8

Browse files
FaizFaiz
authored andcommitted
Project details page - pixel perfection
1 parent 2b6c401 commit e6613c8

6 files changed

Lines changed: 87 additions & 84 deletions

File tree

assets/scss/main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ label > .form-select:first-child {
244244
align-items: center;
245245
justify-content: space-between;
246246
gap: 0.75rem;
247-
padding: 0.625rem 0.9rem;
248-
color: $secondary;
247+
padding: 5px 10px;
248+
color: $text-secondary;
249249
font-size: 1rem;
250250
line-height: 1.2;
251251
text-align: left;

components/workspace-project-details/ContributionsTab.vue

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ const countCards = computed(() => {
8989
9090
.project-detail-contribution-metric,
9191
.project-detail-contribution-count-card {
92-
background: #ffffff;
93-
border: 1px solid rgba($text-navy, 0.1);
94-
border-radius: 1rem;
95-
box-shadow: 0 0.75rem 2rem rgba($text-navy, 0.08);
92+
background: #FCFCFF;
93+
border: 1px solid #E2E2F5;
94+
border-radius: 12px;
9695
}
9796
9897
.project-detail-contribution-metric {
@@ -114,9 +113,7 @@ const countCards = computed(() => {
114113
115114
.project-detail-contribution-copy h3,
116115
.project-detail-contribution-count-card h3 {
117-
margin: 0;
118-
color: #1a1e3d;
119-
font-family: var(--secondary-font-family);
116+
color: $text-secondary;
120117
}
121118
122119
.project-detail-contribution-copy h3 {
@@ -126,8 +123,8 @@ const countCards = computed(() => {
126123
127124
.project-detail-contribution-copy p,
128125
.project-detail-contribution-count-card p {
129-
margin: 0.2rem 0 0;
130-
color: #5a607b;
126+
margin: 10px 0 0;
127+
color: $text-navy;
131128
}
132129
133130
.project-detail-contribution-copy p,
@@ -142,8 +139,8 @@ const countCards = computed(() => {
142139
}
143140
144141
.project-detail-contribution-count-card h3 {
145-
font-size: 0.98rem;
146-
font-weight: 500;
142+
font-size: 16px;
143+
font-weight: 600;
147144
}
148145
149146
.project-detail-contribution-summary-card {

components/workspace-project-details/RichTextContent.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ const safeHtml = computed(() =>
3434
3535
.project-detail-rich-text {
3636
overflow-x: auto;
37-
color: #5a607b;
38-
font-family: var(--primary-font-family);
39-
font-size: 1.1rem;
40-
line-height: 1.9;
37+
color: $text-navy;
38+
font-size: 16px;
39+
line-height: 26px;
4140
}
4241
4342
.project-detail-rich-text:deep(h3) {

components/workspace-project-details/SelectedTaskBar.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ defineEmits<{
7676
@import "~/assets/scss/theme.scss";
7777
7878
.project-detail-task-action-bar {
79-
min-height: 6.6rem;
79+
min-height: 90px;
8080
display: flex;
8181
align-items: center;
8282
justify-content: space-between;
@@ -124,17 +124,18 @@ defineEmits<{
124124
125125
.project-detail-task-action-copy span,
126126
.project-detail-task-action-status span {
127-
color: #707796;
128-
font-size: 0.95rem;
127+
color: $text-secondary;
128+
font-size: 14px;
129+
font-weight: 500;
129130
}
130131
131132
.project-detail-task-action-copy strong,
132133
.project-detail-task-action-status strong {
133134
display: inline-flex;
134135
align-items: center;
135136
gap: 0.55rem;
136-
color: #1a1e3d;
137-
font-size: 1.1rem;
137+
color: $text-navy;
138+
font-size: 1rem;
138139
font-weight: 700;
139140
}
140141

components/workspace-project-details/TasksTab.vue

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,7 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
317317
@import "~/assets/scss/theme.scss";
318318
319319
.project-detail-card {
320-
padding: 1.5rem;
321320
background: #ffffff;
322-
border: 1px solid rgba($text-navy, 0.1);
323-
border-radius: 1rem;
324-
box-shadow: 0 0.75rem 2rem rgba($text-navy, 0.08);
325321
}
326322
327323
.project-detail-task-card {
@@ -334,15 +330,15 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
334330
gap: 0.85rem;
335331
align-items: end;
336332
margin-bottom: 1rem;
333+
margin-top: -10px;
337334
}
338335
339336
.project-detail-task-search {
340337
position: relative;
341338
}
342339
343340
.project-detail-task-search .form-control {
344-
min-height: 2.85rem;
345-
padding-right: 2.9rem;
341+
border-radius: 6px;
346342
}
347343
348344
.project-detail-task-search-icon {
@@ -366,15 +362,15 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
366362
367363
.project-detail-card :deep(.tdei-select-toggle),
368364
.project-detail-card :deep(.tdei-select-menu) {
369-
border-radius: 0.75rem;
365+
border-radius: 6px;
370366
}
371367
372368
.project-detail-task-list-wrap {
373369
position: relative;
374370
display: grid;
375371
gap: 0;
376372
border: 1px solid rgba($text-navy, 0.08);
377-
border-radius: 0.85rem;
373+
border-radius: 10px;
378374
overflow: visible;
379375
}
380376
@@ -391,6 +387,7 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
391387
font-size: 0.88rem;
392388
font-weight: 700;
393389
background: #f7f8fc;
390+
border-radius: 10px 10px 4px 4px;
394391
}
395392
396393
.project-detail-task-list {
@@ -407,6 +404,10 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
407404
border-top: 1px solid rgba($text-navy, 0.08);
408405
}
409406
407+
.project-detail-task-item:nth-last-child(1) {
408+
border-radius: 0px 0px 10px 10px;
409+
}
410+
410411
.project-detail-task-item-selected {
411412
background: rgba(214, 233, 250, 0.42);
412413
}
@@ -447,8 +448,10 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
447448
display: inline-flex;
448449
align-items: center;
449450
gap: 0.45rem;
450-
color: #37405d;
451+
color: $text-navy;
451452
line-height: 1.35;
453+
font-weight: 500;
454+
font-size: 15px;
452455
}
453456
454457
.project-detail-task-status-swatch {
@@ -476,9 +479,11 @@ function formatTaskStatus(task: WorkspaceProjectTaskListItem) {
476479
477480
.project-detail-task-value {
478481
display: inline-block;
479-
color: #37405d;
482+
color: $text-navy;
480483
line-height: 1.35;
481484
word-break: break-word;
485+
font-weight: 500;
486+
font-size: 15px;
482487
}
483488
484489
.project-detail-task-mobile-label {

0 commit comments

Comments
 (0)