125 lines
7.5 KiB
SCSS
125 lines
7.5 KiB
SCSS
/* 全局 */
|
|
html{font-size: 62.5%}
|
|
#app, body, html {width: 100%;height: 100%;background-color: #f6f8f9;font-size: 12px;}
|
|
a {color: #333;text-decoration: none;}
|
|
a:hover, a:focus {color: #000;text-decoration: none;}
|
|
a:link {text-decoration: none;}
|
|
a:-webkit-any-link {text-decoration: none;}
|
|
a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: border-box;outline:none !important; -webkit-appearance: none;}
|
|
* {margin: 0;padding: 0;box-sizing: border-box;outline: none;}
|
|
|
|
/* 大布局样式 */
|
|
.aminui {display: flex;flex-flow: column;}
|
|
.aminui-wrapper {display: flex;flex:1;overflow: auto;}
|
|
|
|
/* 全局滚动条样式 */
|
|
.scrollable {-webkit-overflow-scrolling: touch;}
|
|
::-webkit-scrollbar {width: 5px;height: 5px;}
|
|
::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);}
|
|
::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
|
|
::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
|
|
::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}
|
|
|
|
/*布局设置*/
|
|
.layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0px;z-index: 100;background: #409EFF;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;}
|
|
.layout-setting i {font-size: 18px;color: #fff;}
|
|
|
|
/* 头部 */
|
|
.adminui-header {height: 50px;background: #fff;color: #222;display: flex;justify-content:space-between;}
|
|
.adminui-header-left {display: flex;align-items: center;flex: 1;min-width: 0;}
|
|
.adminui-header-right {display: flex;align-items: center;}
|
|
.adminui-header .logo-bar {font-size: 18px;font-weight: bold;display: flex;align-items: center;justify-content: center;width: 190px;height: 100%;border-right: 1px solid #f2f2f2;}
|
|
.adminui-header .isCollapse{width: 65px;}
|
|
.adminui-header .logo-bar .logo {width: 90%;}
|
|
.adminui-header .logo-bar>span{display: flex;align-items: center;justify-content: center;}
|
|
.adminui-header-left .adminui-side-bottom{margin: 0 15px 0 20px;}
|
|
.adminui-header .nav {display: flex;height: 100%;margin-left: 40px;}
|
|
.adminui-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;}
|
|
.adminui-header .nav li i {margin-right: 5px;}
|
|
.adminui-header .nav li:hover {color: #fff;}
|
|
.adminui-header .nav li.active {background: rgba(0, 0, 0, 0.1);color: #fff;}
|
|
.adminui-header .user-bar .panel-item:hover {background: rgba(0, 0, 0, 0.06)!important;}
|
|
.adminui-header .user-bar .user label{color: #555;}
|
|
|
|
/* 左侧菜单 */
|
|
.aminui-side-split {width:80px;flex-shrink:0;background: #2c2c2c;display: flex;flex-flow: column;}
|
|
.aminui-side-split-top {height: 49px;}
|
|
.aminui-side-split-top a {width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}
|
|
.aminui-side-split-top .logo {height:30px;vertical-align: bottom;}
|
|
.adminui-side-split-scroll {overflow: auto;overflow-x:hidden;height: 100%;flex: 1;}
|
|
.aminui-side-split li {cursor: pointer;width: 80px;height: 80px;color: #fff;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;}
|
|
.aminui-side-split li i {font-size: 26px;}
|
|
.aminui-side-split li p {margin-top:6px;color: #fff;}
|
|
.aminui-side-split li:hover {background: rgba(255, 255, 255, 0.1);}
|
|
.aminui-side-split li.active {background: #409EFF;}
|
|
|
|
.adminui-side-split-scroll::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.4);border-radius:5px;}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-thumb:hover {background-color: rgba(255, 255, 255, 0.5);}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-track {background-color: rgba(255, 255, 255, 0);}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-track:hover {background-color: rgba(255, 255, 255, 0);}
|
|
|
|
.aminui-side {display: flex;flex-flow: column;flex-shrink:0;width:190px;background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #f2f2f2;transition:width 0.3s;}
|
|
.adminui-side-top {border-bottom: none;height:50px;line-height: 50px;display: flex;justify-content: space-between;}
|
|
.adminui-side-top p {padding:0 0 0 20px;font-size: 14px;font-weight: 500;color: #38373F;}
|
|
.adminui-side-top .adminui-side-collapse{width: 64px;display: flex;align-items: center;justify-content: center;cursor: pointer;}
|
|
.adminui-side-top .adminui-side-collapse i{font-size: 16px;}
|
|
.adminui-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;}
|
|
//border-top: 1px solid #ebeef5;
|
|
.adminui-side-bottom {height:51px;cursor: pointer;display: flex;align-items: center;justify-content: center;}
|
|
.adminui-side-bottom i {font-size: 16px;}
|
|
.adminui-side-bottom:hover {color: var(--el-color-primary);}
|
|
.aminui-side.isCollapse {width: 65px;}
|
|
.el-menu .el-icon.el-sub-menu__icon-arrow{right: 50px;}
|
|
.el-menu .menu-tag {position: absolute;height: 15px;line-height: 15px;background: var(--el-color-danger);font-size: 10px;color: #fff;right: 5px;border-radius:14px;padding:0 5px;}
|
|
.el-menu .el-sub-menu__title .menu-tag {right: 5px;top: 18px;}
|
|
.el-menu--horizontal > li .menu-tag {display: none;}
|
|
.aminui-side.isCollapse .el-menu > li .menu-tag{display: inline-block;width: auto;height: 15px;line-height: 15px;padding: 0 5px;visibility: initial;right: 18px;top: 4px;}
|
|
|
|
/* 右侧内容 */
|
|
.aminui-body {flex: 1;display: flex;flex-flow: column;}
|
|
|
|
//border-bottom: 1px solid #ebeef5;background: #fff;box-shadow: 0 1px 4px rgba(0,21,41,.08);
|
|
.adminui-topbar {height: 50px;display: flex;justify-content:space-between;}
|
|
.adminui-topbar .left-panel {display: flex;align-items: center;margin-left: 10px;}
|
|
.adminui-topbar .right-panel {display: flex;align-items: center;}
|
|
|
|
.right-panel-search {display: flex;align-items: center;}
|
|
.right-panel-search > * + * {margin-left:10px;}
|
|
|
|
.adminui-tags {height:35px;background: #fff;box-shadow: 0 2px 8px rgba(29, 35, 41, 0.05); border-bottom: 0;border-top: 1px solid #e8e8e8;}
|
|
.adminui-tags ul {display: flex;overflow: hidden;}
|
|
.adminui-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;position: relative;flex-shrink: 0;}
|
|
.adminui-tags li::after {content: " ";width:1px;height:100%;position: absolute;right:0;background-image: linear-gradient(#fff, #e6e6e6);}
|
|
.adminui-tags li a {padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;display: flex;align-items: center;}
|
|
.adminui-tags li i {margin-left:10px;border-radius: 50%;width:15px;height:15px;display: flex;align-items: center;justify-content: center;}
|
|
.adminui-tags li i:hover {background: var(--el-color-danger);color: #fff;}
|
|
.adminui-tags li:hover {background: #ecf5ff;}
|
|
.adminui-tags li.active a {color: #409EFF;}
|
|
.adminui-tags li.sortable-ghost {opacity: 0;}
|
|
|
|
.adminui-main {background-color: #f6f8f9;height: 100%; flex: 1;overflow: hidden;padding: 10px;box-sizing: border-box;}
|
|
.adminui-main .mainBox{height: calc(100%);overflow: auto;background-color: #FFFFFF;padding: 0 10px;border-radius: 6px;}
|
|
|
|
/*页面最大化*/
|
|
.aminui.main-maximize {
|
|
.main-maximize-exit {display: block;}
|
|
.aminui-side-split, .aminui-side, .adminui-header, .adminui-topbar, .adminui-tags {display: none;}
|
|
}
|
|
.main-maximize-exit {display: none;position: fixed;z-index: 3000;top:-20px;left:50%;margin-left: -20px;border-radius: 50%;width: 40px;height: 40px;cursor: pointer;background: rgba(0,0,0,0.2);text-align: center;}
|
|
.main-maximize-exit i {font-size: 14px;margin-top: 22px;color: #fff;}
|
|
.main-maximize-exit:hover {background: rgba(0,0,0,0.4);}
|
|
|
|
/*表格合计*/
|
|
.countView{
|
|
display: flex;align-items: center;flex-wrap: wrap;
|
|
.countItem{
|
|
margin-right: 10px;
|
|
.name{
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
}
|
|
/*定宽页面*/
|
|
.sc-page {width: 1230px;margin: 0 auto;}
|
|
|