| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- /*
- *这里的值严格按照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: #ddd;
- /*滚动条的背景颜色*/
- }
- .ms-container {
- margin: 12px;
- height: calc(100% - 24px);
- padding: 14px 14px 0 14px;
- background: #fff;
- }
- .ms-header {
- padding: 10px;
- margin: 0;
- border-bottom: 1px solid #ddd;
- background: #fff;
- height: 50px;
- }
- .ms-pagination {
- padding: 20px 0;
- text-align: right;
- }
- .ms-fr {
- float: right;
- }
- .ms-tr {
- text-align: right;
- }
- .el-button + .el-button {
- margin-left: 0;
- }
- .ms-weixin-content {
- width: calc(100% - 140px);
- }
- .ms-article {
- display: flex;
- justify-content: space-between;
- width: 100%;
- background: transparent !important;
- }
- .ms-article .el-container .el-aside {
- padding: 14px;
- background: #fff;
- height: 475px;
- }
- .ms-article .el-container .el-aside .ms-main-article {
- position: relative;
- }
- .ms-article .el-container .el-aside .ms-main-article img {
- width: 100%;
- height: 146px;
- }
- .ms-article .el-container .el-aside .ms-main-article .ms-main-article-mask {
- background: #000;
- opacity: .2;
- width: 100%;
- height: 146px;
- position: absolute;
- top: 0;
- left: 0;
- }
- .ms-article .el-container .el-aside .ms-main-article span {
- position: absolute;
- bottom: 0;
- padding: 15px;
- color: #fff;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .ms-article .el-container .el-aside .ms-article-item {
- width: 100%;
- height: 70px;
- display: flex;
- justify-content: space-between;
- padding: 10px 0;
- border-bottom: 1px solid #ddd;
- }
- .ms-article .el-container .el-aside .ms-article-item p {
- margin: 0 10px 0 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .ms-article .el-container .el-aside .ms-article-item p span {
- width: 100%;
- display: inline-block;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .ms-article .el-container .el-aside .ms-article-item img {
- width: 50px;
- height: 50px;
- }
- .ms-article .el-container .el-aside .ms-article-item:hover {
- cursor: pointer;
- }
- .ms-article .el-container .el-aside .ms-article-footer {
- background: #fff;
- padding-top: 20px;
- }
- .ms-article .el-container .el-aside .ms-article-footer .el-button {
- width: 100%;
- background: #f2f2f6;
- }
- .ms-article .el-container .el-aside .ms-article-footer .el-button i,
- .ms-article .el-container .el-aside .ms-article-footer .el-button span {
- font-weight: initial;
- font-size: 12px;
- color: #999;
- }
- .ms-article .el-container .el-main {
- flex: 1;
- margin-left: 14px;
- padding: 0 !important;
- }
- .ms-article .el-container .el-main .ms-main-header {
- background: #fff;
- display: flex;
- justify-content: space-between;
- height: 180px;
- padding: 20px;
- padding-bottom: 24px;
- box-sizing: border-box;
- border-bottom: 1px solid #ddd;
- }
- .ms-article .el-container .el-main .ms-main-header .ms-pic-upload {
- width: 140px;
- height: 140px;
- border-radius: 4px;
- border: 1px dashed #ddd;
- display: flex;
- justify-content: center;
- flex-direction: column;
- margin-right: 20px;
- }
- .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload {
- display: flex;
- justify-content: space-between;
- flex-direction: column;
- align-items: center;
- }
- .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload span {
- font-weight: initial;
- font-size: 12px;
- color: #999;
- margin-top: 4px;
- }
- .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload i {
- font-weight: initial;
- font-size: 18px;
- color: #999;
- }
- .ms-article .el-container .el-main .ms-main-header .el-form {
- flex: 1;
- margin: 0 !important;
- display: flex;
- justify-content: space-between;
- flex-direction: column;
- }
- .ms-article .el-container .el-main .ms-main-header .el-form .el-form-item {
- margin-bottom: 0 !important;
- }
- .ms-article .el-container .el-main .ms-main-header .el-form .el-input__suffix {
- top: -3px !important;
- }
- .ms-article .el-container .el-main .ms-main-body {
- height: calc(100% - 180px);
- background: #fff;
- }
- .ms-article .el-container .el-main .ms-main-body .edui-editor {
- height: 100%;
- }
- .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor-toolbarboxouter {
- background-color: none !important;
- background-image: none !important;
- }
- .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor {
- border: none !important;
- }
- .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox {
- box-shadow: none !important;
- }
- .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox .edui-editor-toolbarboxouter {
- background-color: transparent !important;
- background-image: none !important;
- border: none !important;
- border-radius: 0 !important;
- box-shadow: none !important;
- }
|