style.less 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. @import url("../../themes/themes.less");
  2. :global {
  3. #app {
  4. height: inherit;
  5. }
  6. .left_menu_area {
  7. height: calc(100% + 56px);
  8. display: none;
  9. }
  10. .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark {
  11. transition: unset !important;
  12. }
  13. .ant-menu.ant-menu-root .ant-menu.ant-menu-sub {
  14. background: rgba(15, 33, 79, 0.3);
  15. .ant-menu-item-icon {
  16. display: none;
  17. }
  18. }
  19. .ant-menu-inline .ant-menu-submenu-title {}
  20. .ant-menu-item.ant-menu-item-active.click_active:hover {
  21. background: #253867;
  22. }
  23. .ant-menu-dark.ant-menu-inline .ant-menu-item:hover {
  24. .emptystar {
  25. display: inline-block;
  26. }
  27. .fullstar {
  28. display: none;
  29. }
  30. }
  31. .ant-menu-submenu-popup {
  32. .ant-menu-item {
  33. background-color: #132148 !important;
  34. margin-bottom: 2px !important;
  35. }
  36. .ant-menu-submenu-title {
  37. background-color: #132148 !important;
  38. margin-bottom: 2px !important;
  39. }
  40. .ant-menu-item:hover,
  41. .ant-menu-submenu-title:hover {
  42. background-color: #253867 !important;
  43. }
  44. }
  45. .left_menu_area .ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,
  46. .left_menu_area .ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content {
  47. overflow: auto;
  48. flex: none;
  49. }
  50. //.left_menu_area .ant-menu-inline.ant-menu-root .ant-menu-item, .left_menu_area .ant-menu-inline.ant-menu-root .ant-menu-submenu-title {
  51. // display: block;
  52. // height: 40px;
  53. // line-height: 40px;
  54. //}
  55. .ant-menu.ant-menu-root {
  56. .ant-menu-submenu-arrow {
  57. position: absolute;
  58. left: 10px;
  59. }
  60. .ant-menu.ant-menu-sub {
  61. .ant-menu-submenu-arrow {
  62. left: 34px;
  63. }
  64. .ant-menu.ant-menu-sub {
  65. .ant-menu-submenu-arrow {
  66. left: 58px;
  67. }
  68. .ant-menu.ant-menu-sub {
  69. .ant-menu-submenu-arrow {
  70. left: 82px;
  71. }
  72. .ant-menu.ant-menu-sub {
  73. .ant-menu-submenu-arrow {
  74. left: 106px;
  75. }
  76. .ant-menu.ant-menu-sub {
  77. .ant-menu-submenu-arrow {
  78. left: 130px;
  79. }
  80. .ant-menu.ant-menu-sub {
  81. .ant-menu-submenu-arrow {
  82. left: 154px;
  83. }
  84. .ant-menu.ant-menu-sub {
  85. .ant-menu-submenu-arrow {
  86. left: 178px;
  87. }
  88. .ant-menu.ant-menu-sub {
  89. .ant-menu-submenu-arrow {
  90. left: 202px;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }
  99. }
  100. }
  101. .markmore {
  102. width: 100%;
  103. height: 100%;
  104. position: fixed;
  105. z-index: 999;
  106. top: 0;
  107. left: 0;
  108. }
  109. .left_menu_search {
  110. padding: 10px 12px;
  111. background-color: rgb(3, 22, 70);
  112. .ant-input-group {
  113. background-color: #253867;
  114. height: 32px;
  115. line-height: 32px;
  116. border-radius: 2px;
  117. overflow: hidden;
  118. .ant-btn .anticon {
  119. color: #5A698C;
  120. }
  121. input {
  122. background: none;
  123. border: none;
  124. font-size: 12px;
  125. color: #fff;
  126. height: 32px;
  127. line-height: 32px;
  128. }
  129. input:focus {
  130. border: none;
  131. box-shadow: none;
  132. }
  133. .ant-input-group-addon {
  134. background: none;
  135. }
  136. button {
  137. background: none;
  138. border: none;
  139. }
  140. }
  141. }
  142. .movebar {
  143. width: 3px;
  144. height: calc(100vh - 82px);
  145. background: none;
  146. position: absolute;
  147. top: 82px;
  148. z-index: 1000;
  149. }
  150. .movebar:hover {
  151. cursor: e-resize;
  152. }
  153. .emptystar {
  154. color: #FFBF00;
  155. display: none;
  156. }
  157. .care_color {
  158. color: #FFBF00;
  159. }
  160. .fullstar {
  161. color: #FFBF00;
  162. }
  163. .tips_pop {
  164. width: 370px;
  165. z-index: 900 !important;
  166. .ant-popover-inner-content {
  167. padding: 0;
  168. width: 100%!important;
  169. }
  170. .yjyd_but {
  171. height: 46px;
  172. line-height: 46px;
  173. color: #666;
  174. font-size: 14px;
  175. text-align: center;
  176. border-top: 1px solid #ddd;
  177. cursor: pointer;
  178. }
  179. .top_tips_close {
  180. width: 20px;
  181. height: 20px;
  182. position: absolute;
  183. text-align: center;
  184. line-height: 20px;
  185. right: 12px;
  186. top: 15px;
  187. z-index: 111;
  188. cursor: pointer;
  189. }
  190. .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  191. color: #009f95;
  192. font-weight: normal;
  193. text-shadow: none;
  194. }
  195. .ant-tabs-ink-bar {
  196. background: #009f95;
  197. }
  198. .ant-tabs-tab:hover {
  199. color: #41bad9;
  200. }
  201. .ant-tabs-tab-btn:focus,
  202. .ant-tabs-tab-remove:focus,
  203. .ant-tabs-tab-btn:active,
  204. .ant-tabs-tab-remove:active {
  205. color: #009f95;
  206. }
  207. .ant-tabs-tab {
  208. padding: 12px 15px;
  209. }
  210. .ant-tabs-nav {
  211. margin-bottom: 0 !important;
  212. }
  213. .xxlist {
  214. padding: 8px 0;
  215. height: 240px;
  216. overflow: hidden;
  217. overflow-y: auto;
  218. .ant-list-item {
  219. padding: 12px;
  220. cursor: pointer;
  221. }
  222. .ant-list-item:hover {
  223. background-color: #e8e8e8;
  224. }
  225. .isread {
  226. color: #888;
  227. }
  228. .noread {
  229. color: #121212;
  230. }
  231. .sj_t {
  232. color: #999;
  233. }
  234. }
  235. .dblist {
  236. padding: 8px 0;
  237. height: 286px;
  238. overflow: hidden;
  239. overflow-y: auto;
  240. .ant-list-item {
  241. padding: 12px;
  242. cursor: pointer;
  243. }
  244. .ant-list-item:hover {
  245. background-color: #e8e8e8;
  246. }
  247. .isread {
  248. color: #888;
  249. }
  250. .noread {
  251. color: #121212;
  252. }
  253. .db_t {
  254. color: #121212;
  255. font-size: 14px;
  256. }
  257. .ant-list-item-action a {
  258. border: 1px solid #f5f5f5;
  259. height: 22px;
  260. color: #666;
  261. background-color: #e8e8e8;
  262. width: 52px;
  263. font-size: 12px;
  264. display: block;
  265. }
  266. .ant-list-item-action a:hover {
  267. border: 1px solid #009F95;
  268. color: #009F95;
  269. }
  270. }
  271. }
  272. }
  273. .frame {
  274. background:#0a091e;
  275. background-color: #0a091e;
  276. position: relative;
  277. height: 100%;
  278. overflow: hidden;
  279. :global {
  280. .left_menu_area .ant-input-group-wrapper.ant-input-search.ant-input-search-middle.left_menu_search {
  281. overflow: hidden;
  282. }
  283. .ant-menu-item-selected {
  284. background-color: #253867 !important;
  285. border-left: 3px solid #009F95;
  286. }
  287. .ant-menu-item {
  288. margin-top: 0px !important;
  289. margin-bottom: 0px !important;
  290. }
  291. .click_active {
  292. background: #253867;
  293. border-left: 3px solid #009F95;
  294. }
  295. .normal_menu {
  296. background: #031646;
  297. font-size: 13px;
  298. }
  299. .ant-menu-item-active {
  300. background-color: #0F214F;
  301. }
  302. .ant-menu-submenu-open {
  303. background-color: #031646;
  304. }
  305. .ant-menu-submenu-active {
  306. background-color: #0F214F;
  307. }
  308. .nowifi-tip {
  309. background: url(../../assets/imgs/bg-nosignal.png) 50% 50% no-repeat;
  310. display: block;
  311. position: absolute;
  312. width: 512px;
  313. height: 512px;
  314. top: 50%;
  315. left: 50%;
  316. transform: translate(-50%, -50%);
  317. font-size: 20px;
  318. color: #c9c9c9;
  319. text-align: center;
  320. padding-top: 470px;
  321. }
  322. .hid {
  323. display: none;
  324. }
  325. // 页面头
  326. .pointer {
  327. cursor: pointer;
  328. }
  329. .fg1 {
  330. flex-grow: 1;
  331. }
  332. @var: 100vh;
  333. .body_box {
  334. // display: flex;
  335. // justify-content: space-between;
  336. .bottom_body {
  337. height: 100%;
  338. }
  339. height: inherit;
  340. position: relative;
  341. z-index: 2;
  342. // min-height: calc(100% - 56px);
  343. margin-top: 50px;
  344. overflow-y: auto;
  345. flex-grow: 1;
  346. background: unset;
  347. &>div:last-child {
  348. // flex-grow: 1;
  349. height: 100%;
  350. padding-bottom: 150px;
  351. box-sizing: unset; }
  352. &.homePage {
  353. margin-top: 0px!important;
  354. &>div:last-child {
  355. flex-grow: 1;
  356. // height: calc(100% - 56px);
  357. overflow-y: auto;
  358. background: unset;
  359. // margin-top: 56px;
  360. padding-bottom:0;
  361. }
  362. }
  363. .menu {
  364. width: 230px;
  365. min-width: 230px;
  366. padding: 6px 20px;
  367. margin-right: 14px;
  368. border-radius: 2px;
  369. background-color: #fff;
  370. position: relative;
  371. .ant-menu-dark .ant-menu-inline.ant-menu-sub {
  372. background-color: '#0F214F';
  373. }
  374. .active {
  375. background-color: #253867;
  376. border-left: 3px solid #009f95;
  377. }
  378. .switch {}
  379. .tabs {
  380. width: 100%;
  381. display: flex;
  382. position: relative;
  383. justify-content: space-between;
  384. color: rgba(0, 0, 0, 0.65);
  385. text-align: center;
  386. border-bottom: 1px solid #e8e8e8;
  387. }
  388. .pane {
  389. width: 80px;
  390. &.actived {
  391. color: @primary-color;
  392. }
  393. line-height: 40px;
  394. cursor: pointer;
  395. }
  396. .tab_line {
  397. width: 80px;
  398. height: 2px;
  399. border-radius: 2px;
  400. background-color: @primary-color;
  401. transition: all 0.5s;
  402. left: 0;
  403. bottom: 0;
  404. position: absolute;
  405. &.left {
  406. left: 0;
  407. }
  408. &.right {
  409. left: 100%;
  410. transform: translateX(-100%);
  411. }
  412. }
  413. }
  414. }
  415. .outer_body_box{
  416. > div:last-child{
  417. padding-bottom: 56px;
  418. }
  419. }
  420. .outer_body_box::-webkit-scrollbar {
  421. display: none;
  422. scrollbar-width: none;
  423. -ms-overflow-style: none;
  424. }
  425. }
  426. }