workbench.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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: #f5f6fa;
  13. }
  14. [v-cloak] {
  15. display: none;
  16. }
  17. .clearfloat:after{
  18. content:".";
  19. display:block;
  20. height:0;
  21. clear:both;
  22. visibility:hidden;
  23. }
  24. :focus {
  25. outline: none;
  26. }
  27. #space-content {
  28. background-color: #f5f6fa;
  29. }
  30. .el-container {
  31. height: 100%;
  32. }
  33. .el-header {
  34. background-color: #3a7afe;
  35. line-height: 56px;
  36. height: 56px !important;
  37. }
  38. .header-logo {
  39. display: inline-block;
  40. height: 100%;
  41. width: 176px;
  42. vertical-align: top;
  43. }
  44. .header-logo img {
  45. width: 92%;
  46. vertical-align: middle;
  47. cursor: pointer;
  48. transition:transform 0.2s;
  49. }
  50. .header-logo img:hover {
  51. transform:scale(1.06)
  52. }
  53. .header-nav {
  54. display: inline-block;
  55. vertical-align: top;
  56. height: 100%;
  57. }
  58. .header-nav ul {
  59. height: 100%;
  60. }
  61. .header-nav li {
  62. float: left;
  63. height: 100%;
  64. transition: all .2s;
  65. }
  66. .header-nav li:hover,.header-active {
  67. background-color: #1e65ff;
  68. }
  69. .header-nav li:hover a,.header-nav .header-active a {
  70. opacity: 1;
  71. }
  72. .header-nav li a {
  73. height: 100%;
  74. display: block;
  75. color: #fff;
  76. opacity: .8;
  77. padding: 0 18px;
  78. /* border-right: 1px solid #3a7afe; */
  79. transition: opacity .2s;
  80. }
  81. .header-nav li i{
  82. font-size: 18px;
  83. vertical-align: middle;
  84. }
  85. .header-nav li span{
  86. vertical-align: middle;
  87. }
  88. /* 头部右边 */
  89. .header-right {
  90. float: right;
  91. height: 100%;
  92. color: #fff;
  93. }
  94. .header-icon {
  95. display: inline-block;
  96. vertical-align: top;
  97. height: 100%;
  98. margin-right: 10px;
  99. }
  100. .header-icon a {
  101. display: inline-block;
  102. font-size: 22px;
  103. height: 100%;
  104. color: #fff;
  105. padding: 0 10px;
  106. }
  107. .header-icon a i{
  108. opacity: .8;
  109. transition: all .2s;
  110. }
  111. .header-icon a:hover i{
  112. opacity: 1;
  113. }
  114. .header-icon .el-badge{
  115. line-height: normal;
  116. vertical-align: baseline;
  117. }
  118. .header-icon .el-badge i{
  119. font-size: 22px;
  120. }
  121. .header-user {
  122. display: inline-block;
  123. height: 100%;
  124. margin: 0 8px;
  125. cursor: pointer;
  126. }
  127. .header-user img {
  128. vertical-align: top;
  129. }
  130. .header-user-email {
  131. font-size: 14px;
  132. vertical-align: middle;
  133. margin-top: -1px;
  134. font-weight: bold;
  135. margin-left: 5px;
  136. opacity: .8;
  137. transition: all .2s;
  138. }
  139. .header-user i{
  140. opacity: .8;
  141. transition: all .2s;
  142. }
  143. .header-right>span:hover .header-user-email,
  144. .header-right>span:hover .header-user i {
  145. opacity: 1;
  146. }
  147. .header-user-icon {
  148. vertical-align: middle;
  149. cursor: pointer;
  150. box-shadow: 0 0 2px #888;
  151. }
  152. /*个人设置九宫格*/
  153. .el-popover.hearder-settings-popper {
  154. padding: 0;
  155. color: #999;
  156. margin-top: 0;
  157. }
  158. .el-popover {
  159. box-shadow: none;
  160. }
  161. .header-settings-list {
  162. padding: 15px;
  163. }
  164. .header-settings-grid {
  165. height: 80px;
  166. text-align: center;
  167. }
  168. .header-settings-grid:hover {
  169. background-color: rgb(245, 245, 245);
  170. cursor: pointer;
  171. }
  172. .header-settings-grid i {
  173. display: inline-block;
  174. color: rgb(122, 141, 155);
  175. font-size: 26px;
  176. line-height: 2;
  177. }
  178. .header-settings-grid p {
  179. font-size: 12px;
  180. line-height: 26px;
  181. margin-top: -10px;
  182. color: #999;
  183. }
  184. .header-settings-bottom {
  185. text-align: center;
  186. cursor: pointer;
  187. font-size: 12px;
  188. height: 42px;
  189. line-height: 42px;
  190. border-top: 1px solid rgb(245, 245, 245);
  191. }
  192. .header-settings-bottom:hover {
  193. background-color: rgb(245, 245, 245);
  194. }
  195. /* 换肤 */
  196. .skin-picker {
  197. padding: 20px;
  198. }
  199. .skin-picker h3 {
  200. margin-bottom: 20px;
  201. font-size: 16px;
  202. }
  203. .skin-picker .el-col {
  204. margin-bottom: 20px;
  205. }
  206. .skin-picker .skin-picker-title,.skin-picker .el-color-picker {
  207. vertical-align: middle;
  208. }
  209. .skin-picker .skin-picker-title {
  210. display: inline-block;
  211. width: 120px;
  212. text-align: right;
  213. margin-right: 10px;
  214. }
  215. .skin-picker .el-color-picker {
  216. margin-right: 12px;
  217. }
  218. /* 侧边 */
  219. .el-aside {
  220. background-color: #fff;
  221. }
  222. .menu-title {
  223. height: 60px;
  224. line-height: 76px;
  225. font-size: 16px;
  226. padding: 0 20px;
  227. }
  228. .el-menu {
  229. height: calc(100% - 60px);
  230. border-right: 0;
  231. }
  232. .el-menu i {
  233. font-size: 20px;
  234. color: inherit;
  235. margin-right: 5px;
  236. vertical-align: middle;
  237. }
  238. .el-menu-item {
  239. transition: border-color .2s,background-color .2s,color .2s;
  240. }
  241. .el-menu-item.is-active {
  242. color: #303133;
  243. }
  244. .el-menu-item.last-active {
  245. background-color: #ecf5ff;
  246. color: #409EFF;
  247. }
  248. .el-submenu .el-icon-arrow-down{
  249. font-size: 12px;
  250. }
  251. /* 内容 */
  252. .el-main {
  253. padding: 12px;
  254. overflow: hidden;
  255. }
  256. .el-main iframe {
  257. width: 100%;
  258. height: 100%;
  259. }
  260. /* 主题设置,右抽屉 */
  261. .el-drawer__header>:first-child {
  262. color: #333;
  263. }
  264. .skin-wrap {
  265. padding: 0 20px;
  266. }
  267. .skin-wrap ul{
  268. overflow: hidden;
  269. }
  270. .skin-wrap li {
  271. float: left;
  272. margin: 0 20px 25px;
  273. }
  274. .skin-wrap li a {
  275. display: block;
  276. text-align: center;
  277. }
  278. .skin-wrap li span {
  279. display: inline-block;
  280. width: 64px;
  281. height: 54px;
  282. border-radius: 4px;
  283. box-shadow: 0 1px 4px rgba(0,0,0,.2);
  284. position: relative;
  285. }
  286. .skin-wrap li p {
  287. font-size: 12px;
  288. margin-top: 5px;
  289. }
  290. .skin-wrap li i {
  291. color: #fff;
  292. font-size: 22px;
  293. position: absolute;
  294. top: 50%;
  295. left: 50%;
  296. transform: translate(-50%,-50%);
  297. }
  298. .custom-picker {
  299. margin-top: 10px;
  300. padding-top: 25px;
  301. border-top: 1px solid #dcdde0;
  302. }
  303. .custom-picker h3 {
  304. margin-bottom: 25px;
  305. }
  306. .custom-picker .el-col {
  307. margin-bottom: 25px;
  308. }
  309. .custom-picker .skin-picker-title {
  310. display: inline-block;
  311. width: 120px;
  312. }
  313. .custom-picker .el-color-picker {
  314. vertical-align: middle;
  315. margin-right: 12px;
  316. }
  317. .el-dropdown-menu .mark {
  318. line-height: normal;
  319. }