mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Bootstrap responsive design now functional. Minimum resolution supported by the admin area is 1280×800
This commit is contained in:
parent
667b8fd46f
commit
d2660e96d7
@ -1,23 +1,13 @@
|
||||
body {
|
||||
padding-top: 75px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
.well {
|
||||
padding:10px;
|
||||
}
|
||||
body { padding-top: 75px; padding-bottom: 40px; }
|
||||
|
||||
.navbar {
|
||||
background-color: #081D28;
|
||||
}
|
||||
.well { padding:10px; }
|
||||
.navbar { background-color: #081D28; }
|
||||
|
||||
#core-infopanel_mye107 a {
|
||||
|
||||
}
|
||||
|
||||
.tipsy-inner {
|
||||
padding:10px;
|
||||
font-size:15px;
|
||||
}
|
||||
.tipsy-inner { padding:10px; font-size:15px; }
|
||||
|
||||
/* Core Formatting */
|
||||
.left { text-align: left }
|
||||
@ -40,17 +30,24 @@
|
||||
|
||||
td.center, th.center { text-align:center }
|
||||
|
||||
.col-label {
|
||||
width:30%;
|
||||
.col-label { width:30%; }
|
||||
|
||||
.sidebar-nav { padding: 9px 0; font-size:11px; min-width:150px; }
|
||||
|
||||
|
||||
@media (min-width: 1300px) {
|
||||
|
||||
.sidebar-nav { font-size:12px; }
|
||||
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
padding: 9px 0;
|
||||
@media (min-width: 1500px) {
|
||||
|
||||
.sidebar-nav { font-size:15px; }
|
||||
|
||||
}
|
||||
|
||||
.nav-collapse {
|
||||
margin-top:8px;
|
||||
}
|
||||
.nav-collapse { margin-top:8px; }
|
||||
|
||||
.dropdown-menu img { padding: 0px 0px; margin-right: 10px; }
|
||||
|
||||
@ -83,6 +80,7 @@ label {
|
||||
margin-left:5px;
|
||||
margin-right:10px;
|
||||
display: inline;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
|
||||
/* Core Icons & Image Buttons */
|
||||
@ -130,6 +128,13 @@ a.dropdown-toggle {
|
||||
transition:color .20s ease-in-out;
|
||||
}
|
||||
|
||||
img.S32 {
|
||||
|
||||
|
||||
}
|
||||
img.S32:hover {
|
||||
|
||||
}
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
/* Admin List Table */
|
||||
|
@ -135,7 +135,7 @@ $E_ADMIN_NAVIGATION['end'] = '</ul>';
|
||||
$ADMIN_HEADER = '<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="'.e_ADMIN_ABS.'admin.php"><img src="'.THEME.'img/e107_adminlogo.png" alt="e107" /></a>
|
||||
<a class="brand" href="'.e_ADMIN_ABS.'admin.php" title="Return to Front Panel"><img src="'.THEME.'img/e107_adminlogo.png" alt="e107" /></a>
|
||||
<div class="nav-collapse collapse">
|
||||
<div class="dropdown nav pull-right navbar-text ">
|
||||
|
||||
@ -145,7 +145,7 @@ $ADMIN_HEADER = '<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
</div>
|
||||
|
||||
<div class="dropdown nav">
|
||||
{ADMIN_NAVIGATION}
|
||||
{ADMIN_NAVIGATION=no-main}
|
||||
|
||||
<!--
|
||||
<ul class="nav" role="navigation">
|
||||
|
@ -2,6 +2,7 @@
|
||||
if ( ! defined('e107_INIT')) { exit(); }
|
||||
|
||||
define('STANDARDS_MODE', TRUE);
|
||||
define("VIEWPORT","width=device-width, initial-scale=1.0");
|
||||
|
||||
// include_lan(e_THEME."_blank/languages/".e_LANGUAGE.".php");
|
||||
e107::js('theme','js/bootstrap.js');
|
||||
@ -158,7 +159,7 @@ function tablestyle($caption, $text, $mode)
|
||||
|
||||
case 'admin_menu' :
|
||||
echo '
|
||||
<div class="well sidebar-nav" style="padding:10px">
|
||||
<div class="well sidebar-nav" >
|
||||
<div class="nav-header">'.$caption.'</div>
|
||||
'.$text.'
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user