123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597 |
- /* media queries responsive */
- /* Typical screen resolutions (only width matters) are:
- 320*
- 480*
- 640*
- 720* (samsung S3)
- 800*
- 1024*
- 1152
- 1280*
- 1360
- 1400
- 1440*
- 1600*
- 1680
- 1920*
- +more*
- The more frequent ones have been marked with *
- */
- /* Phone */
- @media (max-width: 320px) {
- header #header_center, header #header_right, header #header_left {
- display: none;
- }
- .navbar {
- margin-top: 0em;
- }
- #main_content .span3 #login_block {
- width: 160px;
- float: left;
- }
- #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;
- text-shadow: 0px;
- }
- /* In order to avoid clicking in the main title instead of the expand button */
- .subnav .navbar-inner .in {
- margin-top: 45px;
- }
- #main_content .span3 #login_block {
- width: 180px;
- }
- #main_content .span3 #help_block {
- width: 100px;
- }
- /* only for the course tools */
- #course_tools .row > [class*="span"], #course_tools .row-fluid > [class*="span"] {
- float: left;
- margin-left: 20px;
- }
- /* Course- home - Show 2 icons instead of one */
- .course-tool {
- float: left;
- height: 110px;
- width: 110px;
- }
- .course-tool h4 {
- font-size: 15px;
- }
- /* in admin, reduce block height but increase width (from 47%) as there
- will be only one for the whole width */
- #settings .span6 {
- min-height: none;
- width: 95%;
- }
- .section-mycourses .menu-column, .section-mycampus .menu-column {
- width: 95%;
- }
- .section-mycampus .menu-column #login_block {
- width: 95%;
- }
- .section-mycourses .menu-column #user_image_block,
- .section-mycourses .menu-column #profile_block,
- .section-mycourses .menu-column #skill_block,
- .section-mycourses .menu-column #search_block,
- .section-mycourses .menu-column #classes_block,
- .section-mycourses .menu-column #reservation_block,
- .section-mycourses .menu-column #skill_block,
- .section-mycampus .menu-column #help_block,
- .section-mycourses .menu-column #notice_block {
- display: none;
- }
- .section-mycampus #homepage {
- width: 260px;
- }
- .section-mycampus #hot_courses {
- width: 260px;
- }
- .section-mycourses #top_main_content {
- margin-right: 15px;
- }
- .section-mycourses #main_content {
- margin-right: 15px;
- width: 260px;
- }
- .section-mycourses .course-box .course-box-actions {
- display: none;
- }
- .section-mycampus .hot-course-box, .section-mycourses .course-box {
- width: 95%;
- }
- footer {
- margin-top: 0px;
- }
- }
- @media (min-width: 321px) and (max-width: 480px) {
- header #header_center, header #header_right, header #header_left {
- display: none;
- }
- .navbar {
- margin-top: 0em;
- }
- .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;
- text-shadow: 0px;
- }
- .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;
- }
- /* only for the course tools */
- #course_tools .row > [class*="span"], #course_tools .row-fluid > [class*="span"] {
- float: left;
- margin-left: 10px;
- }
- /* Course- home - Show 2 icons instead of one */
- .course-tool {
- float: left;
- height: 150px;
- width: 160px;
- }
- .course-tool h4 {
- font-size: 14px;
- }
- .subbav .nav > li > a:hover,
- .subbav .dropdown-menu a:hover {
- background-color: #555;
- }
- #main_content .span3 #login_block {
- width: 280px;
- float: left;
- }
- #main_content .span3 #help_block {
- width: 100px;
- float: right;
- margin-left: 10px;
- margin-right: 10px;
- }
- /* in admin, reduce block height but increase width (from 47%) as there
- will be only one for the whole width */
- #settings .span6 {
- min-height: none;
- width: 95%;
- }
- .section-mycourses .menu-column, .section-mycampus .menu-column {
- width: 95%;
- }
- .section-mycampus .menu-column #login_block {
- width: 95%;
- }
- .section-mycourses .menu-column #user_image_block,
- .section-mycourses .menu-column #profile_block,
- .section-mycourses .menu-column #skill_block,
- .section-mycourses .menu-column #search_block,
- .section-mycourses .menu-column #classes_block,
- .section-mycourses .menu-column #reservation_block,
- .section-mycourses .menu-column #skill_block,
- .section-mycampus .menu-column #help_block,
- .section-mycourses .menu-column #notice_block {
- display: none;
- }
- .section-mycampus #homepage {
- width: 400px;
- }
- .section-mycampus #hot_courses {
- width: 400px;
- }
- .section-mycourses #top_main_content {
- margin-right: 15px;
- }
- .section-mycourses #main_content {
- margin-right: 15px;
- width: 400px;
- }
- .section-mycourses .course-box .course-box-actions {
- display: none;
- }
- .section-mycampus .hot-course-box, .section-mycourses .course-box {
- width: 95%;
- }
- footer {
- margin-top: 0px;
- }
- }
- @media (min-width: 481px) and (max-width: 800px) {
- /* No topbar */
- #topbar {
- display: none;
- }
- /* only for the course tools */
- #course_tools .row > [class*="span"], #course_tools .row-fluid > [class*="span"] {
- float: left;
- }
- .course-tool {
- width: 210px;
- }
- .course-tool 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;
- }
- /* Remove any padding from the body */
- body {
- padding-top: 0;
- }
- #topbar_push {
- height: 0px;
- }
- /* 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;
- }
- .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;
- border-radius: 4px 4px 0 0;
- }
- #section-social .row > [class*="span"], #section-social .row-fluid > [class*="span"] {
- float: left;
- }
- /* Some fixes for w~720px */
- .section-mycampus #top_main_content .content-column {
- float: none;
- }
- .section-mycampus #homepage {
- float: left;
- width: 450px;
- }
- .section-mycampus #hot_courses {
- float: left;
- width: 660px;
- }
- .section-mycampus #hot_courses .page-header {
- width: 650px;
- }
- .section-mycourses .course-box .course-box-actions {
- display: none;
- }
- .section-mycampus .hot-course-box, .section-mycourses .course-box {
- width: 660px;
- }
- /* 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;
- }
- }
- @media (min-width: 800px) {
- .advmultiselect [class*="span4"] {
- margin-left: 10px;
- }
- }
- @media (min-width: 801px) and (max-width: 979px) {
- /* 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 {
- }
- .course-tool {
- width: 220px;
- }
- }
- @media (max-width: 979px) {
- /* Remove any padding from the body */
- body {
- padding-top: 0;
- }
- #topbar_push {
- height: 0px;
- }
- .section-social .span9 {
- width: 530px;
- }
- }
- @media (min-width: 980px) and (max-width: 1200px) {
- /* 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;
- }
- .course-tool {
- width: 280px;
- }
- .section-social .span9, .section-mycourses .span9 {
- width: 680px;
- }
- .section-social .social-menu {
- width: 200px;
- }
- .section-social .span5 {
- width: 350px;
- }
- }
- /* LARGE DESKTOP SCREENS */
- @media (min-width: 1201px) {
- #top_main_content .span12 {
- /* width: 98%; */
- }
- /* only for the course tools */
- #course_tools .row > [class*="span"], #course_tools .row-fluid > [class*="span"] {
- float: left;
- }
- .course-tool {
- width: 260px;
- }
- .btn-invitations {
- margin-left: 120px;
- }
- .btn-msg {
- padding-left: 27px;
- }
- .btn-inv {
- padding-left: 27px;
- padding-right:5px;
- }
- .btn-inv-off {
- padding-left: 27px;
- padding-right:5px;
- }
- }
|