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

View File

@ -5584,14 +5584,12 @@ while( $row = mysqli_fetch_array( $sql ) ) {
} }
$i++; $i++;
if($row['imagen'] !="") { 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(\"\"); $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]' >";
background-repeat: no-repeat;
background-position: 50% 50%;' >";
} }
else { else {
$logo_empresa = remplacetas('empresa','id',"1",'imagen',''); $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' 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= substr($row[slogan],0, $length = 100)."";
$slogan = $row['slogan']; $slogan = $row['slogan'];