mumuki-laboratory 9.0.5 → 9.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/mumuki_laboratory/application/codemirror.js +10 -2
  3. data/app/assets/javascripts/mumuki_laboratory/application/discussions.js +10 -10
  4. data/app/assets/javascripts/mumuki_laboratory/application/gamification.js +3 -3
  5. data/app/assets/javascripts/mumuki_laboratory/application/kids.js +11 -7
  6. data/app/assets/javascripts/mumuki_laboratory/application/kindergarten.js +3 -3
  7. data/app/assets/javascripts/mumuki_laboratory/application/messages.js +3 -3
  8. data/app/assets/javascripts/mumuki_laboratory/application/mu-modal-carrousel.js +4 -4
  9. data/app/assets/javascripts/mumuki_laboratory/application/multiple-files.js +18 -5
  10. data/app/assets/javascripts/mumuki_laboratory/application/multiple-scenarios.js +1 -1
  11. data/app/assets/javascripts/mumuki_laboratory/application/primary.js +4 -4
  12. data/app/assets/javascripts/mumuki_laboratory/application/profile.js +0 -6
  13. data/app/assets/javascripts/mumuki_laboratory/application/progress.js +1 -1
  14. data/app/assets/javascripts/mumuki_laboratory/application/speech-bubble-renderer.js +1 -1
  15. data/app/assets/javascripts/mumuki_laboratory/application/submission.js +4 -3
  16. data/app/assets/javascripts/mumuki_laboratory/application/toast.js +3 -0
  17. data/app/assets/javascripts/mumuki_laboratory/application/tooltip.js +1 -1
  18. data/app/assets/javascripts/mumuki_laboratory/application/upload.js +2 -2
  19. data/app/assets/stylesheets/mumuki_laboratory/application.scss +0 -1
  20. data/app/assets/stylesheets/mumuki_laboratory/application/_errors.scss +1 -1
  21. data/app/assets/stylesheets/mumuki_laboratory/application/_layout.scss +1 -27
  22. data/app/assets/stylesheets/mumuki_laboratory/application/_modules.scss +0 -2
  23. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_activity.scss +7 -5
  24. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss +5 -0
  25. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_breadcrumb.scss +2 -2
  26. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_datepicker.scss +0 -4
  27. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_discussion.scss +38 -60
  28. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_editor.scss +16 -18
  29. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_exercise_assignment.scss +2 -11
  30. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_exercise_results.scss +1 -7
  31. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_faqs.scss +3 -3
  32. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_flash.scss +7 -46
  33. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids.scss +19 -4
  34. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids_results.scss +18 -23
  35. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kindergarten.scss +1 -9
  36. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_overlap.scss +1 -1
  37. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_progress_bar.scss +5 -5
  38. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_terms.scss +3 -2
  39. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_timer.scss +1 -3
  40. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_user_menu.scss +13 -6
  41. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_user_profile.scss +0 -2
  42. data/app/controllers/application_controller.rb +4 -2
  43. data/app/controllers/discussions_messages_controller.rb +3 -1
  44. data/app/helpers/application_helper.rb +5 -5
  45. data/app/helpers/assignment_result_helper.rb +3 -2
  46. data/app/helpers/assistance_box_helper.rb +1 -1
  47. data/app/helpers/concerns/with_student_path_navigation.rb +8 -3
  48. data/app/helpers/concerns/with_student_path_navigation/continue_navigation.rb +1 -1
  49. data/app/helpers/concerns/with_student_path_navigation/finish_navigation.rb +1 -1
  50. data/app/helpers/concerns/with_student_path_navigation/next_parent_navigation.rb +7 -0
  51. data/app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb +1 -1
  52. data/app/helpers/discussions_helper.rb +61 -24
  53. data/app/helpers/editor_tabs_helper.rb +10 -6
  54. data/app/helpers/email_helper.rb +2 -2
  55. data/app/helpers/exercise_input_helper.rb +2 -3
  56. data/app/helpers/links_helper.rb +12 -9
  57. data/app/helpers/menu_bar_helper.rb +1 -1
  58. data/app/helpers/messages_helper.rb +1 -1
  59. data/app/helpers/multiple_file_editor_helper.rb +2 -1
  60. data/app/helpers/overlapped_buttons_helper.rb +22 -12
  61. data/app/helpers/profile_helper.rb +3 -3
  62. data/app/helpers/toast_helper.rb +27 -0
  63. data/app/helpers/user_activity_helper.rb +1 -1
  64. data/app/views/book/show.html.erb +2 -2
  65. data/app/views/certificates/verify.html.erb +1 -1
  66. data/app/views/chapters/show.html.erb +2 -2
  67. data/app/views/discussions/_message.html.erb +31 -6
  68. data/app/views/discussions/_new_message.html.erb +4 -4
  69. data/app/views/discussions/index.html.erb +8 -10
  70. data/app/views/discussions/new.html.erb +1 -1
  71. data/app/views/discussions/show.html.erb +20 -12
  72. data/app/views/exam_registrations/show.html.erb +10 -11
  73. data/app/views/exercise_solutions/_assistant_rules_box.html.erb +1 -1
  74. data/app/views/exercise_solutions/_contextualization_results_body.html.erb +1 -1
  75. data/app/views/exercise_solutions/_contextualization_results_container.html.erb +1 -1
  76. data/app/views/exercise_solutions/_kids_results_button.html.erb +2 -2
  77. data/app/views/exercise_solutions/_results.html.erb +1 -1
  78. data/app/views/exercises/_exercise_assignment.html.erb +2 -2
  79. data/app/views/exercises/_exercise_skipped.html.erb +1 -1
  80. data/app/views/exercises/_read_only.html.erb +108 -105
  81. data/app/views/exercises/show.html.erb +7 -7
  82. data/app/views/guides/_guide.html.erb +1 -1
  83. data/app/views/guides/_guide_container.html.erb +4 -4
  84. data/app/views/invitations/_invitation_form.html.erb +5 -4
  85. data/app/views/layouts/_authoring.html.erb +1 -1
  86. data/app/views/layouts/_discussions.html.erb +7 -7
  87. data/app/views/layouts/_kids.html.erb +5 -5
  88. data/app/views/layouts/_kindergarten.html.erb +10 -6
  89. data/app/views/layouts/_main.html.erb +6 -10
  90. data/app/views/layouts/_organizations_listing.html.erb +2 -2
  91. data/app/views/layouts/_progress_bar.html.erb +2 -0
  92. data/app/views/layouts/_submission_result_error.html.erb +1 -1
  93. data/app/views/layouts/_test_results.html.erb +1 -1
  94. data/app/views/layouts/_timer.html.erb +1 -1
  95. data/app/views/layouts/_user_menu.html.erb +3 -3
  96. data/app/views/layouts/application.html.erb +39 -42
  97. data/app/views/layouts/exercise_inputs/editors/_code.html.erb +4 -4
  98. data/app/views/layouts/exercise_inputs/editors/_free_form.html.erb +1 -1
  99. data/app/views/layouts/exercise_inputs/editors/_multiple_choice.html.erb +7 -9
  100. data/app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb +10 -10
  101. data/app/views/layouts/exercise_inputs/editors/_single_choice.html.erb +6 -8
  102. data/app/views/layouts/exercise_inputs/editors/_text.html.erb +2 -3
  103. data/app/views/layouts/exercise_inputs/editors/_upload.html.erb +5 -5
  104. data/app/views/layouts/exercise_inputs/forms/_form.html.erb +1 -1
  105. data/app/views/layouts/exercise_inputs/forms/_interactive_form.html.erb +2 -2
  106. data/app/views/layouts/exercise_inputs/forms/_kids_form.html.erb +1 -1
  107. data/app/views/layouts/exercise_inputs/forms/_playground_form.html.erb +2 -2
  108. data/app/views/layouts/exercise_inputs/forms/_problem_form.html.erb +13 -9
  109. data/app/views/layouts/exercise_inputs/layouts/_input_primary.html.erb +2 -2
  110. data/app/views/layouts/exercise_inputs/layouts/_input_right.html.erb +2 -2
  111. data/app/views/layouts/exercise_inputs/read_only_editors/_code.html.erb +1 -1
  112. data/app/views/layouts/exercise_inputs/read_only_editors/_free_form.html.erb +1 -1
  113. data/app/views/layouts/exercise_inputs/read_only_editors/_multiple_choice.html.erb +4 -4
  114. data/app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb +2 -2
  115. data/app/views/layouts/exercise_inputs/read_only_editors/_single_choice.html.erb +4 -4
  116. data/app/views/layouts/exercise_inputs/read_only_editors/_text.erb +1 -1
  117. data/app/views/layouts/modals/_avatar_picker.html.erb +2 -5
  118. data/app/views/layouts/modals/_guide_corollary.html.erb +4 -8
  119. data/app/views/layouts/modals/_kids_context.html.erb +7 -5
  120. data/app/views/layouts/modals/_kids_results.html.erb +2 -2
  121. data/app/views/layouts/modals/_kids_results_aborted.html.erb +2 -2
  122. data/app/views/layouts/modals/_kindergarten_context.html.erb +3 -3
  123. data/app/views/layouts/modals/_kindergarten_results.html.erb +3 -3
  124. data/app/views/layouts/modals/_kindergarten_results_aborted.html.erb +2 -2
  125. data/app/views/layouts/modals/_level_up.html.erb +2 -5
  126. data/app/views/layouts/modals/_new_message.html.erb +5 -5
  127. data/app/views/notifications/_dropdown.html.erb +3 -3
  128. data/app/views/users/_activity_indicator.html.erb +14 -14
  129. data/app/views/users/_edit_user_form.html.erb +6 -6
  130. data/app/views/users/_profile_fields.html.erb +6 -6
  131. data/app/views/users/_user_form.html.erb +2 -2
  132. data/app/views/users/activity.html.erb +29 -29
  133. data/app/views/users/certificates.html.erb +26 -24
  134. data/app/views/users/discussions.html.erb +23 -21
  135. data/app/views/users/messages.html.erb +22 -20
  136. data/app/views/users/show.html.erb +5 -3
  137. data/app/views/users/terms.html.erb +4 -2
  138. data/config/initializers/inflections.rb +3 -0
  139. data/lib/mumuki/laboratory.rb +1 -1
  140. data/lib/mumuki/laboratory/locales/en.yml +15 -1
  141. data/lib/mumuki/laboratory/locales/es-CL.yml +15 -1
  142. data/lib/mumuki/laboratory/locales/es.yml +15 -1
  143. data/lib/mumuki/laboratory/locales/pt.yml +15 -2
  144. data/lib/mumuki/laboratory/version.rb +1 -1
  145. data/spec/capybara_helper.rb +1 -0
  146. data/spec/controllers/discussions_messages_controller_spec.rb +64 -2
  147. data/spec/dummy/db/schema.rb +20 -3
  148. data/spec/features/discussion_flow_spec.rb +20 -2
  149. data/spec/features/exercise_flow_spec.rb +1 -1
  150. data/spec/features/guide_reset_spec.rb +1 -1
  151. data/spec/features/terms_flow_spec.rb +1 -2
  152. data/spec/helpers/breadcrumbs_helper_spec.rb +2 -2
  153. data/spec/helpers/with_navigation_spec.rb +51 -13
  154. data/spec/javascripts/editors-spec.js +3 -3
  155. data/spec/javascripts/kids-button-spec.js +2 -2
  156. data/spec/javascripts/upload-spec.js +8 -8
  157. metadata +118 -117
  158. data/app/assets/stylesheets/mumuki_laboratory/application/hovers.scss +0 -12
  159. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_checkboxes.scss +0 -34
  160. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_guide_corollary.scss +0 -9
