78 lines
1.5 KiB
TypeScript
Raw Normal View History

import styled from 'styled-components';
2020-12-08 09:35:36 -08:00
export const StyledNav = styled.nav`
2021-02-22 22:37:29 -08:00
height: 90px;
2020-12-08 09:35:36 -08:00
position: sticky;
2021-02-22 22:37:29 -08:00
top: -16px;
z-index: 1;
-webkit-backface-visibility: hidden;
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
&::before,
&::after {
content: '';
display: block;
height: 16px;
position: sticky;
}
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
&::before {
top: 58px;
box-shadow: 0 4px 10px 0 rgba(202, 34, 34, 0.05), 0 5px 30px 0 rgba(0, 0, 0, 0.05);
}
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
&::after {
background: linear-gradient(white, rgba(255, 255, 255, 0.3));
top: 0;
z-index: 2;
}
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
/* Review ....*/
.header-middle {
grid-column-start: 2;
}
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
.header-area-right1 {
grid-column-start: 3;
}
2020-12-09 19:33:30 -08:00
2021-02-22 22:37:29 -08:00
.header-area-right2 {
grid-column-start: 4;
}
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
.header-area-right1 span,
.header-area-right2 span {
font-size: 15px;
}
.header-area-content-span {
grid-column-start: 2;
grid-column-end: 4;
text-align: right;
font-size: 14px;
padding: 10px;
}
`;
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
export const StyledDiv = styled.nav`
background: white;
height: 74px;
padding: 10px;
position: sticky;
top: 0px;
margin-top: -16px;
z-index: 3;
display: grid;
white-space: nowrap;
grid-template-columns: 150px 1fr 130px 160px 50px;
`;
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
export const Logo = styled.span`
grid-column-start: 1;
margin-left: 50px;
margin-top: 0px;
2020-12-08 09:35:36 -08:00
2021-02-22 22:37:29 -08:00
.header-logo a {
padding: 0px;
}
`;