Navigation.scss 7.1 KB

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