forked from kleper/redcauca
ultimas correcciones al portal cautivo
This commit is contained in:
parent
bbc7c0cd35
commit
54d4cc77f7
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@ -17,17 +18,25 @@
|
||||
<![endif]-->
|
||||
|
||||
<style>
|
||||
.register{
|
||||
background: -webkit-linear-gradient(left, #3931af, #00c6ff);
|
||||
body{
|
||||
background: url(imagen_central.jpg);
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.register {
|
||||
background: -webkit-linear-gradient(left, #3931afb5, #00c6ff);
|
||||
margin-top: 3%;
|
||||
padding: 3%;
|
||||
}
|
||||
.register-left{
|
||||
}
|
||||
|
||||
.register-left {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
margin-top: 4%;
|
||||
}
|
||||
.register-left input{
|
||||
}
|
||||
|
||||
.register-left input {
|
||||
border: none;
|
||||
border-radius: 1.5rem;
|
||||
padding: 2%;
|
||||
@ -38,37 +47,52 @@
|
||||
margin-top: 30%;
|
||||
margin-bottom: 3%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.register-right{
|
||||
}
|
||||
|
||||
.register-right {
|
||||
background: #f8f9fa;
|
||||
border-top-left-radius: 10% 50%;
|
||||
border-bottom-left-radius: 10% 50%;
|
||||
}
|
||||
.register-left img{
|
||||
border-top-left-radius: 20% 50%;
|
||||
border-bottom-left-radius: 20% 50%;
|
||||
}
|
||||
|
||||
.register-left img {
|
||||
margin-top: 15%;
|
||||
margin-bottom: 5%;
|
||||
width: 25%;
|
||||
-webkit-animation: mover 2s infinite alternate;
|
||||
animation: mover 1s infinite alternate;
|
||||
}
|
||||
@-webkit-keyframes mover {
|
||||
0% { transform: translateY(0); }
|
||||
100% { transform: translateY(-20px); }
|
||||
}
|
||||
@keyframes mover {
|
||||
0% { transform: translateY(0); }
|
||||
100% { transform: translateY(-20px); }
|
||||
}
|
||||
.register-left p{
|
||||
}
|
||||
|
||||
@-webkit-keyframes mover {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mover {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
}
|
||||
|
||||
.register-left p {
|
||||
font-weight: lighter;
|
||||
padding: 12%;
|
||||
margin-top: -9%;
|
||||
}
|
||||
.register .register-form{
|
||||
}
|
||||
|
||||
.register .register-form {
|
||||
padding: 10%;
|
||||
margin-top: 10%;
|
||||
}
|
||||
.btnRegister{
|
||||
}
|
||||
|
||||
.btnRegister {
|
||||
float: right;
|
||||
margin-top: 10%;
|
||||
border: none;
|
||||
@ -79,194 +103,60 @@
|
||||
font-weight: 600;
|
||||
width: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.register .nav-tabs{
|
||||
}
|
||||
|
||||
.register .nav-tabs {
|
||||
margin-top: 3%;
|
||||
border: none;
|
||||
background: #0062cc;
|
||||
border-radius: 1.5rem;
|
||||
width: 28%;
|
||||
width: 40%;
|
||||
float: right;
|
||||
}
|
||||
.register .nav-tabs .nav-link{
|
||||
}
|
||||
|
||||
.register .nav-tabs .nav-link {
|
||||
padding: 2%;
|
||||
height: 34px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
border-top-right-radius: 1.5rem;
|
||||
border-bottom-right-radius: 1.5rem;
|
||||
}
|
||||
.register .nav-tabs .nav-link:hover{
|
||||
}
|
||||
|
||||
.register .nav-tabs .nav-link:hover {
|
||||
border: none;
|
||||
}
|
||||
.register .nav-tabs .nav-link.active{
|
||||
}
|
||||
|
||||
.register .nav-tabs .nav-link.active {
|
||||
width: 100%;
|
||||
color: #0062cc;
|
||||
border: 2px solid #0062cc;
|
||||
border-top-left-radius: 1.5rem;
|
||||
border-bottom-left-radius: 1.5rem;
|
||||
}
|
||||
.register-heading{
|
||||
}
|
||||
|
||||
.register-heading {
|
||||
text-shadow: rgb(0, 0, 0) 0px 2px 3px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
margin-top: 8%;
|
||||
margin-left: 10px;
|
||||
margin-top: 10%;
|
||||
margin-bottom: -15%;
|
||||
color: #495057;
|
||||
}
|
||||
/* images sprites
|
||||
*/
|
||||
.circle {
|
||||
cursor: pointer;
|
||||
width: 215px;
|
||||
height: 215px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
border-top-left-radius: 35px;
|
||||
background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.boton_entrar{
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
|
||||
.mask-a,
|
||||
.mask-b {
|
||||
border-radius: 100%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.mask-a {
|
||||
background: #1b2d41;
|
||||
overflow: hidden;
|
||||
-webkit-mask-position: 0 0;
|
||||
-webkit-mask-size: 215px 215px;
|
||||
-webkit-mask-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/953/mask_svg.svg);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.mask-b {
|
||||
background: #1b2d41;
|
||||
}
|
||||
|
||||
/*=====================================================================================
|
||||
OK
|
||||
=======================================================================================
|
||||
*/
|
||||
.cursor,
|
||||
.cursor::before {
|
||||
background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/953/ok_1.svg) no-repeat center center;
|
||||
position: absolute;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.cursor {
|
||||
background-position: 0px -31px;
|
||||
top: 7em;
|
||||
left: 9em;
|
||||
will-change: transform;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
transition: -webkit-transform 550ms ease;
|
||||
transition: transform 550ms ease;
|
||||
transition: transform 550ms ease, -webkit-transform 550ms ease;
|
||||
}
|
||||
.cursor::before {
|
||||
background-position: -43px -30px;
|
||||
content: "";
|
||||
top: -0.3em;
|
||||
left: 0.3em;
|
||||
will-change: transform;
|
||||
-webkit-transform: translateX(0px) translateZ(0px);
|
||||
transform: translateX(0px) translateZ(0px);
|
||||
transition: -webkit-transform 550ms ease;
|
||||
transition: transform 550ms ease;
|
||||
transition: transform 550ms ease, -webkit-transform 550ms ease;
|
||||
}
|
||||
|
||||
.ok-btn {
|
||||
background: #1aaf5d;
|
||||
border-radius: 0.7em;
|
||||
box-shadow: 0 5px 0 #0a7237;
|
||||
color: #fff;
|
||||
font-size: 2em;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 2px 0 #0a7237;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 148px;
|
||||
height: 70px;
|
||||
margin-left: -74px;
|
||||
margin-top: -35px;
|
||||
will-change: transform;
|
||||
-webkit-transform: translateY(0px) translateZ(0px);
|
||||
transform: translateY(0px) translateZ(0px);
|
||||
line-height: 70px;
|
||||
transition: all 550ms ease;
|
||||
}
|
||||
|
||||
.circle:hover > .mask-b > .ok-btn {
|
||||
background: #179951;
|
||||
box-shadow: 0 0 0 1px #064320, inset 0 1px 0 0 #0a7237;
|
||||
-webkit-transform: translateY(5px) translateZ(0px);
|
||||
transform: translateY(5px) translateZ(0px);
|
||||
transition: all 450ms 100ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
}
|
||||
.circle:hover > .mask-b > .cursor {
|
||||
-webkit-transform: translate3d(-0.3em, 0.5em, 0);
|
||||
transform: translate3d(-0.3em, 0.5em, 0);
|
||||
transition: -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65), -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
}
|
||||
.circle:hover > .mask-b > .cursor::before {
|
||||
-webkit-transform: translateX(-4px) translateZ(0px);
|
||||
transform: translateX(-4px) translateZ(0px);
|
||||
transition: -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65), -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.credit-design {
|
||||
color: #315277;
|
||||
font-weight: 400;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
bottom: 20px;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
.credit-design a {
|
||||
color: #395f89;
|
||||
text-decoration: none;
|
||||
}
|
||||
/* .btn-circle.btn-xl {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
padding: 10px 16px;
|
||||
font-size: 24px;
|
||||
line-height: 1.33;
|
||||
border-radius: 35px;
|
||||
} */
|
||||
|
||||
.orange-circle-button {
|
||||
box-shadow: 2px 4px 0 2px rgba(0,0,0,0.1);
|
||||
.circle_button {
|
||||
box-shadow: 2px 4px 0 2px rgba(0, 0, 0, 0.1);
|
||||
border: .5em solid #c7d400;
|
||||
font-size: 1em;
|
||||
line-height: 1.1em;
|
||||
@ -277,33 +167,42 @@ figure {
|
||||
height: 7em;
|
||||
width: 7em;
|
||||
position: relative;
|
||||
}
|
||||
.orange-circle-button:hover {
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
.circle_button:hover {
|
||||
color: #ffffff;
|
||||
background-color: #226093;
|
||||
text-decoration: none;
|
||||
border-color: #c7d400;
|
||||
|
||||
}
|
||||
.orange-circle-button:visited {
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
.circle_button:visited {
|
||||
color: #ffffff;
|
||||
background-color: #c7d400;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
.orange-circle-link-greater-than {
|
||||
}
|
||||
|
||||
.circle-link-greater-than {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:990px) {
|
||||
.register .nav-tabs {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container register">
|
||||
<div class="row">
|
||||
<div class="col-md-3 register-left">
|
||||
<img src="captiveportal-logoRedINC.png" alt=""/>
|
||||
<h3>¡Bienvenido!</h3>
|
||||
<img src="captiveportal-logoRedINC.png" alt="" />
|
||||
<h3>¡Bienvenid@!</h3>
|
||||
<p>Estás muy cerca de entrar al mundo Web!</p>
|
||||
</div>
|
||||
<div class="col-md-9 register-right">
|
||||
@ -317,17 +216,29 @@ figure {
|
||||
</ul>
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show" id="home" role="tabpanel" aria-labelledby="home-tab">
|
||||
<h3 class="register-heading">Entrar con Internet</h3>
|
||||
<h3 class="register-heading">Entra con Internet</h3>
|
||||
<div class="row register-form">
|
||||
<div class="col-md-12">
|
||||
<form method="post" action="$PORTAL_ACTION$">
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="auth_user" type="text" placeholder="Usuario" id="auth_user">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="auth_pass" type="password" placeholder="Contraseña" id="auth_pass">
|
||||
<legend >Si tienes un codigo de acceso, ingresalo aquí:</legend>
|
||||
</div>
|
||||
<p> <strong>Si tienes un codigo de acceso, ingresalo aquí:</strong></p>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="auth_voucher" type="text" placeholder="Codigo Voucher">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input name="zone" type="hidden" value="$PORTAL_ZONE$">
|
||||
<input class="btn register nav-tabs register-left"name="accept" type="submit" value="Entrar">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="btn register nav-tabs register-left" name="accept" type="submit" value="Entrar">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
@ -337,10 +248,10 @@ figure {
|
||||
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="profile-tab">
|
||||
<h3 class="register-heading">Ver contenidos sin Internet</h3>
|
||||
<div class="row register-form">
|
||||
<div>
|
||||
<div class="container d-flex justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<a class="btn btn-default orange-circle-button" href="https://redinc.org"> Entrar <span class="orange-circle-greater-than"></span></a>
|
||||
<div class="boton_entrar">
|
||||
<div class="container boton_entrar">
|
||||
<div class="col-md-12 ">
|
||||
<button class="btn btn-default circle_button" href="https://redinc.org"> <strong style="font-size: 25px">Entrar</strong> <span class="circle-greater-than"></span></button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -359,5 +270,6 @@ figure {
|
||||
<script src="captiveportal-jquery.min.js"></script>
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<script src="captiveportal-bootstrap.min.js"></script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user