mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Admin-ui: Grid responsive fixes.
This commit is contained in:
@@ -4758,7 +4758,7 @@ class e_form
|
||||
// $ttl = '<img src="'.$thsrc.'" alt="'.$alt.'" class="thumbnail e-thumb" />';
|
||||
|
||||
$thparms['alt'] = $alt;
|
||||
$thparms['class'] = "thumbnail e-thumb img-responsive";
|
||||
$thparms['class'] = "thumbnail e-thumb";
|
||||
|
||||
|
||||
|
||||
@@ -4783,7 +4783,7 @@ class e_form
|
||||
elseif(!empty($parms['fallback']))
|
||||
{
|
||||
$value = $parms['fallback'];
|
||||
$thparms['class'] = "thumbnail e-thumb img-responsive fallback";
|
||||
$thparms['class'] = "thumbnail e-thumb fallback";
|
||||
return $tp->toImage($value, $thparms);
|
||||
}
|
||||
break;
|
||||
@@ -5902,7 +5902,7 @@ class e_form
|
||||
}
|
||||
}
|
||||
|
||||
if($s != $perPage)
|
||||
if($s != $perPage && $s != 0)
|
||||
{
|
||||
$slides[] = array('text'=>$tmp);
|
||||
}
|
||||
|
@@ -64,16 +64,18 @@ a.core-mainpanel-link-icon:hover { text-decoration: none; filter: none; }
|
||||
/* e-overlay */
|
||||
.e-overlay { position: relative; height: 100%; }
|
||||
.e-overlay .e-overlay-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: #FFF; opacity: 0; }
|
||||
.e-overlay:hover .e-overlay-content { opacity: 1; padding-top:33%; transition: opacity .20s ease-in-out;
|
||||
.e-overlay:hover .e-overlay-content { opacity: 1; padding-top:30%; transition: opacity .20s ease-in-out;
|
||||
-moz-transition: opacity .20s ease-in-out;
|
||||
-webkit-transition: opacity .20s ease-in-out;
|
||||
vertical-align: middle;
|
||||
background: rgba(0, 0, 0, .7);
|
||||
text-align:center;
|
||||
|
||||
}
|
||||
.e-overlay .thumbnail { margin:0; }
|
||||
|
||||
.admin-ui-grid img.fallback { opacity: 0.3; }
|
||||
.admin-ui-grid img.thumbnail { max-width: 100% }
|
||||
/*
|
||||
|
||||
#admin-ui-carousel .carousel-inner { min-height: 65vh; }
|
||||
|
Reference in New Issue
Block a user