1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Icon-picker styling.

This commit is contained in:
Cameron
2013-07-12 07:37:31 -07:00
parent 955bb78769
commit b896227ab8
2 changed files with 6 additions and 5 deletions

View File

@@ -520,8 +520,7 @@ class e_form
{
$ret = "<div class='imgselector-container' style='display:block;width:64px;min-height:64px'>";
$thpath = isset($sc_parameters['nothumb']) || vartrue($hide) ? $default : $default_thumb;
$style = ($blank) ? "width:64px;height:64px;font-size:32px;" : "font-size:32px;";
$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' style='{$style}'>";
$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' >";
if($glyph = $tp->glyph($default_url))
{
@@ -532,9 +531,7 @@ class e_form
$label .= "<img src='{$default_url}' alt='{$default_url}' />";
}
$label .= "
$label .= "
</div>";
// $label = "<img id='{$name_id}_prev' src='{$default_url}' alt='{$default_url}' class='well well-small image-selector' style='{$style}' />";

View File

@@ -57,6 +57,10 @@ td.center, th.center { text-align:center }
#cboxTitle { font-weight:bold; color: black }
.chzn-container { border: 1px solid #ddd; }
/* icon-picker */
div.image-selector { width:50px; height:40px ; font-size:32px; line-height:40px }
div.imgselector-container a { color: inherit; }
#link-button_prev i { line-height:40px; }
div.nextprev { text-align: center; display:inline-block; width:100% }