mirror of
https://github.com/FranP-code/API-and-CRUD-for-Ecommerce-with-Node.js-FRONTEND.git
synced 2025-10-12 23:52:33 +00:00
571 lines
8.8 KiB
CSS
571 lines
8.8 KiB
CSS
body {
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
font-family: Roboto, helveltica;
|
|
|
|
display: flex;
|
|
|
|
background-color: rgb(214, 214, 214);
|
|
}
|
|
|
|
img {
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.menu-lateral {
|
|
|
|
width: 5vw;
|
|
height: auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: rgb(114, 114, 114);
|
|
|
|
padding: 1vh 1vw;
|
|
|
|
grid-column: 1 / 1;
|
|
}
|
|
|
|
.menu-lateral img {
|
|
|
|
width: 3vw;
|
|
filter: invert(100%);
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
width: 100vw;
|
|
height: fit-content;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
background-color: rgb(123, 169, 255);
|
|
color: #fff;
|
|
|
|
padding: 0.5vh 0px;
|
|
}
|
|
|
|
header .logo {
|
|
|
|
font-family: Dancing Script, helveltica;
|
|
|
|
display: flex;
|
|
user-select: none;
|
|
|
|
margin-left: 1vw;
|
|
}
|
|
|
|
header .logo h3 {
|
|
|
|
font-weight: normal;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
margin-left: 1vw;
|
|
}
|
|
|
|
header .perfil {
|
|
|
|
width: 25vw;
|
|
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
header .perfil .informacion-personal {
|
|
|
|
display: flex;
|
|
}
|
|
|
|
header .perfil .informacion-personal .text {
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
margin-right: 1vw;
|
|
}
|
|
|
|
header .perfil .informacion-personal .text #nacionalidad {
|
|
|
|
font-weight: bold;
|
|
}
|
|
|
|
header .perfil img.profile-img {
|
|
width: 4vw;
|
|
height: 4vw;
|
|
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 100%;
|
|
|
|
object-fit: cover;
|
|
}
|
|
|
|
header .perfil img.profile-menu {
|
|
|
|
height: 2vw;
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
header button {
|
|
|
|
margin-right: 2vw;
|
|
width: 10vw;
|
|
|
|
height: 5vh;
|
|
border-radius: 6px;
|
|
|
|
align-self: center;
|
|
border: none;
|
|
|
|
background-color: rgb(241, 239, 101);
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pagina-principal {
|
|
|
|
background-color: rgb(214, 214, 214);
|
|
}
|
|
|
|
.pagina-principal .tienda{
|
|
|
|
display: flex;
|
|
}
|
|
|
|
.pagina-principal .primer-columna {
|
|
|
|
width: 38vw;
|
|
box-sizing: border-box;
|
|
|
|
margin: 1vh 1vw;
|
|
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout {
|
|
|
|
padding-top: 2vh;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 5px;
|
|
|
|
height: 62vh;
|
|
}
|
|
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container {
|
|
|
|
height: 50vh;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: separate;
|
|
border-spacing: 3vh;
|
|
}
|
|
|
|
/* .pagina-principal .primer-columna .checkout .table-container table thead {
|
|
|
|
border-bottom: 1px solid rgb(206, 206, 206);
|
|
} */
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table thead tr #blank-space{
|
|
|
|
width: 2vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table tbody {
|
|
|
|
margin-top: 3vh;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table tbody tr td {
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table tbody tr td:first-child {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table tbody tr td:first-child button{
|
|
|
|
background-color: #fff;
|
|
|
|
width: 2vw;
|
|
height: 2vw;
|
|
|
|
border: 1px solid rgb(192, 192, 192);
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .table-container table tbody tr td img {
|
|
|
|
width: 2vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout hr {
|
|
|
|
width: 80%;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .total-container {
|
|
|
|
text-align: end;
|
|
|
|
padding: 3vh 1vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .total-container {
|
|
|
|
font-size: 20pt;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .total-container .total {
|
|
|
|
font-weight: bold;
|
|
margin-right: 3vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .total-container .precio {
|
|
|
|
font-weight: bold;
|
|
color: rgb(255, 212, 70);
|
|
}
|
|
|
|
.pagina-principal .primer-columna .checkout .total-container .moneda {
|
|
|
|
font-weight: bold;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento {
|
|
|
|
margin-top: 0.5vh;
|
|
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento button {
|
|
|
|
width: 13vw;
|
|
height: 10vh;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.131);
|
|
background-color: #fff;
|
|
|
|
margin-top: 0.5vh;
|
|
|
|
transition: 0.1s ease-in-out;
|
|
flex-grow: 1;
|
|
|
|
border-radius: 5px;
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento :first-child {
|
|
|
|
margin-right: 0.5vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento button:hover {
|
|
|
|
background-color: rgb(147, 223, 253);
|
|
|
|
transition: 0.4s ease-in-out;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna {
|
|
|
|
width: 59vw;
|
|
|
|
margin-top: 1vh;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna nav ul {
|
|
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna nav ul li{
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
list-style-type: none;
|
|
font-weight: bold;
|
|
|
|
color: rgb(73, 73, 73);
|
|
|
|
margin: 1vh 0px;
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna nav ul li.active {
|
|
|
|
border-bottom:1px solid rgb(255, 212, 70);
|
|
}
|
|
|
|
|
|
.pagina-principal .segunda-columna nav ul li img{
|
|
|
|
width: 3vw;
|
|
|
|
opacity: 50%;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .exposicion-de-productos {
|
|
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
|
|
height: 64vh;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .productos {
|
|
|
|
padding: 0px 1vw;
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .productos .producto {
|
|
|
|
margin-right: 2vw;
|
|
margin-bottom: 1vh;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .productos .producto img {
|
|
|
|
width: 10vw;
|
|
height: 10vw;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .productos .producto .text {
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
color: rgb(73, 73, 73);
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .productos .producto .text .name {
|
|
|
|
font-weight: bold;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu {
|
|
|
|
display: flex;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago {
|
|
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
width: calc(14.5vw * 3);
|
|
margin-top: 0.5vh;
|
|
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago .opcion {
|
|
|
|
width: 14vw;
|
|
height: 10vh;
|
|
|
|
margin-top: 0.5vh;
|
|
margin-right: 0.5vh;
|
|
|
|
background-color: #fff;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago .opcion .text {
|
|
|
|
font-size: 15pt;
|
|
font-weight: bold;
|
|
|
|
color: rgb(73, 73, 73);
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago .opcion img {
|
|
|
|
width: 7vw;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .pagar {
|
|
|
|
margin-top: 1vh;
|
|
|
|
width: 16vw;
|
|
|
|
background-color: rgb(73, 73, 73);
|
|
border-radius: 5px;
|
|
|
|
font-size: 15pt;
|
|
font-weight: bold;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
color:rgb(255, 212, 70);
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
|
|
#mensaje-compra-container {
|
|
|
|
position: absolute;
|
|
|
|
height: 100vh;
|
|
width: 100vw;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
background-color: rgba(0, 0, 0, 0.377);
|
|
}
|
|
|
|
#mensaje-compra {
|
|
|
|
background-color: rgb(73, 73, 73);
|
|
height: 10vw;
|
|
|
|
padding: 0px 5vw;
|
|
color: #fff;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
border-radius: 10px;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
#mensaje-compra h2 {
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
|
|
body {
|
|
|
|
display: initial;
|
|
}
|
|
|
|
.menu-lateral {
|
|
|
|
width: 100%;
|
|
}
|
|
|
|
header {
|
|
|
|
width: 100%;
|
|
}
|
|
|
|
.pagina-principal .tienda {
|
|
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pagina-principal .tienda .primer-columna {
|
|
|
|
width: auto;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento {
|
|
|
|
width: 96vw;
|
|
}
|
|
|
|
.pagina-principal .primer-columna .botones-de-descuento button {
|
|
|
|
width: calc(calc(96vw / 2) - 0.5vw);
|
|
}
|
|
|
|
.pagina-principal .tienda .segunda-columna {
|
|
|
|
width: auto;
|
|
margin: 0px 1vw;
|
|
}
|
|
|
|
.pagina-principal .tienda .segunda-columna .exposicion-de-productos .productos .producto {
|
|
|
|
width: 20vw;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu {
|
|
|
|
margin-bottom: 1vh;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago{
|
|
|
|
width: calc(26.5vw * 3);
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .opciones-de-pago .opcion {
|
|
|
|
width: 24.5vw;
|
|
}
|
|
|
|
.pagina-principal .segunda-columna .sub-menu .pagar.button {
|
|
|
|
/* width: calc(99vw - calc(26vw * 3)); */
|
|
width: calc(96vw - calc(26.5vw * 3));
|
|
}
|
|
|
|
#mensaje-compra-container {
|
|
|
|
top: 0;
|
|
|
|
height: 195vh;
|
|
}
|
|
} |