You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

126 lines
2.6 KiB

  1. import { defaultFont } from "assets/jss/nextjs-material-kit.js";
  2. import tooltip from "assets/jss/nextjs-material-kit/tooltipsStyle.js";
  3. const headerLinksStyle = theme => ({
  4. list: {
  5. ...defaultFont,
  6. fontSize: "14px",
  7. margin: 0,
  8. paddingLeft: "0",
  9. listStyle: "none",
  10. paddingTop: "0",
  11. paddingBottom: "0",
  12. color: "inherit"
  13. },
  14. listItem: {
  15. float: "left",
  16. color: "inherit",
  17. position: "relative",
  18. display: "block",
  19. width: "auto",
  20. margin: "0",
  21. padding: "0",
  22. [theme.breakpoints.down("sm")]: {
  23. width: "100%",
  24. "&:after": {
  25. width: "calc(100% - 30px)",
  26. content: '""',
  27. display: "block",
  28. height: "1px",
  29. marginLeft: "15px",
  30. backgroundColor: "#e5e5e5"
  31. }
  32. }
  33. },
  34. listItemText: {
  35. padding: "0 !important"
  36. },
  37. navLink: {
  38. color: "inherit",
  39. position: "relative",
  40. padding: "0.9375rem",
  41. fontWeight: "400",
  42. fontSize: "12px",
  43. textTransform: "uppercase",
  44. borderRadius: "3px",
  45. lineHeight: "20px",
  46. textDecoration: "none",
  47. margin: "0px",
  48. display: "inline-flex",
  49. "&:hover,&:focus": {
  50. color: "inherit",
  51. background: "rgba(200, 200, 200, 0.2)"
  52. },
  53. [theme.breakpoints.down("sm")]: {
  54. width: "calc(100% - 30px)",
  55. marginLeft: "15px",
  56. marginBottom: "8px",
  57. marginTop: "8px",
  58. textAlign: "left",
  59. "& > span:first-child": {
  60. justifyContent: "flex-start"
  61. }
  62. }
  63. },
  64. notificationNavLink: {
  65. [theme.breakpoints.down("md")]: {
  66. top: "0",
  67. margin: "5px 15px"
  68. },
  69. color: "#FFF",
  70. padding: "0.9375rem",
  71. fontWeight: "400",
  72. fontSize: "12px",
  73. textTransform: "uppercase",
  74. lineHeight: "20px",
  75. textDecoration: "none",
  76. margin: "0px",
  77. display: "inline-flex",
  78. top: "4px"
  79. },
  80. registerNavLink: {
  81. [theme.breakpoints.down("md")]: {
  82. top: "0",
  83. margin: "5px 15px"
  84. },
  85. top: "3px",
  86. position: "relative",
  87. fontWeight: "400",
  88. fontSize: "12px",
  89. textTransform: "uppercase",
  90. lineHeight: "20px",
  91. textDecoration: "none",
  92. margin: "0px",
  93. display: "inline-flex"
  94. },
  95. navLinkActive: {
  96. color: "inherit",
  97. backgroundColor: "rgba(255, 255, 255, 0.1)"
  98. },
  99. icons: {
  100. width: "20px",
  101. height: "20px",
  102. marginRight: "3px"
  103. },
  104. socialIcons: {
  105. position: "relative",
  106. fontSize: "20px !important",
  107. marginRight: "4px"
  108. },
  109. dropdownLink: {
  110. "&,&:hover,&:focus": {
  111. color: "inherit",
  112. textDecoration: "none",
  113. display: "block",
  114. padding: "10px 20px"
  115. }
  116. },
  117. ...tooltip,
  118. marginRight5: {
  119. marginRight: "5px"
  120. }
  121. });
  122. export default headerLinksStyle;