html, body { height: 100%; width: 100%; } body { box-sizing: border-box; -moz-box-sizing: border-box; /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ background-color: #f5f6fa; } [v-cloak] { display: none; } .clearfloat:after{ content:"."; display:block; height:0; clear:both; visibility:hidden; } :focus { outline: none; } #space-content { background-color: #f5f6fa; } .el-container { height: 100%; } .el-header { background-color: #3a7afe; line-height: 56px; height: 56px !important; } .header-logo { display: inline-block; height: 100%; width: 176px; vertical-align: top; } .header-logo img { width: 92%; vertical-align: middle; cursor: pointer; transition:transform 0.2s; } .header-logo img:hover { transform:scale(1.06) } .header-nav { display: inline-block; vertical-align: top; height: 100%; } .header-nav ul { height: 100%; } .header-nav li { float: left; height: 100%; transition: all .2s; } .header-nav li:hover,.header-active { background-color: #1e65ff; } .header-nav li:hover a,.header-nav .header-active a { opacity: 1; } .header-nav li a { height: 100%; display: block; color: #fff; opacity: .8; padding: 0 18px; /* border-right: 1px solid #3a7afe; */ transition: opacity .2s; } .header-nav li i{ font-size: 18px; vertical-align: middle; } .header-nav li span{ vertical-align: middle; } /* 头部右边 */ .header-right { float: right; height: 100%; color: #fff; } .header-icon { display: inline-block; vertical-align: top; height: 100%; margin-right: 10px; } .header-icon a { display: inline-block; font-size: 22px; height: 100%; color: #fff; padding: 0 10px; } .header-icon a i{ opacity: .8; transition: all .2s; } .header-icon a:hover i{ opacity: 1; } .header-icon .el-badge{ line-height: normal; vertical-align: baseline; } .header-icon .el-badge i{ font-size: 22px; } .header-user { display: inline-block; height: 100%; margin: 0 8px; cursor: pointer; } .header-user img { vertical-align: top; } .header-user-email { font-size: 14px; vertical-align: middle; margin-top: -1px; font-weight: bold; margin-left: 5px; opacity: .8; transition: all .2s; } .header-user i{ opacity: .8; transition: all .2s; } .header-right>span:hover .header-user-email, .header-right>span:hover .header-user i { opacity: 1; } .header-user-icon { vertical-align: middle; cursor: pointer; box-shadow: 0 0 2px #888; } /*个人设置九宫格*/ .el-popover.hearder-settings-popper { padding: 0; color: #999; margin-top: 0; } .el-popover { box-shadow: none; } .header-settings-list { padding: 15px; } .header-settings-grid { height: 80px; text-align: center; } .header-settings-grid:hover { background-color: rgb(245, 245, 245); cursor: pointer; } .header-settings-grid i { display: inline-block; color: rgb(122, 141, 155); font-size: 26px; line-height: 2; } .header-settings-grid p { font-size: 12px; line-height: 26px; margin-top: -10px; color: #999; } .header-settings-bottom { text-align: center; cursor: pointer; font-size: 12px; height: 42px; line-height: 42px; border-top: 1px solid rgb(245, 245, 245); } .header-settings-bottom:hover { background-color: rgb(245, 245, 245); } /* 换肤 */ .skin-picker { padding: 20px; } .skin-picker h3 { margin-bottom: 20px; font-size: 16px; } .skin-picker .el-col { margin-bottom: 20px; } .skin-picker .skin-picker-title,.skin-picker .el-color-picker { vertical-align: middle; } .skin-picker .skin-picker-title { display: inline-block; width: 120px; text-align: right; margin-right: 10px; } .skin-picker .el-color-picker { margin-right: 12px; } /* 侧边 */ .el-aside { background-color: #fff; } .menu-title { height: 60px; line-height: 76px; font-size: 16px; padding: 0 20px; } .el-menu { height: calc(100% - 60px); border-right: 0; } .el-menu i { font-size: 20px; color: inherit; margin-right: 5px; vertical-align: middle; } .el-menu-item { transition: border-color .2s,background-color .2s,color .2s; } .el-menu-item.is-active { color: #303133; } .el-menu-item.last-active { background-color: #ecf5ff; color: #409EFF; } .el-submenu .el-icon-arrow-down{ font-size: 12px; } /* 内容 */ .el-main { padding: 12px; overflow: hidden; } .el-main iframe { width: 100%; height: 100%; } /* 主题设置,右抽屉 */ .el-drawer__header>:first-child { color: #333; } .skin-wrap { padding: 0 20px; } .skin-wrap ul{ overflow: hidden; } .skin-wrap li { float: left; margin: 0 20px 25px; } .skin-wrap li a { display: block; text-align: center; } .skin-wrap li span { display: inline-block; width: 64px; height: 54px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); position: relative; } .skin-wrap li p { font-size: 12px; margin-top: 5px; } .skin-wrap li i { color: #fff; font-size: 22px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } .custom-picker { margin-top: 10px; padding-top: 25px; border-top: 1px solid #dcdde0; } .custom-picker h3 { margin-bottom: 25px; } .custom-picker .el-col { margin-bottom: 25px; } .custom-picker .skin-picker-title { display: inline-block; width: 120px; } .custom-picker .el-color-picker { vertical-align: middle; margin-right: 12px; } .el-dropdown-menu .mark { line-height: normal; }