cambios imagen

This commit is contained in:
Hacky Purple 2018-10-12 11:28:26 -05:00
parent eb0787ff92
commit 5302f29538
2 changed files with 33 additions and 22 deletions

View File

@ -12,7 +12,13 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 500;
line-height: 1.1;
}
#toc{
font-size: 1em;
padding-top: 50px;
max-height:95% !important;
overflow:auto !important;
}
.top {
opacity: 1;
@ -32,8 +38,10 @@ h1, h2, h3, h4, h5, h6 {
color: lightgrey !important;
text-transform: uppercase;
}
#menu_tupale {
height: 500px;
overflow: auto;
}
#cabecera-botonera-admin {
background-color: #777677;
@ -45,6 +53,7 @@ h1, h2, h3, h4, h5, h6 {
white-space:normal !important;
word-wrap: break-word;
}
/*NAVBAR BRAND*/
.navbar-brand {
transform: translateX(-50%);
@ -174,21 +183,25 @@ transition: all 1.3s ease;
margin: 10px;
float: left;
background-color: grey;
height: 200px;
width: 200px;
height: 14em;
width: 14em;
}
.img-gris{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-filter: grayscale(100%) blur(3px) ;
height: 200px;
width: 200px;
max-height: 14em;
max-width: 14em;
z-index:10;
transition:filter 0.2s;
-webkit-transition:-webkit-filter 1s;
}
.img-gris:hover{
filter: grayscale(0);
z-index: 500;
z-index: 11;
-webkit-filter: grayscale(0);
}

View File

@ -5584,14 +5584,12 @@ while( $row = mysqli_fetch_array( $sql ) ) {
}
$i++;
if($row['imagen'] !="") {
$logo="<img class='lazy img-gris img-responsive img-rounded' alt='$row[razon_social]' src='milfs/images/loading.gif' data-src='milfs/images/secure/?file=300/$row[imagen]' style='width:300px; display:block; background-image: url(\"\");
background-repeat: no-repeat;
background-position: 50% 50%;' >";
$logo="<img class='lazy img-gris img-responsive ' alt='$row[razon_social]' src='milfs/images/loading.gif' data-src='milfs/images/secure/?file=300/$row[imagen]' >";
}
else {
$logo_empresa = remplacetas('empresa','id',"1",'imagen','');
//$logo="<img class=' lazy img img-responsive' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
$logo="<img class=' lazy img img-responsive' style='width:300px; display:block;' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
$logo="<img class=' lazy img img-responsive' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
}
// $slogan= substr($row[slogan],0, $length = 100)."";
$slogan = $row['slogan'];