add css themes sober_brown CT#7539

1.10.x
aragonc 9 years ago
parent c7a7eeef8f
commit 5f1803724c
  1. 23
      app/Resources/public/css/base.css
  2. 145
      app/Resources/public/css/themes/sober_brown/default.css
  3. BIN
      app/Resources/public/css/themes/sober_brown/images/header-logo.png
  4. 4
      main/template/default/layout/header.js.tpl

@ -100,7 +100,15 @@ a.thumbnail:hover{
font-size:22px;
margin-top:5px;
}
#announcements-slider .left, #announcements-slider .right{
#carousel-announcement{
min-height: 300px;
}
#carousel-announcement img{
display: block;
max-width: 100%;
height: auto;
}
#carousel-announcement .left, #carousel-announcement .right{
position: absolute;
top: 50%;
background: #00829C;
@ -115,26 +123,23 @@ a.thumbnail:hover{
-webkit-border-radius: 4px;
opacity: 0.8;
}
#announcements-slider .left{
#carousel-announcement .left{
left: 10px;
}
#announcements-slider .right{
#carousel-announcement .right{
right: 10px;
}
#announcements-slider .carousel-indicators li{
#carousel-announcement .carousel-indicators li{
width: 20px;
height: 20px;
background-color: #fff;
margin: 0px 15px 0px 0px;
position: relative;
}
#announcements-slider .carousel-indicators .active{
#carousel-announcement .carousel-indicators .active{
background: #C52D2F;
}
#announcements-slider .carousel-inner img {
height: auto;
width: 100%;
}
#notice_block p, #notice-block p{
color: #666;
font-size: 12px;

@ -0,0 +1,145 @@
/*!
* CSS Empire Green - v. 2.0
* 2015 - Alex Aragón (aragonc@beeznest.com)
* Licensed GPL
* Based on Bootstrap
*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(../chamilo/fonts/OpenSans-Light.woff2) format('woff2'), url(../chamilo/fonts/OpenSans-Light.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(../chamilo/fonts/OpenSans.woff2) format('woff2'), url(../chamilo/fonts/OpenSans.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(../chamilo/fonts/OpenSans-Semibold.woff2) format('woff2'), url(../chamilo/fonts/OpenSans-Semibold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../chamilo/fonts/OpenSans-Bold.woff2) format('woff2'), url(../chamilo/fonts/OpenSans-Bold.woff) format('woff');
}
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
font-family: 'Open Sans', sans-serif;
line-height: 1.72222;
}
a{
color: #666666;
}
a:hover{
color: #B83609;
text-decoration: none;
}
.navbar-default {
background: #521804;
}
.navbar-default .navbar-brand {
color: #ffffff;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #ededed;
}
.navbar-default .navbar-text {
color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: #FFFFFF;
background: #6B1F05; /* Old browsers */
}
.navbar-default .navbar-nav > li > .dropdown-menu {
background-color: #B83609;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
color: #ffffff;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
color: #ededed;
background-color: #F7490C;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .divider {
background-color: #0099c0;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #FFFFFF;
background: #F7490C;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
color: #FFFFFF;
background: #F7490C;
}
.navbar-default .navbar-toggle {
border-color: #D45500;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #521804;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #ffffff;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #D45500;
}
.navbar-default .navbar-link {
color: #ffffff;
}
.navbar-default .navbar-link:hover {
color: #ededed;
}
@media (max-width: 767px) {
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #ffffff;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #ededed;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #ededed;
background-color: #0099c0;
}
}
.breadcrumb{
background: #F9F9F9;
color: #006A84;
}
.nav li a:hover{
background: transparent;
}
.panel-default .panel-heading{
background-color: #F9F9F9;
}
footer{
background: #782306;
color: #F7490C;
border-top: 4px solid #F7490C;
}
footer a{
color: #ffffff;
}
footer a:hover{
color: #CCC;
}
.badge{
background-color: #F7490C;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

@ -80,8 +80,8 @@ $(document).ready(function(){
check_brand();
//if exists the toolbar admin
if($('#toolbar').length){
var heigthToolBar= $('#toolbar').height();
if($('#toolbar-admin').length){
var heigthToolBar= $('#toolbar-admin').height();
$('header').css('margin-top', heigthToolBar+'px');
$('#page-back').css('padding-top', heigthToolBar+20+'px');
}

Loading…
Cancel
Save