1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-23 16:01:39 +02:00

Issue #5473 Styling tweaks. Upgrade routine and fresh install settings.

This commit is contained in:
camer0n
2025-04-26 08:29:35 -07:00
parent 68c0eb8505
commit 3b76d41cc6
3 changed files with 14 additions and 5 deletions

View File

@@ -644,6 +644,15 @@ function update_core_database($type = '')
$just_check = !($type == 'do');
$pref = e107::getPref();
if(!$just_check)
{
if(e107::getConfig()->get('admincss') !== 'css/modern-dark-2.css')
{
e107::getConfig()->set('admincss','css/modern-dark-2.css')->save(false,true,false);
e107::getMessage()->addSuccess("Admin skin has been updated to Modern Dark 2");
}
}
if(!isset($pref['lan_global_list']['news']))
{

View File

@@ -9,7 +9,7 @@
<core name="admin_navbar_debug">255</core>
<core name="admin_helptip">1</core>
<core name="admincode">0</core>
<core name="admincss">css/modern-light.css</core>
<core name="admincss">css/modern-dark-2.css</core>
<core name="adminlanguage"></core>
<core name="adminpwordchange">0</core>
<core name="adminstyle">flexpanel</core>

View File

@@ -313,7 +313,7 @@ h2,h3{page-break-after:avoid}
.glyphicon-menu-down:before{content:"\e259"}
.glyphicon-menu-up:before{content:"\e260"}
*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#c6c6c6}
body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#c6c6c6; background-color:#262626;}
button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}
a{color:#8BC0ED;text-decoration:none}
a:focus,a:hover{color:#fff;text-decoration:none}
@@ -1514,7 +1514,7 @@ td.forumheader{background-image:linear-gradient(#303030,#212121 60%,#171717);fil
/* Custom */
html { height: auto !important; }
body { margin-top: 51px; padding: 0 !important; background: #2f2f2f }
body { margin-top: 51px; padding: 0 !important; }
.navbar-brand {
padding:
10px 16px !important;
@@ -1530,7 +1530,7 @@ div.admin-left-panel {
min-width: 50px;
}
div.admin-right-panel { padding-top: 20px; border-top-left-radius: 5px; background: #262626 }
div.admin-right-panel { padding-top: 75px; border-top-left-radius: 5px; background: #262626 }
@@ -1553,7 +1553,7 @@ thead th, thead tr, .table > thead > tr > th { border-bottom: 0; border-left:0;
.admin-main-content {
display: block;
min-height: 1000px;
margin-top:60px;
/* margin-top:60px;*/
}
div.is-table-row .admin-left-panel {