Navigation.scss 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. $nav-body-background-color: #484A69;
  2. $nav-font-size: 16px;
  3. $nav-font-color: #EEEEF2;
  4. $nav-font-color-over: #fff;
  5. $menu-body-background-color: #65678C;
  6. .x-navpanel {
  7. overflow: visible;
  8. .x-panel-bodyWrap {
  9. overflow: visible;
  10. .x-panel-body-nav {
  11. color: #404040;
  12. font-size: 13px;
  13. line-height: 17px;
  14. font-weight: 400;
  15. font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
  16. background: #f6f6f6;
  17. overflow: visible;
  18. .x-autocontainer-outerCt {
  19. background-color: $nav-body-background-color;
  20. .x-autocontainer-innerCt {
  21. .x-navlist {
  22. position: relative;
  23. list-style: none;
  24. padding: 0;
  25. margin: 0;
  26. width: 100%;
  27. .x-navitem {
  28. cursor: default;
  29. position: relative;
  30. list-style: none;
  31. padding: 0;
  32. margin: 0;
  33. outline: none !important;
  34. .x-navitem-body {
  35. .nav-inner-wrap {
  36. position: relative;
  37. overflow: hidden;
  38. list-style: none;
  39. max-height: 60px;
  40. padding: 0 10px;
  41. display: flex;
  42. .nav-inner-icon {
  43. color: $nav-font-color;
  44. font-size: 24px;
  45. text-align: center;
  46. margin-left: 22px;
  47. display: inline;
  48. margin-right: 16px;
  49. &:before {
  50. line-height: 60px;
  51. }
  52. }
  53. .nav-inner-text {
  54. font-size: $nav-font-size;
  55. color: $nav-font-color;
  56. letter-spacing: 4px;
  57. text-align: left;
  58. line-height: 60px;
  59. height: 60px;
  60. }
  61. }
  62. }
  63. }
  64. .x-navitem-over {
  65. .x-navitem-body {
  66. background: #65678C;
  67. .nav-inner-wrap {
  68. &:before {
  69. content: ' ';
  70. position: absolute;
  71. width: 8px;
  72. height: 60px;
  73. background: #34baf6;
  74. left: 0;
  75. }
  76. .nav-inner-icon {
  77. color: $nav-font-color-over;
  78. }
  79. .nav-inner-text {
  80. color: $nav-font-color-over;
  81. }
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. .x-nav-menu {
  92. border: none;
  93. border-radius: 0 4px 4px 0;
  94. }
  95. .x-navitem-menu {
  96. position: absolute;
  97. z-index: 9999;
  98. top: 0;
  99. border-left: 1px solid $nav-body-background-color;
  100. background: white;
  101. overflow: hidden;
  102. .nav-menu-body {
  103. display: flex;
  104. border-top-right-radius: 4px;
  105. border-bottom-right-radius: 4px;
  106. .menu {
  107. width: 188px;
  108. letter-spacing: 1px;
  109. display: flex;
  110. flex-direction: column;
  111. &:nth-child(2) {
  112. .menu-title {
  113. border-left: 1px solid #A4ABBC;
  114. &:before {
  115. content: '';
  116. position: absolute;
  117. width: 2px;
  118. height: 22px;
  119. margin-left: -31px;
  120. background: $menu-body-background-color;
  121. }
  122. }
  123. .menu-content {
  124. border-left: 1px solid #A4ABBC;
  125. // &:before {
  126. // content: '';
  127. // position: absolute;
  128. // width: 2px;
  129. // height: 22px;
  130. // margin-left: -2px;
  131. // background: $menu-body-background-color;
  132. // }
  133. &:after {
  134. content: '';
  135. position: absolute;
  136. width: 2px;
  137. height: 22px;
  138. margin-left: -2px;
  139. background: $menu-body-background-color;
  140. bottom: 0;
  141. }
  142. }
  143. }
  144. .menu-title {
  145. padding-left: 30px;
  146. background: $menu-body-background-color;
  147. .menu-title-text {
  148. height: 40px;
  149. line-height: 40px;
  150. font-size: 16px;
  151. font-weight: bold;
  152. color: #eeeef2;
  153. letter-spacing: 0.64px;
  154. text-align: left;
  155. }
  156. }
  157. .menu-content {
  158. height: 100%;
  159. background: $menu-body-background-color;
  160. .menuitem {
  161. padding-left: 25px;
  162. margin: 6px;
  163. display: flex;
  164. align-content: space-between;
  165. .item-text {
  166. color: #eeeef2;
  167. cursor: pointer;
  168. height: 34px;
  169. line-height: 34px;
  170. white-space: nowrap;
  171. flex: 1;
  172. overflow: hidden;
  173. font-size: 14px;
  174. text-overflow: ellipsis;
  175. }
  176. .item-icon {
  177. cursor: pointer;
  178. background: #64b448;
  179. color: #fff;
  180. display: none;
  181. padding: 3px 6px;
  182. // border-radius: 3px;
  183. margin-right: 5px;
  184. height: 24px;
  185. margin-top: 5px;
  186. &:hover {
  187. opacity: 0.7;
  188. }
  189. }
  190. &:hover {
  191. // border-radius: 4px;
  192. background-color: #595B7E;
  193. &:before {
  194. content: ' ';
  195. position: absolute;
  196. width: 6px;
  197. height: 34px;
  198. background: #34baf6;
  199. margin-left: -25px;
  200. }
  201. .item-icon {
  202. display: block;
  203. }
  204. .tem-text {
  205. color: blue;
  206. }
  207. }
  208. }
  209. }
  210. }
  211. }
  212. }
  213. .x-tab-shareTab{
  214. .x-tab-active{
  215. .x-tab-wrap-default{
  216. border-bottom: 1px solid #000000 !important;
  217. }
  218. }
  219. .x-tab-bar-plain .x-tab-inner-default {
  220. color: #a9a7a7;
  221. }
  222. .x-tab-bar-plain .x-tab.x-tab-active.x-tab-default .x-tab-inner-default {
  223. color: #000000;
  224. }
  225. }