Browse Source

fix container-fluis responsive

Alex Aragón 6 years ago
parent
commit
024d5570fd
2 changed files with 13 additions and 21 deletions
  1. 9 18
      assets/css/scss/_base.scss
  2. 4 3
      main/admin/index.php

+ 9 - 18
assets/css/scss/_base.scss

@@ -80,7 +80,15 @@ hr {
   border-top: 1px solid $border-color;
 }
 .container-fluid{
-  width: 95%;
+  @include large($breakpoint-xl){
+    width: 95%;
+  }
+  @include portrait($breakpoint-sm, $breakpoint-md){
+    width: 100%;
+  }
+  @include landscape($breakpoint-sm) {
+    width: 100%;
+  }
 }
 /*** TABS ***/
 .nav-tabs{
@@ -124,23 +132,6 @@ hr {
   font-size: 12px;
   margin-bottom: 0;
 }
-// ---------------------------------------------------------
-// PAGE CONTAINER
-// ---------------------------------------------------------
-
-.page-container {
-  min-height: 100vh;
-  padding-left: $offscreen-size;
-  transition: all 0.2s ease;
-
-  @include between($breakpoint-md, $breakpoint-xl) {
-    padding-left: $collapsed-size;
-  }
-
-  @include to($breakpoint-md) {
-    padding-left: 0;
-  }
-}
 
 // ---------------------------------------------------------
 // MAIN CONTAINER

+ 4 - 3
main/admin/index.php

@@ -318,12 +318,12 @@ if (api_is_platform_admin()) {
 
     $blocks['platform']['icon'] = Display::return_icon(
         'platform.png',
-        get_lang('Platform'),
+        get_lang('Platform management'),
         [],
         ICON_SIZE_MEDIUM,
         false
     );
-    $blocks['platform']['label'] = api_ucfirst(get_lang('Platform'));
+    $blocks['platform']['label'] = api_ucfirst(get_lang('Platform management'));
     $blocks['platform']['description'] = get_lang('Configure your platform, view reports, publish and send announcements globally');
     $blocks['platform']['class'] = 'block-admin-platform';
     $blocks['platform']['editable'] = true;
@@ -516,6 +516,7 @@ if (api_is_platform_admin()) {
         false
     );
     $blocks['chamilo']['label'] = 'Chamilo.org';
+    $blocks['chamilo']['description'] = get_lang('Learn more about Chamilo and its use, official references links');
     $blocks['chamilo']['class'] = 'block-admin-chamilo';
 
     $items = [];
@@ -545,7 +546,7 @@ if (api_is_platform_admin()) {
         ICON_SIZE_MEDIUM,
         false
     );
-    $blocks['version_check']['label'] = get_lang('VersionCheck');
+    $blocks['version_check']['label'] = get_lang('Version Check');
     $blocks['version_check']['extra'] = '<div class="admin-block-version"></div>';
     $blocks['version_check']['search_form'] = null;
     $blocks['version_check']['items'] = '<div class="block-admin-version_check"></div>';