mumuki-laboratory 7.4.2 → 7.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +34 -18
- data/app/assets/javascripts/mumuki_laboratory/application/codemirror.js +19 -2
- data/app/assets/javascripts/mumuki_laboratory/application/elipsis.js +31 -0
- data/app/assets/javascripts/mumuki_laboratory/application/kids.js +5 -16
- data/app/assets/javascripts/mumuki_laboratory/application/speech-bubble-renderer.js +99 -0
- data/app/assets/stylesheets/mumuki_laboratory/application.scss +1 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/_layout.scss +0 -4
- data/app/assets/stylesheets/mumuki_laboratory/application/_locked.scss +29 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_editor.scss +0 -23
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_exercise_results.scss +11 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids.scss +1 -1
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_overlap.scss +21 -2
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/popover.scss +1 -1
- data/app/controllers/application_controller.rb +25 -2
- data/app/controllers/concerns/users_controller_template.rb +6 -1
- data/app/controllers/invitations_controller.rb +1 -0
- data/app/controllers/login_controller.rb +1 -0
- data/app/helpers/application_helper.rb +1 -5
- data/app/helpers/contextualization_result_helper.rb +7 -7
- data/app/helpers/discussions_helper.rb +1 -1
- data/app/helpers/exercise_input_helper.rb +1 -1
- data/app/helpers/links_helper.rb +1 -1
- data/app/helpers/overlapped_buttons_helper.rb +17 -0
- data/app/views/book/show.html.erb +14 -6
- data/app/views/errors/gone.html.erb +4 -1
- data/app/views/exercise_solutions/_expectations.html.erb +2 -2
- data/app/views/exercise_solutions/_kids_results_button.html.erb +1 -1
- data/app/views/exercises/_read_only.html.erb +1 -1
- data/app/views/exercises/show.html.erb +19 -15
- data/app/views/layouts/_exercise_skipped.html.erb +28 -0
- data/app/views/layouts/_kids.html.erb +1 -1
- data/app/views/layouts/_test_results.html.erb +11 -8
- data/app/views/layouts/exercise_inputs/editors/_code.html.erb +8 -7
- data/app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb +8 -9
- data/app/views/layouts/exercise_inputs/forms/_interactive_form.html.erb +2 -2
- data/app/views/layouts/exercise_inputs/forms/_playground_form.html.erb +1 -1
- data/app/views/layouts/exercise_inputs/forms/_problem_form.html.erb +1 -1
- data/app/views/layouts/modals/_kids_results.html.erb +1 -1
- data/app/views/user_mailer/1st_reminder.html.erb +1 -1
- data/app/views/user_mailer/1st_reminder.text.erb +1 -1
- data/app/views/user_mailer/2nd_reminder.html.erb +1 -1
- data/app/views/user_mailer/2nd_reminder.text.erb +1 -1
- data/app/views/user_mailer/3rd_reminder.html.erb +1 -1
- data/app/views/user_mailer/3rd_reminder.text.erb +1 -1
- data/app/views/user_mailer/no_submissions_reminder.html.erb +1 -1
- data/app/views/user_mailer/no_submissions_reminder.text.erb +1 -1
- data/app/views/users/_user_form.html.erb +1 -1
- data/config/initializers/session_store.rb +1 -1
- data/lib/mumuki/laboratory/controllers.rb +1 -0
- data/lib/mumuki/laboratory/controllers/authorization.rb +0 -4
- data/lib/mumuki/laboratory/controllers/disabling.rb +5 -0
- data/lib/mumuki/laboratory/controllers/dynamic_errors.rb +16 -1
- data/lib/mumuki/laboratory/controllers/results_rendering.rb +15 -17
- data/lib/mumuki/laboratory/locales/en.yml +12 -2
- data/lib/mumuki/laboratory/locales/es.yml +13 -2
- data/lib/mumuki/laboratory/locales/pt.yml +13 -2
- data/lib/mumuki/laboratory/version.rb +1 -1
- data/spec/controllers/exercise_solutions_controller_spec.rb +29 -14
- data/spec/controllers/users_api_controller_spec.rb +1 -0
- data/spec/controllers/users_controller_spec.rb +21 -0
- data/spec/dummy/db/schema.rb +10 -1
- data/spec/dummy/db/seeds.rb +8 -0
- data/spec/features/disable_user_flow_spec.rb +34 -0
- data/spec/features/disabled_organization_flow_spec.rb +69 -0
- data/spec/features/exercise_flow_spec.rb +20 -11
- data/spec/features/home_public_flow_spec.rb +34 -2
- data/spec/helpers/test_results_rendering_spec.rb +50 -28
- data/spec/login_helper.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- metadata +32 -7
- data/app/helpers/reset_button_helper.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1f65f176a20afc043153fd22af28227114658e74314d448d62ef30bf3e82780
|
4
|
+
data.tar.gz: e8574421c0aa4e89d3dca6e91b69381f9afd7d8cf150edd66dbf9eb600734f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c435af3af604d9db394ebe6694cff164331a2fcc278d8ba6023c8ebf0b0c8293b0db0c4e32a94e11c01a11d7470fd2cf199fe674ba58e8406ab22d164c5cb35f
|
7
|
+
data.tar.gz: 5ccf4cd487feb8c1ded9ba96158aaf7570492c48afd1869546fd6aae9098f3db85843f7ffb84d0e0314356fc55f9126216b9b1cad78376c184c1d2ee679320ed
|
data/README.md
CHANGED
@@ -178,6 +178,12 @@ which are granted to be safe and stable.
|
|
178
178
|
|
179
179
|
* `mumuki.bridge.Laboratory`
|
180
180
|
* `.runTests`
|
181
|
+
* `mumuki.editor`
|
182
|
+
* `formatContent`
|
183
|
+
* `reset`
|
184
|
+
* `toggleFullscreen`
|
185
|
+
* `mumuki.elipsis`
|
186
|
+
* `replaceHtml`
|
181
187
|
* `mumuki.kids`
|
182
188
|
* `registerBlocksAreaScaler`
|
183
189
|
* `registerStateScaler`
|
@@ -185,6 +191,9 @@ which are granted to be safe and stable.
|
|
185
191
|
* `scaleBlocksArea`
|
186
192
|
* `scaleState`
|
187
193
|
* `showResult`
|
194
|
+
* `mumuki.renderers`
|
195
|
+
* `SpeechBubbleRenderer`
|
196
|
+
* `renderSpeechBubbleResultItem`
|
188
197
|
* `mumuki.locale`
|
189
198
|
* `mumuki.MultipleScenarios`
|
190
199
|
* `scenarios`
|
@@ -200,22 +209,29 @@ which are granted to be safe and stable.
|
|
200
209
|
|
201
210
|
### Bridge Response Format
|
202
211
|
|
203
|
-
```
|
212
|
+
```javascript
|
204
213
|
{
|
205
|
-
"status": "failed",
|
206
|
-
"guide_finished_by_solution":
|
207
|
-
"class_for_progress_list_item":
|
208
|
-
"html":"
|
209
|
-
"
|
210
|
-
"
|
211
|
-
"
|
212
|
-
"
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
214
|
+
"status": "passed|passed_with_warnings|failed",
|
215
|
+
"guide_finished_by_solution": "boolean",
|
216
|
+
"class_for_progress_list_item": "string",
|
217
|
+
"html": "string",
|
218
|
+
"remaining_attempts_html": "string" ,
|
219
|
+
"title_html": "string", // kids-only
|
220
|
+
"button_html": "string", // kids-only
|
221
|
+
"expectations": [ // kids-only
|
222
|
+
{
|
223
|
+
"status": "passed|failed",
|
224
|
+
"explanation": "string"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"tips": [ "string" ], // kids-only
|
228
|
+
"test_results": [ // kids-only
|
229
|
+
{
|
230
|
+
"title": "string",
|
231
|
+
"status": "passed|failed",
|
232
|
+
"result": "string",
|
233
|
+
"summary": "string"
|
234
|
+
}
|
219
235
|
]
|
220
236
|
}
|
221
237
|
```
|
@@ -463,7 +479,7 @@ POST /organization/:id/courses/
|
|
463
479
|
|
464
480
|
```json
|
465
481
|
{
|
466
|
-
"name":"....",
|
482
|
+
"name": "....",
|
467
483
|
}
|
468
484
|
```
|
469
485
|
|
@@ -539,7 +555,7 @@ Sample response body:
|
|
539
555
|
```json
|
540
556
|
{
|
541
557
|
"organizations": [
|
542
|
-
{ "name": "academy", "contact_email": "a@a.com", "locale": "es-AR", "login_methods": ["facebook"], "books": ["libro"], "public": true, "logo_url":"http://..." },
|
558
|
+
{ "name": "academy", "contact_email": "a@a.com", "locale": "es-AR", "login_methods": ["facebook"], "books": ["libro"], "public": true, "logo_url": "http://..." },
|
543
559
|
{ "name": "alcal", "contact_email": "b@b.com", "locale": "en-US", "login_methods": ["facebook", "github"], "books": ["book"], "public": false }
|
544
560
|
]
|
545
561
|
}
|
@@ -555,7 +571,7 @@ get /organizations/:name
|
|
555
571
|
Sample response body:
|
556
572
|
|
557
573
|
```json
|
558
|
-
{ "name": "academy", "contact_email": "a@a.com", "locale": "es-AR", "login_methods": ["facebook"], "books": ["libro"], "public": true, "logo_url":"http://..." }
|
574
|
+
{ "name": "academy", "contact_email": "a@a.com", "locale": "es-AR", "login_methods": ["facebook"], "books": ["libro"], "public": true, "logo_url": "http://..." }
|
559
575
|
```
|
560
576
|
**Minimal permission**: `janitor` of the organization.
|
561
577
|
|
@@ -23,6 +23,14 @@ var mumuki = mumuki || {};
|
|
23
23
|
})
|
24
24
|
}
|
25
25
|
|
26
|
+
function formatContent() {
|
27
|
+
mumuki.page.editors.each(function (_, editor) {
|
28
|
+
editor.setSelection({line: 0, ch: 0}, {line: editor.lineCount()})
|
29
|
+
editor.indentSelection("smart")
|
30
|
+
editor.setSelection({line: 0})
|
31
|
+
});
|
32
|
+
}
|
33
|
+
|
26
34
|
function toggleFullscreen() {
|
27
35
|
$('body').toggleClass('fullscreen');
|
28
36
|
$('.editor-resize .fa-stack-1x').toggleClass('fa-expand').toggleClass('fa-compress');
|
@@ -61,7 +69,9 @@ var mumuki = mumuki || {};
|
|
61
69
|
}
|
62
70
|
|
63
71
|
mumuki.editor = mumuki.editor || {};
|
72
|
+
mumuki.editor.reset = resetEditor;
|
64
73
|
mumuki.editor.toggleFullscreen = toggleFullscreen;
|
74
|
+
mumuki.editor.formatContent = formatContent;
|
65
75
|
mumuki.editor.indentWithSpaces = indentWithSpaces;
|
66
76
|
mumuki.editor.syncContent = syncContent;
|
67
77
|
|
@@ -75,12 +85,19 @@ var mumuki = mumuki || {};
|
|
75
85
|
updateCodeMirrorLanguage();
|
76
86
|
onSelectUpdateCodeMirror();
|
77
87
|
|
78
|
-
$('.editor-reset').click(function () {
|
79
|
-
|
88
|
+
$('.editor-reset').click(function (event) {
|
89
|
+
event.stopPropagation();
|
90
|
+
const selection = confirm(this.getAttribute('data-confirm'));
|
91
|
+
if(selection) resetEditor();
|
80
92
|
});
|
93
|
+
|
81
94
|
$('.editor-resize').click(function () {
|
82
95
|
toggleFullscreen();
|
83
96
|
});
|
97
|
+
|
98
|
+
$('.editor-format').click(function (){
|
99
|
+
formatContent();
|
100
|
+
});
|
84
101
|
});
|
85
102
|
|
86
103
|
}(mumuki));
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// This module defines three client-side-only special sections, and allows them to be replaced
|
2
|
+
// by adding the `mu-elipsis` class, or by calling `mumuki.elipsis()`:
|
3
|
+
//
|
4
|
+
// * <elipsis-for-student@ ...code... @elipsis-for-student> : replaces code with an elipsis
|
5
|
+
// * <hidden-for-student@ ...code... @hidden-for-student> : completely hides code
|
6
|
+
// * <description-for-student[...text...]@ ...code... @description-for-student> : replaces code a message sourrounded by elipsis
|
7
|
+
//
|
8
|
+
//
|
9
|
+
// This module assumes the strings are already markdown-like escaped code strings, not plain code
|
10
|
+
(function (mumuki) {
|
11
|
+
|
12
|
+
function elipsis(code) {
|
13
|
+
return code
|
14
|
+
.replace(/<elipsis-for-student@[\s\S]*?@elipsis-for-student>/g, ' ... ')
|
15
|
+
.replace(/<hidden-for-student@[\s\S]*?@hidden-for-student>/g, '')
|
16
|
+
.replace(/<description-for-student\[([^\]]*)\]@[\s\S]*?@description-for-student>/g, ' ... $1 ... ');
|
17
|
+
}
|
18
|
+
|
19
|
+
mumuki.elipsis = elipsis;
|
20
|
+
mumuki.elipsis.replaceHtml = () => {
|
21
|
+
let $elipsis = $('.mu-elipsis');
|
22
|
+
$elipsis.each((it, e) => {
|
23
|
+
let $e = $(e);
|
24
|
+
$e.html(mumuki.elipsis($e.html()));
|
25
|
+
})
|
26
|
+
};
|
27
|
+
|
28
|
+
mumuki.load(() => {
|
29
|
+
mumuki.elipsis.replaceHtml();
|
30
|
+
});
|
31
|
+
})(mumuki);
|
@@ -169,28 +169,17 @@ mumuki.load(function () {
|
|
169
169
|
$bubble.find('.mu-kids-character-speech-bubble-failed').hide();
|
170
170
|
$bubble.find('.mu-kids-discussion-link').remove();
|
171
171
|
Object.keys(mumuki.kids.resultAction).forEach($bubble.removeClass.bind($bubble));
|
172
|
-
mumuki.kids._getOverlay().hide()
|
172
|
+
mumuki.kids._getOverlay().hide()
|
173
173
|
},
|
174
174
|
|
175
175
|
_showMessageOnCharacterBubble: function (data) {
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
$bubble.addClass(data.status);
|
181
|
-
if (data.status === 'passed_with_warnings') {
|
182
|
-
$bubble.find('.mu-kids-character-speech-bubble-failed').append(data.expectations_html);
|
183
|
-
}
|
184
|
-
if (this._shouldDisplayDiscussionsLink(data.status)) {
|
185
|
-
$bubble.append(discussionsLinkHtml);
|
186
|
-
}
|
176
|
+
const renderer = new mumuki.renderers.SpeechBubbleRenderer(mumuki.kids._getCharacterBubble());
|
177
|
+
renderer.setDiscussionsLinkHtml(discussionsLinkHtml);
|
178
|
+
renderer.setResponseData(data);
|
179
|
+
renderer.render();
|
187
180
|
mumuki.kids._getOverlay().show();
|
188
181
|
},
|
189
182
|
|
190
|
-
_shouldDisplayDiscussionsLink: function (status) {
|
191
|
-
return ['failed', 'passed_with_warnings'].some(it => it === status);
|
192
|
-
},
|
193
|
-
|
194
183
|
_showOnSuccessPopup: function (data) {
|
195
184
|
mumuki.kids._updateSubmissionResult(data.html);
|
196
185
|
mumuki.presenterCharacter.playAnimation('success_l', mumuki.kids._getCharacterImage());
|
@@ -0,0 +1,99 @@
|
|
1
|
+
((mumuki)=> {
|
2
|
+
|
3
|
+
function renderSpeechBubbleResultItem(item) {
|
4
|
+
return `
|
5
|
+
<div class="results-item">
|
6
|
+
<ul class="results-list">
|
7
|
+
<li>${item}</li>
|
8
|
+
</ul>
|
9
|
+
</div>`;
|
10
|
+
}
|
11
|
+
|
12
|
+
// A mumuki.renderers.SpeechBubbleRenderer allows to configure a kids speech bubble
|
13
|
+
// with the data of a test response from bridge
|
14
|
+
class SpeechBubbleRenderer {
|
15
|
+
constructor($bubble) {
|
16
|
+
this.$bubble = $bubble;
|
17
|
+
this.$failedArea = $bubble.find('.mu-kids-character-speech-bubble-failed');
|
18
|
+
}
|
19
|
+
|
20
|
+
_chooseResultItem() {
|
21
|
+
if (this._responseStatus() !== 'passed' && this._hasTips()) {
|
22
|
+
this._appendFirstTip()
|
23
|
+
} else if (this._responseStatus() === 'failed') {
|
24
|
+
this._appendFirstFailedTestResultSummary();
|
25
|
+
} else if (this._responseStatus() === 'passed_with_warnings') {
|
26
|
+
this._appendFirstExpectationResult();
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
_appendFirstFailedTestResultSummary() {
|
31
|
+
const failedTestResult = this._failedTestResults()[0]
|
32
|
+
if (failedTestResult && failedTestResult.summary) {
|
33
|
+
this._appendResultItem(mumuki.renderers.renderSpeechBubbleResultItem(failedTestResult.summary));
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
_appendFirstExpectationResult() {
|
38
|
+
this._appendResultItem(mumuki.renderers.renderSpeechBubbleResultItem(this.responseData.expectations[0].explanation));
|
39
|
+
}
|
40
|
+
|
41
|
+
_appendFirstTip() {
|
42
|
+
this._appendResultItem(mumuki.renderers.renderSpeechBubbleResultItem(this.responseData.tips[0]));
|
43
|
+
}
|
44
|
+
|
45
|
+
_appendResultItem(item) {
|
46
|
+
this._addClass('with-result-item');
|
47
|
+
this.$failedArea.append(item);
|
48
|
+
}
|
49
|
+
|
50
|
+
_addClass(klass) {
|
51
|
+
this.$bubble.addClass(klass);
|
52
|
+
}
|
53
|
+
|
54
|
+
_appendDiscussionsLinkHtml() {
|
55
|
+
if (this._shouldDisplayDiscussionsLink()) {
|
56
|
+
this.$bubble.append(this.discussionsLinkHtml);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
_shouldDisplayDiscussionsLink() {
|
61
|
+
return ['failed', 'passed_with_warnings'].some(it => it === this._responseStatus());
|
62
|
+
}
|
63
|
+
|
64
|
+
_responseStatus() {
|
65
|
+
return this.responseData.status;
|
66
|
+
}
|
67
|
+
|
68
|
+
_hasTips() {
|
69
|
+
return this.responseData.tips && this.responseData.tips.length
|
70
|
+
}
|
71
|
+
|
72
|
+
_failedTestResults() {
|
73
|
+
return this.responseData.test_results.filter((it) => it.status === 'failed');
|
74
|
+
}
|
75
|
+
|
76
|
+
setDiscussionsLinkHtml(discussionsLinkHtml) {
|
77
|
+
this.discussionsLinkHtml = discussionsLinkHtml;
|
78
|
+
}
|
79
|
+
|
80
|
+
setResponseData(responseData) {
|
81
|
+
this.responseData = responseData;
|
82
|
+
}
|
83
|
+
|
84
|
+
// Entry point of the renderer. It just updates the UI, not returning anything
|
85
|
+
// Configure the renderer with `setDiscussionsLinkHtml` and `setResponseData` first.
|
86
|
+
render() {
|
87
|
+
this.$bubble.find('.mu-kids-character-speech-bubble-tabs').hide();
|
88
|
+
this.$bubble.find('.mu-kids-character-speech-bubble-normal').hide();
|
89
|
+
this.$failedArea.show().html(this.responseData.title_html);
|
90
|
+
this._addClass(this._responseStatus());
|
91
|
+
this._chooseResultItem();
|
92
|
+
this._appendDiscussionsLinkHtml();
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
mumuki.renderers = mumuki.renderers || {};
|
97
|
+
mumuki.renderers.SpeechBubbleRenderer = SpeechBubbleRenderer;
|
98
|
+
mumuki.renderers.renderSpeechBubbleResultItem = renderSpeechBubbleResultItem;
|
99
|
+
})(mumuki)
|
@@ -6,6 +6,7 @@ $da-font-path: asset-path('assets');
|
|
6
6
|
@import "codemirror/codemirror.min";
|
7
7
|
@import "codemirror/show-hint.min";
|
8
8
|
@import "application/vendor";
|
9
|
+
@import "application/locked";
|
9
10
|
@import "application/tooltip";
|
10
11
|
@import "application/hovers";
|
11
12
|
@import "application/mixins";
|
@@ -0,0 +1,29 @@
|
|
1
|
+
.chapter-container {
|
2
|
+
position: relative;
|
3
|
+
}
|
4
|
+
|
5
|
+
.chapter {
|
6
|
+
position: relative;
|
7
|
+
|
8
|
+
margin: 35px 0;
|
9
|
+
padding-bottom: 15px;
|
10
|
+
|
11
|
+
&.mu-locked {
|
12
|
+
opacity: 20%;
|
13
|
+
|
14
|
+
user-select: none;
|
15
|
+
pointer-events: none;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.mu-lock {
|
20
|
+
position: absolute;
|
21
|
+
|
22
|
+
width: 100%;
|
23
|
+
height: 100%;
|
24
|
+
|
25
|
+
transform: translateY(20%);
|
26
|
+
|
27
|
+
top: 0px;
|
28
|
+
left: 0px;
|
29
|
+
}
|
@@ -13,25 +13,6 @@ $multifile-inactive-tab-border-color: #ECF0F1;
|
|
13
13
|
max-height: none;
|
14
14
|
}
|
15
15
|
|
16
|
-
.submission-reset {
|
17
|
-
padding: 5px;
|
18
|
-
cursor: pointer;
|
19
|
-
}
|
20
|
-
|
21
|
-
.editor-resize {
|
22
|
-
position: absolute;
|
23
|
-
padding: 5px;
|
24
|
-
cursor: pointer;
|
25
|
-
z-index: 10;
|
26
|
-
top: 0;
|
27
|
-
right: 0;
|
28
|
-
font-size: 0.5em;
|
29
|
-
&.multiple-files {
|
30
|
-
top: 43px;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
|
35
16
|
body:not(.fullscreen) {
|
36
17
|
.CodeMirror-wrap,
|
37
18
|
.CodeMirror-scroll {
|
@@ -69,10 +50,6 @@ body.fullscreen {
|
|
69
50
|
overflow-y: scroll;
|
70
51
|
overflow-x: auto;
|
71
52
|
}
|
72
|
-
.submission-reset,
|
73
|
-
.editor-resize {
|
74
|
-
margin-right: 15px;
|
75
|
-
}
|
76
53
|
}
|
77
54
|
}
|
78
55
|
|
@@ -10,6 +10,9 @@
|
|
10
10
|
ul.results-list {
|
11
11
|
list-style-type: none;
|
12
12
|
padding-left: 10px;
|
13
|
+
li:first-letter {
|
14
|
+
text-transform: capitalize
|
15
|
+
}
|
13
16
|
}
|
14
17
|
|
15
18
|
.results-list pre {
|
@@ -27,3 +30,11 @@ ul.results-list {
|
|
27
30
|
color: white;
|
28
31
|
}
|
29
32
|
}
|
33
|
+
|
34
|
+
.mu-single-test-result {
|
35
|
+
.error-text, /* backward compatibility with gobstones runner */
|
36
|
+
.mu-test-result-header {
|
37
|
+
display: block;
|
38
|
+
line-height: 25px;
|
39
|
+
}
|
40
|
+
}
|
@@ -5,6 +5,25 @@
|
|
5
5
|
.mu-overlapped {
|
6
6
|
z-index: 10;
|
7
7
|
position: absolute;
|
8
|
-
|
8
|
+
top: 0;
|
9
9
|
right: 0;
|
10
|
-
|
10
|
+
display: flex;
|
11
|
+
flex-direction: column;
|
12
|
+
a {
|
13
|
+
cursor: pointer;
|
14
|
+
padding: 5px;
|
15
|
+
}
|
16
|
+
&.multiple-files {
|
17
|
+
top: 43px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.editor-resize {
|
22
|
+
font-size: 0.5em;
|
23
|
+
}
|
24
|
+
|
25
|
+
body.fullscreen {
|
26
|
+
.mu-overlapped a {
|
27
|
+
margin-right: 15px;
|
28
|
+
}
|
29
|
+
}
|