general.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. html,
  2. body {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. body {
  7. box-sizing: border-box;
  8. -moz-box-sizing: border-box;
  9. /* Firefox */
  10. -webkit-box-sizing: border-box;
  11. /* Safari */
  12. background-color: #e8edf7;
  13. }
  14. [v-cloak] {
  15. display: none;
  16. }
  17. #container {
  18. height: 100%;
  19. }
  20. .space-container {
  21. width: 100%;
  22. height: 100%;
  23. }
  24. .el-menu-level1 .spaceicon {
  25. font-size: 28px;
  26. }
  27. .el-menu-level2 .spaceicon {
  28. font-size: 20px;
  29. }
  30. /*头部*/
  31. .header {
  32. width: 100%;
  33. background-color: #fff;
  34. line-height: 60px;
  35. color: #999;
  36. position: relative;
  37. z-index: 100;
  38. }
  39. .header-logo {
  40. float: left;
  41. height: 40px;
  42. margin: 10px 0;
  43. }
  44. .header-logo img {
  45. height: 100%;
  46. }
  47. .header-right {
  48. float: right;
  49. height: 100%;
  50. }
  51. .header-user {
  52. display: inline-block;
  53. height: 100%;
  54. margin: 0 8px;
  55. cursor: pointer;
  56. }
  57. .header-user img {
  58. vertical-align: top;
  59. }
  60. .header-user-email {
  61. font-size: 14px;
  62. vertical-align: middle;
  63. margin-top: -1px;
  64. font-weight: bold;
  65. margin-left: 5px;
  66. }
  67. .header-user-icon {
  68. /* width: 32px;
  69. height: 32px; */
  70. /* border-radius: 50%; */
  71. vertical-align: middle;
  72. cursor: pointer;
  73. /* border: 1px solid #EBEEF3 */
  74. box-shadow: 0 0 2px #888;
  75. }
  76. .header-middle {
  77. float: left;
  78. margin-left: 20px;
  79. height: 100%;
  80. }
  81. .header-middle a,
  82. .header-right a {
  83. display: inline-block;
  84. height: 100%;
  85. color: #999;
  86. }
  87. .header-middle a:hover,
  88. .header-right a:hover {
  89. /*color: #323549;
  90. background: rgba(50,53,73,.1);*/
  91. color: #4e89f8;
  92. /* background: rgba(78, 137, 248, .1); */
  93. }
  94. .header-icon-home {
  95. color: #4e89f8 !important;
  96. }
  97. .header-icon-home:hover {
  98. color: rgb(58, 63, 82) !important;
  99. }
  100. .header-middle i,
  101. .header-right a i {
  102. font-size: 22px;
  103. padding: 0 5px;
  104. vertical-align: middle;
  105. }
  106. .header-middle .divider {
  107. display: inline-block;
  108. vertical-align: middle;
  109. height: 30px;
  110. border-left: 1px solid #efefef;
  111. }
  112. .header-right a i {
  113. vertical-align: auto;
  114. }
  115. /*个人设置九宫格*/
  116. .el-popover.hearder-settings-popper {
  117. padding: 0;
  118. color: #999;
  119. margin-top: 0;
  120. }
  121. .el-popover {
  122. box-shadow: none;
  123. }
  124. .header-settings-list {
  125. padding: 15px;
  126. }
  127. .header-settings-grid {
  128. height: 80px;
  129. text-align: center;
  130. }
  131. .header-settings-grid:hover {
  132. background-color: rgb(245, 245, 245);
  133. cursor: pointer;
  134. }
  135. .header-settings-grid i {
  136. display: inline-block;
  137. color: rgb(122, 141, 155);
  138. font-size: 26px;
  139. line-height: 2;
  140. }
  141. .header-settings-grid p {
  142. font-size: 12px;
  143. line-height: 26px;
  144. margin-top: -10px;
  145. color: #999;
  146. }
  147. .header-settings-bottom {
  148. text-align: center;
  149. cursor: pointer;
  150. font-size: 12px;
  151. height: 42px;
  152. line-height: 42px;
  153. border-top: 1px solid rgb(245, 245, 245);
  154. }
  155. .header-settings-bottom:hover {
  156. background-color: rgb(245, 245, 245);
  157. }
  158. /*主体*/
  159. .content {
  160. width: 100%;
  161. height: calc(100% - 60px);
  162. }
  163. /*左侧导航*/
  164. .content-left {
  165. height: 100%;
  166. position: relative;
  167. overflow: visible;
  168. }
  169. .content-left .el-menu {}
  170. .el-menu-level1 {
  171. height: 100%;
  172. float: left;
  173. z-index: 100;
  174. border-right: 1px solid #8d9fb5;
  175. }
  176. .el-menu-level1 .el-menu-item [class^=el-icon-] {
  177. font-size: 24px;
  178. }
  179. .el-menu-level2 {
  180. box-sizing: border-box;
  181. height: 100%;
  182. width: 220px !important;
  183. float: left;
  184. position: absolute;
  185. top: 0;
  186. left: 64px;
  187. z-index: 99;
  188. border: 1px solid #8d9fb5;
  189. border-bottom: 0;
  190. border-left: 0;
  191. overflow: visible !important;
  192. -webkit-user-select: none;
  193. -moz-user-select: none;
  194. -ms-user-select: none;
  195. user-select: none;
  196. }
  197. .el-menu-level2 .level1-column {
  198. /* margin-bottom: 6px; */
  199. }
  200. .el-menu-level2 .level1-column p {
  201. box-sizing: border-box;
  202. height: 55px;
  203. line-height: 55px;
  204. color: #fff;
  205. border-bottom: 1px solid #8d9fb5;
  206. margin-left: 16px;
  207. padding-left: 2px;
  208. }
  209. .el-menu-level2 i {
  210. font-size: 16px;
  211. margin-right: 6px;
  212. color: #fff;
  213. }
  214. .el-menu-level2 .el-menu-item {
  215. margin-left: 3px;
  216. }
  217. .el-menu-level2 .is-active,
  218. .el-menu-level2 .el-menu-item:hover {
  219. background-color: rgba(242, 247, 255, .3) !important;
  220. }
  221. .menu-collapse-left {
  222. position: absolute;
  223. top: 15px;
  224. right: -10px;
  225. z-index: 1000;
  226. opacity: 0;
  227. font-size: 26px;
  228. }
  229. .menu-collapse-left-small {
  230. z-index: 10001;
  231. font-size: 23px;
  232. color: #3a3f52;
  233. top: 17px;
  234. right: -9px;
  235. }
  236. .el-menu--collapse>.el-menu-item.is-active .menu-collapse-left {
  237. color: #8d9fb5;
  238. opacity: 1;
  239. }
  240. .el-menu--collapse>.el-menu-item.is-active .menu-collapse-left-small {
  241. color: #3a3f52;
  242. }
  243. /*二级栏目的动画*/
  244. .level2-slide-fade-enter-active {
  245. transition: all .3s ease;
  246. }
  247. .level2-slide-fade-leave-active {
  248. transition: all .1s ease;
  249. }
  250. .level2-slide-fade-enter,
  251. .level2-slide-fade-leave-to
  252. /* .slide-fade-leave-active for below version 2.1.8 */
  253. {
  254. transform: translateX(-220px);
  255. opacity: 0;
  256. }
  257. /* 右侧收起二级栏目按钮 */
  258. .fold-level2 {
  259. position: absolute;
  260. top: 50%;
  261. right: -10px;
  262. background-color: #409EFF;
  263. width: 10px;
  264. height: 30px;
  265. line-height: 30px;
  266. margin-top: -15px;
  267. cursor: pointer;
  268. }
  269. .fold-level2:hover {
  270. opacity: 0.8;
  271. }
  272. .fold-level2 i {
  273. font-size: 18px;
  274. color: #fff;
  275. margin-top: 5px;
  276. }
  277. /*右侧iframe*/
  278. .content-right {
  279. overflow: hidden;
  280. padding: 12px;
  281. }
  282. .content-right iframe {
  283. width: 100%;
  284. height: 100%;
  285. }