slicknav.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /*!
  2. * SlickNav Responsive Mobile Menu v1.0.10
  3. * (c) 2016 Josh Cope
  4. * licensed under MIT
  5. */
  6. .slicknav_btn {
  7. position: relative;
  8. display: block;
  9. vertical-align: middle;
  10. float: right;
  11. padding: 0.438em 0.625em 0.438em 0.625em;
  12. line-height: 1.125em;
  13. cursor: pointer; }
  14. .slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar {
  15. margin-top: 0.188em; }
  16. .slicknav_menu {
  17. *zoom: 1; }
  18. .slicknav_menu .slicknav_menutxt {
  19. display: block;
  20. line-height: 1.188em;
  21. float: left; }
  22. .slicknav_menu .slicknav_icon {
  23. float: left;
  24. width: 1.125em;
  25. height: 0.875em;
  26. margin: 0.188em 0 0 0.438em; }
  27. .slicknav_menu .slicknav_icon:before {
  28. background: transparent;
  29. width: 1.125em;
  30. height: 0.875em;
  31. display: block;
  32. content: "";
  33. position: absolute; }
  34. .slicknav_menu .slicknav_no-text {
  35. margin: 0; }
  36. .slicknav_menu .slicknav_icon-bar {
  37. display: block;
  38. width: 1.125em;
  39. height: 0.125em;
  40. -webkit-border-radius: 1px;
  41. -moz-border-radius: 1px;
  42. border-radius: 1px;
  43. -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  44. -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  45. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
  46. .slicknav_menu:before {
  47. content: " ";
  48. display: table; }
  49. .slicknav_menu:after {
  50. content: " ";
  51. display: table;
  52. clear: both; }
  53. .slicknav_nav {
  54. clear: both; }
  55. .slicknav_nav ul {
  56. display: block; }
  57. .slicknav_nav li {
  58. display: block; }
  59. .slicknav_nav .slicknav_arrow {
  60. font-size: 0.8em;
  61. margin: 0 0 0 0.4em; }
  62. .slicknav_nav .slicknav_item {
  63. cursor: pointer; }
  64. .slicknav_nav .slicknav_item a {
  65. display: inline; }
  66. .slicknav_nav .slicknav_row {
  67. display: block; }
  68. .slicknav_nav a {
  69. display: block; }
  70. .slicknav_nav .slicknav_parent-link a {
  71. display: inline; }
  72. .slicknav_brand {
  73. float: left; }
  74. .slicknav_menu {
  75. font-size: 16px;
  76. box-sizing: border-box;
  77. background: #4c4c4c;
  78. padding: 5px; }
  79. .slicknav_menu * {
  80. box-sizing: border-box; }
  81. .slicknav_menu .slicknav_menutxt {
  82. color: #fff;
  83. font-weight: bold;
  84. text-shadow: 0 1px 3px #000; }
  85. .slicknav_menu .slicknav_icon-bar {
  86. background-color: #fff; }
  87. .slicknav_btn {
  88. margin: 5px 5px 6px;
  89. text-decoration: none;
  90. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  91. -webkit-border-radius: 4px;
  92. -moz-border-radius: 4px;
  93. border-radius: 4px;
  94. background-color: #222; }
  95. .slicknav_nav {
  96. color: #fff;
  97. margin: 0;
  98. padding: 0;
  99. font-size: 0.875em;
  100. list-style: none;
  101. overflow: hidden; }
  102. .slicknav_nav ul {
  103. list-style: none;
  104. overflow: hidden;
  105. padding: 0;
  106. margin: 0 0 0 20px; }
  107. .slicknav_nav .slicknav_row {
  108. padding: 5px 10px;
  109. margin: 2px 5px; }
  110. .slicknav_nav .slicknav_row:hover {
  111. -webkit-border-radius: 6px;
  112. -moz-border-radius: 6px;
  113. border-radius: 6px;
  114. background: #ccc;
  115. color: #fff; }
  116. .slicknav_nav a {
  117. padding: 5px 10px;
  118. margin: 2px 5px;
  119. text-decoration: none;
  120. color: #fff; }
  121. .slicknav_nav a:hover {
  122. -webkit-border-radius: 6px;
  123. -moz-border-radius: 6px;
  124. border-radius: 6px;
  125. background: #ccc;
  126. color: #222; }
  127. .slicknav_nav .slicknav_txtnode {
  128. margin-left: 15px; }
  129. .slicknav_nav .slicknav_item a {
  130. padding: 0;
  131. margin: 0; }
  132. .slicknav_nav .slicknav_parent-link a {
  133. padding: 0;
  134. margin: 0; }
  135. .slicknav_brand {
  136. color: #fff;
  137. font-size: 18px;
  138. line-height: 30px;
  139. padding: 7px 12px;
  140. height: 44px; }