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'];
@ -8938,12 +8936,12 @@ if($tipo =="") {
return $formulario;
}else {
/*
*
/*
*
* //// social login
* <!-- <a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=twitter'><i class='fa fa-twitter'></i> Twitter</a>
<a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=facebook'><i class='fa fa-facebook'></i> Facebook</a> -->
*
*
* ////////
* if($_SERVER['HTTP_HOST'] !="tupale.co" ) {
$social_login="";
@ -8958,7 +8956,7 @@ if($tipo =="") {
<div class='list-group'>
<a class=' list-group-item btn btn-default ' href='./milfs'>Administrador</a>
<a class=' list-group-item btn btn-default ' href='#' onclick=\"javascript: document.getElementById('div_formulario_session').className= 'visible col-md-12'; \">Usuario</a>
</div>
</div>
@ -13313,7 +13311,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
$privado = explode(":",$privado[0]);
if(isset($privado[1]) and $_SESSION['id_empresa'] != $empresa[0] ) {
$autorizado = '0';}else{$autorizado='1';}
/// PRIVACIDAD del campo
$campo_area =$row['campo_area'];
if($row['id_campo'] == $campo_interaccion){$interaccion = $interaccion_campo; $col_checkeo_td ="<td class=' col_$row[id_campo] planilla_contenido_$row[id_campo] $clase_interaccion $class_area'>$interaccion_form $interaccion</td>"; $clase_interaccion="warning";}else{ $interaccion=""; $clase_interaccion="";}
@ -13342,7 +13340,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
$campo_nombre[0] =" $campo_nombre[0]";
//// inicio de los tipos
// inicio autorizacion
// inicio autorizacion
if ($autorizado != '0'){
if($tipo=="titulos") {
@ -13466,7 +13464,7 @@ if ($autorizado != '0'){
if ($autorizado != '0'){
if($tipo=="titulos" ) {
if($campo_tipo=='18'){ $contenido = "";}
if($row['id_campo'] == $campo_interaccion){$clase_interaccion="warning";}else{ $clase_interaccion="";}
@ -13476,8 +13474,8 @@ $td .= "<th class='col_$row[id_campo] plantilla_titulo_$row[id_campo] $clase_int
$td .= "<td class='col_$row[id_campo] planilla_contenido_$row[id_campo] $class_area $clase_interaccion '>$contenido </td>$col_checkeo_td";
}
}
if($campo_tipo=='18'){ $td .= "";}
@ -17580,11 +17578,11 @@ $equipo=" <div class='input-group' id='equipo_grupo'>
$equipo
</div>";
$listado_usuarios = usuarios_listado($tabla_autenticacion,"");
$mailer = mailer('','','','');
}else{$equipo=""; $div="div_login";}
$form = "