mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Admin styling main buttons
This commit is contained in:
@@ -181,7 +181,7 @@ class adminstyle_infopanel
|
||||
|
||||
|
||||
|
||||
<div class='left' style='padding:32px'>";
|
||||
<div class='left' style='padding-bottom:20px'>";
|
||||
|
||||
foreach ($this->iconlist as $key=>$val)
|
||||
{
|
||||
@@ -584,7 +584,7 @@ class adminstyle_infopanel
|
||||
$frm = e107::getForm();
|
||||
global $user_pref;
|
||||
|
||||
$text = "";
|
||||
$text = "<div style='padding-left:20px'>";
|
||||
|
||||
|
||||
|
||||
@@ -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 .= "<div class='left f-left list field-spacer' style='display:block;height:24px;width:200px;'>
|
||||
$text .= "<div class='left f-left list field-spacer checkbox' style='display:block;height:24px;width:200px;'>
|
||||
".$icon['icon'].' '.$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
||||
|
||||
}
|
||||
@@ -607,12 +607,12 @@ class adminstyle_infopanel
|
||||
if (getperms($icon['perms']))
|
||||
{
|
||||
$checked = (in_array('p-'.$key, $user_pref['core-infopanel-mye107'])) ? true : false;
|
||||
$text .= "<div class='left f-left list field-spacer' style='display:block;height:24px;width:200px;'>
|
||||
$text .= "<div class='left f-left list field-spacer checkbox' style='display:block;height:24px;width:200px;'>
|
||||
".$icon['icon'].$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
||||
}
|
||||
}
|
||||
}
|
||||
$text .= "<div class='clear'> </div>";
|
||||
$text .= "</div><div class='clear'> </div>";
|
||||
return $text;
|
||||
}
|
||||
|
||||
@@ -630,7 +630,7 @@ class adminstyle_infopanel
|
||||
$pref = e107::getPref();
|
||||
|
||||
|
||||
$text = "";
|
||||
$text = "<div style='padding-left:20px'>";
|
||||
$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 .= "<div class='clear'> </div>";
|
||||
$text .= "</div><div class='clear'> </div>";
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
@@ -1366,13 +1366,13 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
||||
break;
|
||||
|
||||
case 'div':
|
||||
$text .= "<div class='core-mainpanel-block'><a data-toggle='tooltip' class='core-mainpanel-link-icon muted' href='".$link."' title='{$description}'>".$icon."
|
||||
$text .= "<div class='core-mainpanel-block '><a data-toggle='tooltip' class='core-mainpanel-link-icon btn muted' href='".$link."' title='{$description}'>".$icon."
|
||||
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
|
||||
</div>";
|
||||
break;
|
||||
|
||||
case 'div-icon-only':
|
||||
$text .= "<div class='core-mainpanel-block e-tip' title='{$description}'><a class='core-mainpanel-link-icon e-tip' href='".$link."' >".$icon."</a></div>";
|
||||
$text .= "<div class='core-mainpanel-block e-tip' title='{$description}'><a class='core-mainpanel-link-icon btn e-tip' href='".$link."' >".$icon."</a></div>";
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@@ -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;
|
||||
|
@@ -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); }
|
||||
|
Reference in New Issue
Block a user