Eulis

header style.js

Jan 21st, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. import styled from 'styled-components';
  2.  
  3. export const Wrap = styled.div`
  4. position: relative;
  5. `;
  6.  
  7. export const Container = styled.div`
  8. height: 84px;
  9. padding: 10px;
  10. background-color: ${props =>
  11. props.themesPrimary ? 'transparent' : '#F6F8F9'};
  12. box-shadow: ${props =>
  13. props.themesPrimary ? 0 : '10px 4px 6px rgba(0,0,0,0.2)'};
  14. `;
  15. export const LogoHeader = styled.img`
  16. position: relative;
  17. left: 179px;
  18. margin-top: 10px;
  19. @media screen and (min-width: 700px) and (max-width: 800px) {
  20. left: 100px;
  21. }
  22. `;
  23.  
  24. export const User = styled.img`
  25. position: relative;
  26. top: 10px;
  27. `;
  28.  
  29. export const Main = styled.div`
  30. float: right;
  31. margin-right: 222px;
  32. li {
  33. /* visual do link */
  34. align-items: center;
  35. font-family: 'Lato', sans-serif;
  36. font-style: normal;
  37. font-size: 20px;
  38. line-height: 24px;
  39. display: inline-block;
  40. padding: 11px 10px;
  41. font-weight: bold;
  42. color: ${props =>
  43. props.themesPrimary ? 'rgba(255,255,255,0.5)' : '#1B1C20'};
  44. text-align: center;
  45. opacity: ${props => (props.themesPrimary ? 1 : 0.5)};
  46. margin-right: 33px;
  47. cursor: pointer;
  48. }
  49. li:nth-child(1) {
  50. align-items: center;
  51. font-family: 'Lato';
  52. font-style: normal;
  53. border-bottom: ${props =>
  54. props.themesPrimary ? '1px solid transparent' : '4px solid #AD213B'};
  55. font-size: 20px;
  56. opacity: 1;
  57. line-height: 24px;
  58. font-weight: bold;
  59. display: inline-block;
  60. padding: 11px 10px;
  61. color: ${props => (props.themesPrimary ? '#fff' : '#1B1C20')};
  62. text-align: center;
  63. margin-right: 33px;
  64. }
  65. li:nth-child(5) {
  66. opacity: 1;
  67. }
  68. `;
  69. export const NavContent = styled.div`
  70. float: left;
  71. nav {
  72. }
  73. ul {
  74. float: right;
  75. text-align: right;
  76. width: 100%;
  77. height: 20px;
  78. list-style: none;
  79. }
  80. li {
  81. }
  82. li:nth-child(1) {
  83. font-size: 20px;
  84. font-family: 'Lato';
  85. font-style: normal;
  86. line-height: 24px;
  87. font-weight: bold;
  88. text-transform: uppercase;
  89. display: inline;
  90. color: #fff;
  91. }
  92. `;
  93.  
  94. export const NavText = styled.div`
  95. ul {
  96. float: right;
  97. }
  98. li {
  99. display: inline-block;
  100. }
  101. `;
  102.  
  103. export const Nav = styled.div`
  104. float: left;
  105. `;
  106.  
  107. export const TextMain = styled.li`
  108. align-self: center;
  109. margin-right: 20px;
  110. padding: 2px 10px;
  111. display: flex;
  112. color: #fff;
  113. text-align: center;
  114. margin-right: 40px;
  115. border-bottom-width: 20px;
  116. border-bottom-color: red;
  117. `;
Advertisement
Add Comment
Please, Sign In to add comment