Browse Source

update css chamilo_electric_blue

Alex 11 years ago
parent
commit
9076cae485

+ 39 - 81
main/css/chamilo_electric_blue/default.css

@@ -29,15 +29,20 @@ a:active {
     padding-top: 13px;
 }
 .subnav .navbar-inner {
-    background-color: #133AAC; /* Old browsers */
-    background-repeat: repeat-x; /* Repeat the gradient */
-    background-image: none;
+    background: #175ae2; /* Old browsers */
+    background: -moz-linear-gradient(top, #175ae2 0%, #133aac 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#175ae2), color-stop(100%,#133aac)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #175ae2 0%,#133aac 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #175ae2 0%,#133aac 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #175ae2 0%,#133aac 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #175ae2 0%,#133aac 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#175ae2', endColorstr='#133aac',GradientType=0 ); /* IE6-9 */
     border: none;
 }
 
 .subnav .nav > li > a {
-    border-left: 1px solid #133AAC;
-    border-right: 1px solid #133AAC;
+    border-left: 1px solid #133CB0;
+    border-right: 1px solid #133CB0;
     color: white;
     font-weight: normal;
     font-size: 13px;
@@ -47,7 +52,14 @@ a:active {
 .subnav .nav > #current > a,
 .subnav .nav > #current > a:hover {  
     color: #fff;
-    background-color: #2B4181;
+    background: #2b4181; /* Old browsers */
+    background: -moz-linear-gradient(top, #2b4181 0%, #133aac 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b4181), color-stop(100%,#133aac)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #2b4181 0%,#133aac 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #2b4181 0%,#133aac 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #2b4181 0%,#133aac 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #2b4181 0%,#133aac 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b4181', endColorstr='#133aac',GradientType=0 ); /* IE6-9 */
     border-right-color: #2B4181;  
 }
 
@@ -57,7 +69,14 @@ a:active {
 
 /* Green hover */
 .subnav .navbar-inner li a:hover {
-    background: none repeat scroll 0 0 #476BD6;
+    background: #2b4181; /* Old browsers */
+    background: -moz-linear-gradient(top, #2b4181 0%, #133aac 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b4181), color-stop(100%,#133aac)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #2b4181 0%,#133aac 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #2b4181 0%,#133aac 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #2b4181 0%,#133aac 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #2b4181 0%,#133aac 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b4181', endColorstr='#133aac',GradientType=0 ); /* IE6-9 */
     color: #fff;
 }
 .well .nav-list > li > a:hover {
@@ -89,20 +108,6 @@ a:active {
     padding-right: 15px;*/
     padding-top: 6px;
 }
-.controls .btn{
-    background:#2E75A3;
-    color: #FFFFFF;
-    border: 1px solid #2E75A3;
-    padding: 5px 25px;
-    font-size: 14px;
-    text-shadow: none;
-}
-.controls .btn:hover{
-    background:#90B1F3;
-    border: none;
-    color: #FFFFFF;
-
-}
 .form-actions {
   background:transparent;
 }
@@ -137,40 +142,6 @@ a:active {
   border: 1px solid #FD6600;
   color: #FFFFFF;
 }
-.btn{
-  display: inline-block;
-  padding: 6px 12px;
-  margin-bottom: 0;
-  font-size: 14px;
-  font-weight: normal;
-  line-height: 1.428571429;
-  text-align: center;
-  white-space: nowrap;
-  vertical-align: middle;
-  cursor: pointer;
-  -webkit-user-select: none;
-     -moz-user-select: none;
-      -ms-user-select: none;
-       -o-user-select: none;
-          user-select: none;
-  background-image: none;
-  border: none;
-  border-radius: 4px;
-  border-color: #ccc;
-}
-.btn:hover{
-  color: #333;
-  text-decoration: none;
-}
-.btn-primary{
-    background-color:#133AAC;
-    background-image: none;
-    border:none;
-}
-.btn-primary:hover{
-    background-color:#2B4181;
-    color: #FFFFFF;
-}
 
 /* styles for the star rater */
 .star-rating{
@@ -338,13 +309,7 @@ a:active {
     color: #666666;
     padding-left: 15px;
 }
-.controls .btn{
-    background:#133AAC;
-    color: #FFFFFF;
-    border:none;
-    padding: 5px 25px;
-    text-shadow: none;
-}
+
 #top_main_content #announcements .page-header{
   display: none;
   line-height: 1;
@@ -416,25 +381,10 @@ a:active {
 #homepage .row .span9 a:hover{
     color: #476BD6;
 }
-.page-header h2{
-    color: #133AAC;
-    font-weight: bold;
-    font-size: 20px;
-    padding-left: 10px;
-}
 #course_tools .course-title-tools h3 {
     margin-top: 10px;
     color: #133AAC;
-    font-weight: normal;
-    
-    
-}
-.page-header {
-  border-bottom-color: #133AAC;
-  border-bottom-style: solid;
-  border-bottom-width: 1px;
-  box-shadow: none;
-  padding-bottom: 0px;
+    font-weight: normal;    
 }
 .well_border{
   background-color: rgba(243,226,169, 0.1);
@@ -474,14 +424,22 @@ a:active {
 #course_category li, #hot_courses h5, .course_item h5, .categories-course-description h5, .course-box h5 {
   font-weight: normal;
 }
+.page-header h2{
+  color: #666666;
+}
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
 footer {
     height: 10em;    
-    background-color: #133AAC;
-    background-image: none;
-    background-repeat:repeat-x;    
+    background: #133aac; /* Old browsers */
+    background: -moz-linear-gradient(top, #133aac 0%, #0119a0 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#133aac), color-stop(100%,#0119a0)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #133aac 0%,#0119a0 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #133aac 0%,#0119a0 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #133aac 0%,#0119a0 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #133aac 0%,#0119a0 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#133aac', endColorstr='#0119a0',GradientType=0 ); /* IE6-9 */
     color:#ffffff;
     border-top: none;   
 }

BIN
main/css/chamilo_electric_blue/images/blue_arrow.png


BIN
main/css/chamilo_electric_blue/images/white_arrow.png


+ 76 - 47
main/css/chamilo_electric_blue/scorm.css

@@ -8,7 +8,7 @@
 
 .inner_lp_toc .scorm_item a {
     font-weight: bold;
-    font-size: 14px;
+    font-size: 13px;
     margin-right: 1px;
     padding-bottom: 2px;
     text-decoration: none;
@@ -139,25 +139,27 @@
 }
 
 .scorm_item_level_1 {
-    padding : 0 0.5em 0 1.5em;
+    padding : 0 1.5em 0 1.5em;
 }
 
 .scorm_item_level_2 {
-    padding : 0 0.5em 0 3em;
+    padding : 0 1.5em 0 3em;
 }
-
 .scorm_item_level_3 {
-    padding : 0 0.5em 0 4.5em;
+    padding : 0 1.5em 0 4.5em;
 }
 
 .scorm_item_level_4 {
-    padding : 0 0.5em 0 6em;
+    padding : 0 1.5em 0 6em;
 }
 
 .scorm_item_level_5 {
-    padding : 0 0.5em 0 7.5em;
+    padding : 0 1.5em 0 7.5em;
 }
 
+.scorm_item.scorm_item_level_2 > a, .scorm_item.scorm_item_level_3 > a, .scorm_item.scorm_item_level_4 > a, .scorm_item.scorm_item_level_5 > a{
+    font-weight: normal;
+}
 /* end of copy of default_scorm.css */
 
 
@@ -171,7 +173,6 @@
     padding: 0px;
     margin-top: 0px;
     padding-top: 0px;
-    font-size: small;
 }
 .lp_toc {
     background-color: white;
@@ -183,16 +184,14 @@
 .inner_lp_toc {
     overflow: auto;
     background-color: white;
-    height: 210px;   
+    height: 210px;
+    padding: 10px;   
 }
 
 .inner_lp_toc .scorm_item a {
-    font-weight: normal;
-    font-size: 12px;
     margin-right: 1px;
     padding-bottom: 2px;
     text-decoration: none;
-    font-family: Helvetica,Arial,sans-serif;
     color: #2F3E46;    
 }
 
@@ -203,7 +202,6 @@
 .inner_lp_toc .scorm_item_highlight {   
     border:1px solid #00aad4;
     background:#00aad4;
-    font-weight:normal;
     background-image:none;
     margin-right: 0px;
     padding: 10px 0px 10px 0px;
@@ -214,7 +212,6 @@
     color:#fff;
     margin-right: 1px;
     text-decoration: none;
-    font-weight: normal;
 }
 
 .inner_lp_toc .scorm_item_section {
@@ -347,41 +344,57 @@
     padding-top: 4px;
 }
 
-
-
 #learning_path_breadcrumb_zone .breadcrumb{
-    background-image: none;
-    background-color: #2e75a3;
+    background: #175ae2; /* Old browsers */
+    background: -moz-linear-gradient(top, #175ae2 0%, #133aac 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#175ae2), color-stop(100%,#133aac)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #175ae2 0%,#133aac 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #175ae2 0%,#133aac 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #175ae2 0%,#133aac 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #175ae2 0%,#133aac 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#175ae2', endColorstr='#133aac',GradientType=0 ); /* IE6-9 */
     color: #fff;
     text-transform: capitalize;
+    border:none;
+    -webkit-border-radius: 1px;
+    -moz-border-radius: 1px;
+    border-radius: 1px;
 }
 #learning_path_breadcrumb_zone .breadcrumb a{
     color: #FFF;
 }
 #learning_path_breadcrumb_zone .breadcrumb a:hover{
-    text-decoration: underline;
+    text-decoration: none;
+    opacity: 0.8;
 }
 #scorm_title {
     font-weight: bold;
     background:none;
     font-size: 20px;
     background-image: none;
-    color: #0088aa;
-    padding-top: 5px;
+    color: #666666;
+    padding-top: 15px;
     padding-bottom: 15px;
 }
 #learning_path_main #control {
-  opacity: 1;
+    opacity: 1;
 }
 .buttons a img:hover{
-opacity: 0.7;
+    opacity: 0.7;
 }
 #author_image{
-    background-color: #d7eef4;
+    background: #ffffff; /* Old browsers */
+    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
     -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
     border-radius: 10px;
-    border: 1px solid  #b4cbff;
+    border: 1px solid  #CCCCCC;
     margin-top: 10px;
 }
 #author_icon img{
@@ -393,17 +406,16 @@ opacity: 0.7;
 }
 #author_image .progresstext{
     font-size: 20px;
-    color: #0088aa;
+    color: #666666;
     font-weight: bold;
 }
 #learning_path_left_zone #header {
-  font-size: 14px;
+  font-size: 18px;
   margin-top: 10px;
 }
 #learning_path_left_zone .no-border{
     background: none;
