mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Icon-picker styling.
This commit is contained in:
@@ -520,8 +520,7 @@ class e_form
|
|||||||
{
|
{
|
||||||
$ret = "<div class='imgselector-container' style='display:block;width:64px;min-height:64px'>";
|
$ret = "<div class='imgselector-container' style='display:block;width:64px;min-height:64px'>";
|
||||||
$thpath = isset($sc_parameters['nothumb']) || vartrue($hide) ? $default : $default_thumb;
|
$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' >";
|
||||||
$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' style='{$style}'>";
|
|
||||||
|
|
||||||
if($glyph = $tp->glyph($default_url))
|
if($glyph = $tp->glyph($default_url))
|
||||||
{
|
{
|
||||||
@@ -532,9 +531,7 @@ class e_form
|
|||||||
$label .= "<img src='{$default_url}' alt='{$default_url}' />";
|
$label .= "<img src='{$default_url}' alt='{$default_url}' />";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$label .= "
|
||||||
$label .= "
|
|
||||||
|
|
||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
// $label = "<img id='{$name_id}_prev' src='{$default_url}' alt='{$default_url}' class='well well-small image-selector' style='{$style}' />";
|
// $label = "<img id='{$name_id}_prev' src='{$default_url}' alt='{$default_url}' class='well well-small image-selector' style='{$style}' />";
|
||||||
|
@@ -57,6 +57,10 @@ td.center, th.center { text-align:center }
|
|||||||
#cboxTitle { font-weight:bold; color: black }
|
#cboxTitle { font-weight:bold; color: black }
|
||||||
.chzn-container { border: 1px solid #ddd; }
|
.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% }
|
div.nextprev { text-align: center; display:inline-block; width:100% }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user