added new style
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.barNavigation {
|
||||
text-align: center;
|
||||
background-color: rgb(1, 92, 184);
|
||||
background-color: #003e79;
|
||||
padding: 0 20px;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
@@ -12,6 +12,7 @@
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.barNavigation li {
|
||||
@@ -24,7 +25,7 @@
|
||||
}
|
||||
|
||||
.barNavigation li:hover {
|
||||
background-color: #d59f0f;
|
||||
background-color: #bd8c01;
|
||||
}
|
||||
|
||||
.barNavigation ul.active {
|
||||
@@ -67,7 +68,7 @@
|
||||
flex-direction: column;
|
||||
top: 100%;
|
||||
width: 100%;
|
||||
background-color: rgb(1, 92, 184);
|
||||
background-color: #003e79;
|
||||
transition: color 0.3s ease, opacity 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,74 @@
|
||||
"use client";
|
||||
import { useState } from "react";
|
||||
|
||||
function ChangePassword() {
|
||||
return (
|
||||
<section className='centerGrid containerSection'>
|
||||
export default function ChangePassword() {
|
||||
const [pass, setPass] = useState("");
|
||||
const [newPass, setNewPass] = useState("");
|
||||
const [confirmNewPass, setconfirmNewPass] = useState("");
|
||||
|
||||
<form
|
||||
className='login'
|
||||
//onSubmit={(e) => {
|
||||
//e.preventDefault();
|
||||
//handleLogin();
|
||||
//</section>}}
|
||||
>
|
||||
const handleChangePass = (e: React.FormEvent) => {
|
||||
e.preventDefault;
|
||||
const data = { pass, newPass, confirmNewPass };
|
||||
console.log(data);
|
||||
};
|
||||
|
||||
<div className='containerInput relative'>
|
||||
<label className='label'>Contraseña actual</label>
|
||||
<input
|
||||
//type={showPassword ? 'text' : 'password'}
|
||||
//value={password}
|
||||
//onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder='Coloca tu contraseña...'
|
||||
/>
|
||||
<span
|
||||
//onClick={() => setShowPassword(!showPassword)}
|
||||
//className={showPassword ? 'eyeOpen' : 'eyeClose'}
|
||||
/>
|
||||
</div>
|
||||
return (
|
||||
<section className="centerGrid containerSection">
|
||||
<form onSubmit={handleChangePass}>
|
||||
<div className="containerInput relative">
|
||||
<label className="label">Contraseña actual</label>
|
||||
<input
|
||||
placeholder="Coloca tu contraseña..."
|
||||
value={pass}
|
||||
onChange={(e) => {
|
||||
setPass(e.target.value);
|
||||
}}
|
||||
/>
|
||||
<span />
|
||||
</div>
|
||||
|
||||
<div className='containerInput relative'>
|
||||
<label className='label'>Nueva contraseña</label>
|
||||
<input
|
||||
//type={showPassword ? 'text' : 'password'}
|
||||
//value={password}
|
||||
//onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder='Coloca tu contraseña...'
|
||||
/>
|
||||
<span
|
||||
//onClick={() => setShowPassword(!showPassword)}
|
||||
//className={showPassword ? 'eyeOpen' : 'eyeClose'}
|
||||
/>
|
||||
</div>
|
||||
<div className="containerInput relative">
|
||||
<label className="label">Nueva contraseña</label>
|
||||
<input
|
||||
placeholder="Coloca tu nueva contraseña..."
|
||||
value={newPass}
|
||||
onChange={(e) => {
|
||||
setNewPass(e.target.value);
|
||||
}}
|
||||
/>
|
||||
<span />
|
||||
</div>
|
||||
|
||||
<div className='containerInput relative'>
|
||||
<label className='label'>Confirmar la contraña</label>
|
||||
<input
|
||||
//type={showPassword ? 'text' : 'password'}
|
||||
//value={password}
|
||||
//onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder='Coloca tu contraseña...'
|
||||
/>
|
||||
<span
|
||||
//onClick={() => setShowPassword(!showPassword)}
|
||||
//className={showPassword ? 'eyeOpen' : 'eyeClose'}
|
||||
/>
|
||||
</div>
|
||||
<div className="containerInput relative">
|
||||
<label className="label">Confirmar la contraña</label>
|
||||
<input
|
||||
placeholder="Coloca tu contraseña..."
|
||||
value={confirmNewPass}
|
||||
onChange={(e) => {
|
||||
setconfirmNewPass(e.target.value);
|
||||
}}
|
||||
/>
|
||||
<span />
|
||||
</div>
|
||||
|
||||
<div className="containerButton">
|
||||
<button
|
||||
className='button buttonSearch'
|
||||
style={{ maxWidth: '100%', width: '100%' }}
|
||||
type='submit'
|
||||
>Confirmar
|
||||
</button>
|
||||
<div className="containerButton">
|
||||
<button
|
||||
className="button buttonSearch"
|
||||
style={{ maxWidth: "100%", width: "100%" }}
|
||||
type="submit"
|
||||
>
|
||||
Confirmar
|
||||
</button>
|
||||
|
||||
<button
|
||||
className='button buttonSearch'
|
||||
style={{ maxWidth: '100%', width: '100%' }}
|
||||
type='submit'
|
||||
>Cancelar
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{/*message &&
|
||||
<div
|
||||
className={`messageBox ${message.includes('exitoso') ? 'success' : 'error'}`}
|
||||
style={{ marginTop: '10px' }}
|
||||
>
|
||||
{message}
|
||||
</div>
|
||||
*/}
|
||||
</section>
|
||||
)
|
||||
<button
|
||||
className="button buttonSearch"
|
||||
style={{ maxWidth: "100%", width: "100%" }}
|
||||
type="submit"
|
||||
>
|
||||
Cancelar
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export default ChangePassword
|
||||
@@ -1,37 +1,37 @@
|
||||
.yellowPart {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: -50px;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: linear-gradient(to left, #003d79, #d59f0f);
|
||||
transform: skew(45deg);
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: -50px;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: linear-gradient(to left, #003e79, #bd8c01);
|
||||
transform: skew(45deg);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.yellowPartOpuest {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
right: -50px;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: linear-gradient(to right, #003d79, #d59f0f);
|
||||
transform: skew(-45deg);
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
right: -50px;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: linear-gradient(to right, #003d79, #bd8c01);
|
||||
transform: skew(-45deg);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media(max-width:800px) {
|
||||
.yellowPart {
|
||||
width: 5%;
|
||||
left: -150px;
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
.yellowPart {
|
||||
width: 5%;
|
||||
left: -150px;
|
||||
}
|
||||
|
||||
.yellowPartOpuest {
|
||||
width: 5%;
|
||||
right: -150px;
|
||||
}
|
||||
}
|
||||
.yellowPartOpuest {
|
||||
width: 5%;
|
||||
right: -150px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
.logo {
|
||||
position: relative;
|
||||
filter: invert(1);
|
||||
z-index: 3;
|
||||
margin: 5px;
|
||||
position: relative;
|
||||
filter: invert(1);
|
||||
z-index: 3;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.cedetecContainer {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.cedetecContainer::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
|
||||
}
|
||||
|
||||
.yellowPart {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: -20px;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: #d59f0f;
|
||||
transform: skew(-45deg);
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: -20px;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
min-width: 300px;
|
||||
background: #bd8c01;
|
||||
transform: skew(-45deg);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user