Răsfoiți Sursa

some features

amenpunk 3 ani în urmă
părinte
comite
98ea174d5d

+ 8 - 0
src/App.css

@@ -1,3 +1,7 @@
+:root {
+  --main: #fd4b4b;
+  --second: #2ec5d3;
+}
 .App {
     text-align: center;
 }
@@ -78,6 +82,7 @@
     flex-direction: row;
     padding : 90px;
     max-height : 175px;
+    margin-bottom:20px
 }
 .MuiFormControl{
     border : 1px solid #eceff1;
@@ -199,3 +204,6 @@
     font-size:14px;
 }
 
+#login_btn_fn:hover{
+    background-color: var(--second)
+}

+ 2 - 5
src/Components/Home/Candidato.jsx

@@ -1,6 +1,6 @@
 import { Skeleton, Box } from '@mui/material';
 import React from 'react'
-const big_as = 50
+const big_as = 70
 
 export function Candidato (props) {
     let { password,puesto,DPI, aplicacion,pendientes } = props.user
@@ -30,10 +30,7 @@ export function Candidato (props) {
 
 export function Preview() {
     return(
-        <Box sx={{ width: '100%'}}>
-            <Skeleton height={big_as} animation="wave" />
-            <Skeleton height={big_as} animation="wave" />
-            <Skeleton height={big_as} animation="wave" />
+        <Box sx={{ width: '100%' }}>
             <Skeleton height={big_as} animation="wave" />
             <Skeleton height={big_as} animation="wave" />
             <Skeleton height={big_as} animation="wave" />

+ 5 - 3
src/Components/Home/Candidatos.js

@@ -94,13 +94,15 @@ export default function Candidatos () {
                 <Row style={{ padding : 5 }}>
                     <Col>
                         <Stack style={{ display : 'flex', flexDirection : 'row', alignItems: 'baseline'  }} spacing={2}>
-                            <Typography style={{ paddingTop : 15, paddingRight : 10 }}>Page: {page}</Typography>
+                            <Typography style={{ paddingTop : 15, paddingRight : 10 }}>Página: {page}</Typography>
                             <Pagination 
-                                siblingCount={5} 
+                                siblingCount={1} 
+                                boundaryCount={1}
                                 shape='rounded' 
                                 count={users.length} 
                                 page={page} 
-                                onChange={changePage} />
+                                onChange={changePage} 
+                            />
                         </Stack>
                     </Col>
                 </Row>

+ 3 - 2
src/Css/all.css

@@ -1748,9 +1748,10 @@ li.cabecera_li {
     flex-direction : row;
     align-items: center;
     background: #d7d7d7;
-    /* padding: 10px; */
+    padding-top: 10px;
+    padding-bottom: 10px;
     border: 1px solid #dcdcdc;
-    /* height : 45px; */
+    height : 53px;
 }
 .header_historial p{
     /* margin: 0!important; */

+ 2 - 1
src/Pages/Login.jsx

@@ -161,10 +161,11 @@ export function Login() {
                                 label="Recordarme"
                             />
                             <Button
+                                id="login_btn_fn"
                                 type="submit"
                                 fullWidth
                                 variant="contained"
-                                sx={{ mt: 3, mb: 2, bgcolor :'#fd4b4b'  }}
+                                sx={{ mt: 3, mb: 2, bgcolor :'var(--main)'  }}
                             >
                                 Ingresar
                             </Button>