/* 列表开始 */ .ul-nav-tree {} .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.current .ul-nav-tree-item-title { color: #6cf; } .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-border-right { border-right: 1px solid #bbb; } .ul-bg-white { background-color: #fff; } /* 通用类结束 */ /* 用户头像开始 */ .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; } /* 导航结束 */ /* 链接导航开始 */ .ul-link-select { display : flex; align-items : flex-start; justify-content: flex-start } .ul-link-title {} .ul-link-list { display : flex; align-items : flex-start; justify-content: flex-start; flex-wrap : wrap; margin-left : 15px; } .ul-link-item { padding : 0px 10px; cursor : pointer; margin-right: 10px; } .ul-link-item.current { border-radius: 15px; border : 1px solid #6cf; color : #6cf; } /* 链接导航结束 */ /* 相册列表开始 */ .ul-photo-list { display : flex; align-items : flex-start; justify-content: flex-start; flex-wrap : wrap; } .ul-photo-item { margin : 15px; text-align: center; min-width : 220px; } .ul-photo-poster { width : 180px; height : 140px; background-image : url('../static/images/avatar.png'); background-size : cover; background-position: center; margin : 0 auto; box-shadow : 1px 1px 3px #999; } .ul-photo-info { margin-top : 10px; font-size : 18px; line-height: 1.5; } .ul-photo-desc { font-size: 14px; color : #999; } .ul-photo-card-list { display : flex; align-items : flex-start; justify-content: flex-start; flex-wrap : wrap; } .ul-photo-card-item { width : 200px; margin : 15px; box-shadow: 0 5px 10px #999; } .ul-photo-card-poster { width : 100%; height : 140px; background-size : cover; background-position: center; } .ul-photo-card-info { padding : 5px; font-size : 18px; line-height: 1.5; } .ul-photo-card-desc { font-size: 14px; color : #999; } /* 相册列表结束 */ .ul-info-tips { padding : 15px; background-color: rgba(255, 255, 255, 0.6); } .ul-card-status { padding : 5px; border-radius: 5px; } .ul-card-options { float : right; cursor: pointer; } .data-item { margin-right: 15px; } .data-img .data-img-main { max-width: 120px; margin : 5px; } .data-img { display: block; } .ul-card-list { display : flex; flex-wrap: wrap; } .ul-card-list .ul-card { margin-right: 15px; } .ul-card-list .layui-card:last-child { margin-bottom: 15px; } .ul-title { text-align : center; line-height: 1.5; } .ul-title-main { font-size: 16px; } .ul-title-plus { color: #999; } .ul-title-line { border-top: 2px solid #666; margin-top: 8px; } .ul-message-list {} .ul-message-item { margin-bottom : 15px; display : flex; justify-content: flex-start; align-items : flex-start; padding : 15px; } .ul-message-item-left { width: 120px; } .ul-message-item-right { width: calc(100% - 120px); } .ul-message-item-info { position: relative; } .ul-message-item-options { position: absolute; right : 0; top : 0; } .ul-message-item-avatar { background-size : cover; background-position: center; width : 100px; height : 100px; border-radius : 50%; } .ul-message-item-name { display : flex; color : #6cf; font-size: 16px; } .ul-message-item-data { display : flex; font-size : 14px; color : #999; margin-top: 10px; } .ul-message-item-content { background-color: #f0f0f0; padding : 15px; margin-top : 10px; } .ul-message-item-img-list { margin-top: 10px; } .ul-message-item-img { width : 160px; height : 120px; background-size : cover; background-position: center; margin-right : 10px; display : inline-block; } .ul-nav-easy { background-color: transparent; } .layui-nav-tree.ul-nav-easy .layui-nav-item>a { color: #666; } .layui-nav-tree.ul-nav-easy .layui-this { background-color: transparent; } .layui-nav-tree.ul-nav-easy .layui-this>a { background-color: transparent; color : #6cf; } .layui-nav-tree.ul-nav-easy .layui-nav-item.layui-this a:hover { color: #6cf; } .layui-nav-tree.ul-nav-easy .layui-nav-item a:hover { color: #fff; } .layui-nav-tree.ul-nav-easy .layui-nav-item a { height : 45px; line-height: 45px; } .search-item { margin-bottom: 15px; } .ul-upload-photo-list {} .ul-upload-photo-item { display : inline-block; width : 120px; height : 120px; margin : 5px; background-color: #ddd; cursor : pointer; box-shadow : 0 3px 5px #999; position : relative; } .ul-upload-photo-main { background-size : cover; background-position: center; width : 100%; height : 100%; } .ul-upload-photo-delete { position : absolute; right : 5px; top : 5px; z-index : 999; font-size : 20px; color : #fff; text-shadow: 0 0 2px #000; } .ul-upload-photo-button { background-image : url('img/upload.png'); background-size : cover; background-position: center; } .ul-form-group-title { color : #999; border-bottom: 1px solid #bbb; padding : 5px 0; margin-bottom: 15px; } .ul-tree-item { padding : 8px; background-color: #fbfbfb; position : relative; border-left : 3px solid transparent; cursor : pointer; } .ul-tree-item:hover, .ul-tree-item.current { background-color: #9cf; border-color : #6699CC; } .ul-tree-item-title { margin-left: 15px; } .ul-tree-item-icon { position: absolute; left : 5px; top : 10px; }