@edx/frontend-plugin-advertisements 1.39.0 → 2.0.0
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.
|
@@ -1,48 +1,47 @@
|
|
|
1
|
-
@import '~@openedx/paragon/scss/core/core.scss';
|
|
2
1
|
.verified-cell {
|
|
3
|
-
color:
|
|
4
|
-
background-color:
|
|
5
|
-
border-left: 3px solid
|
|
6
|
-
border-right: 3px solid
|
|
2
|
+
color: var(--pgn-color-success-700);
|
|
3
|
+
background-color: var(--pgn-color-success-100);
|
|
4
|
+
border-left: 3px solid var(--pgn-color-success-500);
|
|
5
|
+
border-right: 3px solid var(--pgn-color-success-500);
|
|
7
6
|
padding: 8px;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.bottom-verified-border {
|
|
11
10
|
border-bottom-left-radius: 0.375rem;
|
|
12
11
|
border-bottom-right-radius: 0.375rem;
|
|
13
|
-
border-bottom: 3px solid
|
|
12
|
+
border-bottom: 3px solid var(--pgn-color-success-500);
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
.top-verified-border {
|
|
17
16
|
border-top-left-radius: 0.375rem;
|
|
18
17
|
border-top-right-radius: 0.375rem;
|
|
19
|
-
border-top: 3px solid
|
|
18
|
+
border-top: 3px solid var(--pgn-color-success-500);
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
.bottom-audit-border {
|
|
23
22
|
border-bottom-left-radius: 0.375rem;
|
|
24
23
|
border-bottom-right-radius: 0.375rem;
|
|
25
|
-
border-bottom: 1px solid
|
|
24
|
+
border-bottom: 1px solid var(--pgn-color-light-500);
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.top-audit-border {
|
|
29
28
|
border-top-left-radius: 0.375rem;
|
|
30
29
|
border-top-right-radius: 0.375rem;
|
|
31
|
-
border-top: 1px solid
|
|
30
|
+
border-top: 1px solid var(--pgn-color-light-500);
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.audit-cell {
|
|
35
|
-
color:
|
|
36
|
-
background-color:
|
|
37
|
-
border-left: 1px solid
|
|
38
|
-
border-right: 1px solid
|
|
34
|
+
color: var(--pgn-color-gray-500);
|
|
35
|
+
background-color: var(--pgn-color-light-200);
|
|
36
|
+
border-left: 1px solid var(--pgn-color-light-500);
|
|
37
|
+
border-right: 1px solid var(--pgn-color-light-500);
|
|
39
38
|
margin-right: 8px;
|
|
40
39
|
padding: 8px;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.feature-cell {
|
|
44
|
-
border-bottom: 1px solid
|
|
45
|
-
color:
|
|
43
|
+
border-bottom: 1px solid var(--pgn-color-light-500);
|
|
44
|
+
color: var(--pgn-color-gray-700);
|
|
46
45
|
padding: 8px 8px 8px 0;
|
|
47
46
|
}
|
|
48
47
|
|
package/dist/index.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '~@openedx/paragon/scss/core/core.scss';
|
|
2
|
-
|
|
3
1
|
.certificate-preview {
|
|
4
2
|
border-radius: 6px;
|
|
5
3
|
position: relative;
|
|
@@ -8,18 +6,18 @@
|
|
|
8
6
|
|
|
9
7
|
.course-outline-tab {
|
|
10
8
|
.certificate-preview {
|
|
11
|
-
@media (min-width: 505px) and (max-width
|
|
9
|
+
@media (min-width: 505px) and (--pgn-size-breakpoint-max-width-md) {
|
|
12
10
|
max-width: 65%;
|
|
13
11
|
};
|
|
14
12
|
}
|
|
15
13
|
.signatories {
|
|
16
|
-
@media (min-width
|
|
14
|
+
@media (--pgn-size-breakpoint-min-width-md) and (max-width: 1010px) {
|
|
17
15
|
display: none;
|
|
18
16
|
visibility: hidden;
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
.certificate-identifiers {
|
|
22
|
-
@media (min-width
|
|
20
|
+
@media (--pgn-size-breakpoint-min-width-md) and (max-width: 1010px) {
|
|
23
21
|
display: none;
|
|
24
22
|
visibility: hidden;
|
|
25
23
|
}
|
|
@@ -27,13 +25,13 @@
|
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
#course-sidebar .certificate-preview {
|
|
30
|
-
@media (min-width
|
|
28
|
+
@media (--pgn-size-breakpoint-min-width-md) and (--pgn-size-breakpoint-max-width-xl) {
|
|
31
29
|
max-width: 50%;
|
|
32
30
|
};
|
|
33
|
-
@media (min-width
|
|
31
|
+
@media (--pgn-size-breakpoint-min-width-sm) and (--pgn-size-breakpoint-max-width-md) {
|
|
34
32
|
max-width: 65%;
|
|
35
33
|
};
|
|
36
|
-
@media (min-width: 464px) and (max-width
|
|
34
|
+
@media (min-width: 464px) and (--pgn-size-breakpoint-max-width-sm) {
|
|
37
35
|
max-width: 75%;
|
|
38
36
|
};
|
|
39
37
|
}
|
|
@@ -48,22 +46,22 @@
|
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
.certificate-course {
|
|
51
|
-
color:
|
|
49
|
+
color: var(--pgn-color-gray-700);
|
|
52
50
|
font-size: 1rem;
|
|
53
|
-
font-weight:
|
|
51
|
+
font-weight: var(--pgn-typography-font-weight-bold);
|
|
54
52
|
text-wrap: balance;
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
.certificate-statement-detail {
|
|
58
|
-
color:
|
|
56
|
+
color: var(--pgn-color-gray-500);
|
|
59
57
|
font-size: 0.5rem;
|
|
60
58
|
text-wrap: pretty;
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
.certificate-recipient {
|
|
64
|
-
color:
|
|
62
|
+
color: var(--pgn-color-gray-700);
|
|
65
63
|
font-size: 1rem;
|
|
66
|
-
font-weight:
|
|
64
|
+
font-weight: var(--pgn-typography-font-weight-bold);
|
|
67
65
|
text-wrap: balance;
|
|
68
66
|
}
|
|
69
67
|
|
|
@@ -87,14 +85,14 @@
|
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
.signatory-credentials {
|
|
90
|
-
color:
|
|
88
|
+
color: var(--pgn-color-gray-700);
|
|
91
89
|
font-size: .4rem;
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
.signatory-name {
|
|
95
|
-
color:
|
|
93
|
+
color: var(--pgn-color-gray-700);
|
|
96
94
|
font-size: 0.5rem;
|
|
97
|
-
font-weight:
|
|
95
|
+
font-weight: var(--pgn-typography-font-weight-bold);
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
.signatory-signature {
|
|
@@ -112,7 +110,7 @@
|
|
|
112
110
|
|
|
113
111
|
> .title {
|
|
114
112
|
color: #6c757d;
|
|
115
|
-
font-weight:
|
|
113
|
+
font-weight: var(--pgn-typography-font-weight-bold);
|
|
116
114
|
}
|
|
117
115
|
> .emphasized {
|
|
118
116
|
font-weight: bolder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edx/frontend-plugin-advertisements",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Frontend plugin for edX in course advertisements",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -55,13 +55,10 @@
|
|
|
55
55
|
"semantic-release": "^21.0.7"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@edx/brand": "npm:@edx/brand-edx.org@^2.1.2",
|
|
59
58
|
"@edx/frontend-platform": "^8.0.0",
|
|
60
|
-
"@openedx/paragon": "^
|
|
59
|
+
"@openedx/paragon": "^23.0.0",
|
|
61
60
|
"classnames": "^2.3.1",
|
|
62
|
-
"core-js": "3.22.2",
|
|
63
61
|
"prop-types": "15.8.1",
|
|
64
|
-
"react": "18.3.1"
|
|
65
|
-
"regenerator-runtime": "0.13.11"
|
|
62
|
+
"react": "18.3.1"
|
|
66
63
|
}
|
|
67
64
|
}
|