| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- 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;
- }
|