menu_top.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. div.bx-std-menu-top-wrp {
  2. position: relative;
  3. display: -webkit-flex;
  4. display: flex;
  5. -webkit-flex-wrap: nowrap;
  6. flex-wrap: nowrap;
  7. -webkit-align-items: center;
  8. align-items: center;
  9. width: 100%;
  10. min-height: 4rem;
  11. background: #001529;
  12. box-shadow: inset 0px -1px 0px rgba(240, 240, 240, 0.2);
  13. }
  14. div.bx-std-menu-top {
  15. position: relative;
  16. }
  17. div.bx-std-menu-top.bx-std-menu-top-left,
  18. div.bx-std-menu-top.bx-std-menu-top-right {
  19. -webkit-flex: 0 1 auto;
  20. flex: 0 1 auto;
  21. min-width: 15%;
  22. }
  23. div.bx-std-menu-top.bx-std-menu-top-center {
  24. -webkit-flex: 2 1 auto;
  25. flex: 2 1 auto;
  26. }
  27. div.bx-std-menu-top-center {
  28. height: 4rem;
  29. }
  30. div.bx-std-menu-top-center ul {
  31. text-align: center;
  32. white-space: nowrap;
  33. }
  34. div.bx-std-menu-top-left {
  35. padding-left: 1rem;
  36. line-height: 4rem;
  37. text-align: left;
  38. font-size: 1.5rem;
  39. }
  40. div.bx-std-menu-top-right {
  41. padding-right: 1rem;
  42. text-align: right;
  43. }
  44. /*--- Breadcrumb (Center) ---*/
  45. .bx-menu-breadcrumb {
  46. position: relative;
  47. display: -webkit-flex;
  48. display: flex;
  49. -webkit-flex-wrap: nowrap;
  50. flex-wrap: nowrap;
  51. -webkit-align-items: center;
  52. align-items: center;
  53. }
  54. .bx-menu-breadcrumb li.bx-menu-bc-item {
  55. position: relative;
  56. height: 4.0rem;
  57. min-width: 1.5rem;
  58. line-height: 4.0rem;
  59. }
  60. .bx-menu-breadcrumb li.bx-menu-bc-item > a {
  61. position: relative;
  62. display: -webkit-flex;
  63. display: flex;
  64. -webkit-justify-content: center;
  65. justify-content: center;
  66. -webkit-align-items: center;
  67. align-items: center;
  68. width: 100%;
  69. height: 100%;
  70. }
  71. /*--- Widgets (Center) ---*/
  72. div.bx-std-menu-top .bx-menu-floating-blocks li {
  73. width: 5rem;
  74. height: 4rem;
  75. }
  76. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-menu-item-static + li.bx-menu-item-dynamic {
  77. border-left: 1px solid rgba(240, 240, 240, 0.2);
  78. }
  79. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-active,
  80. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-hl-hover:hover {
  81. background-color: rgba(24, 144, 255, 0.2);
  82. }
  83. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-active {
  84. box-shadow: inset 0px -3px 0px rgba(24, 144, 255, 1.0);
  85. }
  86. div.bx-std-menu-top .bx-menu-floating-blocks li a {
  87. width: 100%;
  88. height: 100%;
  89. padding: 0.25rem;
  90. text-align: center;
  91. }
  92. div.bx-std-menu-top .bx-menu-floating-blocks li img,
  93. div.bx-std-menu-top .bx-menu-floating-blocks li .sys-icon {
  94. display: inline-block;
  95. width: 2rem;
  96. height: 2rem;
  97. margin: 0;
  98. }
  99. div.bx-std-menu-top .bx-menu-floating-blocks li .sys-icon {
  100. font-size: 1.5rem;
  101. color: rgba(255, 255, 255, 0.7);
  102. }
  103. div.bx-std-menu-top .bx-menu-floating-blocks li .bx-mi-title {
  104. margin-top: 0.25rem;
  105. font-size: 0.75rem;
  106. font-weight: normal;
  107. color: rgba(255, 255, 255, 0.7);
  108. text-overflow: ellipsis;
  109. overflow: hidden;
  110. }
  111. /*--- Toolbar (Right) ---*/
  112. div.bx-std-menu-top .bx-menu-toolbar {
  113. position: relative;
  114. display: -webkit-flex;
  115. display: flex;
  116. -webkit-flex-wrap: nowrap;
  117. flex-wrap: nowrap;
  118. -webkit-justify-content: flex-end;
  119. justify-content: flex-end;
  120. }
  121. div.bx-std-menu-top .bx-menu-toolbar li {
  122. position: relative;
  123. float: none;
  124. display: block;
  125. height: 4.0rem;
  126. min-width: 2.0rem;
  127. line-height: 4.0rem;
  128. }
  129. div.bx-std-menu-top .bx-menu-toolbar li a {
  130. position: relative;
  131. display: -webkit-flex;
  132. display: flex;
  133. -webkit-justify-content: center;
  134. justify-content: center;
  135. -webkit-align-items: center;
  136. align-items: center;
  137. width: 100%;
  138. height: 100%;
  139. }
  140. div.bx-std-menu-top .bx-menu-toolbar li svg g {
  141. opacity: 0.7;
  142. }
  143. div.bx-std-menu-top .bx-menu-toolbar li:hover svg g {
  144. opacity: 0.85;
  145. }
  146. div.bx-std-menu-top i.sys-icon {
  147. -webkit-transition: all 0.2s ease-in-out;
  148. transition: all 0.2s ease-in-out;
  149. }
  150. div.bx-std-menu-top-right li.bx-menu-tab-active i.sys-icon {
  151. color: #ffe900;
  152. text-shadow: 0 0 4px #ffe900;
  153. }
  154. /*--- Account popup ---*/
  155. #bx-popup-ajax-wrapper-sys_studio_account_popup {
  156. overflow: visible;
  157. }
  158. #bx-popup-ajax-wrapper-sys_studio_account_popup::before {
  159. position: absolute;
  160. display: block;
  161. content: '';
  162. top: -0.125rem;
  163. right: 1.5rem;
  164. width: 0.5rem;
  165. height: 0.5rem;
  166. box-shadow: inset 1px 1px 0px rgba(240, 240, 240, 0.2);
  167. background-color: #001529;
  168. transform: rotate(45deg);
  169. }
  170. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup {
  171. box-shadow: inset -1px -1px 0px rgba(240, 240, 240, 0.2), inset 1px 1px 0px rgba(240, 240, 240, 0.2);
  172. background-color: #001529;
  173. }
  174. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-content-indent {
  175. padding: 0;
  176. }
  177. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li {
  178. position: relative;
  179. height: 2.5rem;
  180. margin: 0;
  181. padding: 0 1rem;
  182. white-space: nowrap;
  183. line-height: 2.5rem;
  184. font-size: 0.875rem;
  185. font-weight: 400;
  186. overflow: hidden;
  187. }
  188. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li a,
  189. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li .sys-icon {
  190. color: rgba(255, 255, 255, 0.7);
  191. }
  192. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li svg g {
  193. opacity: 0.7;
  194. }
  195. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover a,
  196. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover a .sys-icon {
  197. color: rgba(255, 255, 255, 0.85);
  198. }
  199. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li.bx-menu-tab-active {
  200. background-color: rgba(24, 144, 255, 0.2);
  201. box-shadow: inset 3px 0px 0px rgba(24, 144, 255, 1.0);
  202. }
  203. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover svg g,
  204. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li.bx-menu-tab-active svg g {
  205. opacity: 0.85;
  206. }