mirror of
https://github.com/e107inc/e107.git
synced 2025-07-13 02:56:28 +02:00
No Preview Image fix.
This commit is contained in:
@ -252,9 +252,11 @@ function theme_adminmenu()
|
|||||||
$var['convert']['link'] = e_SELF."?mode=convert";
|
$var['convert']['link'] = e_SELF."?mode=convert";
|
||||||
|
|
||||||
// $selected = (e_QUERY) ? e_QUERY : "main";
|
// $selected = (e_QUERY) ? e_QUERY : "main";
|
||||||
|
$icon = e107::getParser()->toIcon('e-themes-24');
|
||||||
|
$caption = $icon."<span>".TPVLAN_26."</span>";
|
||||||
|
|
||||||
|
|
||||||
e107::getNav()->admin(TPVLAN_26, $mode, $var);
|
e107::getNav()->admin($caption, $mode, $var);
|
||||||
}
|
}
|
||||||
|
|
||||||
class theme_builder
|
class theme_builder
|
||||||
|
@ -1677,14 +1677,16 @@ class themeHandler
|
|||||||
{
|
{
|
||||||
$thumbPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
|
$thumbPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
|
||||||
$previewPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
|
$previewPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
|
||||||
|
$class = 'admin-theme-preview';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$thumbPath = e_IMAGE_ABS."admin_images/nopreview.png";
|
$thumbPath = e_IMAGE_ABS."admin_images/nopreview.png";
|
||||||
$previewPath = e_BASE."index.php?themepreview.".$theme['id'];
|
$previewPath = e_BASE."index.php?themepreview.".$theme['id'];
|
||||||
|
$class = 'admin-theme-nopreview';
|
||||||
}
|
}
|
||||||
|
|
||||||
$thumbnail = "<img src='".$thumbPath."' style='max-width:100%' alt='' />";
|
$thumbnail = "<img class='".$class."' src='".$thumbPath."' style='max-width:100%' alt='' />";
|
||||||
|
|
||||||
|
|
||||||
if($_GET['mode'] == 'online')
|
if($_GET['mode'] == 'online')
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 34 KiB |
@ -710,6 +710,7 @@ i.S24 {
|
|||||||
|
|
||||||
i.e-news-24{ background-position: -1442px 0; }
|
i.e-news-24{ background-position: -1442px 0; }
|
||||||
i.e-custom-24{ background-position: -639px 0; }
|
i.e-custom-24{ background-position: -639px 0; }
|
||||||
|
i.e-themes-24 {background-position: -639px 0; }
|
||||||
|
|
||||||
i.e-add-32{ background-position: 0 0; width: 32px; height: 32px; }
|
i.e-add-32{ background-position: 0 0; width: 32px; height: 32px; }
|
||||||
i.e-adminlogs-32{ background-position: -37px 0; width: 32px; height: 32px; }
|
i.e-adminlogs-32{ background-position: -37px 0; width: 32px; height: 32px; }
|
||||||
@ -1254,6 +1255,9 @@ li.rssRow > div {
|
|||||||
.admin-theme-thumb { position:relative; width:100%; height:130px;overflow:hidden;border:1px solid black; margin:0; margin-bottom:10px; padding:0; }
|
.admin-theme-thumb { position:relative; width:100%; height:130px;overflow:hidden;border:1px solid black; margin:0; margin-bottom:10px; padding:0; }
|
||||||
.admin-theme-thumb:hover { opacity:0.4 }
|
.admin-theme-thumb:hover { opacity:0.4 }
|
||||||
.admin-theme-thumb img { position:absolute; height:130px; left:-10px; min-width:110%; }
|
.admin-theme-thumb img { position:absolute; height:130px; left:-10px; min-width:110%; }
|
||||||
|
.admin-theme-nopreview { opacity: 0.3 }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.admin-theme-options {
|
.admin-theme-options {
|
||||||
transition: opacity .20s ease-in-out;
|
transition: opacity .20s ease-in-out;
|
||||||
@ -1303,7 +1307,7 @@ li.after-submit:hover { background-color: #337AB7; color:white }
|
|||||||
|
|
||||||
.plugin-manager .fa-refresh { padding-top: 4px }
|
.plugin-manager .fa-refresh { padding-top: 4px }
|
||||||
|
|
||||||
.admin-left-panel .panel-title span { display: inline-block; vertical-align: middle; color:white;text-shadow:0 1px 1px #000}
|
.admin-left-panel .panel-title span { display: inline-block; vertical-align: middle; }
|
||||||
.admin-left-panel .panel-title .S24, .admin-left-panel .panel-title img { margin-right:6px; width:24px; height:24px; vertical-align:middle}
|
.admin-left-panel .panel-title .S24, .admin-left-panel .panel-title img { margin-right:6px; width:24px; height:24px; vertical-align:middle}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user