Skip to content

Commit a788244

Browse files
committed
add styles for detail pages for courses & program
1 parent 30ce832 commit a788244

6 files changed

Lines changed: 22 additions & 22 deletions

File tree

projects/social_platform/src/app/office/courses/detail/course-detail.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ $detail-bar-mb: 12px;
1010
height: 100%;
1111
max-height: 100%;
1212
padding-top: 20px;
13-
margin: 0px 20px;
14-
13+
margin: 0 20px;
14+
1515
@include responsive.apply-desktop {
1616
margin: 0;
1717
}
@@ -28,15 +28,15 @@ $detail-bar-mb: 12px;
2828

2929
position: relative;
3030
padding: 0;
31+
margin-bottom: 20px;
3132
border: none;
3233
border-radius: $body-slide;
33-
margin-bottom: 20px;
3434

3535
&__cover {
3636
position: relative;
3737
height: 136px;
3838
border-radius: 15px;
39-
39+
4040
@include responsive.apply-desktop {
4141
border-radius: 15px 15px 0 0;
4242
}

projects/social_platform/src/app/office/courses/detail/info/info.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
}
9797
}
9898

99-
10099
.cancel {
101100
display: flex;
102101
flex-direction: column;

projects/social_platform/src/app/office/courses/shared/course-about/course-about.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
@use "styles/responsive";
44

55
.about {
6-
padding: 0px;
6+
padding: 0;
77
background-color: transparent;
8-
border-radius: 0px;
9-
8+
border-radius: 0;
9+
1010
@include responsive.apply-desktop {
1111
padding: 24px;
1212
background-color: var(--light-white);

projects/social_platform/src/app/office/courses/shared/course-module-card/course-module-card.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
cursor: pointer;
5656
background-color: var(--medium-grey-for-outline);
5757
border-radius: var(--rounded-xl);
58-
58+
5959
@include responsive.apply-desktop {
6060
left: 14%;
6161
}

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

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ $detail-bar-mb: 12px;
1212
height: 100%;
1313
max-height: 100%;
1414
padding-top: 20px;
15-
margin: 0px 20px;
16-
15+
margin: 0 20px;
16+
1717
@include responsive.apply-desktop {
1818
margin: 0;
1919
}
@@ -38,15 +38,15 @@ $detail-bar-mb: 12px;
3838
position: relative;
3939
height: 63px;
4040
border-radius: 15px;
41-
41+
4242
@include responsive.apply-desktop {
4343
height: 136px;
4444
border-radius: 15px 15px 0 0;
4545
}
4646

4747
&--program {
4848
height: 63px;
49-
49+
5050
@include responsive.apply-desktop {
5151
height: 155px;
5252
}
@@ -84,7 +84,7 @@ $detail-bar-mb: 12px;
8484
background-color: var(--white);
8585
border-radius: 50%;
8686
transform: translate(-50%, 60%);
87-
87+
8888
&--program {
8989
bottom: 15px;
9090
}
@@ -128,12 +128,12 @@ $detail-bar-mb: 12px;
128128
grid-template-columns: 2fr 2fr;
129129
gap: 12px;
130130
align-items: center;
131-
padding: 24px 10px 0px;
131+
padding: 24px 10px 0;
132132

133133
@include responsive.apply-desktop {
134134
grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
135-
padding: 24px 0 30px;
136135
gap: 20px;
136+
padding: 24px 0 30px;
137137
}
138138

139139
app-modal {
@@ -150,19 +150,21 @@ $detail-bar-mb: 12px;
150150
}
151151

152152
&__primary-action {
153-
order: 999;
154153
grid-column: 1 / -1;
154+
order: 999;
155155

156-
a, app-button {
156+
a,
157+
app-button {
157158
display: block;
158159
width: 100%;
159160
}
160161

161162
@include responsive.apply-desktop {
162-
order: 0;
163163
grid-column: auto;
164+
order: 0;
164165

165-
a, app-button {
166+
a,
167+
app-button {
166168
display: inline-block;
167169
width: auto;
168170
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
display: grid;
6868
grid-template-columns: 1fr;
6969
grid-gap: 20px;
70-
70+
7171
@include responsive.apply-desktop {
7272
grid-template-columns: 2fr 5fr 3fr;
7373
}
@@ -144,7 +144,6 @@
144144
}
145145
}
146146

147-
148147
.news {
149148
&__form {
150149
display: block;

0 commit comments

Comments
 (0)