Dia 20
This commit is contained in:
parent
0c6e9924b9
commit
522c2bc9a0
103
Practicas/Practicas HTML/Formularios/Practica 4/css/style.css
Normal file
103
Practicas/Practicas HTML/Formularios/Practica 4/css/style.css
Normal file
|
|
@ -0,0 +1,103 @@
|
||||||
|
@charset "UTF-8";
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
text-decoration: none;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body{
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
background-image: url("../img/fondo_taller.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: repeat;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_flex{
|
||||||
|
margin: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
max-width: 650px;
|
||||||
|
width: 100%;
|
||||||
|
gap: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_title{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 2em;
|
||||||
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
|
border: 2px solid rgb(83, 99, 224);
|
||||||
|
border-radius: 2em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.form_title h1 {
|
||||||
|
color: yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fieldset_std{
|
||||||
|
width: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
|
border: 2px solid rgb(83, 99, 224);
|
||||||
|
border-radius: 0.6em;
|
||||||
|
padding: 1em;
|
||||||
|
color: yellow;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_fieldset{
|
||||||
|
border: 2px solid rgb(83, 99, 224);
|
||||||
|
border-radius: 0.6em;
|
||||||
|
padding: 1em;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive_flex{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap:1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label_std{
|
||||||
|
display: inline-block;
|
||||||
|
width: 5em;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid white;
|
||||||
|
border-radius: 0.2em;
|
||||||
|
color: white;
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
border: 2px solid rgb(83, 99, 224);
|
||||||
|
padding: 0.4em;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media(max-width: 550px){
|
||||||
|
body{
|
||||||
|
background-image: url("../img/fondo_vertical_taller.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
height: 100%;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
.responsive_flex{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap:0.1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.5 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.0 MiB |
142
Practicas/Practicas HTML/Formularios/Practica 4/practica 4.html
Normal file
142
Practicas/Practicas HTML/Formularios/Practica 4/practica 4.html
Normal file
|
|
@ -0,0 +1,142 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="./css/style.css">
|
||||||
|
<title>Practica 4</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<form method="get" action="../gracias.html" class="form_flex">
|
||||||
|
|
||||||
|
<div class="form_title">
|
||||||
|
<h1>Pide Cita</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="fieldset_std">
|
||||||
|
<fieldset class="form_fieldset">
|
||||||
|
<legend>Datos del Cliente</legend>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<label class="label_std" for="nombre">* Nombre</label>
|
||||||
|
<input type="text" class="input_std" id="nombre" name="nombre" required>
|
||||||
|
</div>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<label class="label_std" for="apellidos">* Apellidos</label>
|
||||||
|
<input type="text" class="input_std" id="apellidos" name="apellidos" required>
|
||||||
|
</div>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<label class="label_std" for="telefono">* Telefono</label>
|
||||||
|
<input type="text" class="input_std" id="telefono" name="telefono" required>
|
||||||
|
</div>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<label class="label_std" for="email">* Email</label>
|
||||||
|
<input type="email" class="input_std" id="email" name="email" autocomplete="off" required>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="form_fieldset">
|
||||||
|
<legend>Datos de reserva</legend>
|
||||||
|
<div>
|
||||||
|
<p>* Tarjeta de descuento</p>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="tarjeta" id="tarjeta" value="0" checked>
|
||||||
|
<label class="label_std" for="tarjeta">Ninguna</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="tarjeta" id="tarjeta10" value="10">
|
||||||
|
<label class="label_std" for="tarjeta10">10%</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="tarjeta" id="tarjeta25" value="25">
|
||||||
|
<label class="label_std" for="tarjeta25">25%</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>* Marca del vehiculo</p>
|
||||||
|
<input class="input_std" list="marcas" required>
|
||||||
|
<datalist id="marcas">
|
||||||
|
<option value="Ford">
|
||||||
|
<option value="Audi">
|
||||||
|
<option value="Seat">
|
||||||
|
<option value="Mazda">
|
||||||
|
<option value="Toyota">
|
||||||
|
</datalist>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>* Reparacion</p>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="reparacion" id="mecanica" value="mecanica" checked>
|
||||||
|
<label class="label_std" for="mecanica">Mecanica</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="reparacion" id="chapa" value="chapa">
|
||||||
|
<label class="label_std" for="chapa">Chapa</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="reparacion" id="mecanicachapa" value="mecanicachapa">
|
||||||
|
<label class="label_std" style="width: max-content;" for="mecanicachapa">Mecanica &
|
||||||
|
Chapa</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>* Vehiculo de sustitucion</p>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="vehiculosus" id="vehiculosusno" checked>
|
||||||
|
<label class="label_std" style="width: max-content;" for="vehiculosusno">No necesita</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="vehiculosus" id="vehiculosusturismo">
|
||||||
|
<label class="label_std" for="vehiculosusturismo">Turismo</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="vehiculosus" id="vehiculosusfurgoneta">
|
||||||
|
<label class="label_std" for="vehiculosusfurgoneta">Furgoneta</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>* Preferencia de horario de entrega</p>
|
||||||
|
<div class="responsive_flex">
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="horario" id="horarioma" checked>
|
||||||
|
<label class="label_std" for="horarioma">Mañanas</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" name="horario" id="horariota">
|
||||||
|
<label class="label_std" for="horariota">Tardes</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>* Fecha de entrega</p>
|
||||||
|
<label class="label_std" style="width:100%;" for="fechaentrega">Las entregas de
|
||||||
|
vehiculos se realizaran los lunes, Seleccione una fecha</label>
|
||||||
|
<input type="date" min="2024-01-01" max="2024-12-31" step="7" id="fechaentrega" name="fechaentrega"
|
||||||
|
required>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="checkbox" id="registro" name="registro" required>
|
||||||
|
<label for="registro">Acepto la politica de cesion de datos</label>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<p style="color: white;">* Los campos marcados con asterisco son obligatorios</p>
|
||||||
|
<div style="text-align: right;">
|
||||||
|
<input type="submit" class="btn" value="Reservar">
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue
Block a user