Browse Source

visible change icon for another

Alex 11 years ago
parent
commit
0267c86a8e

+ 7 - 4
main/css/chamilo_green/default.css

@@ -556,8 +556,8 @@ a.thumbnail:hover{
 
 .pagerslide h2{
     font-size: 18px;
-    background-color:  #0191C7;
-    color: #FFFFFF;
+    background-color:  #E6E6E6;
+    color: #666666;
     padding-left: 15px;
 }
 
@@ -633,7 +633,7 @@ a.thumbnail:hover{
     color: #9ABF00;
 }
 .page-header h2{
-    color: #77A300;
+    color: #666;
     font-weight: bold;
     font-size: 20px;
     padding-left: 10px;
@@ -644,7 +644,10 @@ a.thumbnail:hover{
     font-weight: normal;
 }
 .page-header {
-  border:none;
+  border:1px solid #cccccc;
+  background:#E6E6E6;
+  margin-top: 0px;
+  margin-bottom: 10px;
 }
 .well_border{
   background-color: rgba(199,199,199, 0.2);

BIN
main/img/icons/32/visible.png


+ 2 - 2
main/inc/ajax/course_home.ajax.php

@@ -30,10 +30,10 @@ switch ($action) {
             $requested_image   = ($tool_visibility == 0 ) ? $tool_image : $new_image;
             $requested_clase   = ($tool_visibility == 0 ) ? 'visible' : 'invisible';
             $requested_message = ($tool_visibility == 0 ) ? 'is_active' : 'is_inactive';
-            $requested_view    = ($tool_visibility == 0 ) ? 'visible.gif' : 'invisible.gif';
+            $requested_view    = ($tool_visibility == 0 ) ? 'visible.png' : 'invisible.png';
             $requested_visible = ($tool_visibility == 0 ) ? 1 : 0;
 
-            $requested_view    = ($tool_visibility == 0 ) ? 'visible.gif' : 'invisible.gif';
+            $requested_view    = ($tool_visibility == 0 ) ? 'visible.png' : 'invisible.png';
             $requested_visible = ($tool_visibility == 0 ) ? 1 : 0;
 			//HIDE AND REACTIVATE TOOL
 			if ($_GET["id"]==strval(intval($_GET["id"]))) {

+ 2 - 2
main/inc/lib/course_home.lib.php

@@ -662,12 +662,12 @@ class CourseHome
 
                     if (empty($session_id)) {
                         if ($tool['visibility'] == '1' && $tool['admin'] != '1') {
-                            $link['name'] = Display::return_icon('visible.gif', get_lang('Deactivate'), array('id' => 'linktool_'.$tool['id']), ICON_SIZE_MEDIUM, false);
+                            $link['name'] = Display::return_icon('eyes-visible.png', get_lang('Deactivate'), array('id' => 'linktool_'.$tool['id']), ICON_SIZE_MEDIUM, false);
                             $link['cmd'] = 'hide=yes';
                             $lnk[] = $link;
                         }
                         if ($tool['visibility'] == '0' && $tool['admin'] != '1') {
-                            $link['name'] = Display::return_icon('invisible.gif', get_lang('Activate'), array('id' => 'linktool_'.$tool['id']), ICON_SIZE_MEDIUM, false);
+                            $link['name'] = Display::return_icon('eyes-invisible.png', get_lang('Activate'), array('id' => 'linktool_'.$tool['id']), ICON_SIZE_MEDIUM, false);
                             $link['cmd'] = 'restore=yes';
                             $lnk[] = $link;
                         }