1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02:00

Issue #2245 Menu-Manager css cleanup.

This commit is contained in:
Cameron
2017-01-04 11:47:07 -08:00
parent 8366f3bfc0
commit a37f3217f8
2 changed files with 8 additions and 11 deletions

View File

@@ -316,9 +316,7 @@ TEMPL;
i.S16 { i.S16 {
background: url(".e_THEME."bootstrap3/images/adminicons_16.png) no-repeat top left; background: url(".e_THEME."bootstrap3/images/adminicons_16.png) no-repeat top left;
display:inline-block; display:inline-block; width:17px; height:16px;
width:17px;
height:16px;
*margin-right: .3em; *margin-right: .3em;
line-height: 14px; line-height: 14px;
vertical-align: text-top; vertical-align: text-top;
@@ -329,10 +327,7 @@ TEMPL;
i.e-configure-16 { background-position: -378px 0; width: 16px; height: 16px; } i.e-configure-16 { background-position: -378px 0; width: 16px; height: 16px; }
i.e-edit-16 { background-position: -609px 0; width: 16px; height: 16px; } i.e-edit-16 { background-position: -609px 0; width: 16px; height: 16px; }
.e-mm-icon-search {
[class^='icon-'], [class*=' icon-'] {
display: inline-block; display: inline-block;
width: 14px; width: 14px;
height: 14px; height: 14px;
@@ -344,13 +339,15 @@ TEMPL;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.icon-search { .e-mm-icon-search {
background-position: -48px 0; background-position: -48px 0;
} }
.icon-align-justify {
/*
.e-mm-icon-align-justify {
background-position: -336px -48px; background-position: -336px -48px;
} }
*/
/* A little bit of bootstrap styling - loading /bootstrap.css could break some themes */ /* A little bit of bootstrap styling - loading /bootstrap.css could break some themes */

View File

@@ -1602,7 +1602,7 @@ class e_menuManager {
$menu_name = varset($menu_name); $menu_name = varset($menu_name);
$menu_name = preg_replace("#_menu#i", "", $menu_name); $menu_name = preg_replace("#_menu#i", "", $menu_name);
//TODO we need a CSS class for this //TODO we need a CSS class for this
$vis = (varset($menu_class) || strlen(varset($menu_pages)) > 1) ? " <span class='required'><i class='icon-search'></i></span> " : ""; $vis = (varset($menu_class) || strlen(varset($menu_pages)) > 1) ? " <span class='required'><i class='e-mm-icon-search'></i></span> " : "";
//DEBUG div not allowed in final tags $caption = "<div style='text-align:center'>{$menu_name}{$vis}</div>"; //DEBUG div not allowed in final tags $caption = "<div style='text-align:center'>{$menu_name}{$vis}</div>";
// use theme render style instead // use theme render style instead