Skip to content

Commit

Permalink
Cambio estilos - vista Productos
Browse files Browse the repository at this point in the history
Cambio estilos - vista Productos
  • Loading branch information
FazeElian authored Nov 20, 2023
2 parents 8aaf18f + 3019c59 commit 7ed4ee6
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 68 deletions.
122 changes: 92 additions & 30 deletions public/assets/css/Admin/modules/Products/products-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,22 +101,22 @@

.acciones-prod-dato{
display: flex;
height: auto;
min-height: 30px;
justify-content: space-between;
align-items: center;
font-size: 15px;
text-align: center;
align-items: center;
justify-content: space-between;
margin: 5.5px 0 0;
}

/* Botones */
.btn-op{
display: flex;
height: 100%;
cursor: pointer;
width: 100%;
border: 1px solid black;
align-items: center;
justify-content: center;
padding: 10px;
padding: 11.5px 10px 11.5px;
}

.btn-op img{
Expand All @@ -133,22 +133,21 @@

/* Editar */
.btn-editar{
width: 45%;
background-color: #1988CF;
width: 47%;
}

/* Eliminar */
.btn-eliminar{
width: 54.5%;
background-color: red;
width: 52.5%;
flex-direction: row;
}

.elim-prod{
display: flex;
width: 100%;
height: 100%;
border: none;
}

.filas-datos {
Expand All @@ -157,6 +156,7 @@
min-height: 20px; /* Establece una altura mínima para las filas */
justify-content: space-between;
background-color: #F1F1F1;
margin: 3px 0 10px;
}

.item-fila {
Expand Down Expand Up @@ -242,6 +242,10 @@
font-size: 12.5px;
}

.tabla-prods{
width: 80%;
}

.columnas-caract{
height: 30px;
}
Expand All @@ -254,8 +258,21 @@
font-size: 12px;
}

.btn-op{
padding: 4.5px 3px 4.5px;
}

.filas-datos{
margin: 3px 0 1.2rem;
}

.item-fila{
padding: 7px;
min-height: 30px;
padding: 1.2rem 5px 1.2rem;
}

.btn-op{
padding: 12px 10px 12px;
}

.btn-op img{
Expand Down Expand Up @@ -302,6 +319,16 @@

/* @media 768px */
@media(max-width: 768px){
/* Filtros de búsqueda */
.filtros-busqueda{
height: 20px;
}

#ordenar_por,
#barra_busqueda{
font-size: 10px;
}

.columnas-caract, .filas-datos{
height: 25px;
}
Expand All @@ -313,7 +340,7 @@

.nombre-prod,
.nombre-prod-dato {
width: 39%;
width: 48.5%;
}

.categoria-prod,
Expand All @@ -323,14 +350,19 @@

.acciones-prod,
.acciones-prod-dato {
width: 30%;
width: 20%;
}

.acciones-prod-dato{
margin: 5px 0 0;
}

.btn-op{
width: 49.5%;
padding: 14px 10px 14px;
}

.btn-op a h2{
.btn-op a h2,
.btn-eliminar a h2{
display: none;
}

Expand All @@ -341,6 +373,15 @@
height: 11px;
}

.btn-editar,
.btn-eliminar{
width: 49.5%;
}

.elim-prod{
width: 100%;
}

.añadir-prod{
min-height: 70px;
max-height: 70px;
Expand Down Expand Up @@ -394,6 +435,11 @@
flex-direction: column-reverse;
}

.tabla-prods{
margin: -5rem 0 0;
width: 100%;
}

/* Contenedor de opciones de producto */
.opciones-producto{
display: flex;
Expand Down Expand Up @@ -433,6 +479,7 @@
.btn-op a img{
width: 10px;
height: 10px;
margin: 0;
}

/* No hay Registros */
Expand Down Expand Up @@ -460,34 +507,49 @@

/* @media 320px */
@media(max-width: 320px){
.cont-producto{
height: 150px;
.item-columna{
font-size: 9px;
}

.info-producto h1{
font-size: 9px;
/* No */
.no-prod,
.no-prod-dato {
width: 11%;
}

.info-producto h4{
font-size: 8px;
/* Nombre */
.nombre-prod,
.nombre-prod-dato {
width: 35.5%;
}

.info-producto p{
font-size: 7px;
margin-top: -2px;
/* Precio */
.categoria-prod,
.categoria-prod-dato {
width: 20.5%;
}

.eliminar-prod{
margin-left: -30px;
margin-right: 5px;
/* Acciones */
.acciones-prod,
.acciones-prod-dato {
width: 32%;
}

.eliminar-prod, .editar-prod{
margin-top: -0.8rem;
.acciones-prod-dato{
margin: 16.5px 0 0;
}

.categoria-prod{
width: 45%;
.filas-datos{
margin: 3px 0 2.5rem;
}

.item-fila{
min-height: 50px;
padding: 1.8rem 3px 2rem;
}

.btn-op{
padding: 25.5px 0 25.5px;
}

/* No hay Registros */
Expand Down
Loading

0 comments on commit 7ed4ee6

Please sign in to comment.