menu_top.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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. .bx-menu-breadcrumb li.bx-menu-bc-item > a:hover span {
  72. color: rgba(255, 255, 255, 0.85);
  73. }
  74. .bx-menu-breadcrumb li.bx-menu-bc-item > a img,
  75. .bx-menu-breadcrumb li.bx-menu-bc-item > a svg {
  76. width: 1.625rem;
  77. height: 1.625rem;
  78. }
  79. .bx-menu-breadcrumb li.bx-menu-bc-item:not(:last-child) > a svg g {
  80. opacity: 0.7;
  81. }
  82. .bx-menu-breadcrumb li.bx-menu-bc-item:not(:last-child) > a:hover svg g {
  83. opacity: 0.85;
  84. }
  85. /*--- Widgets (Center) ---*/
  86. div.bx-std-menu-top .bx-menu-floating-blocks li {
  87. width: 5rem;
  88. height: 4rem;
  89. }
  90. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-menu-item-static + li.bx-menu-item-dynamic {
  91. border-left: 1px solid rgba(240, 240, 240, 0.2);
  92. }
  93. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-active,
  94. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-hl-hover:hover {
  95. background-color: rgba(24, 144, 255, 0.2);
  96. }
  97. div.bx-std-menu-top .bx-menu-floating-blocks li.bx-def-color-bg-active {
  98. box-shadow: inset 0px -3px 0px rgba(24, 144, 255, 1.0);
  99. }
  100. div.bx-std-menu-top .bx-menu-floating-blocks li a {
  101. width: 100%;
  102. height: 100%;
  103. padding: 0.25rem;
  104. text-align: center;
  105. }
  106. div.bx-std-menu-top .bx-menu-floating-blocks li .bx-mi-icon {
  107. margin-top: 0.125rem;
  108. }
  109. div.bx-std-menu-top .bx-menu-floating-blocks li img,
  110. div.bx-std-menu-top .bx-menu-floating-blocks li .sys-icon {
  111. display: inline-block;
  112. width: 2rem;
  113. height: 2rem;
  114. margin: 0;
  115. }
  116. div.bx-std-menu-top .bx-menu-floating-blocks li .sys-icon {
  117. font-size: 1.5rem;
  118. color: rgba(255, 255, 255, 0.7);
  119. }
  120. div.bx-std-menu-top .bx-menu-floating-blocks li .bx-mi-title {
  121. margin-top: 0.25rem;
  122. font-size: 0.75rem;
  123. font-weight: normal;
  124. color: rgba(255, 255, 255, 0.7);
  125. text-overflow: ellipsis;
  126. overflow: hidden;
  127. }
  128. /*--- Toolbar (Right) ---*/
  129. div.bx-std-menu-top .bx-menu-toolbar {
  130. position: relative;
  131. display: -webkit-flex;
  132. display: flex;
  133. -webkit-flex-wrap: nowrap;
  134. flex-wrap: nowrap;
  135. -webkit-justify-content: flex-end;
  136. justify-content: flex-end;
  137. }
  138. div.bx-std-menu-top .bx-menu-toolbar li {
  139. position: relative;
  140. float: none;
  141. display: block;
  142. height: 4.0rem;
  143. min-width: 2.0rem;
  144. line-height: 4.0rem;
  145. }
  146. div.bx-std-menu-top .bx-menu-toolbar li a {
  147. position: relative;
  148. display: -webkit-flex;
  149. display: flex;
  150. -webkit-justify-content: center;
  151. justify-content: center;
  152. -webkit-align-items: center;
  153. align-items: center;
  154. width: 100%;
  155. height: 100%;
  156. }
  157. div.bx-std-menu-top .bx-menu-toolbar li svg g {
  158. opacity: 0.7;
  159. }
  160. div.bx-std-menu-top .bx-menu-toolbar li:hover svg g {
  161. opacity: 0.85;
  162. }
  163. div.bx-std-menu-top i.sys-icon {
  164. -webkit-transition: all 0.2s ease-in-out;
  165. transition: all 0.2s ease-in-out;
  166. }
  167. div.bx-std-menu-top-right li.bx-menu-tab-active i.sys-icon {
  168. color: #ffe900;
  169. text-shadow: 0 0 4px #ffe900;
  170. }
  171. /*--- Account popup ---*/
  172. #bx-popup-ajax-wrapper-sys_studio_account_popup {
  173. overflow: visible;
  174. }
  175. #bx-popup-ajax-wrapper-sys_studio_account_popup::before {
  176. position: absolute;
  177. display: block;
  178. content: '';
  179. top: -0.125rem;
  180. right: 1.5rem;
  181. width: 0.5rem;
  182. height: 0.5rem;
  183. box-shadow: inset 1px 1px 0px rgba(240, 240, 240, 0.2);
  184. background-color: #001529;
  185. transform: rotate(45deg);
  186. }
  187. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup {
  188. box-shadow: inset -1px -1px 0px rgba(240, 240, 240, 0.2), inset 1px 1px 0px rgba(240, 240, 240, 0.2);
  189. background-color: #001529;
  190. }
  191. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-content-indent {
  192. padding: 0;
  193. }
  194. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li {
  195. position: relative;
  196. height: 2.5rem;
  197. margin: 0;
  198. padding: 0 1rem;
  199. white-space: nowrap;
  200. line-height: 2.5rem;
  201. font-size: 0.875rem;
  202. font-weight: 400;
  203. overflow: hidden;
  204. }
  205. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li a,
  206. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li .sys-icon {
  207. color: rgba(255, 255, 255, 0.7);
  208. }
  209. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li svg g {
  210. opacity: 0.7;
  211. }
  212. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover a,
  213. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover a .sys-icon {
  214. color: rgba(255, 255, 255, 0.85);
  215. }
  216. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li.bx-menu-tab-active {
  217. background-color: rgba(24, 144, 255, 0.2);
  218. box-shadow: inset 3px 0px 0px rgba(24, 144, 255, 1.0);
  219. }
  220. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li:hover svg g,
  221. #bx-popup-ajax-wrapper-sys_studio_account_popup .bx-popup-color-bg li.bx-menu-tab-active svg g {
  222. opacity: 0.85;
  223. }