Browse Source

Follow FrontEnd standards WAI - refs CT#7063

Francis Gonzales 11 years ago
parent
commit
48d98e7755

+ 21 - 0
main/css/base.css

@@ -4746,3 +4746,24 @@ i.size-32.icon-new-work{
 .jqgrid_whitespace {
     white-space: normal !important;
 }
+
+.text-h1 {
+    font-size: 24px;
+}
+
+.text-h2 {
+    font-size: 21px;
+}
+
+.text-h3 {
+    font-size: 18px;
+}
+
+.text-h4 {
+    font-size: 15px;
+}
+
+.text-h5 {
+    font-size: 12px;
+    font-weight: normal;
+}

+ 3 - 0
main/css/chamilo/default.css

@@ -667,6 +667,9 @@ a.thumbnail:hover{
 .categories-course-description h3{
     color: #0F466A;
 }
+.categories-course-description .text-h3{
+    color: #0F466A;
+}
 #course_tools .content a {
   font-size: 12px;
   font-weight: normal;

+ 1 - 0
main/inc/lib/main_api.lib.php

@@ -3602,6 +3602,7 @@ function api_display_language_form($hide_if_no_choice = false) {
     </script>';
 
     $html .= '<form id="lang_form" name="lang_form" method="post" action="'.api_get_self().'">';
+    $html .= '<label style="display: none;" for="language_list">' . get_lang('Language') . '</label>';
     $html .=  '<select id="language_list" class="chzn-select" name="language_list" onchange="javascript: jumpMenu(\'parent\',this,0);">';
     foreach ($original_languages as $key => $value) {
         if ($folder[$key] == $user_selected_language) {

+ 2 - 2
main/template/default/layout/hot_course_item.tpl

@@ -10,8 +10,8 @@
                     </div>
                     <div class="span6">
                         <div class="categories-course-description">
-                            <h3>{{ hot_course.extra_info.title}}</h3>
-                            <h5>{{ hot_course.extra_info.teachers }}</h5>
+                            <div class="text-h3">{{ hot_course.extra_info.title}}</div>
+                            <div class="text-h5">{{ hot_course.extra_info.teachers }}</div>
                             {{ hot_course.extra_info.rating_html }}
                         </div>
                         <p>