Skip to content

Commit 5e2af17

Browse files
committed
add styles for lesson pages
1 parent f0d1657 commit 5e2af17

8 files changed

Lines changed: 34 additions & 34 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ $detail-bar-mb: 12px;
1313
margin: 0 20px;
1414

1515
@include responsive.apply-desktop {
16-
margin: 0;
1716
height: 100%;
18-
padding-bottom: 0px;
17+
padding-bottom: 0;
18+
margin: 0;
1919
}
2020

2121
&__body {
@@ -37,8 +37,8 @@ $detail-bar-mb: 12px;
3737
&__cover {
3838
position: relative;
3939
height: 136px;
40-
border-radius: 15px;
4140
margin-bottom: 24px;
41+
border-radius: 15px;
4242

4343
@include responsive.apply-desktop {
4444
border-radius: 15px 15px 0 0;
@@ -120,14 +120,14 @@ $detail-bar-mb: 12px;
120120

121121
@include responsive.apply-desktop {
122122
gap: 180px;
123-
padding: 0px 0px 30px;
123+
padding: 0 0 30px;
124124
}
125-
125+
126126
&--task {
127127
display: flex;
128128
flex-direction: row-reverse;
129-
justify-content: space-between;
130129
align-items: center;
130+
justify-content: space-between;
131131
}
132132

133133
&--end {
@@ -152,10 +152,10 @@ $detail-bar-mb: 12px;
152152
&__lesson {
153153
color: var(--dark-grey);
154154
}
155-
155+
156156
&__meta {
157157
display: flex;
158158
flex-direction: column;
159159
align-items: center;
160160
}
161-
}
161+
}

projects/social_platform/src/app/office/courses/lesson/complete/complete.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background-color: var(--light-white);
88
border: 0.5px solid var(--medium-grey-for-outline);
99
border-radius: var(--rounded-lg);
10-
10+
1111
@include responsive.apply-desktop {
1212
min-height: 358px;
1313
}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
display: flex;
2222
flex-direction: column;
2323
order: -1;
24-
24+
2525
@include responsive.apply-desktop {
2626
order: 0;
2727
}
@@ -35,7 +35,7 @@
3535
&__skill-name {
3636
color: var(--black);
3737
}
38-
38+
3939
&__lesson {
4040
color: var(--grey-for-text);
4141
}
@@ -44,8 +44,8 @@
4444
display: flex;
4545
flex-direction: row;
4646
gap: 12px;
47-
overflow-x: auto;
4847
padding-bottom: 0;
48+
overflow-x: auto;
4949

5050
@include responsive.apply-desktop {
5151
flex-direction: column;
@@ -81,10 +81,10 @@
8181

8282
.progress {
8383
&__task {
84-
height: 23px;
84+
flex-shrink: 0;
8585
min-width: 42px;
86+
height: 23px;
8687
padding: 4px 0;
87-
flex-shrink: 0;
8888
text-align: center;
8989
background-color: var(--light-white);
9090
border-radius: var(--rounded-xl);
@@ -110,9 +110,9 @@
110110
position: fixed;
111111
bottom: 1%;
112112
left: 7%;
113-
113+
114114
@include responsive.apply-desktop {
115115
position: static;
116116
}
117117
}
118-
}
118+
}

projects/social_platform/src/app/office/courses/lesson/shared/exclude-task/exclude-task.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
display: flex;
66
flex-direction: column;
77
gap: 12px;
8-
8+
99
@include responsive.apply-desktop {
1010
flex-direction: row;
1111
gap: 20px;

projects/social_platform/src/app/office/courses/lesson/shared/file-task/file-task.component.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
@include responsive.apply-desktop {
1010
flex-direction: row;
1111
gap: 20px;
12-
12+
1313
&--hasVideo {
1414
flex-direction: row;
1515
}
1616
}
1717

1818
&__header,
1919
&__content {
20-
min-height: 0px;
20+
min-height: 0;
2121
padding: 12px;
2222
background: var(--light-white);
2323
border: 0.5px solid var(--medium-grey-for-outline);
2424
border-radius: var(--rounded-lg);
25-
25+
2626
@include responsive.apply-desktop {
2727
min-height: 358px;
2828
padding: 24px;
@@ -43,14 +43,14 @@
4343
.control {
4444
max-height: 61px;
4545
border-radius: var(--rounded-lg);
46-
46+
4747
@include responsive.apply-desktop {
4848
max-height: 83px;
4949
}
5050
}
5151
}
5252
}
53-
53+
5454
@include responsive.apply-desktop {
5555
padding: 12px 24px;
5656
}

projects/social_platform/src/app/office/courses/lesson/shared/radio-select-task/radio-select-task.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
display: flex;
66
flex-direction: column;
77
gap: 12px;
8-
8+
99
@include responsive.apply-desktop {
1010
flex-direction: row;
1111
gap: 20px;

projects/social_platform/src/app/office/courses/lesson/shared/video-task/info-task.component.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
background-color: var(--light-white);
1313
border: 0.5px solid var(--medium-grey-for-outline);
1414
border-radius: var(--rounded-lg);
15-
15+
1616
@include responsive.apply-desktop {
17-
padding: 24px;
1817
gap: 24px;
18+
padding: 24px;
1919
}
2020

2121
iframe {
@@ -35,7 +35,7 @@
3535

3636
&--hasImage {
3737
flex-direction: column;
38-
38+
3939
@include responsive.apply-desktop {
4040
flex-direction: row-reverse;
4141
}
@@ -54,7 +54,7 @@
5454
&--hasVideo {
5555
flex-direction: column;
5656
flex-grow: 1;
57-
57+
5858
@include responsive.apply-desktop {
5959
flex-direction: row;
6060
}
@@ -63,7 +63,7 @@
6363
&--hasImage {
6464
flex-direction: column-reverse;
6565
flex-grow: 1;
66-
66+
6767
@include responsive.apply-desktop {
6868
flex-direction: row-reverse;
6969
}

projects/social_platform/src/app/office/courses/lesson/shared/write-task/write-task.component.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@include responsive.apply-desktop {
99
flex-direction: row;
1010
gap: 20px;
11-
11+
1212
&--hasVideo {
1313
flex-direction: row;
1414
}
@@ -20,7 +20,7 @@
2020
background: var(--light-white);
2121
border: 0.5px solid var(--medium-grey-for-outline);
2222
border-radius: var(--rounded-lg);
23-
23+
2424
@include responsive.apply-desktop {
2525
min-height: 358px;
2626
}
@@ -34,7 +34,7 @@
3434
min-width: 333px;
3535
max-width: 350px;
3636
padding: 12px;
37-
37+
3838
@include responsive.apply-desktop {
3939
padding: 12px 24px;
4040
}
@@ -64,7 +64,7 @@
6464
aspect-ratio: 16 / 9;
6565
border: 0;
6666
border-radius: var(--rounded-lg);
67-
67+
6868
@include responsive.apply-desktop {
6969
height: 223px;
7070
}
@@ -98,14 +98,14 @@
9898
&__textarea {
9999
display: block;
100100
width: 100%;
101+
min-height: 125px;
101102
padding: 12px 18px;
102103
resize: none;
103104
border: 0.5px solid var(--medium-grey-for-outline);
104105
border-radius: var(--rounded-lg);
105106
outline: none;
106107
scrollbar-width: none;
107-
min-height: 125px;
108-
108+
109109
@include responsive.apply-desktop {
110110
min-height: 341px;
111111
}

0 commit comments

Comments
 (0)