mumuki-laboratory 5.0.6 → 5.0.7
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/application/kids.js +1 -1
- data/app/assets/stylesheets/application/modules/_kids.scss +37 -31
- data/app/views/layouts/_kids.html.erb +8 -6
- data/app/views/layouts/exercise_inputs/layouts/_input_kids.html.erb +5 -5
- data/lib/mumuki/laboratory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8568083534804d40218af64b2cd24859a3f912877be25d8de5219997ff4ce437
|
4
|
+
data.tar.gz: 8ba51c65639907be2d2406f77326fc84c064f49e72a9b19b96785cda0bffa5d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d00e734c76fbed059d322dc594d7415487f55140ad8e4802f2b42f8c2ec3ac3707452574022ea2a478ee65374173bfd1fd61d7003480db12beb25a734f38c787
|
7
|
+
data.tar.gz: 2079f0a952e6c21fac1c6d842560abb28be33734f2b21675086007f89d50cb90676062e3c3be9687e292bdfbf38500ddd81a4b68fee334ac657eacb4ad8803ff
|
@@ -31,16 +31,14 @@ $kids-speech-tabs-width: 40px;
|
|
31
31
|
}
|
32
32
|
|
33
33
|
.mu-kids-character,
|
34
|
-
.mu-kids-
|
35
|
-
.mu-kids-gbs-board-expected {
|
34
|
+
.mu-kids-state {
|
36
35
|
padding: 15px;
|
37
36
|
}
|
38
37
|
.mu-kids-blocks,
|
39
|
-
.mu-
|
38
|
+
.mu-state-final {
|
40
39
|
margin-top: 15px;
|
41
40
|
}
|
42
|
-
.mu-kids-
|
43
|
-
.mu-kids-gbs-board-expected {
|
41
|
+
.mu-kids-state {
|
44
42
|
height: calc(#{$kids-height} / 2 - 15px);
|
45
43
|
}
|
46
44
|
.mu-kids-character {
|
@@ -179,41 +177,49 @@ $kids-speech-tabs-width: 40px;
|
|
179
177
|
|
180
178
|
}
|
181
179
|
|
182
|
-
|
180
|
+
.mu-kids-state {
|
183
181
|
display: flex;
|
184
182
|
flex-direction: column;
|
185
183
|
align-items: center;
|
186
|
-
|
187
|
-
> table {
|
188
|
-
transform: scale(1.5);
|
189
|
-
background-color: $kids-speech-border-color !important;
|
190
|
-
border: $kids-speech-border !important;
|
191
|
-
border-radius: 12px;
|
192
|
-
}
|
184
|
+
.mu-kids-state-image {
|
193
185
|
display: flex;
|
194
|
-
margin-top: 15px;
|
195
186
|
flex-direction: column;
|
196
187
|
align-items: center;
|
197
188
|
justify-content: center;
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
189
|
+
height: 100%;
|
190
|
+
width: 100%;
|
191
|
+
gs-board {
|
192
|
+
> table {
|
193
|
+
transform: scale(1.5);
|
194
|
+
background-color: $kids-speech-border-color !important;
|
202
195
|
border: $kids-speech-border !important;
|
203
|
-
|
204
|
-
}
|
205
|
-
&.gbs_lx,
|
206
|
-
&.gbs_lh,
|
207
|
-
&.gbs_lv {
|
208
|
-
background-color: $kids-speech-background-color !important;
|
209
|
-
border: 0 solid transparent !important;
|
196
|
+
border-radius: 12px;
|
210
197
|
}
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
198
|
+
display: flex;
|
199
|
+
margin-top: 15px;
|
200
|
+
flex-direction: column;
|
201
|
+
align-items: center;
|
202
|
+
justify-content: center;
|
203
|
+
padding: 1px;
|
204
|
+
max-height: 100%;
|
205
|
+
td, th {
|
206
|
+
&.gs-board {
|
207
|
+
border: $kids-speech-border !important;
|
208
|
+
background-color: #FFFFFF;
|
209
|
+
}
|
210
|
+
&.gbs_lx,
|
211
|
+
&.gbs_lh,
|
212
|
+
&.gbs_lv {
|
213
|
+
background-color: $kids-speech-background-color !important;
|
214
|
+
border: 0 solid transparent !important;
|
215
|
+
}
|
216
|
+
&.gbs_gh.gs-cell {
|
217
|
+
background: rgba(221, 221, 136, 0.7) !important;
|
218
|
+
outline: 3px solid $kids-speech-border-color !important;
|
219
|
+
}
|
220
|
+
span {
|
221
|
+
vertical-align: middle;
|
222
|
+
}
|
217
223
|
}
|
218
224
|
}
|
219
225
|
}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
<div class="mu-kids-character-speech-bubble">
|
3
3
|
<i class="mu-kids-prev-speech fa fa-fw fa-caret-up"></i>
|
4
4
|
<i class="mu-kids-next-speech fa fa-fw fa-caret-down"></i>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
<% if @exercise.hint? %>
|
6
|
+
<ul class="mu-kids-character-speech-bubble-tabs">
|
7
|
+
<li class="active" data-target="description" title="<%= t :task %>"><i class="fa fa-fw fa-file-text-o"></i>
|
8
|
+
</li>
|
9
|
+
<li class="separator"></li>
|
10
|
+
<li data-target="hint" title="<%= t :need_a_hint %>"><i class="fa fa-fw fa-lightbulb-o"></i></li>
|
11
|
+
</ul>
|
12
|
+
<% end %>
|
11
13
|
<div class="description"><%= @exercise.description_task %></div>
|
12
14
|
<div class="hint" style="display: none"><%= @exercise.hint_html %></div>
|
13
15
|
</div>
|
@@ -18,15 +18,15 @@
|
|
18
18
|
</div>
|
19
19
|
</div>
|
20
20
|
|
21
|
-
<div class="mu-kids-
|
22
|
-
<div class="mu-kids-gbs-board-initial">
|
21
|
+
<div class="mu-kids-states">
|
22
|
+
<div class="mu-kids-state mu-state-initial mu-kids-gbs-board-initial">
|
23
23
|
<strong>Tablero inicial</strong>
|
24
|
-
|
24
|
+
<div class="mu-kids-state-image"><%= @exercise.initial_state&.html_safe %></div>
|
25
25
|
</div>
|
26
26
|
<hr>
|
27
|
-
<div class="mu-kids-
|
27
|
+
<div class="mu-kids-state mu-state-final">
|
28
28
|
<strong>Tablero esperado</strong>
|
29
|
-
|
29
|
+
<div class="mu-kids-state-image"><%= @exercise.final_state&.html_safe %></div>
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-laboratory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|