/* *这里的值严格按照UI设计图标注值来进行设置 */ /* *颜色 */ /* *页面的边距 */ /* *字体 */ /* *头像 */ /* * 按钮 */ /* *对常见的多行样式进行了方法封装,方便调用,加快开发效率 */ html, body { min-height: 100vh; width: 100vw; background-color: #eee; margin: 0; display: flex; font-weight: initial !important; font-size: 14px !important; color: #333 !important; } html *, body * { text-decoration: none !important; font-family: Verdana, Arial, Helvetica, sans-serif; box-sizing: border-box; } .ms-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .ms-align-center { display: flex; align-items: center; } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { font-weight: initial; font-size: 12px; color: #999; resize: none; } *::-webkit-scrollbar { width: 8px; height: 8px; } /*定义滚动条轨道 内阴影+圆角*/ *::-webkit-scrollbar-track { border-radius: 10px; /*滚动条的背景区域的圆角*/ background-color: #eee; /*滚动条的背景颜色*/ } /*定义滑块 内阴影+圆角*/ *::-webkit-scrollbar-thumb { border-radius: 10px; /*滚动条的圆角*/ background-color: #e6e6e6; /*滚动条的背景颜色*/ } .ms-container { margin: 12px; height: calc(100% - 24px); padding: 14px; background: #fff; } .ms-header { padding: 10px; margin: 0; border-bottom: 1px solid #ddd; background: #fff; height: 50px; } .ms-header button { height: 30px; } .ms-pagination { padding: 20px 0; text-align: right; } .ms-fr { float: right; } .ms-tr { text-align: right; } .ms-weixin-content { width: calc(100% - 140px); } .ms-weixin-dialog .el-dialog__header { height: 55px; box-sizing: border-box; padding: 10px 10px 25px 10px; border-bottom: 1px solid #e6e6e6; } .ms-weixin-dialog .el-dialog__header .el-dialog__title { font-weight: bold; font-size: 14px; color: #333; } .ms-weixin-dialog .el-dialog__footer { border-top: 1px solid #e6e6e6; padding: 15px !important; } .ms-hover { cursor: pointer; } .ms-hover:hover { color: #0099ff; background: #fff; border-color: #0099ff; } .ms-header-select { font-size: 0; } .ms-header-select > .el-select:nth-of-type(2) { margin: 0 10px; } .ms-admin-picture { height: 100%; } .ms-admin-picture-list { background: #fff; margin: 12px; padding: 14px; display: flex; } .ms-admin-picture-list .ms-admin-picture-item { display: flex; flex-wrap: wrap; align-items: flex-start; width: calc(100% - 220px) !important; } .ms-admin-picture-list .ms-admin-picture-item > div { margin: 0 24px 0 0; padding: 10px 10px 0 10px; width: 230px; display: flex; flex-direction: column; border: 1px solid #e6e6e6; border-radius: 4px; } .ms-admin-picture-list .ms-admin-picture-item > div .body { display: flex; flex-direction: column; line-height: 2em; } .ms-admin-picture-list .ms-admin-picture-item > div .body div { margin-top: 0.5em; display: flex; align-items: center; } .ms-admin-picture-list .ms-admin-picture-item > div .body div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; cursor: pointer; } .ms-admin-picture-list .ms-admin-picture-item > div .body div span:hover { color: #0099ff; background: #fff; border-color: #0099ff; } .ms-admin-picture-list .ms-admin-picture-item > div .body img { width: 100%; height: 130px; object-fit: cover; } .ms-admin-picture-list .ms-admin-picture-item > div .footer { display: flex; padding: 14px 0; } .ms-admin-picture-list .ms-admin-picture-item > div .footer i { color: #333; margin: auto; cursor: pointer; } .ms-admin-picture-list .ms-admin-picture-item > div .footer i:hover { color: #0099ff; background: #fff; border-color: #0099ff; } .ms-admin-picture-list .ms-admin-picture-item > div .footer em { width: 1px; height: 1em; background: #e6e6e6; } .ms-admin-picture-list .ms-admin-picture-show { min-width: 220px; height: 100%; margin: -14px 0; padding: 14px; border-left: 1px solid #e6e6e6; } .ms-admin-picture-list .ms-admin-picture-show > span { padding: 10px; display: flex; background: #f2f2f6; font-weight: bold; } .ms-admin-picture-list .ms-admin-picture-show > div { display: flex; align-items: center; padding: 10px; font-size: 14px; } .ms-admin-picture-list .ms-admin-picture-show > div span { margin-right: auto; } .ms-admin-picture-list .ms-admin-picture-show > div i { margin-left: 10px; cursor: pointer; } .ms-admin-picture-list .ms-admin-picture-show > div i:hover { color: #0099ff; background: #fff; border-color: #0099ff; } .ms-admin-picture-list .ms-admin-picture-show > p { margin: 0; padding: 10px; border: 1px solid #e6e6e6; display: flex; justify-content: center; align-items: center; cursor: pointer; } .ms-admin-picture-list .ms-admin-picture-show > p:hover { color: #0099ff; background: #fff; border-color: #0099ff; }