@import './mixin.less';
@import './base.less';
@import './grid.less';
@import './design.less';
.@{css-prefix}-page {
display: block;
min-height: 100%;
}
.@{css-prefix}-header {
position: absolute;
left: 0;
top: 0;
height: 50px;
width: 100%;
background: #ffffff;
background: -moz-linear-gradient(top, #ffffff 0%, #f3f8fd 50%, #e5f0fa 100%);
background: -webkit-linear-gradient(top, #ffffff 0%, #f3f8fd 50%, #e5f0fa 100%);
background: linear-gradient(to bottom, #ffffff 0%, #f3f8fd 50%, #e5f0fa 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5f0fa', GradientType=0);
display: flex;
justify-content: space-between;
font-size: 14px;
color: #333;
.@{css-prefix}-logo {
// background: transparent url(logo.png) 50% 50% no-repeat;
// width: 136px;
// height: 40px;
// float: left;
// width: 140px;
// margin: 5px 0;
font-size:0;
cursor: pointer;
img{
max-height:50px;
}
}
.@{css-prefix}-search {
width: 240px;
margin-right: 20px;
}
.title{
font-weight: normal;
}
>.ltArea {
padding:0;
list-style: none;
margin: 0;
.logoStyle{
display: flex;
align-items: center;
}
>li{
float: left;
height: 100%;
// padding:5px 5px 0;
.sysTrigger{
line-height: 50px !important;
padding:0 5px;
// border-left:1px #aaa solid;
line-height: 1;
cursor: pointer;
.icon {
display: inline-block;
height: 16px;
width: 16px;
}
.iconfont{
font-size:14px;
margin-left:5px;
color:#aaa;
}
}
}
}
>.rtArea {
list-style: none;
margin: 0;
padding: 9px 5px 0 0;
li {
float: left;
padding:0 5px;
line-height: 30px;
.item {
display: block;
word-wrap: normal;
/* for IE */
white-space: nowrap;
cursor: pointer;
color:#076ce0;
position: relative;
.iconfont {
color: #076ce0;
margin-right: 5px;
display: inline-block;
vertical-align: middle;
}
&:hover,
&:hover .iconfont{
color:#f30;
}
.tip,
.title {
position: relative;
display: inline-block;
vertical-align: middle;
}
.@{css-prefix}-head-tipsNum{
position: absolute;
top:-5px;
left:calc(100% - 10px);
height:16px;
line-height:16px;
background-color: #f00;
font-size: 12px;
color: #fff;
text-align: center;
padding: 0 5px;
border-radius: 8px;
}
}
.line {
height: 15px;
margin: 0;
display: inline-block;
vertical-align: middle;
border-right: 1px #d9d9d9 solid;
}
}
}
}
.@{css-prefix}-header[data-layout='level']{
background: #06c;
>.ltArea>li .sysTrigger{
display:flex;
color:#fff;
.iconfont{
color:#fff;
}
}
>.rtArea li .item{
color:#fff;
.iconfont{
color:#fff;
}
}
}
.@{css-prefix}-search {
display: block;
border: 1px #eee solid;
background: #fff;
border-radius: 50px;
overflow: hidden;
position: relative;
>.iconfont {
position: absolute;
right: 8px;
top: 0;
font-size: 20px;
color: #999;
}
.@{css-prefix}-search-text {
border: 0;
padding: 5px 15px;
outline: 0;
line-height: 20px;
display: block;
width: 100%;
box-sizing: border-box;
}
}
.@{css-prefix}-navbar {
position: absolute;
top: 50px;
left: 0;
height: 48px;
width: 100%;
background-color: #0066cc;
color: #fff;
z-index: 10;
.title{
font-weight: normal;
}
>.allFunc,
>.history {
float: left;
padding: 0 15px;
width: 100px;
line-height: 48px;
height: 48px;
text-align: center;
cursor: pointer;
display: inline-flex;
overflow: hidden;
.icon {
display: inline-block;
height: 16px;
width: 16px;
}
.title {
font-size: 14px;
padding: 0 5px;
display: inline-block;
}
}
>.menusArea{
margin-left:130px;
>.arrRt,
>.arrLt{
width: 30px;
line-height: 48px;
text-align: center;
cursor: pointer;
&:hover{
background: #4d94db;
}
}
>.arrRt{
float: right;
}
>.arrLt{
float: left;
}
>.scroll{
margin:0 auto;
line-height: 48px;
height: 48px;
overflow: hidden;
}
&.hasMenusBtn>.scroll{
margin:0 30px;
}
}
>.history {
//float: right;
padding-left:0;
}
>.allFunc {
//float: right;
//padding-right:0;
}
}
.@{css-prefix}-sidebar {
position: absolute;
top: 98px;
left: 0;
bottom: 0;
width: 70px;
border-right: 1px #ced7e0 solid;
.title{
font-weight: normal;
}
.menus {
margin: 0;
padding: 0;
list-style: none;
.item {
padding: 8px 2px;
text-align: center;
cursor: pointer;
.box {
display: inline-block;
margin: 0 auto;
padding: 0;
position: relative;
img{
display: block;
overflow: hidden;
border-radius: 50%;
}
.iconfont {
display: block;
border-radius: 50%;
width: 46px;
height: 46px;
line-height: 46px;
font-size: 24px;
color: #fff;
text-align: center;
}
.tip {
position: absolute;
right: -5px;
top: -5px;
font-size: 12px;
font-weight: normal;
background: #ff3300;
color: #fff;
border-radius: 50px;
padding: 3px;
min-width: 15px;
}
}
.title {
padding-top: 5px;
display: block;
font-size: 12px!important;
word-wrap: normal;
/* for IE */
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
.item:hover {
.iconfont {
box-shadow: 0 0 5px #ff3300;
}
.title {
color: #ff3300;
}
}
.itemBg1 .iconfont {
background-color: #64d0c6;
}
.itemBg2 .iconfont {
background-color: #1f85ec;
}
.itemBg3 .iconfont {
background-color: #5246c5;
}
.itemBg4 .iconfont {
background-color: #ff6d68;
}
.itemBg5 .iconfont {
background-color: #26a3ed;
}
.itemBg6 .iconfont {
background-color: #f9b954;
}
.itemBg7 .iconfont {
background-color: #24bde3;
}
.itemBg8 .iconfont {
background-color: #00d58b;
}
}
}
.@{css-prefix}-sideMenus{
line-height: 32px;
padding-inline-start: 0;
}
.@{css-prefix}-sideMenus li{
list-style-type:none;
padding-left: 40px;
border-bottom: 1px solid #151d2a;
cursor: pointer;
}
// .@{css-prefix}-sideMenus li::after{
// content: '>';
// color: #363d48;
// right: 10px;
// position: absolute;
// }
.@{css-prefix}-sideMenus .trigger{
float: right;
margin-right: 15px;
color: #363d48;
}
.@{css-prefix}-main {
position: absolute;
top: 98px;
left: 71px;
right: 0;
bottom: 0;
}
.@{css-prefix}-menus {
list-style: none;
padding: 0;
margin: 0;
.@{css-prefix}-menus-item {
position: relative;
.title {
display: block;
height: 100%;
padding: 0 15px;
cursor: pointer;
word-wrap: normal;
/* for IE */
// text-overflow: ellipsis;
// overflow: hidden;
white-space: nowrap;
font-weight: normal;
.icon {
display: inline-block;
margin-right: 5px;
vertical-align: middle
}
.txt {
display: inline-block;
vertical-align: middle;
font-size:14px;
}
}
}
}
.@{css-prefix}-menus-horizontal {
overflow: hidden;
zoom: 1;
.@{css-prefix}-menus-item {
float: left;
font-size: 14px!important;
}
>.@{css-prefix}-menus-itemSeld {
background: #4d94db;
color: #fff;
}
}
.@{css-prefix}-menus-pop {
position: absolute;
left: 0;
top: 0;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
//display: none;
width:auto;
opacity: 0;
z-index: 10000;
overflow:auto;
transition: 0.2s;
transition-property:height,width;
overflow-x: hidden;
&::-webkit-scrollbar {
height:5px;
width:5px;
}
>.@{css-prefix}-menus-item {
//min-width: 150px;
color: #333;
&:hover {
background: #0066cc;
color: #fff;
}
.title {
padding: 5px 10px;
display: block;
line-height: 25px;
.txt{
vertical-align: middle;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width:auto;
//min-width: 120px;
font-size:14px;
padding-right:20px;
}
}
.trigger {
line-height: 25px;
float: right;
}
}
>.@{css-prefix}-menus-itemSeld {
background: #d4eaff;
color: #06c;
>.@{css-prefix}-menus-pop {
display: block !important;
left: 100% !important;
}
}
>.@{css-prefix}-menus-tips{
background: #fff;
color: #999;
padding: 5px 10px;
display: block;
line-height: 25px;
text-align: center;
}
}
.@{css-prefix}-Smenus-horizontal{
overflow: auto;
box-sizing: border-box;
&::-webkit-scrollbar {
height:2px;
width:2px;
}
}
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-item{
line-height: 40px;
//border-bottom: 1px solid #151d2a;
// width: 140px;
}
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-item:hover{
background: #003060;
//color: #F86640;
}
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-itemSeld{
background: #003060;
//color: #F86640;
}
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-itemSeld .trigger{
//color: #F86640 !important;
}
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-itemSeld .icon,
.@{css-prefix}-Smenus-horizontal
.@{css-prefix}-Smenus-item:hover .icon{
//color: #F86640 !important;
}
.@{css-prefix}-Smenus{
list-style: none;
padding: 0;
margin: 0;
padding:20px 0;
.@{css-prefix}-Smenus-item {
position: relative;
border-bottom:1px solid #0D2A49;
.title {
display: flex;
height: 100%;
padding: 10px 15px;
cursor: pointer;
word-wrap: normal;
/* for IE */
// text-overflow: ellipsis;
// overflow: hidden;
white-space: nowrap;
flex-wrap: wrap;
justify-content: center;
font-weight: normal;
.icon {
display: block;
text-align:center;
line-height: 20px;
color:#fff;
font-size: 20px;
}
.txt {
display: block;
font-size:14px;
width: 40px;
white-space: normal;
line-height: 20px;
margin:auto;
text-align: center;
}
}
.trigger {
line-height: 40px;
float: right;
color: #363d48;
display: none;
}
&.@{css-prefix}-Smenus-wordwrap{
.title{
display: block;
.icon,.txt{
display: inline;
}
.icon{
margin-right:5px;
}
img{
margin-bottom:-5px;
margin-right:5px;
}
.txt{
white-space: nowrap;
}
}
}
}
}
.@{css-prefix}-Smenus-pop {
position: absolute;
left: 0;
top: 0;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
//display: none;
width:auto;
opacity: 0;
z-index: 10000;
overflow:auto;
padding:0;
transition: width 0.3s;
overflow-x: hidden;
>.@{css-prefix}-Smenus-item {
//min-width: 150px;
color: #333;
border:none;
&:hover {
//background: #0066cc;
//color: #fff;
color: #1D9ED7;
}
.title {
padding: 5px 10px;
display: block;
line-height: 25px;
img{
margin-bottom:-5px;
margin-right:5px;
}
.txt{
width:auto;
vertical-align: middle;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
//min-width: 120px;
font-size:14px;
line-height:25px;
display: inline-block;
text-align: left;
padding-right:20px;
}
}
.trigger {
line-height: 29px;
float: right;
display: block;
}
}
>.@{css-prefix}-Smenus-itemSeld {
background: #d4eaff;
color: #06c;
>.@{css-prefix}-Smenus-pop {
display: block !important;
left: 100% !important;
}
}
>.@{css-prefix}-Smenus-tips{
background: #fff;
color: #999;
padding: 5px 10px;
display: block;
line-height: 25px;
text-align: center;
}
}
.allFuncSubMenu{
>.@{css-prefix}-menus-item .title{
line-height: 18px;
.txt{
font-size: 12px;
}
}
}
.@{css-prefix}-navbar {
>.@{css-prefix}-menus-horizontal {
line-height: 48px;
margin: 0 130px;
}
}
.@{css-prefix}-tabs {
height: 100%;
background: #fff;
}
.showTab .@{css-prefix}-tabs-hd{
position: absolute;
// top:48px;
width: 100%;
}
.@{css-prefix}-tabs-hd {
height: 39px;
background: #ebf1f7;
border-bottom: 1px #ced7e0 solid;
border-top: 1px #ced7e0 solid;
font-size: 14px;
.clearfix();
.@{css-prefix}-tabs-tool {
float: right;
.item {
line-height: 37px;
display: inline-block;
padding: 0 5px;
border-left: 1px #ced7e0 solid;
cursor: pointer;
&:hover {
background: #0066cc;
color: #fff;
}
}
}
.@{css-prefix}-tabs-scroll {
overflow: hidden;
position: relative;
ul {
.clearfix();
list-style: none;
margin: 0;
padding: 0;
display: flex;
>li {
float: left;
border-right: 1px #ced7e0 solid;
}
}
.@{css-prefix}-tabs-item {
line-height: 39px;
padding: 0 20px;
text-align: center;
position: relative;
cursor: pointer;
>.@{css-prefix}-tabs-itemTxt {
//width: 75px;
display: block;
word-wrap: normal;
/* for IE */
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&::after {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
border-bottom: 2px transparent solid;
content: "";
}
.@{css-prefix}-tabs-itemClose {
position: absolute;
right: 0;
top: 0;
color: #ccc;
line-height: normal;
&:hover {
color: red;
}
}
}
.@{css-prefix}-tabs-itemSeld {
>.@{css-prefix}-tabs-itemTxt {
color: #0066cc;
font-weight: bold;
}
&::after {
border-color: #0066cc;
}
}
}
}
.@{css-prefix}-tabpanel-bd {
overflow: auto;
font-size: 0;/*防止因html换行空字符导致的滚动条出现*/
.@{css-prefix}-tabs-panel {
height:100%;
iframe {
border: 0;
height: 100%;
width: 100%;
}
}
}
.@{css-prefix}-portal-panel {
border: 1px #ddd solid;
background: #fff;
border-radius: 5px;
overflow: hidden;
position: relative;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
&.@{css-prefix}-portal-panelHover {
box-shadow: 0 0 5px rgba(250, 125, 60, 0.7);
}
>.@{css-prefix}-portal-panel-head {
// padding:0 10px;
>.tabs {
padding: 0 10px;
overflow: hidden;
ul {
list-style: none;
margin: 0;
padding: 0;
word-wrap: normal;
/* for IE */
white-space: nowrap;
overflow: hidden;
height: 38px;
.clearfix();
>li {
float: left;
padding: 10px;
border-bottom: 2px transparent solid;
cursor: pointer;
&.seld {
color: #0066cc;
border-color: #0066cc;
}
}
}
}
>.tool {
float: right;
padding: 10px 10px 0 0;
>.iconfont {
margin-left: 5px;
cursor: pointer;
}
}
}
>.@{css-prefix}-portal-panel-body {
padding: 10px;
}
.@{css-prefix}-tabs-hd{
background: none;
border:0;
.@{css-prefix}-tabs-scroll ul>li,
.@{css-prefix}-tabs-tool .item{
border:0;
&:hover{
background: none;
color:#333;
}
}
.@{css-prefix}-tabs-tool .item>.iconfont{
border:1px #ccc solid;
border-radius: 50%;
&:hover{
background: #0066cc;
color:#fff;
border:1px #0066cc solid;
}
}
}
}
.@{css-prefix}-logo-lg{
// height:230px;
// background: transparent url(./logo_max.png) no-repeat 50% 50%;
}
.@{css-prefix}-noPower{
padding: 10px;
text-align: center;
>.iconfont{
margin: auto;
display: inline-block;
line-height: 50px;
padding:10px;
font-size:32px;
color:#999;
}
>.txt{
margin: auto;
display: inline-block;
line-height: 50px;
font-size:24px;
color:#999;
}
}
.@{css-prefix}-loading {
width: 150px;
height: 15px;
margin: 0 auto;
margin-top: 100px;
}
.@{css-prefix}-loading-fixed{
position: absolute;
left:50%;
top:50%;
margin:-10px 0 0 -75px;
}
.@{css-prefix}-loading span {
display: inline-block;
width: 15px;
height: 100%;
margin-right: 5px;
background: #0066cc;
-webkit-transform-origin: right bottom;
-webkit-animation: load 1s ease infinite;
}
.@{css-prefix}-loading span:last-child {
margin-right: 0px;
}
@-webkit-keyframes load {
0% {
opacity: 1;
-webkit-transform: scale(1);
}
100% {
opacity: 0;
-webkit-transform: rotate(90deg) scale(.3);
}
}
.@{css-prefix}-loading span:nth-child(1) {
-webkit-animation-delay: 0.13s;
}
.@{css-prefix}-loading span:nth-child(2) {
-webkit-animation-delay: 0.26s;
}
.@{css-prefix}-loading span:nth-child(3) {
-webkit-animation-delay: 0.39s;
}
.@{css-prefix}-loading span:nth-child(4) {
-webkit-animation-delay: 0.52s;
}
.@{css-prefix}-loading span:nth-child(5) {
-webkit-animation-delay: 0.65s;
}