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.
 
 

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