@@ -1,8 +1,3 @@
1
- html {
2
- position: relative;
3
- min-height: 100%;
4
- }
5
-
6
1
  .navbar-brand {
7
2
  padding-top: 0;
8
3
  padding-bottom: 0;
@@ -21,10 +16,6 @@ html {
21
16
  }
22
17
  }
23
18
 
24
- body {
25
- margin-bottom: 110px;
26
- }
27
-
28
19
  .mu-footer {
29
20
  &.container {
30
21
  margin-top: 45px;
@@ -76,17 +67,12 @@ body {
76
67
 
77
68
  .editor-tab {
78
69
  padding: 5px 10px 5px 10px !important;
79
- cursor: pointer;
80
70
  }
81
71
 
82
72
  .mu-input-panel {
83
73
  margin-top: 5px;
84
74
  }
85
75
 
86
- h1 {
87
- margin-top: 10px;
88
- }
89
-
90
76
  .text-box {
91
77
  text-align: justify;
92
78
 
@@ -123,16 +109,8 @@ hr {
123
109
  /* TODO: move to mumuki-styles */
124
110
  .mu-inline-block-left {
125
111
  display: flex;
112
+ flex-grow: 1;
126
113
  align-items: center;
127
-
128
- margin-left: 15px;
129
- }
130
-
131
- .mu-inline-block-right {
132
- float: right !important;
133
- display: inline-block;
134
- margin-right: 15px;
135
- margin-left: 10px;
136
114
  }
137
115
 
138
116
  .mu-org-link {
@@ -147,7 +125,3 @@ hr {
147
125
  padding: 0;
148
126
  }
149
127
  }
150
-
151
- h3 {
152
- margin-top: 20px;
153
- }
@@ -3,7 +3,6 @@
3
3
  @import "modules/book_header";
4
4
  @import "modules/breadcrumb";
5
5
  @import "modules/certificate";
6
- @import "modules/checkboxes";
7
6
  @import "modules/console";
8
7
  @import "modules/content_show";
9
8
  @import "modules/datepicker";
@@ -15,7 +14,6 @@
15
14
  @import "modules/faqs";
16
15
  @import "modules/flash";
17
16
  @import "modules/gs-board";
18
- @import "modules/guide_corollary";
19
17
  @import "modules/highlight";
20
18
  @import "modules/kids";
21
19
  @import "modules/kindergarten";
@@ -2,11 +2,13 @@
2
2
  text-align: center;
3
3
  border-radius: 10px;
4
4
 
5
- &.jumbotron {
6
- padding: 0.5em 0;
7
- }
5
+ padding: 0.5em 0;
6
+ margin-bottom: 30px;
8
7
  }
9
8
 
10
- .mu-user-activity-selector {
11
- padding-top: 15px;
9
+ .mu-user-activity-week-selector {
10
+ &:hover {
11
+ background-color: $mu-color-separator;
12
+ text-decoration: none;
13
+ }
12
14
  }
@@ -1,3 +1,8 @@
1
+ .mu-user-avatar-container {
2
+ text-align: center;
3
+ white-space: nowrap;
4
+ }
5
+
1
6
  .mu-user-avatar {
2
7
  width: 250px;
3
8
  height: 250px;
@@ -10,7 +10,7 @@
10
10
  .brand {
11
11
  font-size: 38px;
12
12
  padding: 8px 3px 0;
13
- color: $brand-primary;
13
+ color: $primary;
14
14
  &:hover, &:focus {
15
15
  text-decoration: none;
16
16
  }
@@ -52,7 +52,7 @@
52
52
 
53
53
  .mu-navbar-avatar {
54
54
  justify-self: flex-end;
55
- .img-circle {
55
+ .rounded-circle {
56
56
  cursor: pointer;
57
57
  }
58
58
  }
@@ -6,8 +6,4 @@ input[type="date"] {
6
6
  &::-webkit-inner-spin-button {
7
7
  display: none;
8
8
  }
9
-
10
- &.form-control {
11
- line-height: 33px;
12
- }
13
9
  }
@@ -7,6 +7,23 @@ $discussion-button-color: #fafafa;
7
7
  $toolbar-filter-color: #808080;
8
8
  $moderator-badge-color: #dd9900;
9
9
 
10
+ .discussions {
11
+ margin-bottom: 20px;
12
+
13
+ a {
14
+ color: unset;
15
+ text-decoration: unset;
16
+ }
17
+ }
18
+
19
+ .mu-discussion-accordion button {
20
+ color: $primary;
21
+
22
+ &:not(.collapsed) {
23
+ background-color: $mu-color-highlight-background;
24
+ }
25
+ }
26
+
10
27
  .discussions-list {
11
28
  margin: 30px 0;
12
29
  .discussion {
@@ -20,8 +37,6 @@ $moderator-badge-color: #dd9900;
20
37
  border: 1px solid $discussion-message-border-color;
21
38
  }
22
39
  a {
23
- color: unset;
24
- text-decoration: unset;
25
40
  &:not(:last-child) > .discussion {
26
41
  border-bottom: 0;
27
42
  }
@@ -42,17 +57,6 @@ $moderator-badge-color: #dd9900;
42
57
  justify-content: center;
43
58
  }
44
59
 
45
- .discussion-pagination .pagination li {
46
- a, span {
47
- background-color: lighten($brand-primary, 10%);
48
- }
49
- &:hover, &.active, &.active:hover {
50
- a, span {
51
- background-color: $brand-primary;
52
- }
53
- }
54
- }
55
-
56
60
  .discussion-language-icon {
57
61
  float: right;
58
62
  margin-right: 10px;
@@ -139,18 +143,24 @@ $moderator-badge-color: #dd9900;
139
143
  border-bottom: none;
140
144
  .discussions-toolbar-status {
141
145
  float: left;
146
+
147
+ a {
148
+ text-decoration: unset;
149
+ }
142
150
  li {
143
151
  text-decoration: none;
144
152
  display: inline;
145
153
  margin-right: 15px;
146
154
  &:not(.selected) .status-icon, span {
147
- color: $toolbar-filter-color;
155
+ filter: contrast(0%);
148
156
  }
149
157
  &:hover span {
150
158
  color: darken($toolbar-filter-color, 20%);
159
+ filter: contrast(100%);
151
160
  }
152
161
  &.selected span {
153
162
  color: darken($toolbar-filter-color, 40%);
163
+ filter: contrast(100%);
154
164
  font-weight: bold;
155
165
  }
156
166
  }
@@ -159,6 +169,11 @@ $moderator-badge-color: #dd9900;
159
169
  float: right;
160
170
  margin-right: 20px;
161
171
  cursor: pointer;
172
+
173
+ > a {
174
+ text-decoration: unset;
175
+ color: $primary;
176
+ }
162
177
  li.selected {
163
178
  a {
164
179
  font-weight: bold;
@@ -190,26 +205,6 @@ $moderator-badge-color: #dd9900;
190
205
  padding-inline: 5px;
191
206
  }
192
207
 
193
- .discussion-user-menu {
194
- a {
195
- padding: 5px 10px;
196
- font-size: 15px;
197
- line-height: 20px;
198
- border: 1px solid rgba(27, 31, 35, 0.2);
199
- border-radius: 0.25em;
200
- background-color: $discussion-button-color;
201
- font-weight: bold;
202
- color: black;
203
- cursor: pointer;
204
- margin-left: 10px;
205
- &:hover {
206
- text-decoration: none;
207
- background-color: darken($discussion-button-color, 5%);
208
- color: black;
209
- }
210
- }
211
- }
212
-
213
208
  .discussion-context {
214
209
  margin-top: 40px;
215
210
  }
@@ -233,10 +228,6 @@ $moderator-badge-color: #dd9900;
233
228
  }
234
229
  }
235
230
 
236
- .discussion-tabs {
237
- margin-top: 20px;
238
- }
239
-
240
231
  .discussion-info {
241
232
  font-size: 18px;
242
233
  }
@@ -256,6 +247,7 @@ $moderator-badge-color: #dd9900;
256
247
  .discussion-new-message-content {
257
248
  resize: none;
258
249
  min-height: 150px;
250
+ padding: 0;
259
251
  border-radius: 0;
260
252
  border-color: transparent;
261
253
  overflow: hidden;
@@ -263,7 +255,7 @@ $moderator-badge-color: #dd9900;
263
255
  white-space: nowrap;
264
256
  .CodeMirror {
265
257
  border: unset;
266
- color: $brand-primary;
258
+ color: $primary;
267
259
  font-family: $font-family-sans-serif;
268
260
  padding: 15px;
269
261
  }
@@ -277,16 +269,6 @@ $moderator-badge-color: #dd9900;
277
269
  }
278
270
  }
279
271
 
280
- summary.discussion-summary {
281
- display: list-item;
282
- font-size: 29px;
283
- outline: 0;
284
- cursor: pointer;
285
- .discussion-exercise-title {
286
- display: inline;
287
- }
288
- }
289
-
290
272
  .discussion-new-message-buttons {
291
273
  display: flex;
292
274
  margin: 0 -10px;
@@ -346,7 +328,7 @@ summary.discussion-summary {
346
328
  }
347
329
  .actions {
348
330
  float: right;
349
- a {
331
+ > a, .dropdown {
350
332
  margin-left: 20px;
351
333
  cursor: pointer;
352
334
  }
@@ -357,7 +339,7 @@ summary.discussion-summary {
357
339
  }
358
340
  &:hover, &.selected {
359
341
  i {
360
- color: $brand-success;
342
+ color: $success;
361
343
  }
362
344
  }
363
345
  }
@@ -380,9 +362,9 @@ summary.discussion-summary {
380
362
  }
381
363
  &:hover, &.selected {
382
364
  i {
383
- color: $brand-primary;
365
+ color: $primary;
384
366
  &:after {
385
- background-color: $brand-primary;
367
+ background-color: $primary;
386
368
  }
387
369
  }
388
370
  }
@@ -413,10 +395,10 @@ summary.discussion-summary {
413
395
  }
414
396
 
415
397
  $statuses: (
416
- closed: ($brand-danger white $brand-danger),
398
+ closed: ($danger white $danger),
417
399
  opened: (white #333333 #eaeaea),
418
- solved: ($brand-success white $brand-success),
419
- pending_review: ($brand-success white $brand-success)
400
+ solved: ($success white $success),
401
+ pending_review: ($success white $success)
420
402
  );
421
403
 
422
404
  @each $status, $style in $statuses {
@@ -437,10 +419,6 @@ $statuses: (
437
419
  }
438
420
  }
439
421
 
440
- .no-margin {
441
- margin: 0 !important;
442
- }
443
-
444
422
  .discussion-requires-attention {
445
423
  margin-right: 20px;
446
424
  label {
@@ -59,25 +59,23 @@ body.fullscreen {
59
59
 
60
60
  .files-tabs {
61
61
  display: flex;
62
- justify-content: space-between;
63
62
  align-items: center;
64
- margin-bottom: -6px;
65
- margin-left: 30px;
66
63
 
67
64
  .nav-tabs {
68
- display: flex;
69
- justify-content: space-between;
70
- align-items: center;
71
- width: 100%;
72
- margin-bottom: 0;
65
+ flex-grow: 1;
66
+ margin-left: 30px;
67
+ margin-bottom: -6px;
68
+ border-bottom: 0;
73
69
  z-index: 1;
74
70
 
75
- li {
71
+ .file-tab {
76
72
  position: relative;
77
- width: 100%;
73
+ flex-grow: 1;
74
+ flex-basis: 0;
78
75
  white-space: nowrap;
79
76
  overflow: hidden;
80
77
  text-overflow: ellipsis;
78
+
81
79
  a {
82
80
  white-space: nowrap;
83
81
  overflow: hidden;
@@ -85,24 +83,24 @@ body.fullscreen {
85
83
  margin-right: 0;
86
84
  padding: 5px 10px;
87
85
  }
86
+
88
87
  .delete-file-button {
89
88
  position: absolute;
90
89
  right: 16px;
91
90
  top: 12px;
92
91
  cursor: pointer;
93
92
  }
94
- &.active {
95
- a {
96
- background-color: $multifile-active-tab-background-color;
97
- border: 1px solid $multifile-active-tab-border-color;
98
- border-bottom: none;
99
- }
93
+
94
+ > a.active {
95
+ background-color: $multifile-active-tab-background-color;
96
+ border: 1px solid $multifile-active-tab-border-color;
97
+ border-bottom: 2px solid transparent;
100
98
  }
101
- &:not(.active) > a {
99
+
100
+ > a:not(.active) {
102
101
  background-color: $multifile-inactive-tab-background-color;
103
102
  border: 1px solid $multifile-inactive-tab-border-color;
104
103
  border-bottom: 1px solid $multifile-active-tab-border-color;
105
- cursor: pointer;
106
104
  &:hover {
107
105
  background-color: $multifile-inactive-tab-border-color;
108
106
  }
@@ -1,7 +1,7 @@
1
1
  .exercise-assignment blockquote {
2
2
  @include border-radius(4px);
3
- background-color: $brand-info-light;
4
- border-left: 8px solid $brand-info;
3
+ background-color: $info-light;
4
+ border-left: 8px solid $info;
5
5
  font-size: 15px;
6
6
  margin: 10px 0;
7
7
  }
@@ -16,15 +16,6 @@
16
16
  }
17
17
 
18
18
  .mu-editor {
19
- .form-group {
20
- margin: 10px 0;
21
- }
22
- input[type=radio] {
23
- margin: 4px;
24
- & + label {
25
- font-weight: normal;
26
- }
27
- }
28
19
  label p {
29
20
  margin: 0;
30
21
  }
@@ -19,13 +19,7 @@ ul.results-list {
19
19
  margin-left: 15px;
20
20
  }
21
21
 
22
- .example-see-more {
23
- font-size: $font-size-base * 0.65;
24
- background: lighten($brand-complementary, 10%);
25
- border-radius: 6px;
26
- padding: 2px 5px;
27
- color: white;
28
-
22
+ .mu-view-details {
29
23
  &:hover, &:focus {
30
24
  color: white;
31
25
  }