Skip to content

Commit a7bf3d8

Browse files
committed
add styles for courses module & tasks-components
1 parent cdc0e40 commit a7bf3d8

9 files changed

Lines changed: 17 additions & 18 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ $detail-bar-mb: 12px;
2828

2929
&__cover {
3030
position: relative;
31+
width: 100%;
3132
height: 136px;
3233
border-radius: 15px 15px 0 0;
33-
width: 100%;
3434

3535
img {
3636
position: absolute;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
position: relative;
4949
height: 48px;
5050
padding: 10px;
51+
margin-bottom: 18px;
5152
text-align: center;
5253
background-color: var(--light-white);
5354
border: 0.5px solid var(--medium-grey-for-outline);
5455
border-radius: var(--rounded-lg);
55-
margin-bottom: 18px;
5656

5757
&--cover {
5858
position: absolute;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
&--hasContent {
1010
display: flex;
1111
flex-direction: row-reverse;
12-
1312
}
1413

1514
&__answer {
@@ -21,8 +20,8 @@
2120

2221
&--hasContent {
2322
display: flex;
24-
align-items: center;
2523
flex-direction: column;
24+
align-items: center;
2625
align-self: center;
2726
justify-content: center;
2827

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109

110110
&__image {
111111
width: 100%;
112-
height: 100%;
113112
max-width: 110px;
113+
height: 100%;
114114
max-height: 150px;
115115
border-radius: var(--rounded-lg);
116116

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
@@ -105,10 +105,10 @@
105105
display: flex;
106106
flex-direction: column;
107107
gap: 5px;
108-
text-align: center;
109108
align-items: center;
110109
justify-content: center;
111110
max-width: 333px;
111+
text-align: center;
112112
}
113113
}
114114

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828

2929
&__description,
3030
&__text {
31-
margin-top: 23px;
32-
white-space: pre-line;
3331
display: flex;
3432
flex-direction: column;
3533
gap: 10px;
34+
margin-top: 23px;
35+
white-space: pre-line;
3636

3737
&--hasVideo {
3838
display: flex;

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343
&__image {
4444
width: 100%;
45-
height: 100%;
4645
max-width: 333px;
46+
height: 100%;
4747
max-height: 137px;
4848
border-radius: var(--rounded-lg);
4949
}
@@ -60,15 +60,15 @@
6060
}
6161

6262
&__action {
63-
display: flex;
64-
align-items: center;
65-
gap: 5px;
66-
6763
position: absolute;
6864
right: 14px;
6965
bottom: 16px;
66+
display: flex;
67+
gap: 5px;
68+
align-items: center;
7069

71-
&--started, &-icon {
70+
&--started,
71+
&-icon {
7272
color: var(--green) !important;
7373
}
7474
}

projects/social_platform/src/app/ui/components/file-item/file-item.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
&__left {
2121
display: flex;
22-
align-items: center;
2322
gap: 5px;
23+
align-items: center;
2424
}
2525

2626
&__meta {
@@ -34,9 +34,9 @@
3434
justify-content: center;
3535
width: 35px;
3636
height: 35px;
37+
cursor: pointer;
3738
border: 0.5px solid var(--medium-grey-for-outline);
3839
border-radius: var(--rounded-xxl);
39-
cursor: pointer;
4040

4141
&--delete {
4242
color: var(--red);
@@ -49,8 +49,8 @@
4949
}
5050

5151
&--file {
52-
cursor: pointer;
5352
color: var(--accent);
53+
cursor: pointer;
5454
}
5555
}
5656
}

projects/social_platform/src/app/ui/components/snackbar/snackbar.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636

3737
&--info {
38-
background-color: var(--lime);
3938
color: var(--black);
39+
background-color: var(--lime);
4040
}
4141
}

0 commit comments

Comments
 (0)