-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d032b40
commit 8018f6e
Showing
44 changed files
with
1,671 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
...do Ensino Médio/Acessibilidade web parte 1/acessibilidade-web-front-end/css/cabecalho.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
.cabecalho { | ||
position: absolute; | ||
top: -2.5em; | ||
left: 50%; | ||
transform: translate(-50%); | ||
text-align: center; | ||
width: 100%; | ||
border-bottom: 1px solid #103d4a; | ||
padding-bottom: .5em | ||
} | ||
|
||
.cabecalho-logo { | ||
margin-bottom: .2em; | ||
} | ||
|
||
.cabecalho-logo-img { | ||
margin: 0 auto; | ||
display: block; | ||
transition: filter .3s; | ||
} | ||
|
||
.cabecalho-logo-img:hover, | ||
.cabecalho-logo-img:focus { | ||
filter: brightness(1.2); | ||
} | ||
|
||
|
||
.cabecalho-nav { | ||
text-align: center; | ||
} | ||
|
||
.cabecalho-nav-item { | ||
display: inline-block; | ||
line-height: 2; | ||
margin: 0 .5em; | ||
font-size: .95em; | ||
} | ||
|
||
.cabecalho-nav-item a { | ||
text-decoration: none; | ||
color: #fff; | ||
font-family: 'Open Sans', serif; | ||
|
||
} | ||
|
||
.cabecalho-nav-item a:hover, | ||
.cabecalho-nav-item a:focus { | ||
text-decoration: underline; | ||
} | ||
|
||
@media (min-width: 830px) { | ||
|
||
.cabecalho { | ||
border-bottom: 0; | ||
padding-bottom: 0 | ||
} | ||
|
||
.cabecalho-logo { | ||
float: left; | ||
} | ||
|
||
.cabecalho-nav { | ||
float: right; | ||
margin-top: 1em; | ||
} | ||
|
||
} |
121 changes: 121 additions & 0 deletions
121
...Ensino Médio/Acessibilidade web parte 1/acessibilidade-web-front-end/css/contatoCampo.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
|
||
.contatoCampo { | ||
margin: .8em auto; | ||
max-width: 600px; | ||
position: relative; | ||
} | ||
|
||
.contatoCampo-label:before { | ||
content:''; | ||
vertical-align: middle; | ||
display: inline-block; | ||
width: 20px; | ||
height: 20px; | ||
text-align: center; | ||
background-color: #fff; | ||
transform: translate(-7px, -3px); | ||
border: 1px solid #7D7D7D; | ||
color: transparent; | ||
line-height: 1; | ||
transition: .2s ease-in; | ||
} | ||
|
||
.contatoCampo-checkbox:checked + .contatoCampo-label:before { | ||
content: 'x'; | ||
color: #fff; | ||
background-image: radial-gradient(circle, #2DA4E7, #2F80ED); | ||
} | ||
|
||
.contatoCampo-checkbox { | ||
/* display: none; */ | ||
/* visibility: hidden; */ | ||
position: absolute; | ||
left: -9999px; | ||
|
||
} | ||
|
||
.contatoCampo-icone { | ||
position: absolute; | ||
left: -2em; | ||
top: 2.5em; | ||
width: 1.5em; | ||
} | ||
|
||
.contatoCampo label, | ||
.contatoCampo input:not([type='checkbox']), | ||
.contatoCampo textarea { | ||
display: block; | ||
width: 100%; | ||
text-align: left; | ||
} | ||
|
||
.contatoCampo label { | ||
margin-bottom: 5px; | ||
margin-left: 8px; | ||
} | ||
|
||
.contatoCampo input, | ||
.contatoCampo textarea { | ||
font-size: 1em; | ||
padding: .5em; | ||
min-height: 50px; | ||
border-radius: 8px; | ||
border: 2px solid #ccc; | ||
outline: 0; | ||
} | ||
|
||
.contatoCampo input:focus, | ||
.contatoCampo textarea:focus { | ||
border: 2px solid #222; | ||
} | ||
|
||
.contatoCampo-campoDesabilitado { | ||
background-color: #ddd; | ||
} | ||
|
||
.contatoCampo-msg, | ||
.formContato-validacao { | ||
margin-left: 4px; | ||
margin-top: 4px; | ||
font-size: .9em; | ||
font-weight: bold; | ||
color: #FD1242; | ||
display: inline-block; | ||
} | ||
|
||
.contatoCampo .contatoCampo--validouFoi { | ||
border: 2px solid #219653; | ||
background-color: #fff; | ||
position: relative; | ||
} | ||
|
||
.contatoCampo .contatoCampo--validouErro { | ||
border: 2px solid #FF0000; | ||
background-color: #fff; | ||
position: relative; | ||
} | ||
|
||
.contatoCampo--sucesso:before { | ||
content: ''; | ||
display: inline-block; | ||
width: 33px; | ||
height: 32px; | ||
position: absolute; | ||
z-index: 1; | ||
right: .4em; | ||
transform: translateY(112%) scale(.65); | ||
background-image: url(../img/validacao-sucesso.png); | ||
} | ||
|
||
.contatoCampo--erro:before { | ||
content: ''; | ||
display: inline-block; | ||
width: 33px; | ||
height: 32px; | ||
position: absolute; | ||
z-index: 1; | ||
right: .4em; | ||
transform: translateY(112%) scale(.65); | ||
background-image: url(../img/validacao-erro.png); | ||
} | ||
|
149 changes: 149 additions & 0 deletions
149
...no Médio/Acessibilidade web parte 1/acessibilidade-web-front-end/css/dialogNewsletter.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
.dialogNewsletter { | ||
display: none; | ||
} | ||
|
||
.dialogNewsletter--aberto { | ||
display: block; | ||
} | ||
|
||
.dialogNewsletter-body { | ||
font-size: 18px; | ||
border-radius: 8px; | ||
background-color: #fff; | ||
border: 1px solid #8D8D8D; | ||
padding: 3em 1.5em 1.5em 1.5em; | ||
box-shadow: 0 0 5px rgba(0, 0, 0, .5); | ||
position: fixed; | ||
display: inline-block; | ||
top: 45%; | ||
left: 50%; | ||
transform: translate(-50%,-52%); | ||
z-index: 3; | ||
transition: .3s ease-in; | ||
color: #222; | ||
width: 300px; | ||
max-width: 533px; | ||
text-align: left; | ||
} | ||
|
||
.dialogNewsletter-overlay { | ||
position: fixed; | ||
z-index: 2; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
overflow: hidden; | ||
background-color: rgba(0, 0, 0, .4); | ||
} | ||
|
||
.overlayDialog + .dialogNewsletter { | ||
display: block; | ||
transform: translate(-50%,-50%); | ||
} | ||
|
||
.dialogNewsletter-titulo { | ||
font-size: 1.8em; | ||
line-height: 1; | ||
} | ||
|
||
.dialogNewsletter-texto { | ||
font-size: 1em; | ||
margin-bottom: 1.5em; | ||
margin-top: 1em; | ||
font-weight: normal; | ||
} | ||
|
||
.dialogNewsletter-label { | ||
position: absolute; | ||
z-index: -1; | ||
left: -9999px; | ||
} | ||
|
||
.dialogNewsletter-campo { | ||
font-size: 1em; | ||
border-radius: 8px; | ||
border: 1px solid #5E5E5E; | ||
padding: 8px; | ||
margin-right: 10px; | ||
margin-bottom: 10px; | ||
width: 100%; | ||
min-width: 245px; | ||
} | ||
|
||
.dialogNewsletter-btn { | ||
vertical-align: top; | ||
text-indent: -9999px; | ||
border-radius: 8px; | ||
border: 1px solid #FF1242; | ||
padding: 8px; | ||
width: 100%; | ||
height: 3.1em; | ||
background: url(../img/email.png) no-repeat center; | ||
transition: .2s ease-in; | ||
} | ||
|
||
.dialogNewsletter-btn:hover, | ||
.dialogNewsletter-btn:focus { | ||
background-color: #EB5757; | ||
cursor: pointer; | ||
background-image: url(../img/email-hover.png); | ||
} | ||
|
||
.dialogNewsletter-fechar { | ||
position: absolute; | ||
background-color: transparent; | ||
transform: translate(50%, 50%) scale(1.4); | ||
top: -5px; | ||
right: 25px; | ||
width: 32px; | ||
height: 32px; | ||
border: 0; | ||
border: 1px solid; | ||
overflow: hidden; | ||
color: transparent; | ||
font-size: 0; | ||
} | ||
|
||
.dialogNewsletter-fechar:before { | ||
content: 'x'; | ||
color: #666; | ||
width: 32px; | ||
height: 32px; | ||
display: block; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 2; | ||
font-size: 20px; | ||
font-weight: bold; | ||
|
||
} | ||
|
||
.dialogNewsletter-fechar:hover:before, | ||
.dialogNewsletter-fechar:focus:before { | ||
color: #ce3434; | ||
cursor: pointer; | ||
} | ||
|
||
@media (min-width: 830px) { | ||
|
||
.dialogNewsletter-body { | ||
width: 533px; | ||
} | ||
|
||
.dialogNewsletter-form { | ||
display: flex; | ||
flex-wrap: nowrap | ||
} | ||
|
||
.dialogNewsletter-campo { | ||
flex-basis: 80%; | ||
} | ||
|
||
.dialogNewsletter-btn { | ||
flex-basis: 20%; | ||
height: 3.1em; | ||
} | ||
|
||
} |
Oops, something went wrong.