Skip to content

Commit 6d3d708

Browse files
committed
add styles for project-card & soon-card component
1 parent 71a0ca1 commit 6d3d708

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

projects/social_platform/src/app/office/shared/project-card/project-card.component.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
flex-direction: column;
2626
align-items: center;
2727
justify-content: center;
28-
text-align: center;
2928
padding-top: 40px;
29+
text-align: center;
3030
}
3131

3232
&__head {
@@ -35,23 +35,24 @@
3535

3636
&__info {
3737
display: flex;
38+
gap: 10px;
3839
align-items: center;
3940
justify-content: space-evenly;
40-
gap: 10px;
4141

42-
&--vacancies, &--collaborators {
42+
&--vacancies,
43+
&--collaborators {
4344
display: flex;
44-
align-items: center;
4545
gap: 4px;
46+
align-items: center;
4647
color: var(--grey-for-text);
4748
}
4849
}
4950

5051
&__subscribe-badge {
5152
display: block;
52-
transform: translateY(10px);
5353
color: var(--accent);
5454
cursor: pointer;
55+
transform: translateY(10px);
5556
}
5657

5758
&__user {
@@ -85,12 +86,12 @@
8586
}
8687

8788
&__project {
88-
padding: 2px 24px;
89-
border-radius: var(--rounded-xl);
9089
display: flex;
9190
flex-direction: column;
9291
align-items: center;
9392
justify-content: center;
93+
padding: 2px 24px;
94+
border-radius: var(--rounded-xl);
9495

9596
&--text {
9697
color: var(--white);

projects/social_platform/src/app/office/shared/soon-card/soon-card.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010

1111
&__soon {
1212
position: relative;
13+
display: grid;
14+
place-items: center;
1315
margin-bottom: 4px;
1416
border: 0.5px solid var(--medium-grey-for-outline);
1517
border-radius: var(--rounded-lg);
16-
display: grid;
17-
place-items: center;
1818
}
1919

2020
&__closed {
2121
display: flex;
2222
flex-direction: column;
23+
grid-area: 1 / 1;
2324
gap: 2px;
2425
align-items: center;
2526
justify-content: center;
2627
padding: 24px 37px;
27-
grid-area: 1 / 1;
2828

2929
&--text {
3030
color: var(--dark-grey);

projects/social_platform/src/styles/_colors.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
--light-gray: #f9f9f9;
2525
--grey-button: #e5e5e5e5;
2626
--medium-grey-for-outline: #eee;
27-
--grey-for-text: #827E80;
27+
--grey-for-text: #827e80;
2828

2929
// FUNCTIONAL
3030
--green: #88c9a1;

0 commit comments

Comments
 (0)