Skip to content

Commit 2caa963

Browse files
committed
change styles for project card component & projects & programs page
1 parent 178713e commit 2caa963

5 files changed

Lines changed: 15 additions & 16 deletions

File tree

projects/social_platform/src/app/office/program/list/main/main.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.programs {
22
display: grid;
33
grid-template-columns: 8fr 2fr;
4-
justify-content: space-between;
54
grid-gap: 20px;
5+
justify-content: space-between;
66

77
&__list {
88
display: grid;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
&__photo {
1313
position: relative;
1414
z-index: 10;
15+
flex-shrink: 0;
1516
padding: 12px;
1617
background: var(--white);
1718
border: 0.5px solid var(--dark-grey);
1819
border-radius: 50%;
19-
flex-shrink: 0;
2020
}
2121

2222
&__info {
2323
position: relative;
2424
z-index: 1;
25-
margin-left: -12%;
2625
padding: 22px;
26+
margin-left: -12%;
2727
border: 0.5px solid var(--dark-grey);
2828
border-radius: var(--rounded-lg);
2929
}

projects/social_platform/src/app/office/projects/projects.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
.page {
44
&__info {
55
display: flex;
6-
justify-content: space-between;
76
gap: 20px;
7+
justify-content: space-between;
88

99
form {
1010
flex-grow: 1;
@@ -15,15 +15,15 @@
1515
display: flex;
1616
flex-direction: column;
1717
gap: 20px;
18-
margin-top: 10px;
1918
width: 100%;
19+
margin-top: 10px;
2020
}
2121

2222
&__create {
2323
display: flex;
2424
flex-direction: column;
25-
align-items: center;
2625
gap: 20px;
26+
align-items: center;
2727
}
2828

2929
&__analytics {

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
&__body {
99
position: relative;
10+
padding: 50px 0 12px;
1011
background-color: var(--light-white);
1112
border: 0.5px solid var(--medium-for-outline);
1213
border-radius: var(--rounded-xl);
13-
padding: 50px 0px 12px 0px;
1414
}
1515

1616
&__photo {
@@ -21,8 +21,8 @@
2121

2222
&__content {
2323
display: flex;
24-
align-items: center;
2524
flex-direction: column;
25+
align-items: center;
2626
justify-content: center;
2727
text-align: center;
2828
}
@@ -41,22 +41,22 @@
4141
}
4242

4343
&__industry {
44+
padding: 2px 36px;
4445
color: var(--light-white);
4546
background-color: var(--green);
46-
padding: 2px 36px;
4747
border-radius: var(--rounded-xl);
4848
}
4949

5050
&__description {
51+
margin-bottom: 10px;
5152
color: var(--dark-grey);
5253
word-break: break-word;
53-
margin-bottom: 10px;
5454
}
5555

5656
&__project {
5757
padding: 2px 24px;
58-
border-radius: var(--rounded-xl);
5958
background-color: var(--accent);
59+
border-radius: var(--rounded-xl);
6060

6161
&--text {
6262
color: var(--white);

projects/social_platform/src/app/ui/components/bar-new/bar.component.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,28 @@
2020

2121
&__item {
2222
display: flex;
23+
gap: 4px;
2324
align-items: center;
2425
padding: 5px 30px;
25-
border-radius: var(--rounded-xl);
26-
gap: 4px;
27-
cursor: pointer;
2826
color: var(--grey-for-text);
27+
cursor: pointer;
28+
border-radius: var(--rounded-xl);
2929
transition: color 0.2s;
3030

3131
&:hover {
3232
i {
3333
color: var(--accent);
3434
}
3535
}
36-
3736
}
3837

3938
&__link {
4039
color: var(--black);
4140

4241
&--active {
4342
.bar__item {
44-
border: 0.5px solid var(--dark-grey);
4543
background-color: var(--light-white);
44+
border: 0.5px solid var(--dark-grey);
4645
}
4746
}
4847

0 commit comments

Comments
 (0)