/* 列表开始 */ .ul-nav-tree { border-right: 1px solid #bbb; } .ul-nav-tree-group-title{ font-size: 16px; font-weight: 600; line-height: 2; } .ul-nav-tree-item { display : flex; align-items: baseline; cursor : pointer; padding : 5px; white-space: nowrap; } .ul-nav-tree-item-title { font-size: 15px; } .ul-nav-tree-item-desc { font-size : 14px; color : #999; margin-left: 15px; } /* 列表结束 */ /* 通用类开始 */ .ul-padding-md { padding: 15px; } .ul-section { margin-bottom: 15px; } .ul-icon-exit { display : inline-block; width : 16px; height : 16px; background-image : url('img/exit.png'); background-size : cover; background-position: center; } /* 通用类结束 */ /* 用户头像开始 */ .ul-avatar-list {} .ul-avatar-list-item { display : flex; align-items : center; justify-content : space-between; padding : 8px; background-color: #ddd; } .ul-avatar-list-item.current { background-color: #bbb; } .ul-avatar-list-item-img { height : 48px; width : 48px; background-image : url('/static/images/avatar.png'); background-size : cover; background-position: center; border-radius : 3px; background-color : #fff; } .ul-avatar-list-item-info { margin-left: 10px; position : relative; width : calc(100% - 48px - 10px); } .ul-avatar-list-item-time { position: absolute; right : 0; top : 0; color : #999; } .ul-avatar-list-item-tips { color : #999; font-size : 14px; display : inline-block; white-space : nowrap; width : 100%; overflow : hidden; text-overflow: ellipsis; } /* 头像结束 */ /* 头部开始 */ .ul-header { background-color: #fff; box-shadow : 0 3px 5px #999; padding : 3px; } .ul-header-main { display : flex; justify-content: space-between; align-items : center; margin : 0 auto; } .ul-header-logo { max-height: 48px; } .ul-header-user { display : flex; align-items : center; justify-content: center; } .ul-header-user-avatar { background-image : url('/static/images/avatar.png'); width : 45px; height : 45px; background-size : cover; background-position: center; } .ul-header-user-options { display : flex; align-items: center; color : #999; font-size : 12px; cursor : pointer; } .ul-header-user-info { margin-left: 10px; } /* 头部结束 */ /* 导航开始 */ .layui-nav.ul-nav-white { background-color: #f0f0f0; } .layui-nav.ul-nav-white .layui-nav-child a { color: #666; } .layui-nav.ul-nav-white .layui-nav-item a { color: #666; } .layui-nav.ul-nav-white .layui-nav-itemed>.layui-nav-child { background-color: rgba(255, 255, 255, 0.6) !important; } .layui-nav-tree.ul-nav-white .layui-nav-item a:hover { background-color: #9cf; color : #fff !important; } .layui-nav.ul-nav-white .layui-nav-itemed>a, .layui-nav-tree.ul-nav-white .layui-nav-title a, .layui-nav-tree.ul-nav-white .layui-nav-title a:hover { color: #666 !important; } .layui-nav-tree.ul-nav-white .layui-nav-bar { background-color: #6cf; } .layui-nav-tree.ul-nav-white .layui-nav-child dd.layui-this, .layui-nav-tree.ul-nav-white .layui-nav-child dd.layui-this a, .layui-nav-tree.ul-nav-white .layui-this, .layui-nav-tree.ul-nav-white .layui-this>a, .layui-nav-tree.ul-nav-white .layui-this>a:hover { background-color: #9cf; color : #fff; } /* 导航结束 */