Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import styled from 'styled-components';
- export const Wrap = styled.div`
- position: relative;
- `;
- export const Container = styled.div`
- height: 84px;
- padding: 10px;
- background-color: ${props =>
- props.themesPrimary ? 'transparent' : '#F6F8F9'};
- box-shadow: ${props =>
- props.themesPrimary ? 0 : '10px 4px 6px rgba(0,0,0,0.2)'};
- `;
- export const LogoHeader = styled.img`
- position: relative;
- left: 179px;
- margin-top: 10px;
- @media screen and (min-width: 700px) and (max-width: 800px) {
- left: 100px;
- }
- `;
- export const User = styled.img`
- position: relative;
- top: 10px;
- `;
- export const Main = styled.div`
- float: right;
- margin-right: 222px;
- li {
- /* visual do link */
- align-items: center;
- font-family: 'Lato', sans-serif;
- font-style: normal;
- font-size: 20px;
- line-height: 24px;
- display: inline-block;
- padding: 11px 10px;
- font-weight: bold;
- color: ${props =>
- props.themesPrimary ? 'rgba(255,255,255,0.5)' : '#1B1C20'};
- text-align: center;
- opacity: ${props => (props.themesPrimary ? 1 : 0.5)};
- margin-right: 33px;
- cursor: pointer;
- }
- li:nth-child(1) {
- align-items: center;
- font-family: 'Lato';
- font-style: normal;
- border-bottom: ${props =>
- props.themesPrimary ? '1px solid transparent' : '4px solid #AD213B'};
- font-size: 20px;
- opacity: 1;
- line-height: 24px;
- font-weight: bold;
- display: inline-block;
- padding: 11px 10px;
- color: ${props => (props.themesPrimary ? '#fff' : '#1B1C20')};
- text-align: center;
- margin-right: 33px;
- }
- li:nth-child(5) {
- opacity: 1;
- }
- `;
- export const NavContent = styled.div`
- float: left;
- nav {
- }
- ul {
- float: right;
- text-align: right;
- width: 100%;
- height: 20px;
- list-style: none;
- }
- li {
- }
- li:nth-child(1) {
- font-size: 20px;
- font-family: 'Lato';
- font-style: normal;
- line-height: 24px;
- font-weight: bold;
- text-transform: uppercase;
- display: inline;
- color: #fff;
- }
- `;
- export const NavText = styled.div`
- ul {
- float: right;
- }
- li {
- display: inline-block;
- }
- `;
- export const Nav = styled.div`
- float: left;
- `;
- export const TextMain = styled.li`
- align-self: center;
- margin-right: 20px;
- padding: 2px 10px;
- display: flex;
- color: #fff;
- text-align: center;
- margin-right: 40px;
- border-bottom-width: 20px;
- border-bottom-color: red;
- `;
Advertisement
Add Comment
Please, Sign In to add comment