screen.scss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. .mr10 {
  2. margin-right: 10px;
  3. }
  4. .ml20 {
  5. margin-left: 20px;
  6. }
  7. .border-right {
  8. border-right: 1px solid #273b4d;
  9. }
  10. .border-left {
  11. border-left: 1px solid #273b4d;
  12. }
  13. .el-icon-arrow-down {
  14. font-size: 10px;
  15. }
  16. .is-active {
  17. background: #31455d !important;
  18. color: #bfcbd9 !important;
  19. }
  20. .layout {
  21. display: -webkit-box;
  22. display: -ms-flexbox;
  23. display: flex;
  24. width: 100%;
  25. height: 100%;
  26. -webkit-box-sizing: border-box;
  27. box-sizing: border-box;
  28. overflow: hidden;
  29. .layout-left {
  30. display: inline-block;
  31. height: 100%;
  32. box-sizing: border-box;
  33. -webkit-box-sizing: border-box;
  34. border: 0px;
  35. background-color: #263445;
  36. //工具栏一个元素
  37. .tools-item {
  38. display: flex;
  39. position: relative;
  40. width: 100%;
  41. height: 48px;
  42. align-items: center;
  43. -webkit-box-align: center;
  44. padding: 0 6px;
  45. cursor: pointer;
  46. font-size: 12px;
  47. margin-bottom: 1px;
  48. .tools-item-icon {
  49. color: #409eff;
  50. margin-right: 10px;
  51. width: 53px;
  52. height: 30px;
  53. line-height: 30px;
  54. text-align: center;
  55. display: block;
  56. border: 1px solid #3a4659;
  57. background: #282a30;
  58. }
  59. .tools-item-text {}
  60. }
  61. }
  62. .layout-left-fold {
  63. display: -webkit-box;
  64. display: -ms-flexbox;
  65. display: flex;
  66. height: 100%;
  67. font-size: 12px;
  68. overflow: hidden;
  69. background-color: #242a30;
  70. cursor: pointer;
  71. padding-top: 26%;
  72. i {
  73. font-size: 18px;
  74. width: 18px;
  75. height: 23px;
  76. margin-left: 0px;
  77. color: #bfcbd9;
  78. }
  79. }
  80. .layout-middle {
  81. // display: flex;
  82. position: relative;
  83. //width: calc(100% - 445px);
  84. height: 100%;
  85. background-color: rgb(36, 42, 48);
  86. box-sizing: border-box;
  87. -webkit-box-sizing: border-box;
  88. border: 1px solid rgb(36, 42, 48);
  89. align-items: center;
  90. vertical-align: middle;
  91. text-align: center;
  92. .top-button {
  93. display: flex;
  94. flex-direction: row;
  95. height: 40px;
  96. line-height: 40px;
  97. margin-left: 9px;
  98. .btn {
  99. color: #788994;
  100. width: 55px;
  101. text-align: center;
  102. display: block;
  103. cursor: pointer;
  104. .el-icon-arrow-down {
  105. transform: rotate(0deg);
  106. -ms-transform: rotate(0deg);
  107. /* IE 9 */
  108. -moz-transform: rotate(0deg);
  109. /* Firefox */
  110. -webkit-transform: rotate(0deg);
  111. /* Safari 和 Chrome */
  112. -o-transform: rotate(0deg);
  113. /* Opera */
  114. transition: all 0.4s ease-in-out;
  115. }
  116. &:hover {
  117. background: rgb(25, 29, 34);
  118. .el-icon-arrow-down {
  119. transform: rotate(180deg);
  120. -ms-transform: rotate(180deg);
  121. /* IE 9 */
  122. -moz-transform: rotate(180deg);
  123. /* Firefox */
  124. -webkit-transform: rotate(180deg);
  125. /* Safari 和 Chrome */
  126. -o-transform: rotate(180deg);
  127. /* Opera */
  128. transition: all 0.4s ease-in-out;
  129. }
  130. }
  131. }
  132. .btn-disable {
  133. opacity: 0.3;
  134. cursor: no-drop;
  135. }
  136. .scale-num {
  137. color: #788994;
  138. opacity: 1;
  139. cursor: pointer;
  140. &.btn-disable {
  141. cursor: no-drop;
  142. &:hover {
  143. background: #20262c;
  144. }
  145. }
  146. }
  147. }
  148. .workbench-container {
  149. position: relative;
  150. -webkit-transform-origin: 0 0;
  151. transform-origin: 0 0;
  152. -webkit-box-sizing: border-box;
  153. box-sizing: border-box;
  154. margin: 0;
  155. padding: 0;
  156. overflow: auto;
  157. .vueRuler {
  158. // width: 100%;
  159. // padding: 18px 0px 0px 18px;
  160. padding: 0;
  161. }
  162. .workbench {
  163. background-color: #1e1e1e;
  164. position: relative;
  165. -webkit-user-select: none;
  166. -moz-user-select: none;
  167. -ms-user-select: none;
  168. user-select: none;
  169. -webkit-transform-origin: 0 0;
  170. transform-origin: 0 0;
  171. margin: 0;
  172. padding: 0;
  173. }
  174. .bg-grid {
  175. position: absolute;
  176. top: 0;
  177. left: 0;
  178. width: 100%;
  179. height: 100%;
  180. background-size: 30px 30px, 30px 30px;
  181. background-image: linear-gradient(hsla(0, 0%, 100%, 0.1) 1px,
  182. transparent 0),
  183. linear-gradient(90deg, hsla(0, 0%, 100%, 0.1) 1px, transparent 0);
  184. // z-index: 2;
  185. }
  186. }
  187. .bottom-text {
  188. width: 100%;
  189. color: #a0a0a0;
  190. font-size: 16px;
  191. position: absolute;
  192. bottom: 20px;
  193. }
  194. }
  195. .layout-right {
  196. display: inline-block;
  197. height: 100%;
  198. }
  199. /deep/ .el-tabs--border-card {
  200. border: 0;
  201. .el-tabs__header {
  202. .el-tabs__nav {
  203. .el-tabs__item {
  204. background-color: #242f3b;
  205. border: 0px;
  206. }
  207. .el-tabs__item.is-active {
  208. background-color: #31455d;
  209. }
  210. }
  211. }
  212. .el-tabs__content {
  213. background-color: #242a30;
  214. height: calc(100vh - 39px);
  215. overflow-x: hidden;
  216. overflow-y: auto;
  217. .el-tab-pane {
  218. color: #bfcbd9;
  219. }
  220. &::-webkit-scrollbar {
  221. width: 5px;
  222. height: 14px;
  223. }
  224. &::-webkit-scrollbar-track,
  225. &::-webkit-scrollbar-thumb {
  226. border-radius: 1px;
  227. border: 0 solid transparent;
  228. }
  229. &::-webkit-scrollbar-track-piece {
  230. /*修改滚动条的背景和圆角*/
  231. background: #29405c;
  232. }
  233. &::-webkit-scrollbar-track {
  234. box-shadow: 1px 1px 5px rgba(116, 148, 170, 0.5) inset;
  235. }
  236. &::-webkit-scrollbar-thumb {
  237. min-height: 20px;
  238. background-clip: content-box;
  239. box-shadow: 0 0 0 5px rgba(116, 148, 170, 0.5) inset;
  240. }
  241. &::-webkit-scrollbar-corner {
  242. background: transparent;
  243. }
  244. /*修改垂直滚动条的样式*/
  245. &::-webkit-scrollbar-thumb:vertical {
  246. background-color: #00113a;
  247. // -webkit-border-radius: 7px;
  248. }
  249. /*修改水平滚动条的样式*/
  250. &::-webkit-scrollbar-thumb:horizontal {
  251. background-color: #00113a;
  252. // -webkit-border-radius: 7px;
  253. }
  254. }
  255. }
  256. }
  257. ul,
  258. li {
  259. list-style: none;
  260. margin: 0;
  261. padding: 0;
  262. }
  263. .nav {
  264. width: 40px;
  265. padding: 0;
  266. list-style: none;
  267. /* overflow: hidden; */
  268. }
  269. .nav {
  270. zoom: 1;
  271. }
  272. .nav:before,
  273. .nav:after {
  274. content: "";
  275. display: table;
  276. }
  277. .nav:after {
  278. clear: both;
  279. }
  280. .nav>li {
  281. width: 55px;
  282. text-align: left;
  283. position: relative;
  284. }
  285. .nav>li a {
  286. float: left;
  287. padding: 12px 30px;
  288. color: #999;
  289. font: bold 12px;
  290. text-decoration: none;
  291. }
  292. .nav>li:hover {
  293. color: #788994;
  294. }
  295. .nav>li ul {
  296. visibility: hidden;
  297. position: absolute;
  298. z-index: 1000;
  299. list-style: none;
  300. left: 0;
  301. padding: 0;
  302. background-color: rgb(36, 42, 48);
  303. opacity: 0;
  304. _margin: 0;
  305. width: 120px;
  306. transition: all 0.2s ease-in-out;
  307. }
  308. .nav>li:hover>ul {
  309. opacity: 1;
  310. visibility: visible;
  311. margin: 0;
  312. li:hover {
  313. background-color: rgb(25, 29, 34);
  314. }
  315. }
  316. .nav ul li {
  317. float: left;
  318. display: block;
  319. border: 0;
  320. width: 100%;
  321. font-size: 12px;
  322. }
  323. .nav ul a {
  324. padding: 10px;
  325. width: 100%;
  326. display: block;
  327. float: none;
  328. height: 120px;
  329. border: 1px solid #30445c;
  330. background-color: rgb(25, 29, 34);
  331. transition: all 0.2s ease-in-out;
  332. }
  333. .nav ul a:hover {
  334. border: 1px solid #3c5e88;
  335. }
  336. .nav ul li:first-child>a:hover:before {
  337. border-bottom-color: #04acec;
  338. }
  339. .nav ul ul {
  340. top: 0;
  341. left: 120px;
  342. width: 400px;
  343. height: 300px;
  344. overflow: auto;
  345. padding: 10px;
  346. _margin: 0;
  347. }
  348. .nav ul ul li {
  349. width: 120px;
  350. height: 120px;
  351. margin-right: 3px;
  352. display: block;
  353. float: left;
  354. }
  355. .nav .item {
  356. padding: 5px;
  357. }
  358. /deep/ .vue-ruler-h {
  359. opacity: 0.3;
  360. }
  361. /deep/ .vue-ruler-v {
  362. opacity: 0.3;
  363. }
  364. .layout-left {
  365. width: 200px;
  366. background: #242a30;
  367. overflow-x: hidden;
  368. overflow-y: auto;
  369. .chart-type {
  370. display: flex;
  371. flex-direction: row;
  372. overflow: hidden;
  373. .type-left {
  374. width: 100%;
  375. height: calc(100vh - 80px);
  376. text-align: center;
  377. /deep/.el-tabs__header {
  378. width: 30%;
  379. margin-right: 0;
  380. .el-tabs__nav-wrap {
  381. &::after {
  382. background: transparent;
  383. }
  384. .el-tabs__item {
  385. text-align: center;
  386. width: 100% !important;
  387. color: #fff;
  388. padding: 0;
  389. font-size: 12px !important;
  390. }
  391. }
  392. }
  393. /deep/.el-tabs__content {
  394. width: 70%;
  395. }
  396. }
  397. }
  398. //工具栏一个元素
  399. .tools-item {
  400. display: flex;
  401. position: relative;
  402. width: 100%;
  403. height: 48px;
  404. align-items: center;
  405. -webkit-box-align: center;
  406. padding: 0 6px;
  407. cursor: pointer;
  408. font-size: 12px;
  409. margin-bottom: 1px;
  410. .tools-item-icon {
  411. color: #409eff;
  412. margin-right: 10px;
  413. width: 53px;
  414. height: 30px;
  415. line-height: 30px;
  416. text-align: center;
  417. display: block;
  418. border: 1px solid #3a4659;
  419. background: #282a30;
  420. }
  421. .tools-item-text {
  422. font-size: 12px !important;
  423. }
  424. }
  425. /deep/.el-tabs__content {
  426. padding: 0;
  427. }
  428. }
  429. /* 设置滚动条的样式 */
  430. ::-webkit-scrollbar {
  431. width: 0;
  432. height: 10px;
  433. }