Navigation.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .x-navpanel {
  2. overflow: visible;
  3. .x-panel-bodyWrap {
  4. overflow: visible;
  5. .x-panel-body-nav {
  6. color: #404040;
  7. font-size: 13px;
  8. line-height: 17px;
  9. font-weight: 400;
  10. font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
  11. background: #f6f6f6;
  12. overflow: visible;
  13. .x-autocontainer-outerCt {
  14. background-color: #3C4A57;
  15. .x-autocontainer-innerCt {
  16. .x-navlist {
  17. position: relative;
  18. list-style: none;
  19. padding: 0;
  20. margin: 0;
  21. width: 100%;
  22. .x-navitem {
  23. cursor: default;
  24. position: relative;
  25. list-style: none;
  26. padding: 0;
  27. margin: 0;
  28. outline: none !important;
  29. .x-navitem-body {
  30. background-color: #3C4A57;
  31. .nav-inner-wrap {
  32. position: relative;
  33. position: relative;
  34. overflow: hidden;
  35. list-style: none;
  36. max-height: 64px;
  37. padding: 0 10px;
  38. .nav-inner-icon {
  39. color: #adb3b8;
  40. font-size: 18px;
  41. text-align: center;
  42. background-repeat: no-repeat;
  43. background-position: 0 center;
  44. margin-left: 10px;
  45. display: inline;
  46. &:before {
  47. line-height: 64px;
  48. }
  49. }
  50. .nav-inner-text {
  51. cursor: default;
  52. color: #adb3b8;
  53. margin-left: 20px;
  54. margin-right: 24px;
  55. font-size: 14px;
  56. line-height: 64px;
  57. display: inline;
  58. }
  59. }
  60. }
  61. }
  62. .x-navitem-over {
  63. .x-navitem-body {
  64. background-color: #475360;
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. .x-navitem-menu {
  74. position: absolute;
  75. z-index: 9999;
  76. top: 0;
  77. background: white;
  78. overflow: hidden;
  79. // animation: name duration timing-function delay iteration-count direction;
  80. .nav-menu-body {
  81. display: flex;
  82. padding: 5px;
  83. border-top-right-radius: 4px;
  84. border-bottom-right-radius: 4px;
  85. .menu {
  86. width: 200px;
  87. border-right: 1px dashed #ccc;
  88. letter-spacing: 1px;
  89. color: #444;
  90. &:last-child {
  91. border: none;
  92. }
  93. .menu-title {
  94. margin: 5px;
  95. }
  96. .menu-content {
  97. list-style: none;
  98. padding-left: 10px;
  99. padding-right: 10px;
  100. .menuitem {
  101. padding: 5px;
  102. display: flex;
  103. border-radius: 4px;
  104. align-content: space-between;
  105. .item-text {
  106. cursor: pointer;
  107. line-height: 24px;
  108. white-space: nowrap;
  109. width: 124px;
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. }
  113. .item-icon {
  114. cursor: pointer;
  115. float: right;
  116. display: none;
  117. background: #64b448;
  118. color: #fff;
  119. font-size: 11px;
  120. padding: 3px 6px;
  121. border-radius: 3px;
  122. margin-right: 5px;
  123. font-weight: 400;
  124. width: 40px;
  125. &:hover {
  126. opacity: 0.7;
  127. }
  128. }
  129. &:hover {
  130. background-color: #E4E4E4;
  131. .item-icon {
  132. display: block;
  133. }
  134. .tem-text {
  135. color: blue;
  136. }
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }