pxt-core 7.3.7 → 7.3.8
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/built/cli.js +4 -1
- package/built/pxt.js +15 -1
- package/built/pxtlib.d.ts +9 -0
- package/built/pxtlib.js +11 -0
- package/built/target.js +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +1 -1
- package/built/web/pxtembed.js +1 -1
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/react-common.css +252 -0
- package/built/web/rtlsemantic.css +3 -3
- package/built/web/semantic.css +3 -3
- package/built/web/skillmap/css/main.2461a333.chunk.css +1 -0
- package/built/web/skillmap/js/2.9cb94aa0.chunk.js +2 -0
- package/built/web/skillmap/js/main.c49acd24.chunk.js +1 -0
- package/localtypings/pxtarget.d.ts +30 -0
- package/package.json +3 -2
- package/theme/highcontrast.less +14 -0
- package/theme/pxt.less +1 -0
- package/theme/themes/pxt/modules/dropdown.overrides +2 -1
- package/webapp/public/skillmap.html +3 -2
- package/built/web/skillmap/css/main.90d453fd.chunk.css +0 -1
- package/built/web/skillmap/js/2.fbe3f08f.chunk.js +0 -2
- package/built/web/skillmap/js/main.e8ffa077.chunk.js +0 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
.user-profile {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
height: 100%;
|
|
5
|
+
|
|
6
|
+
--background-color: #fef3e0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.profile-user-pane {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
width: 25%;
|
|
13
|
+
padding: 1rem;
|
|
14
|
+
border-right: solid 1px black;
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-width: 20rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.profile-portrait {
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
height: 12rem;
|
|
23
|
+
width: 12rem;
|
|
24
|
+
position: relative;
|
|
25
|
+
border: solid white 2px;
|
|
26
|
+
align-self: center;
|
|
27
|
+
margin-bottom: 1rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.profile-portrait img {
|
|
31
|
+
width: 110%;
|
|
32
|
+
height: 110%;
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: -5%;
|
|
35
|
+
top: -5%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.profile-user-details {
|
|
39
|
+
text-align: center;
|
|
40
|
+
margin-bottom: 3rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.profile-display-name {
|
|
44
|
+
font-size: 1.5rem;
|
|
45
|
+
color: black;
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
font-weight: 900;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.profile-username {
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
color: #999999;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.profile-spacer {
|
|
56
|
+
flex-grow: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.profile-actions {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.profile-actions a {
|
|
66
|
+
flex-grow: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.profile-notification {
|
|
70
|
+
width: 100%;
|
|
71
|
+
border: solid 1px black;
|
|
72
|
+
position: relative;
|
|
73
|
+
border-radius: 1rem;
|
|
74
|
+
padding: 1rem;
|
|
75
|
+
padding-top: 2rem;
|
|
76
|
+
background: white;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.profile-notification .profile-notification-title {
|
|
82
|
+
font-weight: 900;
|
|
83
|
+
text-align: center;
|
|
84
|
+
margin-bottom: 1rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.profile-notification .profile-notification-message {
|
|
88
|
+
margin-bottom: 1rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
.profile-notification .profile-notification-icon {
|
|
93
|
+
width: 3.25rem;
|
|
94
|
+
height: 3.25rem;
|
|
95
|
+
border: solid 1px black;
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: -1.625rem;
|
|
99
|
+
left: calc(50% - 1.625rem);
|
|
100
|
+
background: #dedede;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.profile-notification .profile-notification-icon i.circular.icon {
|
|
104
|
+
box-shadow: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.profile-badge-list {
|
|
108
|
+
flex-grow: 1;
|
|
109
|
+
height: 100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
padding: 1rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.profile-badges-scroller {
|
|
116
|
+
flex-grow: 1;
|
|
117
|
+
overflow-y: scroll;
|
|
118
|
+
position: relative;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.profile-badges, .profile-badges-background {
|
|
122
|
+
background-repeat: repeat;
|
|
123
|
+
min-height: 100%;
|
|
124
|
+
background-size: 20%;
|
|
125
|
+
display: grid;
|
|
126
|
+
grid-template-columns: repeat(5, 1fr);
|
|
127
|
+
grid-auto-rows: 12rem;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.profile-badges .profile-badge, .profile-badges-background .profile-badge {
|
|
132
|
+
position: relative;
|
|
133
|
+
aspect-ratio: 1;
|
|
134
|
+
background-color: var(--background-color);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
.profile-badges .profile-badge img, .profile-badges-background .profile-badge img {
|
|
139
|
+
height: 100%;
|
|
140
|
+
width: 100%;
|
|
141
|
+
display: inline;
|
|
142
|
+
position: absolute;
|
|
143
|
+
object-fit: contain;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
.profile-badge.disabled img {
|
|
148
|
+
filter: grayscale(1);
|
|
149
|
+
opacity: 0.5;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.profile-badge.disabled i.ui.icon {
|
|
153
|
+
line-height: 1;
|
|
154
|
+
vertical-align: middle;
|
|
155
|
+
font-size: 4em;
|
|
156
|
+
width: 100%;
|
|
157
|
+
z-index: 1;
|
|
158
|
+
position: absolute;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.placeholder-badge {
|
|
162
|
+
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' fill='black' r='3' opacity='0.1' /%3E%3C/svg%3E");
|
|
163
|
+
background-repeat: no-repeat;
|
|
164
|
+
background-position: center;
|
|
165
|
+
aspect-ratio: 1;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.profile-badges-background-container {
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 0;
|
|
171
|
+
left: 0;
|
|
172
|
+
height: 100%;
|
|
173
|
+
width: 100%;
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.profile-badge-title {
|
|
178
|
+
text-transform: uppercase;
|
|
179
|
+
font-weight: 900;
|
|
180
|
+
font-size: 1.5rem;
|
|
181
|
+
margin-right: 1rem;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.profile-badge-header {
|
|
185
|
+
margin-bottom: 1rem;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.profile-badge-info-header {
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
font-weight: 900;
|
|
191
|
+
margin-top: 1rem;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.profile-badge-info-image .profile-badge {
|
|
195
|
+
text-align: center;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.profile-badge-info-image .profile-badge img {
|
|
199
|
+
display: inline;
|
|
200
|
+
height: 15rem;
|
|
201
|
+
object-fit: contain;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.profile-badge {
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
align-content: center;
|
|
209
|
+
position: relative;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.profile-badge-and-title {
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: column;
|
|
215
|
+
max-height: 100%;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.profile-badge-and-title .profile-badge-title {
|
|
219
|
+
font-size: 1rem;
|
|
220
|
+
text-overflow: ellipsis;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
width: 100%;
|
|
223
|
+
margin-right: 0;
|
|
224
|
+
text-align: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.profile-initials-portrait {
|
|
228
|
+
font-size: 8rem;
|
|
229
|
+
text-align: center;
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
justify-content: center;
|
|
233
|
+
height: 100%;
|
|
234
|
+
color: white;
|
|
235
|
+
background-color: #028B9B;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@media only screen and (max-width: 1200px) and (min-width: 992px) {
|
|
239
|
+
.profile-badges, .profile-badges-background {
|
|
240
|
+
background-size: 25%;
|
|
241
|
+
grid-template-columns: repeat(4, 1fr);
|
|
242
|
+
grid-auto-rows: 12rem;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@media only screen and (max-width: 991px) {
|
|
247
|
+
.profile-badges, .profile-badges-background {
|
|
248
|
+
background-size: 33%;
|
|
249
|
+
grid-template-columns: repeat(3, 1fr);
|
|
250
|
+
grid-auto-rows: 12rem;
|
|
251
|
+
}
|
|
252
|
+
}
|