@selfcommunity/react-theme-default 0.4.5-alpha.8 → 0.4.5-payments.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/SCAccordionLessons.d.ts +55 -0
- package/lib/cjs/components/SCAccordionLessons.js +53 -0
- package/lib/cjs/components/SCAddUsersButton.d.ts +19 -0
- package/lib/cjs/components/SCAddUsersButton.js +21 -0
- package/lib/cjs/components/SCBaseItemButton.d.ts +26 -35
- package/lib/cjs/components/SCBaseItemButton.js +27 -36
- package/lib/cjs/components/SCBuyButton.d.ts +15 -0
- package/lib/cjs/components/SCBuyButton.js +13 -0
- package/lib/cjs/components/SCCheckoutSuccessDialog.d.ts +23 -0
- package/lib/cjs/components/SCCheckoutSuccessDialog.js +23 -0
- package/lib/cjs/components/SCCommentObject.d.ts +7 -17
- package/lib/cjs/components/SCCommentObject.js +7 -17
- package/lib/cjs/components/SCComposer.d.ts +50 -14
- package/lib/cjs/components/SCComposer.js +73 -16
- package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
- package/lib/cjs/components/SCCourse.d.ts +243 -0
- package/lib/cjs/components/SCCourse.js +245 -0
- package/lib/cjs/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/cjs/components/SCCourseCompletedDialog.js +23 -0
- package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/cjs/components/SCCourseContentMenu.js +42 -0
- package/lib/cjs/components/SCCourseDashboard.d.ts +337 -0
- package/lib/cjs/components/SCCourseDashboard.js +329 -0
- package/lib/cjs/components/SCCourseForm.d.ts +143 -0
- package/lib/cjs/components/SCCourseForm.js +144 -0
- package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/cjs/components/SCCourseFormDialog.js +8 -0
- package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
- package/lib/cjs/components/SCCourseParticipantsButton.d.ts +56 -0
- package/lib/cjs/components/SCCourseParticipantsButton.js +53 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/cjs/components/SCCourseUsersTable.js +82 -0
- package/lib/cjs/components/SCCourses.d.ts +133 -0
- package/lib/cjs/components/SCCourses.js +135 -0
- package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateCourseButton.js +14 -0
- package/lib/cjs/components/SCEditCourse.d.ts +273 -0
- package/lib/cjs/components/SCEditCourse.js +271 -0
- package/lib/cjs/components/SCEditor.d.ts +20 -0
- package/lib/cjs/components/SCEditor.js +20 -0
- package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
- package/lib/cjs/components/SCEmptyStatus.js +33 -0
- package/lib/cjs/components/SCFeedObject.d.ts +18 -12
- package/lib/cjs/components/SCFeedObject.js +18 -12
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/cjs/components/SCLessonAppbar.d.ts +27 -0
- package/lib/cjs/components/SCLessonAppbar.js +28 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
- package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/cjs/components/SCLessonCommentObject.js +119 -0
- package/lib/cjs/components/SCLessonCommentObjects.d.ts +48 -0
- package/lib/cjs/components/SCLessonCommentObjects.js +50 -0
- package/lib/cjs/components/SCLessonDrawer.d.ts +42 -0
- package/lib/cjs/components/SCLessonDrawer.js +44 -0
- package/lib/cjs/components/SCLessonEditForm.d.ts +33 -0
- package/lib/cjs/components/SCLessonEditForm.js +33 -0
- package/lib/cjs/components/SCLessonObject.d.ts +48 -0
- package/lib/cjs/components/SCLessonObject.js +51 -0
- package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
- package/lib/cjs/components/SCLessonTemplate.d.ts +20 -0
- package/lib/cjs/components/SCLessonTemplate.js +20 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/cjs/components/SCLiveStreamForm.js +10 -1
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +3 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCPaymentProduct.d.ts +55 -0
- package/lib/cjs/components/SCPaymentProduct.js +53 -0
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProductPrice.js +13 -0
- package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProducts.js +13 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +9 -3
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +15 -6
- package/lib/cjs/index.d.ts +2739 -642
- package/lib/cjs/index.js +74 -2
- package/lib/esm/components/SCAccordionLessons.d.ts +55 -0
- package/lib/esm/components/SCAccordionLessons.js +51 -0
- package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
- package/lib/esm/components/SCAddUsersButton.js +19 -0
- package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
- package/lib/esm/components/SCBaseItemButton.js +27 -36
- package/lib/esm/components/SCBuyButton.d.ts +15 -0
- package/lib/esm/components/SCBuyButton.js +11 -0
- package/lib/esm/components/SCCheckoutSuccessDialog.d.ts +23 -0
- package/lib/esm/components/SCCheckoutSuccessDialog.js +21 -0
- package/lib/esm/components/SCCommentObject.d.ts +7 -17
- package/lib/esm/components/SCCommentObject.js +7 -17
- package/lib/esm/components/SCComposer.d.ts +50 -14
- package/lib/esm/components/SCComposer.js +73 -16
- package/lib/esm/components/SCContributionActionsMenu.js +1 -1
- package/lib/esm/components/SCCourse.d.ts +243 -0
- package/lib/esm/components/SCCourse.js +243 -0
- package/lib/esm/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/esm/components/SCCourseCompletedDialog.js +21 -0
- package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/esm/components/SCCourseContentMenu.js +40 -0
- package/lib/esm/components/SCCourseDashboard.d.ts +337 -0
- package/lib/esm/components/SCCourseDashboard.js +327 -0
- package/lib/esm/components/SCCourseForm.d.ts +143 -0
- package/lib/esm/components/SCCourseForm.js +142 -0
- package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/esm/components/SCCourseFormDialog.js +6 -0
- package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCCourseInfoDetails.js +41 -0
- package/lib/esm/components/SCCourseParticipantsButton.d.ts +56 -0
- package/lib/esm/components/SCCourseParticipantsButton.js +51 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/esm/components/SCCourseUsersTable.js +80 -0
- package/lib/esm/components/SCCourses.d.ts +133 -0
- package/lib/esm/components/SCCourses.js +133 -0
- package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/esm/components/SCCreateCourseButton.js +12 -0
- package/lib/esm/components/SCEditCourse.d.ts +273 -0
- package/lib/esm/components/SCEditCourse.js +269 -0
- package/lib/esm/components/SCEditor.d.ts +20 -0
- package/lib/esm/components/SCEditor.js +20 -0
- package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
- package/lib/esm/components/SCEmptyStatus.js +31 -0
- package/lib/esm/components/SCFeedObject.d.ts +18 -12
- package/lib/esm/components/SCFeedObject.js +18 -12
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/esm/components/SCLessonAppbar.d.ts +27 -0
- package/lib/esm/components/SCLessonAppbar.js +26 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
- package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/esm/components/SCLessonCommentObject.js +117 -0
- package/lib/esm/components/SCLessonCommentObjects.d.ts +48 -0
- package/lib/esm/components/SCLessonCommentObjects.js +48 -0
- package/lib/esm/components/SCLessonDrawer.d.ts +42 -0
- package/lib/esm/components/SCLessonDrawer.js +42 -0
- package/lib/esm/components/SCLessonEditForm.d.ts +33 -0
- package/lib/esm/components/SCLessonEditForm.js +31 -0
- package/lib/esm/components/SCLessonObject.d.ts +48 -0
- package/lib/esm/components/SCLessonObject.js +49 -0
- package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
- package/lib/esm/components/SCLessonTemplate.d.ts +20 -0
- package/lib/esm/components/SCLessonTemplate.js +18 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/esm/components/SCLiveStreamForm.js +10 -1
- package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/esm/components/SCLiveStreamRoom.js +27 -1
- package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/esm/components/SCLiveStreamSelector.js +3 -1
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/esm/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCPaymentProduct.d.ts +55 -0
- package/lib/esm/components/SCPaymentProduct.js +51 -0
- package/lib/esm/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/esm/components/SCPaymentProductPrice.js +11 -0
- package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
- package/lib/esm/components/SCPaymentProducts.js +11 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +9 -3
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +15 -6
- package/lib/esm/index.d.ts +2739 -642
- package/lib/esm/index.js +74 -2
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +9 -3
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
snippetRoot: ({ theme }) => ({
|
|
5
|
+
overflow: 'visible',
|
|
6
|
+
boxSizing: 'border-box',
|
|
7
|
+
paddingLeft: `${theme.spacing()} !important`,
|
|
8
|
+
paddingRight: `${theme.spacing()} !important`,
|
|
9
|
+
'& .SCBaseItem-image': {
|
|
10
|
+
'& .MuiAvatar-root': {
|
|
11
|
+
width: 100,
|
|
12
|
+
height: 60,
|
|
13
|
+
'& img': {
|
|
14
|
+
borderRadius: '5px'
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
'& .SCCourse-snippet-image': {
|
|
19
|
+
position: 'relative',
|
|
20
|
+
'& .SCCourse-snippet-in-progress': {
|
|
21
|
+
height: 18,
|
|
22
|
+
backgroundColor: theme.palette.secondary.main,
|
|
23
|
+
position: 'absolute',
|
|
24
|
+
top: 5,
|
|
25
|
+
right: 3,
|
|
26
|
+
color: theme.palette.common.white,
|
|
27
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
28
|
+
'& span': {
|
|
29
|
+
fontSize: '0.8rem',
|
|
30
|
+
paddingLeft: theme.spacing(0.5),
|
|
31
|
+
paddingRight: theme.spacing(0.5)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
'& .SCBaseItem-text': {
|
|
36
|
+
fontSize: theme.typography.fontSize,
|
|
37
|
+
'& .SCCourse-snippet-primary': {
|
|
38
|
+
color: theme.palette.text.primary,
|
|
39
|
+
textDecoration: 'none',
|
|
40
|
+
'&:hover': {
|
|
41
|
+
textDecoration: 'none'
|
|
42
|
+
},
|
|
43
|
+
'& p': {
|
|
44
|
+
fontWeight: theme.typography.fontWeightBold
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
'& .SCCourse-snippet-secondary': {
|
|
48
|
+
color: theme.palette.text.secondary
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
'& .SCCourse-chip': {
|
|
52
|
+
textTransform: 'uppercase',
|
|
53
|
+
position: 'absolute',
|
|
54
|
+
top: theme.spacing(1),
|
|
55
|
+
left: theme.spacing(0.5),
|
|
56
|
+
color: theme.palette.common.white,
|
|
57
|
+
borderRadius: 0,
|
|
58
|
+
'& .MuiChip-label': {
|
|
59
|
+
fontWeight: 700,
|
|
60
|
+
padding: theme.spacing(0.5)
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}),
|
|
64
|
+
previewRoot: ({ theme }) => ({
|
|
65
|
+
minHeight: '290px',
|
|
66
|
+
'& .SCCourse-preview-image-wrapper': {
|
|
67
|
+
position: 'relative',
|
|
68
|
+
'& .SCCourse-preview-image': {
|
|
69
|
+
height: '110px'
|
|
70
|
+
},
|
|
71
|
+
'& .SCCourse-chip': {
|
|
72
|
+
textTransform: 'uppercase',
|
|
73
|
+
position: 'absolute',
|
|
74
|
+
top: theme.spacing(2),
|
|
75
|
+
left: theme.spacing(2),
|
|
76
|
+
color: theme.palette.common.white,
|
|
77
|
+
borderRadius: 0,
|
|
78
|
+
'& .MuiChip-label': {
|
|
79
|
+
fontWeight: 700,
|
|
80
|
+
padding: theme.spacing(0.5)
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
'& .SCCourse-preview-avatar': {
|
|
84
|
+
position: 'absolute',
|
|
85
|
+
bottom: theme.spacing(-2),
|
|
86
|
+
left: theme.spacing(1.5),
|
|
87
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
88
|
+
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
89
|
+
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
'& .SCCourse-preview-content': {
|
|
93
|
+
padding: theme.spacing(2),
|
|
94
|
+
'& .SCCourse-preview-creator': {
|
|
95
|
+
paddingTop: 0,
|
|
96
|
+
marginBottom: theme.spacing(1)
|
|
97
|
+
},
|
|
98
|
+
'& .SCCourse-preview-name-wrapper': {
|
|
99
|
+
textDecoration: 'none',
|
|
100
|
+
color: 'inherit',
|
|
101
|
+
h6: {
|
|
102
|
+
fontWeight: 700
|
|
103
|
+
},
|
|
104
|
+
'& .SCCourse-preview-name': {
|
|
105
|
+
display: '-webkit-box',
|
|
106
|
+
height: theme.spacing(4),
|
|
107
|
+
marginBottom: theme.spacing(0.5),
|
|
108
|
+
textOverflow: 'ellipsis',
|
|
109
|
+
overflow: 'hidden',
|
|
110
|
+
WebkitLineClamp: '2',
|
|
111
|
+
WebkitBoxOrient: 'vertical',
|
|
112
|
+
lineHeight: 1.2
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
'& .SCCourse-preview-info': {
|
|
116
|
+
height: theme.spacing(3),
|
|
117
|
+
display: 'flex',
|
|
118
|
+
alignItems: 'center',
|
|
119
|
+
marginBottom: theme.spacing(1)
|
|
120
|
+
},
|
|
121
|
+
'& .SCCourse-preview-category': {
|
|
122
|
+
[theme.breakpoints.up('sm')]: {
|
|
123
|
+
height: theme.spacing(4)
|
|
124
|
+
},
|
|
125
|
+
'& .MuiChip-root': {
|
|
126
|
+
marginRight: theme.spacing(0.5)
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
'& .SCCourse-preview-progress': {
|
|
131
|
+
[theme.breakpoints.up('sm')]: {
|
|
132
|
+
height: theme.spacing(3)
|
|
133
|
+
},
|
|
134
|
+
justifyContent: 'center',
|
|
135
|
+
padding: theme.spacing(1),
|
|
136
|
+
'& .MuiLinearProgress-root': {
|
|
137
|
+
width: '100%',
|
|
138
|
+
height: 5,
|
|
139
|
+
borderRadius: 5,
|
|
140
|
+
marginTop: theme.spacing(1)
|
|
141
|
+
},
|
|
142
|
+
'& .SCCourse-preview-completed-status': {
|
|
143
|
+
display: 'flex',
|
|
144
|
+
alignItems: 'center',
|
|
145
|
+
justifyContent: 'center',
|
|
146
|
+
'& .MuiIcon-root': {
|
|
147
|
+
marginRight: theme.spacing(1)
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
'& .SCCourse-preview-progress-bar': {
|
|
151
|
+
backgroundColor: theme.palette.grey['300']
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
'& .SCCourse-preview-actions': {
|
|
155
|
+
justifyContent: 'center',
|
|
156
|
+
padding: theme.spacing(2)
|
|
157
|
+
}
|
|
158
|
+
}),
|
|
159
|
+
createPlaceholderRoot: ({ theme }) => ({
|
|
160
|
+
minHeight: '290px',
|
|
161
|
+
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
162
|
+
position: 'relative',
|
|
163
|
+
'& .SCCourse-create-placeholder-image': {
|
|
164
|
+
height: '110px'
|
|
165
|
+
},
|
|
166
|
+
'& .SCCourse-create-placeholder-icon': {
|
|
167
|
+
position: 'absolute',
|
|
168
|
+
top: '50%',
|
|
169
|
+
left: '50%',
|
|
170
|
+
transform: 'translate(-50%, -50%)',
|
|
171
|
+
color: theme.palette.common.white
|
|
172
|
+
},
|
|
173
|
+
'& .SCCourse-create-placeholder-chip': {
|
|
174
|
+
backgroundColor: theme.palette.grey['600'],
|
|
175
|
+
position: 'absolute',
|
|
176
|
+
top: theme.spacing(2),
|
|
177
|
+
left: theme.spacing(2),
|
|
178
|
+
color: theme.palette.common.white,
|
|
179
|
+
borderRadius: 0,
|
|
180
|
+
'& .MuiChip-label': {
|
|
181
|
+
fontWeight: 700,
|
|
182
|
+
padding: theme.spacing(0.5)
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
'& .SCCourse-create-placeholder-avatar': {
|
|
186
|
+
position: 'absolute',
|
|
187
|
+
bottom: theme.spacing(-2),
|
|
188
|
+
left: theme.spacing(1.5),
|
|
189
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
190
|
+
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
191
|
+
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
'& .SCCourse-create-placeholder-actions': {
|
|
195
|
+
display: 'flex',
|
|
196
|
+
justifyContent: 'center',
|
|
197
|
+
height: '246px'
|
|
198
|
+
}
|
|
199
|
+
}),
|
|
200
|
+
skeletonRoot: ({ theme }) => ({
|
|
201
|
+
'& .SCCourse-skeleton-preview-root': {
|
|
202
|
+
'& .SCCourse-skeleton-preview-avatar': {
|
|
203
|
+
position: 'absolute',
|
|
204
|
+
bottom: '-20px',
|
|
205
|
+
left: theme.spacing(1.5),
|
|
206
|
+
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
207
|
+
},
|
|
208
|
+
'& .SCCourse-skeleton-preview-content': {
|
|
209
|
+
padding: `16px ${theme.spacing(2)} 0 !important`
|
|
210
|
+
},
|
|
211
|
+
'& .SCCourse-skeleton-preview-actions': {
|
|
212
|
+
display: 'flex',
|
|
213
|
+
marginTop: theme.spacing(4),
|
|
214
|
+
justifyContent: 'center',
|
|
215
|
+
padding: theme.spacing(2)
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
'& .SCCourse-skeleton-snippet-root': {
|
|
219
|
+
overflow: 'visible',
|
|
220
|
+
boxSizing: 'border-box',
|
|
221
|
+
paddingLeft: `${theme.spacing()} !important`,
|
|
222
|
+
paddingRight: `${theme.spacing()} !important`,
|
|
223
|
+
'& .SCCourse-skeleton-snippet-image': {
|
|
224
|
+
position: 'relative',
|
|
225
|
+
'& .MuiSkeleton-root': {
|
|
226
|
+
borderRadius: '5px'
|
|
227
|
+
},
|
|
228
|
+
'& .MuiIcon-root': {
|
|
229
|
+
color: theme.palette.common.white,
|
|
230
|
+
position: 'absolute',
|
|
231
|
+
top: '50%',
|
|
232
|
+
left: '50%',
|
|
233
|
+
transform: 'translate(-50%, -50%)'
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
'& .SCBaseItem-actions': {
|
|
237
|
+
maxWidth: 'none !important'
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
})
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
export default Component;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: () => {
|
|
4
|
+
'& .SCCourseCompletedDialog-wrapper': {
|
|
5
|
+
alignItems: string;
|
|
6
|
+
'& .SCCourseCompletedDialog-title': {
|
|
7
|
+
marginTop: string;
|
|
8
|
+
marginBottom: string;
|
|
9
|
+
};
|
|
10
|
+
'& .SCCourseCompletedDialog-description-pt1': {
|
|
11
|
+
marginTop: string;
|
|
12
|
+
};
|
|
13
|
+
'& .SCCourseCompletedDialog-description-pt2': {
|
|
14
|
+
marginTop: string;
|
|
15
|
+
marginBottom: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default Component;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: () => ({
|
|
4
|
+
'& .SCCourseCompletedDialog-wrapper': {
|
|
5
|
+
alignItems: 'center',
|
|
6
|
+
'& .SCCourseCompletedDialog-title': {
|
|
7
|
+
marginTop: '60px',
|
|
8
|
+
marginBottom: '27px'
|
|
9
|
+
},
|
|
10
|
+
'& .SCCourseCompletedDialog-description-pt1': {
|
|
11
|
+
marginTop: '27px'
|
|
12
|
+
},
|
|
13
|
+
'& .SCCourseCompletedDialog-description-pt2': {
|
|
14
|
+
marginTop: '11px',
|
|
15
|
+
marginBottom: '53px'
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
})
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
export default Component;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .MuiList-root': {
|
|
5
|
+
'& .Mui-selected': {
|
|
6
|
+
backgroundColor: any;
|
|
7
|
+
'&:hover, &:focus, &:active': {
|
|
8
|
+
backgroundColor: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
'& .SCCourseContentMenu-list-item': {
|
|
13
|
+
'&:hover, &:focus, &:active': {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'& .SCCourseContentMenu-list-item-icon': {
|
|
18
|
+
minWidth: any;
|
|
19
|
+
color: any;
|
|
20
|
+
};
|
|
21
|
+
'& .SCCourseContentMenu-item': {
|
|
22
|
+
padding: any;
|
|
23
|
+
'& .MuiListItemText-primary': {
|
|
24
|
+
fontWeight: any;
|
|
25
|
+
};
|
|
26
|
+
'&:hover': {
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'& .SCCourseContentMenu-item-icon': {
|
|
31
|
+
minWidth: any;
|
|
32
|
+
};
|
|
33
|
+
'& .SCCourseContentMenu-icon-complete': {
|
|
34
|
+
color: any;
|
|
35
|
+
};
|
|
36
|
+
'& .SCCourseContentMenu-icon-incomplete': {
|
|
37
|
+
color: any;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default Component;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .MuiList-root': {
|
|
5
|
+
'& .Mui-selected': {
|
|
6
|
+
backgroundColor: theme.palette.grey[300],
|
|
7
|
+
'&:hover, &:focus, &:active': {
|
|
8
|
+
backgroundColor: theme.palette.grey[300]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
'& .SCCourseContentMenu-list-item': {
|
|
13
|
+
'&:hover, &:focus, &:active': {
|
|
14
|
+
backgroundColor: 'transparent'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'& .SCCourseContentMenu-list-item-icon': {
|
|
18
|
+
minWidth: theme.spacing(3),
|
|
19
|
+
color: theme.palette.text.secondary
|
|
20
|
+
},
|
|
21
|
+
'& .SCCourseContentMenu-item': {
|
|
22
|
+
padding: theme.spacing(0.5, 0, 0.5, 3),
|
|
23
|
+
'& .MuiListItemText-primary': {
|
|
24
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
25
|
+
},
|
|
26
|
+
'&:hover': { backgroundColor: 'transparent' }
|
|
27
|
+
},
|
|
28
|
+
'& .SCCourseContentMenu-item-icon': {
|
|
29
|
+
minWidth: theme.spacing(4)
|
|
30
|
+
},
|
|
31
|
+
'& .SCCourseContentMenu-icon-complete': {
|
|
32
|
+
color: theme.palette.success.main
|
|
33
|
+
},
|
|
34
|
+
'& .SCCourseContentMenu-icon-incomplete': {
|
|
35
|
+
color: theme.palette.grey[300]
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export default Component;
|