-    color: #2e75a3;
-    font-weight: normal;
+    color: #666666;
 }
 .progress {
   height: 18px;
@@ -426,31 +438,23 @@ opacity: 0.7;
           box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
 }
 .progress-striped .bar {
-  background-color: #149BDF;
-  background-size: 40px 40px;
-  background-image: none;
+  background-color: #154DCD;
+  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+    -webkit-animation: progress-bar-stripes 2s linear infinite;
+    animation: progress-bar-stripes 2s linear infinite;
 }
 
 /*STYLES PROCESS LESSION*/
 .inner_lp_toc .scorm_completed {
-    
-    background-image: url("images/blue_arrow.png") !important;
-    background-position: 250px center !important;
-    background-repeat: no-repeat;
-}
-
-.inner_lp_toc .scorm_item_highlight {
-    background-color: #00aad4;
-    background-image: url("images/white_arrow.png") !important;
-    background-position: 250px center !important;
+    background-image: url("images/blue_arrow.png")  !important;
+    background-position: 255px center !important;
     background-repeat: no-repeat;
-    border: 1px solid #00aad4;
 }
 
-
 .inner_lp_toc .scorm_item_1 {
-  background-color: #d7eef4;
-  background-image: none;
+  background:none;
+  background-repeat: no-repeat;
   border-bottom-color: #CCCCCC;
   border-bottom-style: solid;
   border-bottom-width: 1px;
@@ -479,4 +483,29 @@ opacity: 0.7;
   position: absolute;
   text-align: center;
   width: 100%;
-}
+  border-top:1px solid #00AAD4;
+}
+.inner_lp_toc .scorm_item_highlight {
+    background-color: #EEEEEE;
+    background-image: url("images/white_arrow.png") !important;
+    background-position: 255px center !important;
+    background-repeat: no-repeat;
+    border-top: none;
+    border-right: none;
+    border-left: none;
+    border-bottom: 1px solid #CCCCCC;
+    text-shadow:none;
+}
+.inner_lp_toc .scorm_item_highlight a{
+    color: #666;
+}
+#author_name {
+  color: #666666;
+  float: left;
+  font-size: 13px;
+  margin-top: 2px;
+  text-align: center;
+  width: 100%;
+  padding-top: 10px;
+  padding-bottom: 5px;
+}

+ 1 - 1
main/inc/lib/display.lib.php

@@ -1457,7 +1457,7 @@ class Display
         return 'data_table';
     }
 
-    public static function page_header($title, $second_title = null, $size = 'h1') {
+    public static function page_header($title, $second_title = null, $size = 'h2') {
         $title = Security::remove_XSS($title);
         if (!empty($second_title)) {
             $second_title = Security::remove_XSS($second_title);