Skip to content

Commit

Permalink
fin
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana-garay committed Oct 27, 2023
1 parent 62a5136 commit 86e2714
Show file tree
Hide file tree
Showing 7 changed files with 771 additions and 164 deletions.
5 changes: 3 additions & 2 deletions pages/admin/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css-admin/admin.css">
<link rel="icon" href="../../img/branding/isotype.svg">
<title>Admin | Funkoshop</title>
</head>
<body>
Expand All @@ -19,10 +20,10 @@
<a class="navbar__link with-icon" href="../shop/shop.html">Ver Tienda</a>
</li>
<li class="navbar__item">
<a class="navbar__link" href="./pages/admin/contact.html">Admin</a> <!-- Pagina de contacto?-->
<a class="navbar__link" href="../admin/login.html">Admin</a> <!-- Pagina de contacto?-->
</li>
<li class="navbar__item">
<a class="navbar__link" href="./pages/admin/login.html">Salir</a>
<a class="navbar__link" href="../../index.html">Salir</a>
</li>
</ul>
</nav>
Expand Down
1 change: 1 addition & 0 deletions pages/admin/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css-admin/create.css">
<link rel="icon" href="../../img/branding/isotype.svg">
<title>Create | Funkoshop</title>
</head>
<body>
Expand Down
10 changes: 10 additions & 0 deletions pages/admin/css-admin/create.css
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,16 @@ textarea::placeholder {
}


.edit__form {
max-width: 990px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
gap: var(--spacing-36);
}





Expand Down
333 changes: 333 additions & 0 deletions pages/admin/css-admin/edit.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,333 @@
:root{

/*Colores ....*/
--primary-solid: #FF3333;
--primary-900: rgba(255, 51, 51, 0.9);
--primary-500: rgba(255, 51, 51, 0.5);
--primary-300: rgba(255, 51, 51, 0.3);

--secondary-solid: #1D84B5;
--secondary-900: rgb(29, 132, 181, 0.9);
--secondary-500: rgb(29, 132, 181, 0.5);
--secondary-300: rgb(29, 132, 181, 0.3);

--dark-solid: #1f1f1f ;
--dark-900: rgb(31, 31, 31, 0.9);
--dark-500: rgb(31, 31, 31, 0.5);
--dark-300: rgb(31, 31, 31, 0.3);

--dark-bg-solid: #30343F;
--ligth-bg-solid:#FAFAFF;
--ligth-font-solid: #FFFF;



/*LETRAS......*/
--base-font: 'Inter', sans-serif;
--alternative-font: 'Raleway', sans-serif;

/*FONT-SIZES-------*/
--font-display: 4.6em;
--font-jumbo: 3.8em;
--font-xlarge: 3em;
--font-large: 2.4em;
--font-medium: 1.8em;
--font-small: 1.6em;
--font-xsmall: 1.4em;

/*SPACINGS-----*/
--spacing-128: 12.8rem;
--spacing-68: 6.8rem;
--spacing-36: 3.6rem;
--spacing-28: 2.8rem;
--spacing-24: 2.4rem;
--spacing-20: 2rem;
--spacing-16: 1.6rem;
--spacing-12: 1.2rem;
--spacing-8: 0.8rem;
}


/*NORMALIZACIÓN DE ESTILOS--------*/

*,
*::before,
*::after{
margin: 0;
padding: 0;
box-sizing: border-box;
}

html{
font-family: var(--base-font);
font-size: 62.5%; /*para normalizar el tamaño son 16px = em, rem */
color: var(--dark-solid);
}

a{
text-decoration: none;
font-family: inherit;
color: inherit;
}

header,
footer{
font-family: var(--alternative-font);
color: var(--ligth-font-solid);
}

ul, ol{
list-style-type: none;
}

p{
font-size: 1.8em;
}

img{
width: 100%;
}

.container, .navbar{
max-width: 1200px;
margin:0 auto;
}






/*HEADER --------*/

header{
background-color: var(--dark-bg-solid);
padding: var(--spacing-36);
}


.navbar{
display: flex;
justify-content: space-between;
align-items: center;
}

.navbar__logo{
max-width: 300px;
}

.navbar__menu{
display: flex;
align-items: center;
gap: var(--spacing-20);
}

.navbar__link{
font-size: var(--font-medium);
padding: var(--spacing-8) var(--spacing-16);
display: inline-block;
transition: background .3s ease-in-out;
position: relative;
}

.navbar__link:hover{
background-color: var(--primary-900);
}

.with-icon{
display: flex;
align-items: center;
gap: var(--spacing-8);
}


/*FIN DEL HEADER */

.crear{
margin: var(--spacing-68) auto;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
gap: var(--spacing-36);
}

.crear-title{
font-family: var(--base-font);
font-size: var(--font-jumbo);
font-weight: 700;
}


.crear-form{
max-width: 990px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
gap: var(--spacing-68);
}


.form__box--grid {
display: grid;
grid-template-columns: 1fr 3fr;
gap: var(--spacing-16);
align-items: center;
}

.form__box--flex {
display: flex;
gap: var(--spacing-12);
align-items: center;
}

.form__flex {
display: flex;
gap: var(--spacing-36);
}

.form__flex .form__box{
flex: 1 1 100%;
}

.form__label {
font-size: var(--font-medium);
font-weight: 600;
letter-spacing: 1px;
}

.form__input {
padding: 1rem 0.5rem;
border: none;
flex-grow: 1;
border-bottom: 2px solid #ff3333;
font-size: var(--font-medium);
}

.form__input:focus {
outline: 0;
}

.form__input--wrapper {
display: flex;
align-items: center;
}

.form__input--wrapper .form__input {
width: 50%;
}

.form__input--wrapper span {
font-size: var(--font-medium);
padding: 1rem 0.5rem;
border-bottom: 2px solid #ff3333;
}

.form__remember {
display: flex;
align-items: center;
font-size: var(--font-medium);
gap: var(--spacing-8);
}

.form__terms {
display: flex;
align-items: center;
font-size: var(--font-small);
gap: var(--spacing-8);
}

.form__submission {
display: flex;
align-items: center;
justify-content: center;
gap: var(--spacing-16);
}

.form__btn {
font-size: var(--font-xsmall);
}

.form__link {
color: var(--secondary-solid);
}

.form__link:hover {
color: var(--secodary-300);
}

.form__select {
border-radius: 6px;
border: 2px solid var(--dark-solid);
font-size: var(--font-medium);
padding: var(--spacing-8);
}

textarea {
width: 100%;
}

textarea::placeholder {
padding: var(--spacing-8);
color: gainsboro;
}





.edit__img {
max-width: 150px;
padding-bottom: var(--spacing-8);
}

.edit__img-side {
font-size: var(--font-small);
text-align: center;
padding-top: var(--spacing-8);
border-top: 2px solid var(--primary-solid);
font-weight: 600;
}



.btn {
border: none;
cursor: pointer;
}

/* COLORS */

.btn--primary {
background-color: var(--primary-solid);
color: var(--light-font-solid);
transition: background 0.2s ease-in-out;
}

.btn--primary:hover {
background-color: var(--secondary-solid);
}

/* SIZES */

.btn--medium {
padding: var(--spacing-8) var(--spacing-16);
}

.btn--large {
padding: var(--spacing-12) var(--spacing-28);
}



/*footer*/
.footer{
background-color: var(--dark-bg-solid);
padding: var(--spacing-68);
}

.footer__copy{
text-align: center;
margin-top: var(--spacing-36);
}
Loading

0 comments on commit 86e2714

Please sign in to comment.