Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafio Front-End WattIO - Thiago Terra #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions assets/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
html {
height: 100%;
min-height: 100%;
}

body {
font-family: 'Poppins', sans-serif;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
min-height: 100%;
}

:root {
--preto: rgba(27, 27, 27, 1);
--azul-escuro: rgba(4, 41, 64, 1);
--verde: rgba(0, 92, 83, 1);
--verde-musgo: rgba(33, 153, 141, 1);
--verde-claro: rgba(159, 193, 49, 1);
--cinza-barra: rgba(154, 175, 188, 1);
--cinza-borda: rgba(190, 209, 221, 1);
--cinza-bg: rgba(248, 248, 248, 1);
--verde-cinza: rgba(241, 249, 248, 1);
}
95 changes: 95 additions & 0 deletions assets/css/busca-economica.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
.busca-economica {
text-align: center;
background: var(--cinza-bg);
padding: 3.5rem 15%;
border-top: 0.4rem solid var(--verde);
}

.busca-economica__texto_titulo{
font-weight: 600;
font-size: 1.8rem;
color: var(--azul-escuro);
line-height: 2rem;
}

.busca-economica__texto_titulo strong {
font-weight: 700;
color: var(--verde-claro);
}

.busca-economica__texto_explicacao {
font-weight: 500;
font-size: 1rem;
line-height: 1.5rem;
margin: 1rem 0 1rem;
color: var(--preto);
}

.busca-economica__texto_chamada {
font-weight: 500;
font-size: 1rem;
line-height: 1.5rem;
margin-bottom: 3rem;
color: var(--preto);
}

.busca-economica__texto_chamada strong {
font-weight: 700;
}

.busca-economica__calc_label {
font-weight: 600;
font-size: 1rem;
color: var(--preto);
}

.busca-economica__calc {
width: 450px;
text-align: center;
margin: 0 auto;
}


.busca-economica__calc_campo-valor {
display: flex;
align-items: center;
justify-content: space-between;
}

.busca-economica__calc_simbolo-dinheiro {
font-weight: 800;
font-size: 2.25rem;
color: var(--azul-escuro);
}

.busca-economica__calc_valor {
width: 85%;
height: 3.5rem;
border-radius: 3.1rem;
border: 1px solid var(--cinza-borda);
margin: 1rem 0 1.5rem;
text-align: center;
font-size: 2.25rem;
font-family: 'Poppins', sans-serif;
font-weight: 800;
color: var(--azul-escuro);
}

.busca-economica__calc_botao-buscar {
width: 100%;
height: 2.9rem;
font-family: 'Poppins', sans-serif;
font-size: 1.5rem;
font-weight: 600;
color: white;
border-radius: 3.1rem;
background: var(--verde);
border: none;
cursor: pointer;
}

.busca-economica__calc_botao-buscar:hover {
opacity: 90%;
box-shadow: 2px 2px 5px rgb(58, 58, 58);
}

6 changes: 6 additions & 0 deletions assets/css/cabecalho.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.cabecalho {
display: flex;
align-items: center;
justify-content: center;
height: 165px;
}
75 changes: 75 additions & 0 deletions assets/css/cantratar-cooperativa.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
.cantratar-cooperativa {
text-align: center;
background: var(--cinza-bg);
padding: 3rem 10%;
}

.cantratar-cooperativa__minha-economia {
font-weight: 500;
font-size: 1rem;
color: var(--preto);
}

.cantratar-cooperativa__economia-anual {
font-weight: 800;
font-size: 2.5rem;
color: var(--verde-claro);
margin-top: 0.3rem;
}

.cantratar-cooperativa__economia-mensal {
margin: 1.8rem 0 1rem;
font-weight: 600;
font-size: 1rem;
color: var(--preto);
}

.cantratar-cooperativa__aviso {
font-weight: 400;
font-size: 0.75rem;
margin-bottom: 0.4rem;
}

.cantratar-cooperativa__botao-contratar {
width: 28rem;
height: 2.9rem;
font-family: 'Poppins', sans-serif;
font-size: 1.5rem;
font-weight: 600;
color: white;
border-radius: 3.1rem;
background: var(--verde-claro);
border: none;
cursor: pointer;
}

.cantratar-cooperativa__botao-contratar:hover {
box-shadow: 2px 2px 5px rgb(121, 121, 121);
}

.cantratar-cooperativa_modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.9);
}

.cantratar-cooperativa_modal-caixa {
background-color: white;
margin: 15% auto;
padding: 20px;
border-radius: 10px;
width: 30%;

display: flex;
flex-direction: column;
align-items: center;
font-weight: 600;
font-size: 1.5rem;
color: var(--azul-escuro);
}
43 changes: 43 additions & 0 deletions assets/css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
67 changes: 67 additions & 0 deletions assets/css/resultado-busca.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.resultado-busca {
text-align: center;
margin: 2.5rem 10%;
}

.resultado-busca__selecionar-oferta {
font-weight: 600;
font-size: 1rem;
color: var(--preto);
}

#resultado-busca__cooperativas {
height: 100%;
display: flex;
justify-content: center;
}

#resultado-busca__sem-busca {
font-weight: 500;
font-size: 1rem;
margin: 3.7rem 0;
color: rgba(187, 187, 187, 1);
display: block;
}

.resultado-busca__botao-calc-economia {
width: 28rem;
height: 2.9rem;
font-family: 'Poppins', sans-serif;
font-size: 1.5rem;
font-weight: 600;
color: white;
border-radius: 3.1rem;
background: var(--verde);
border: none;
cursor: pointer;
}

.resultado-busca__botao-calc-economia:hover {
opacity: 90%;
box-shadow: 2px 2px 5px rgb(58, 58, 58);
}

.caixa_cooperativas {
width: 215px;
height: 100px;
border-radius: 0.5rem;
border: 1px solid var(--cinza-borda);
background: var(--verde-cinza);
margin: 1rem 0.5rem;
}

.cooperativaDesconto {
margin: 1.8rem 1rem 1rem 0;
}

.cooperativa {
font-weight: 700;
font-size: 1.2rem;
color: var(--azul-escuro);
}

.desconto {
font-weight: 500;
font-size: 1rem;
color: var(--azul-escuro);
}
25 changes: 25 additions & 0 deletions assets/css/rodape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.rodape {
margin-top: auto;
}

.rodape__container {
margin: 3.5rem 10%;
display: flex;
justify-content: space-between;
align-items: center;
}

.rodape__inf {
font-weight: 400;
font-size: 0.7rem;
color: var(--preto);
}

.desafio {
font-weight: 600;
margin-bottom: 0.2rem;
}

.rodape__logo {
height: 100%;
}
Binary file added assets/img/favicon-marketplace-de-energia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/icone-cooperativa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/logo-marketplace-de-energia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/logo-wattio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading