Skip to content
Snippets Groups Projects
Commit 80c1711e authored by vgm18's avatar vgm18
Browse files

Fixed yellow text on header

parent 094124ed
Branches
Tags
5 merge requests!100Changed recaptcha key to the production one, removed console.logs and fixed...,!99Changed recaptcha key to the production one, removed console.logs and fixed...,!98Changed recaptcha key to the production one, removed console.logs and fixed...,!86Acessibility,!82Acessibility
...@@ -44,7 +44,7 @@ export const ButtonStyled = styled(Button)` ...@@ -44,7 +44,7 @@ export const ButtonStyled = styled(Button)`
text-transform: capitalize !important; text-transform: capitalize !important;
margin : 0 8px !important; margin : 0 8px !important;
font-weight : normal !important; font-weight : normal !important;
color: ${props => props.contrast === "" ? "#666 !important" : "yellow !important"}; color: ${props => props.contrast === "" ? "black !important" : "yellow !important"};
text-decoration: ${props => props.contrast === "" ? "none" : "underline !important"}; text-decoration: ${props => props.contrast === "" ? "none" : "underline !important"};
` `
...@@ -68,7 +68,7 @@ const ButtonPublicarRecurso = styled(Button)` ...@@ -68,7 +68,7 @@ const ButtonPublicarRecurso = styled(Button)`
` `
const IconSearchStyled = styled(IconSearch)` const IconSearchStyled = styled(IconSearch)`
color: #16b8dd; color: ${props => props.contrast === "" ? "#16b8dd !important" : "white !important"};
` `
const ImageStyled = styled.img` const ImageStyled = styled.img`
height: 50px; height: 50px;
...@@ -173,12 +173,12 @@ export default function MenuBar(props) { ...@@ -173,12 +173,12 @@ export default function MenuBar(props) {
<Dropdown name="Sobre" items={menuSobre} /> <Dropdown name="Sobre" items={menuSobre} />
<Dropdown name="Ajuda" items={menuAjuda} /> <Dropdown name="Ajuda" items={menuAjuda} />
<a href="http://educacaoconectada.mec.gov.br/" rel="noopener noreferrer" target="_blank" > <a href="http://educacaoconectada.mec.gov.br/" rel="noopener noreferrer" target="_blank" >
<ButtonStyled className={`${state.contrast}LinkColor`} >Educação Conectada</ButtonStyled> <ButtonStyled contrast={state.contrast} >Educação Conectada</ButtonStyled>
</a> </a>
{/*<Link to="/loja"> {/*<Link to="/loja">
<ButtonStyled>Lojinha</ButtonStyled> <ButtonStyled>Lojinha</ButtonStyled>
</Link>*/} </Link>*/}
<ButtonStyled className={`${state.contrast}LinkColor`} onClick={props.openSearchBar} ><IconSearchStyled className={`${state.contrast}IconColor`} />Buscar</ButtonStyled> <ButtonStyled contrast={state.contrast} onClick={props.openSearchBar} ><IconSearchStyled contrast={state.contrast}/>Buscar</ButtonStyled>
</Left> </Left>
<Right> <Right>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment