| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- /*
- *这里的值严格按照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: #aaa;
- 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-weixin-dialog .el-dialog__header {
- height: 55px;
- box-sizing: border-box;
- padding: 10px 10px 25px 10px;
- border-bottom: 1px solid #ddd;
- }
- .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 #ddd;
- padding: 15px !important;
- }
- .index {
- width: 100%;
- }
- .ms-admin-header {
- display: flex;
- padding: 0;
- background-color: #0099ff;
- height: 50px !important;
- }
- .ms-admin-header .ms-admin-header-menu {
- background-color: #0099ff;
- width: auto;
- border-bottom: none;
- position: relative;
- }
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *,
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item {
- height: 50px !important;
- line-height: 50px !important;
- background-color: #0099ff !important;
- color: rgba(255, 255, 255, 0.65) !important;
- border-bottom: none !important;
- font-size: 1em;
- }
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *:hover,
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item:hover {
- color: #fff !important;
- }
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *.is-active,
- .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item.is-active {
- color: #fff !important;
- }
- .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu {
- user-select: none;
- outline: none;
- padding-left: 20px;
- width: 100%;
- min-width: 500px;
- min-height: 200px;
- background-color: #fff !important;
- height: auto;
- flex-wrap: wrap;
- position: absolute;
- right: 0;
- top: 0;
- z-index: 9;
- background: #ffffff;
- border: 1px solid #ddd;
- box-shadow: 2px 3px 5px 0.1px rgba(0, 0, 0, 0.1);
- }
- .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li {
- margin: 0;
- margin-right: 20px;
- text-align: left;
- display: -webkit-inline-box;
- display: inline-block;
- height: 50px;
- line-height: 50px;
- font-weight: normal;
- font-size: 14px;
- color: #333;
- }
- .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li:hover {
- cursor: pointer;
- color: #0099ff;
- }
- .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i {
- position: absolute;
- top: 18px;
- right: 19px;
- font-weight: normal;
- font-size: 14px;
- color: #333;
- }
- .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i:hover {
- cursor: pointer;
- }
- .ms-admin-logo {
- min-width: 200px;
- width: 200px;
- display: flex;
- align-items: center;
- }
- .ms-admin-logo > img {
- padding: 14px 0 14px 20px;
- width: 80px;
- height: 100%;
- }
- .ms-admin-logo > div {
- display: flex;
- align-items: center;
- }
- .ms-admin-logo > div img {
- margin-top: -10px;
- margin-left: 3px;
- }
- .ms-admin-logo > div span {
- margin-top: -7px;
- position: absolute;
- margin-left: 6px;
- font-size: 12px;
- }
- .ms-admin-logo .iconfont {
- color: #fff;
- margin-left: auto;
- margin-right: 14px;
- cursor: pointer;
- }
- .ms-admin-mstore {
- margin-left: auto;
- min-width: 200px;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding: 0;
- }
- .ms-admin-mstore .ms-admin-mstore-icon {
- min-width: 50px;
- width: 50px;
- height: 50px;
- background-color: #0080FF;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- }
- .ms-admin-mstore .ms-admin-mstore-icon .iconfont {
- color: #fff;
- }
- .ms-admin-login {
- display: flex;
- align-items: center;
- }
- .ms-admin-login > span {
- width: 120px;
- padding: 0 20px;
- height: 50px;
- display: flex;
- align-items: center;
- cursor: pointer;
- outline: none;
- }
- .ms-admin-login > span img {
- border-radius: 50%;
- width: 20px;
- height: 20px;
- margin-right: 8px;
- }
- .ms-admin-login > span span {
- color: #fff;
- }
- .ms-admin-login .active {
- background: #fff;
- }
- .ms-admin-login .active span {
- color: #333;
- }
- .ms-admin-login-down {
- width: 120px;
- border: none;
- margin: 0 !important;
- padding: 0 !important;
- border-radius: 0;
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
- }
- .ms-admin-login-down > .popper__arrow {
- display: none;
- }
- .ms-admin-menu-aside {
- width: 200px !important;
- overflow: visible;
- }
- .ms-admin-menu-aside .ms-admin-menu {
- width: 200px;
- height: 100%;
- position: relative;
- }
- .ms-admin-menu-aside .ms-admin-menu .el-menu--inline .is-active {
- border-left: 2px solid #0099ff;
- }
- .ms-admin-menu-aside .ms-admin-menu .ms-menu-expand {
- transform: rotate(270deg);
- position: absolute;
- right: -34px;
- top: 50%;
- cursor: pointer;
- }
- .ms-admin-menu-aside .ms-admin-menu .ms-menu-expand i {
- font-weight: initial;
- font-size: 14px;
- color: #333;
- position: absolute;
- transform: rotate(90deg);
- top: 5px;
- right: 43%;
- }
- .ms-admin-menu-aside .ms-admin-menu .ms-menu-expand::before {
- border-color: transparent transparent #eee;
- border-style: none solid solid;
- border-width: 0 30px 22px;
- content: "";
- display: block;
- height: 0;
- left: -10px;
- width: 30px;
- }
- .ms-admin-menu-aside .ms-admin-menu .ms-menu-expand-active {
- transform: rotate(90deg);
- transition: all .3 ease;
- right: -56px;
- }
- .ms-admin-menu-aside .ms-admin-menu-active {
- width: 60px;
- height: 100%;
- }
- .ms-admin-menu-aside-active {
- width: 60px !important;
- }
- .ms-admin-container {
- height: calc(100vh - 60px);
- }
- .ms-admin-container > .ms-admin-main {
- padding: 0;
- background-color: #fff;
- }
- .ms-admin-container > .ms-admin-main .ms-admin-tabs {
- height: 100%;
- }
- .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content {
- height: 100%;
- }
- .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content .el-tab-pane {
- height: 100%;
- }
- .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-scroll {
- background: #fafafa;
- }
- .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-scroll .el-tabs__nav {
- border-left: none;
- border-radius: 0;
- }
- .ms-admin-container > .ms-admin-main iframe {
- width: 100%;
- height: 100%;
- border: none !important;
- }
|