diff --git a/e107_admin/includes/infopanel.php b/e107_admin/includes/infopanel.php index 7138fb282..5dcd56585 100644 --- a/e107_admin/includes/infopanel.php +++ b/e107_admin/includes/infopanel.php @@ -181,7 +181,7 @@ class adminstyle_infopanel -
"; +
"; foreach ($this->iconlist as $key=>$val) { @@ -584,7 +584,7 @@ class adminstyle_infopanel $frm = e107::getForm(); global $user_pref; - $text = ""; + $text = "
"; @@ -594,7 +594,7 @@ class adminstyle_infopanel if (getperms($icon['perms'])) { $checked = (varset($user_pref['core-infopanel-mye107']) && in_array($key, $user_pref['core-infopanel-mye107'])) ? true : false; - $text .= "
+ $text .= "
".$icon['icon'].' '.$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."
"; } @@ -607,12 +607,12 @@ class adminstyle_infopanel if (getperms($icon['perms'])) { $checked = (in_array('p-'.$key, $user_pref['core-infopanel-mye107'])) ? true : false; - $text .= "
+ $text .= "
".$icon['icon'].$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."
"; } } } - $text .= "
 
"; + $text .= "
 
"; return $text; } @@ -630,7 +630,7 @@ class adminstyle_infopanel $pref = e107::getPref(); - $text = ""; + $text = "
"; $menu_qry = 'SELECT * FROM #menus WHERE menu_id!= 0 GROUP BY menu_name ORDER BY menu_name'; $settings = varset($pref['core-infopanel-menus'],array()); @@ -650,7 +650,7 @@ class adminstyle_infopanel } } - $text .= "
 
"; + $text .= "
 
"; return $text; } diff --git a/e107_handlers/sitelinks_class.php b/e107_handlers/sitelinks_class.php index 969f07960..a9703cd97 100644 --- a/e107_handlers/sitelinks_class.php +++ b/e107_handlers/sitelinks_class.php @@ -1366,13 +1366,13 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; } break; case 'div': - $text .= "
".$icon." + $text .= ""; break; case 'div-icon-only': - $text .= ""; + $text .= ""; break; default: diff --git a/e107_themes/bootstrap/admin_dark.css b/e107_themes/bootstrap/admin_dark.css index 054bc5088..2ae5d0dba 100644 --- a/e107_themes/bootstrap/admin_dark.css +++ b/e107_themes/bootstrap/admin_dark.css @@ -53,6 +53,24 @@ tr.highlight-even { background-color: #212121; } background-image: none; } +.core-mainpanel-block .btn { + + color: #FFF; + text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25); + background-color: #363636; + background-image: linear-gradient(to bottom, #444, #222); + background-repeat: repeat-x; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + +} + +.core-mainpanel-block .btn:hover, .core-mainpanel-block .btn:focus, .core-mainpanel-block .btn:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] { + color: #FFF; + background-color: #222; +} + + + /* Uncomment if font-awesome/darkstrap overlay issue returns. .btn-primary > [class^="icon-"] { background-image: none; diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css index 7fd943a82..807a4ff1b 100644 --- a/e107_themes/bootstrap/admin_style.css +++ b/e107_themes/bootstrap/admin_style.css @@ -44,9 +44,11 @@ e-tabs fieldset { padding:0px ; padding-left:3px; border-top:0px;} .tab-border { border-left: 1px solid #ddd; } .tab-content { overflow: visible } -.core-mainpanel-block { text-align:center; width:110px; float:left; height:48px; display:block; padding:20px 5px 20px 5px; margin: 0px 6px 30px 6px; } +.core-mainpanel-block { text-align:center; width:110px; float:left; height:80px; display:block; padding:15px; margin: 0px 2px -15px 2px; } .core-mainpanel-link-text { text-decoration: none; display:block; } - +a.core-mainpanel-link-icon { height:80px; display:block; width: 100px; padding-top:20px; } +a.core-mainpanel-link-icon:hover { text-decoration: none; filter: none; } +a.core-mainpanel-link-icon div.bbcode-panel { @@ -967,6 +969,7 @@ li.rssRow > div { .media-manager {padding:20px; min-height:400px } + /* body { background-color: rgb(68, 68, 68); }