diff --git a/e107_admin/update_routines.php b/e107_admin/update_routines.php
index dfd402fc2..f30366cd1 100644
--- a/e107_admin/update_routines.php
+++ b/e107_admin/update_routines.php
@@ -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']))
{
diff --git a/e107_core/xml/default_install.xml b/e107_core/xml/default_install.xml
index 8e439250a..54d4d6d93 100644
--- a/e107_core/xml/default_install.xml
+++ b/e107_core/xml/default_install.xml
@@ -9,7 +9,7 @@
255
1
0
- css/modern-light.css
+ css/modern-dark-2.css
0
flexpanel
diff --git a/e107_themes/bootstrap3/css/modern-dark-2.css b/e107_themes/bootstrap3/css/modern-dark-2.css
index 27d69b62a..979b9b9b0 100644
--- a/e107_themes/bootstrap3/css/modern-dark-2.css
+++ b/e107_themes/bootstrap3/css/modern-dark-2.css
@@ -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 {