Navigation.scss 7.7 KB

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