Navigation.scss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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 2px 2px 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. &:after {
  126. content: '';
  127. position: absolute;
  128. width: 2px;
  129. height: 22px;
  130. margin-left: -2px;
  131. background: $menu-body-background-color;
  132. bottom: 0;
  133. }
  134. }
  135. }
  136. .menu-title {
  137. padding-left: 30px;
  138. background: $menu-body-background-color;
  139. .menu-title-text {
  140. height: 56px;
  141. line-height: 56px;
  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. padding-bottom: 20px;
  152. background: $menu-body-background-color;
  153. .menuitem {
  154. padding-left: 25px;
  155. margin: 6px;
  156. display: flex;
  157. align-content: space-between;
  158. .item-text {
  159. color: #eeeef2;
  160. cursor: pointer;
  161. height: 34px;
  162. line-height: 34px;
  163. white-space: nowrap;
  164. flex: 1;
  165. overflow: hidden;
  166. font-size: 14px;
  167. text-overflow: ellipsis;
  168. }
  169. .item-icon {
  170. cursor: pointer;
  171. background: #33B4EE;
  172. color: #fff;
  173. display: none;
  174. padding: 3px 6px;
  175. border-radius: 2px;
  176. margin-right: 5px;
  177. height: 24px;
  178. margin-top: 5px;
  179. &:hover {
  180. opacity: 0.7;
  181. }
  182. }
  183. &:hover {
  184. border-radius: 2px;
  185. background-color: #595B7E;
  186. // &:before {
  187. // content: ' ';
  188. // position: absolute;
  189. // width: 6px;
  190. // height: 34px;
  191. // background: #34baf6;
  192. // margin-left: -25px;
  193. // }
  194. .item-icon {
  195. display: block;
  196. }
  197. .tem-text {
  198. color: blue;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. .x-tab-shareTab{
  207. .x-tab-active{
  208. .x-tab-wrap-default{
  209. border-bottom: 1px solid #000000 !important;
  210. }
  211. }
  212. .x-tab-bar-plain .x-tab-inner-default {
  213. color: #a9a7a7;
  214. }
  215. .x-tab-bar-plain .x-tab.x-tab-active.x-tab-default .x-tab-inner-default {
  216. color: #000000;
  217. }
  218. }