Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/main/css/responsive.css

445 lines
9.9 KiB

/* media queries responsive */
/* LARGE DESKTOP SCREENS */
@media (min-width: 1210px) {
}
/* Tablet or large-screen phone */
@media (min-width: 980px) and (max-width: 1024px) {
/* fixes tabs */
.subnav .nav-tabs > li > a, .subnav .nav-pills > li > a {
padding-left: 6px;
padding-right: 6px;
}
/* only for the course tools */
#course_tools .row > [class*="span"], #course_tools .row-fluid > [class*="span"] {
float: left;
}
#top_main_content .span6 {
width: 450px;
}
.section-social #top_main_content .span3 {
width: 200px;
}
}
@media (max-width: 979px) {
/* Remove any padding from the body */
body {
padding-top: 0;
}
#topbar_push {
height: 0px;
}
}
/* Normal tablet or normal-screen phone */
@media (min-width: 768px) and (max-width: 978px) {
/* No topbar */
#topbar {
display:none;
}
/* fixes tabs */
.subnav .nav-tabs > li > a, .subnav .nav-pills > li > a {
padding-left: 6px;
padding-right: 6px;
}
.subnav .dropdown-toggle {
display:none;
}
.subnav .nav > li > a, .navbar .dropdown-menu a {
color: #ccc;
}
.subnav .nav > li > a:hover,
.subnav .dropdown-menu a:hover {
}
.section-social #top_main_content .span3 {
width: 190px;
}
#top_main_content .span4, #top_main_content .span5 {
width: 250px;
margin-left: 5px;
}
#top_main_content .span6 {
width: 340px;
}
#top_main_content .span9 {
width: 500px;
margin-left: 5px;
}
}
@media (max-width: 767px) {
/* No topbar */
#topbar {
display:none;
}
14 years ago
#course_tools .row .span4 h4 {
font-size: 14px;
}
.subnav .dropdown-toggle {
display:none;
}
header #header_center, header #header_right {
display:none;
}
#footer_right #admin_name, #footer_right #software_name {
text-align: center !important;
}
.subnav .nav > li > a, .navbar .dropdown-menu a {
color: white;
}
footer .container .row {
padding-top: 15px;
}
.notification-panel {
display:none;
}
14 years ago
/* Remove any padding from the body */
body {
padding-top: 0;
}
14 years ago
#topbar_push {
height: 0px;
}
14 years ago
/* Subnav */
.subnav {
border:1px solid #fff;
position: static;
top: auto;
z-index: auto;
width: 100%;
height: auto;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
14 years ago
.subnav .nav > li {
float: none;
}
.subnav .nav > li > a {
border: 0;
}
.subnav .nav > li + li > a {
border-top: 1px solid #e5e5e5;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.subnav .navbar-inner li a:hover {
background-color: #666;
color: #fff;
}
/* .new_actions */
.new_actions {
border:1px solid #fff;
position: static;
top: auto;
z-index: auto;
width: 100%;
height: auto;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
text-align: center;
}
.new_actions .nav > li {
float: none;
}
.new_actions .nav > li > a {
border: 0;
}
.new_actions .nav > li + li > a {
border-top: 1px solid #e5e5e5;
}
.new_actions .nav > li:first-child > a,
.new_actions .nav > li:first-child > a:hover {
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
14 years ago
border-radius: 4px 4px 0 0;
}
.section-social #top_main_content .span3 {
width: 170px;
}
.section-social #top_main_content .span4 {
width: 200px;
margin-left: 5px;
float: right;
}
.section-social #top_main_content .span5 {
width: 240px;
margin-left: 5px;
float: left;
}
#top_main_content .span6 {
width: 328px;
float: left;
margin-left: 5px;
}
#top_main_content .span9 {
width: 420px;
margin-left: 5px;
}
.section-social #top_main_content .span9 {
width: 480px;
margin-left: 5px;
}
14 years ago
14 years ago
/* Footer fixes */
footer {
border-top: 1px solid #CCCCCC;
background-color: #fff;
background-image: none;
color: #666;
14 years ago
}
14 years ago
footer #footer_left a, footer #footer_center a, footer #footer_right a {
color : #999;
}
#footer_left , #footer_right #admin_name, #footer_right #software_name {
text-align: center !important;
}
footer .container .row {
padding-top: 15px;
14 years ago
}
}
/* Small-screen phones, horizontal */
@media (max-width: 480px) {
header #header_center, header #header_right, header #header_left {
display:none;
}
.navbar {
margin-top: 1em;
}
.subnav .navbar-inner .in{
margin-top: 45px
}
/* No chat in mobiles */
#chatmain {
display:none;
}
/* No topbar */
#topbar {
display:none;
}
/* No view as link*/
#view_as_link {
display:none;
}
/* Brand fix */
.navbar .brand {
font-size: 14px;
}
.subnav .dropdown-toggle {
display:none;
}
.subnav .nav > li > a, .navbar .dropdown-menu a {
color: white;
}
/* Footer fixes */
footer {
border-top: 1px solid #CCCCCC;
background-color: #fff;
background-image: none;
color: #666;
}
footer #footer_left a, footer #footer_center a, footer #footer_right a {
color : #999;
}
#footer_left , #footer_right #admin_name, #footer_right #software_name {
text-align: center !important;
}
footer .container .row {
padding-top: 15px;
}
/* No resize font */
.resize_font {
display:none;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
/* No notifications */
.notification-panel {
display:none;
}
/* Course- home - Show 2 icons instead of one */
#course_tools .row .span4 {
float: left;
height: 150px;
width: 133px;
}
#course_tools .row .span4 h4 {
font-size: 14px;
}
.subbav .nav > li > a:hover,
.subbav .dropdown-menu a:hover {
background-color: #555;
}
#top_main_content .span3 #login_block {
width: 280px;
float: left;
}
#top_main_content .span3 #help_block {
width: 100px;
float: right;
margin-left: 10px;
margin-right: 10px;
}
.section-social #top_main_content .span3 {
width: 170px;
}
.section-social #top_main_content .span4 {
width: 200px;
margin-left: 5px;
float: right;
}
.section-social #top_main_content .span5 {
width: 240px;
margin-left: 5px;
float: left;
}
#top_main_content .span6 {
width: 400px;
/*min-height: 200px;*/
}
#top_main_content .span9 {
width: 390px;
margin-left: 5px;
}
#top_main_content .span9 #announcements .span6 {
width: 320px;
}
#top_main_content #hot_courses .span9 .thumbnail {
width: 80px;
float: left;
}
#top_main_content #hot_courses .span9 .well_border {
padding: 8px;
}
#top_main_content #hot_courses .span9 .span6 {
width: 250px;
float: right;
min-height: auto;
}
.section-social #top_main_content .span9, .section-mycourses #top_main_content .span9 {
width: 480px;
margin-left: 5px;
}
.section-mycampus #top_main_content .span3, .section-mycourses #top_main_content .span3 {
float: left;
width: 100%;
}
.section-mycampus #top_main_content .span3 #user_image_block, .section-mycampus #top_main_content .span3 #profile_block,
.section-mycourses #top_main_content .span3 #user_image_block, .section-mycourses #top_main_content .span3 #profile_block {
margin: 5px;
width: 192px;
float: left;
}
.section-mycampus #top_main_content .span3 #course_block, .section-mycampus #top_main_content .span3 #help_block, .section-mycampus #top_main_content .span3 #skill_block,
.section-mycourses #top_main_content .span3 #course_block, .section-mycourses #top_main_content .span3 #help_block, .section-mycourses #top_main_content .span3 #skill_block {
margin: 5px;
width: 192px;
float: left;
}
}
/* Phone, vertical screen */
@media (max-width: 320px) {
header #header_center, header #header_right, header #header_left {
display:none;
}
.navbar {
margin-top: 1em;
}
.navbar .brand {
font-size: 14px;
}
#top_main_content .span3 #login_block {
width: 160px;
float: left;
}
#top_main_content .span3 #help_block {
width: 60px;
float: right;
margin-left: 10px;
margin-right: 10px;
}
/* No view as link*/
#view_as_link {
display:none;
}
/* Smaller brand */
.navbar .brand {
font-size: 14px;
}
/* In order to avoid clicking in the main title instead of the expand button */
.subnav .navbar-inner .in{
margin-top: 45px
}
#top_main_content .span3 #login_block {
width: 180px;
}
#top_main_content .span3 #help_block {
width: 100px;
}
}