Navigation.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. .x-navitem-menu {
  62. position: absolute;
  63. z-index: 9999;
  64. margin-left: 100%;
  65. top: 0;
  66. background: white;
  67. overflow: hidden;
  68. // animation: name duration timing-function delay iteration-count direction;
  69. .nav-menu-body {
  70. display: flex;
  71. padding: 5px;
  72. border: 4px solid #c7c7c7;
  73. border-color: rgba(0,0,0,.2);
  74. border-left: 0;
  75. border-top-right-radius: 4px;
  76. border-bottom-right-radius: 4px;
  77. .menu {
  78. width: 200px;
  79. border-right: 1px dashed #ccc;
  80. letter-spacing: 1px;
  81. color: #444;
  82. &:last-child {
  83. border: none;
  84. }
  85. .menu-title {
  86. padding-left: 10px;
  87. }
  88. .menu-content {
  89. list-style: none;
  90. padding-left: 10px;
  91. padding-right: 10px;
  92. .menuitem {
  93. margin: 5px 0;
  94. .item-text {
  95. cursor: pointer;
  96. }
  97. .item-icon {
  98. cursor: pointer;
  99. display: none;
  100. float: right;
  101. font-style: inherit;
  102. background: green;
  103. color: white;
  104. border-radius: 4px;
  105. }
  106. &:hover {
  107. .item-icon {
  108. display: block;
  109. }
  110. .tem-text {
  111. color: blue;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. .x-navitem-over {
  121. .x-navitem-body {
  122. background-color: #475360;
  123. }
  124. }
  125. }
  126. }
  127. }
  128. }
  129. }
  130. }