menu_top.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. div.bx-std-menu-top-wrp {
  2. position: relative;
  3. display: -webkit-flex;
  4. display: flex;
  5. -webkit-justify-content: space-between;
  6. justify-content: space-between;
  7. -webkit-align-items: center;
  8. align-items: center;
  9. -webkit-flex-wrap: nowrap;
  10. flex-wrap: nowrap;
  11. width: 100%;
  12. height: 5rem;
  13. }
  14. div.bx-std-menu-top-wrp .bx-std-menu-top.bx-std-menu-top-center:first-child {
  15. padding-left: 0.75rem;
  16. }
  17. div.bx-std-menu-top {}
  18. div.bx-std-menu-top.bx-std-menu-top-left,
  19. div.bx-std-menu-top.bx-std-menu-top-center,
  20. div.bx-std-menu-top.bx-std-menu-top-right {
  21. -webkit-flex: 0 1 auto;
  22. flex: 0 1 auto;
  23. }
  24. div.bx-std-menu-top.bx-std-menu-top-left,
  25. div.bx-std-menu-top.bx-std-menu-top-right {
  26. position: relative;
  27. z-index: 2;
  28. min-width: 10%;
  29. }
  30. div.bx-std-menu-top.bx-std-menu-top-center {
  31. z-index: 1;
  32. -webkit-flex-grow: 1;
  33. flex-grow: 1;
  34. height: 3.5rem;
  35. }
  36. div.bx-std-menu-top.bx-std-menu-top-center .bx-std-menu-top-center-cnt {
  37. position: absolute;
  38. left: 0;
  39. width: 100vw;
  40. }
  41. div.bx-std-menu-top-center ul {
  42. position: relative;
  43. display: -webkit-flex;
  44. display: flex;
  45. -webkit-align-items: stretch;
  46. align-items: stretch;
  47. -webkit-flex-wrap: nowrap;
  48. flex-wrap: nowrap;
  49. }
  50. div.bx-std-menu-top-left {
  51. padding-left: 1rem;
  52. line-height: 4rem;
  53. text-align: left;
  54. font-size: 1.5rem;
  55. }
  56. div.bx-std-menu-top-right {
  57. padding-right: 1rem;
  58. text-align: right;
  59. }
  60. /*--- Breadcrumb (Left) ---*/
  61. div.bx-std-menu-top .bx-menu-breadcrumb {
  62. position: relative;
  63. display: -webkit-flex;
  64. display: flex;
  65. -webkit-flex-wrap: nowrap;
  66. flex-wrap: nowrap;
  67. -webkit-align-items: center;
  68. align-items: center;
  69. }
  70. /*--- Widgets (Center) ---*/
  71. div.bx-std-menu-top .bx-menu-top-center {
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. gap: 0.25rem;
  76. padding: 0;
  77. margin: 0;
  78. list-style: none;
  79. }
  80. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item,
  81. div.bx-std-menu-top .bx-menu-top-center li {
  82. position: relative;
  83. display: -webkit-flex;
  84. display: flex;
  85. -webkit-justify-content: center;
  86. justify-content: center;
  87. -webkit-align-items: center;
  88. align-items: center;
  89. width: 3.5rem;
  90. height: 3.5rem;
  91. }
  92. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-div img {
  93. height: 2.0rem;
  94. }
  95. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item.bx-menu-bc-page {
  96. width: auto;
  97. padding-left: 0.5rem;
  98. padding-right: 0.5rem;
  99. }
  100. /*
  101. * Vertical divider between static and dynamic menu items.
  102. *
  103. div.bx-std-menu-top .bx-menu-top-center li.bx-menu-item-static + li.bx-menu-item-dynamic {
  104. border-left: 1px solid rgba(240, 240, 240, 0.2);
  105. }
  106. */
  107. .bx-menu-breadcrumb li.bx-menu-bc-item > a,
  108. div.bx-std-menu-top .bx-menu-top-center li a {
  109. display: block;
  110. z-index: 2;
  111. box-sizing: content-box;
  112. width: 2.5rem;
  113. height: 2.5rem;
  114. }
  115. .bx-menu-breadcrumb li.bx-menu-bc-item > a {
  116. display: -webkit-flex;
  117. display: flex;
  118. -webkit-align-items: center;
  119. align-items: center;
  120. width: auto;
  121. }
  122. div.bx-std-menu-top .bx-menu-top-center li.bx-menu-tab-active a {
  123. border-color: rgba(37, 99, 235, 0.8);
  124. }
  125. div.bx-std-menu-top .bx-menu-top-center li .bx-mi-bg {
  126. position: absolute;
  127. display: none;
  128. z-index: 1;
  129. top: 0;
  130. left: 0;
  131. width: 100%;
  132. height: 100%;
  133. filter: blur(6px);
  134. }
  135. div.bx-std-menu-top .bx-menu-top-center li.bx-menu-tab-active .bx-mi-bg {
  136. display: block;
  137. }
  138. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item .bx-mi-icon,
  139. div.bx-std-menu-top .bx-menu-top-center li .bx-mi-icon {
  140. overflow: hidden;
  141. }
  142. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item .bx-mi-icon {
  143. border-radius: 1.5rem;
  144. }
  145. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item .bx-mi-title {
  146. text-align: center;
  147. letter-spacing: -0.02em;
  148. font-size: 1.5rem;
  149. font-weight: 500;
  150. color: rgb(243, 244, 246);
  151. }
  152. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item img,
  153. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item:not(.bx-menu-tab-search) svg,
  154. div.bx-std-menu-top .bx-menu-breadcrumb li.bx-menu-bc-item .sys-icon,
  155. div.bx-std-menu-top .bx-menu-top-center li img,
  156. div.bx-std-menu-top .bx-menu-top-center li .sys-icon {
  157. display: block;
  158. box-sizing: content-box;
  159. width: 2.5rem;
  160. height: 2.5rem;
  161. margin: 0;
  162. }
  163. div.bx-std-menu-top .bx-menu-top-center li img {
  164. position: relative;
  165. z-index: -1;
  166. }
  167. div.bx-std-menu-top .bx-menu-top-center li .sys-icon {
  168. font-size: 1.5rem;
  169. color: rgba(255, 255, 255, 0.7);
  170. }
  171. div.bx-std-menu-top .bx-menu-top-center li .bx-mi-title {
  172. margin-top: 0.25rem;
  173. font-size: 0.75rem;
  174. font-weight: normal;
  175. color: rgba(255, 255, 255, 0.7);
  176. text-overflow: ellipsis;
  177. overflow: hidden;
  178. }
  179. div.bx-std-menu-top .bx-menu-top-center li.bx-menu-tab-divider {
  180. width: 0.25rem;
  181. height: 1.75rem;
  182. }
  183. /*--- Search box (Top Left\Center\Right) ---*/
  184. div.bx-std-menu-top ul li.bx-menu-tab-search {
  185. overflow: visible;
  186. }
  187. div.bx-std-menu-top ul li.bx-menu-tab-search > div {
  188. position: absolute;
  189. display: -webkit-flex;
  190. display: flex;
  191. -webkit-align-items: center;
  192. align-items: center;
  193. -webkit-flex-wrap: nowrap;
  194. flex-wrap: nowrap;
  195. width: 2.5rem;
  196. height: 2.5rem;
  197. right: 0;
  198. border-radius: 1.5rem;
  199. }
  200. div.bx-std-menu-top ul.bx-menu-breadcrumb li.bx-menu-tab-search > div {
  201. left: 0.5rem;
  202. right: auto;
  203. }
  204. div.bx-std-menu-top ul li.bx-menu-tab-search.bx-mt-active > div {
  205. width: 13.75rem;
  206. }
  207. div.bx-std-menu-top ul li.bx-menu-tab-search .bx-form-input-text {
  208. height: 2.5rem;
  209. padding-left: 0.5rem;
  210. padding-right: 0.5rem;
  211. border-width: 0;
  212. background-color: transparent;
  213. font-style: normal;
  214. font-weight: 500;
  215. }
  216. /*--- Toolbar (Right) ---*/
  217. div.bx-std-menu-top .bx-menu-toolbar {
  218. position: relative;
  219. display: -webkit-flex;
  220. display: flex;
  221. -webkit-flex-wrap: nowrap;
  222. flex-wrap: nowrap;
  223. -webkit-justify-content: flex-end;
  224. justify-content: flex-end;
  225. }
  226. div.bx-std-menu-top .bx-menu-toolbar li {
  227. position: relative;
  228. float: none;
  229. display: block;
  230. height: 2.5rem;
  231. min-width: 2.5rem;
  232. border-radius: 1.5rem;
  233. background-color: rgba(17, 24, 39, 1);
  234. line-height: 2.5rem;
  235. overflow: hidden;
  236. }
  237. div.bx-std-menu-top .bx-menu-toolbar li:not(.bx-menu-tab-search) a {
  238. position: relative;
  239. display: -webkit-flex;
  240. display: flex;
  241. -webkit-justify-content: center;
  242. justify-content: center;
  243. -webkit-align-items: center;
  244. align-items: center;
  245. width: 100%;
  246. height: 100%;
  247. border-radius: 1.5rem;
  248. }
  249. div.bx-std-menu-top .bx-menu-toolbar li a:hover {
  250. color: #ffffff;
  251. }
  252. div.bx-std-menu-top .bx-menu-toolbar li svg g {
  253. opacity: 0.7;
  254. }
  255. div.bx-std-menu-top .bx-menu-toolbar li:hover {
  256. background-color: rgba(31, 41, 55, 1);
  257. }
  258. div.bx-std-menu-top .bx-menu-toolbar li:hover svg g {
  259. opacity: 0.85;
  260. }
  261. div.bx-std-menu-top i.sys-icon {
  262. -webkit-transition: all 0.2s ease-in-out;
  263. transition: all 0.2s ease-in-out;
  264. }
  265. div.bx-std-menu-top-right li.bx-menu-tab-active i.sys-icon {
  266. color: #ffe900;
  267. text-shadow: 0 0 4px #ffe900;
  268. }
  269. /*--- Account, Actions, Help and Settings popups ---*/
  270. body > .bx-popup-wrapper.bx-std-mod-popup-settings-wrapper,
  271. #bx-std-pcap-menu-popup-help,
  272. #bx-std-pcap-menu-popup-actions,
  273. #bx-std-pcap-menu-popup-account {
  274. overflow: visible;
  275. }
  276. .bx-std-mod-popup-settings-wrapper .bx-popup-gap,
  277. #bx-std-pcap-menu-popup-help .bx-popup-gap,
  278. #bx-std-pcap-menu-popup-actions .bx-popup-gap,
  279. #bx-std-pcap-menu-popup-account .bx-popup-gap {
  280. margin-left: 0;
  281. margin-right: 0;
  282. }
  283. #bx-std-pcap-menu-popup-help .bx-popup,
  284. #bx-std-pcap-menu-popup-actions .bx-popup,
  285. #bx-std-pcap-menu-popup-account .bx-popup,
  286. .bx-std-mod-popup-settings-wrapper.bx-popup-applied:not(.bx-popup-chain) .bx-popup {
  287. border-width: 0;
  288. background-color: #001529;
  289. }
  290. #bx-std-pcap-menu-popup-actions .bx-popup-content {
  291. padding: 1.0rem;
  292. }
  293. #bx-std-pcap-menu-popup-account .bx-popup-content {
  294. padding: 0.5rem 0;
  295. }
  296. #bx-std-pcap-menu-popup-account .bx-popup li {
  297. position: relative;
  298. height: 2.5rem;
  299. margin: 0;
  300. padding: 0 1rem;
  301. white-space: nowrap;
  302. line-height: 2.5rem;
  303. font-size: 0.875rem;
  304. font-weight: 400;
  305. overflow: hidden;
  306. }
  307. #bx-std-pcap-menu-popup-account .bx-popup li a {
  308. position: relative;
  309. display: -webkit-flex;
  310. display: flex;
  311. -webkit-align-items: center;
  312. align-items: center;
  313. }
  314. #bx-std-pcap-menu-popup-account .bx-popup li svg {
  315. margin-right: 0.75rem;
  316. }
  317. .bx-std-mod-popup-settings-wrapper,
  318. #bx-std-pcap-menu-popup-help .bx-popup,
  319. #bx-std-pcap-menu-popup-help .bx-popup a,
  320. #bx-std-pcap-menu-popup-help .bx-popup .sys-icon,
  321. #bx-std-pcap-menu-popup-actions .bx-popup,
  322. #bx-std-pcap-menu-popup-account .bx-popup li a,
  323. #bx-std-pcap-menu-popup-account .bx-popup li .sys-icon {
  324. color: rgba(255, 255, 255, 0.7);
  325. }
  326. #bx-std-pcap-menu-popup-account .bx-popup li svg g {
  327. opacity: 0.7;
  328. }
  329. #bx-std-pcap-menu-popup-help .bx-popup a:hover,
  330. #bx-std-pcap-menu-popup-account .bx-popup li:hover a,
  331. #bx-std-pcap-menu-popup-account .bx-popup li:hover a .sys-icon {
  332. color: rgba(255, 255, 255, 0.85);
  333. }
  334. #bx-std-pcap-menu-popup-account .bx-popup li.bx-menu-tab-active {
  335. background-color: rgba(24, 144, 255, 0.2);
  336. box-shadow: inset 3px 0px 0px rgba(24, 144, 255, 1.0);
  337. }
  338. #bx-std-pcap-menu-popup-account .bx-popup li:hover svg g,
  339. #bx-std-pcap-menu-popup-account .bx-popup li.bx-menu-tab-active svg g {
  340. opacity: 0.85;
  341. }
  342. .bx-std-mod-popup-settings-wrapper .bx-form-input-select {
  343. border-color: rgb(55, 65, 81, 1.0);
  344. background-color: rgb(17, 24, 39, 1.0);
  345. }