Browse Source

css fix for errors in results of exercises in lp - refs BT#14739

Alex Aragón 6 years ago
parent
commit
d4d65c15fa

+ 15 - 5
app/Resources/public/css/themes/rainbow/default.css

@@ -1127,15 +1127,17 @@ ul.exercise-draggable-answer .touch-items:hover{
     background: none;
     border: none;
     border-radius: 0;
-    margin-bottom: 10px;
     min-height: 40px;
-
-    /* Extra */
     display: inline-block;
     width: 85%;
     margin-bottom: 0px;
 }
-
+.section-results .alert table{
+    width: 100% !important;
+}
+.question-result .page-header img{
+    display: none;
+}
 .question_options .droppable .gallery .exercise-draggable-answer-option{
     background: #FFF;
     border: 1px solid #162a83;
@@ -1598,7 +1600,15 @@ blockquote p {
 .session-teachers{
     display: none;
 }
-
+.section-mycourses #skillList .table thead tr th{
+    border-bottom: 2px solid #84bd00;
+}
+.section-mycourses #skillList .table-bordered tbody tr td{
+    border: 1px solid #84bd00;
+}
+.section-mycourses #skillList .table .thumbnail{
+    border: none;
+}
 /* Large desktop */
 @media (min-width: 1200px) {
 

+ 1 - 0
main/exercise/result.php

@@ -13,6 +13,7 @@ require_once __DIR__.'/../inc/global.inc.php';
 $id = isset($_REQUEST['id']) ? intval($_GET['id']) : null; //exe id
 $show_headers = isset($_REQUEST['show_headers']) ? intval($_REQUEST['show_headers']) : null; //exe id
 $origin = api_get_origin();
+$this_section = 'results';
 
 if ($origin == 'learnpath') {
     $show_headers = false;

+ 0 - 1
main/template/default/layout/show_header.tpl

@@ -10,7 +10,6 @@
     {% endblock %}
 </head>
 <body>
-
 <!-- START MAIN -->
 <main id="main" dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
     <noscript>{{ "NoJavascript"|get_lang }}</noscript>