工单作业
This commit is contained in:
267
src/style/layout.styl
Normal file
267
src/style/layout.styl
Normal file
@@ -0,0 +1,267 @@
|
||||
@import 'iconfont.styl';
|
||||
@import 'mixin.styl';
|
||||
@font-face
|
||||
font-family 'iconfont';
|
||||
src: url('iconfont/iconfont.woff2') format('woff2'),
|
||||
url('iconfont/iconfont.woff') format('woff'),
|
||||
url('iconfont/iconfont.ttf') format('truetype');
|
||||
@font-face {
|
||||
font-family: "YouSheBiaoTiHei";
|
||||
src: url('font/YouSheBiaoTiHei.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Bold";
|
||||
src: url('font/SourceHanSansCN-Bold.otf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Regular";
|
||||
src: url('font/SourceHanSansCN-Regular.otf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Medium";
|
||||
src: url('font/SourceHanSansCN-Medium.otf') format('truetype');
|
||||
}
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.icon-guanbi:before {
|
||||
content: "\e60f";
|
||||
}
|
||||
|
||||
// login
|
||||
.setup-wrap
|
||||
width 8.85rem
|
||||
background linear-gradient(45deg, rgba(28, 95, 161, 70%), rgba(20, 67, 120, 70%))
|
||||
border 1px solid #6fc4e2
|
||||
padding .49rem .48rem
|
||||
.contianer
|
||||
_wh(100%, 100%)
|
||||
.header-wrap
|
||||
position fixed
|
||||
z-index 10
|
||||
top 0
|
||||
_wh(100%, 1.25rem)
|
||||
background: url('~@/images/bg_logo.png') center / 16.82rem 100% no-repeat
|
||||
h1
|
||||
_font(.8rem, 1rem, #CF6A46,,center)
|
||||
font-family "YouSheBiaoTiHei"
|
||||
.button-wrap {
|
||||
margin-top: .2rem;
|
||||
}
|
||||
.button {
|
||||
width: 3.36rem;
|
||||
font-size: .48rem;
|
||||
line-height: .94rem;
|
||||
height: .94rem;
|
||||
color #fff;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.btn-primary {
|
||||
background: url('~@/images/btn_blue.png') center / 100% 100% no-repeat
|
||||
}
|
||||
.btn-danger {
|
||||
background: url('~@/images/btn_red.png') center / 100% 100% no-repeat
|
||||
}
|
||||
.button:disabled {
|
||||
background: url('~@/images/btn_gray.png') center / 100% 100% no-repeat
|
||||
}
|
||||
.btn-info {
|
||||
background: url('~@/images/btn_gray.png') center / 100% 100% no-repeat
|
||||
}
|
||||
.filter-item
|
||||
margin-bottom .3rem
|
||||
.filter-label
|
||||
_font(.3rem, .8rem, #fff,,)
|
||||
.filter-value
|
||||
_font(.3rem, .8rem, #fff,,)
|
||||
text-indent .23rem
|
||||
background: rgba(45,88,184,0.1);
|
||||
border: 1px solid #4980BD;
|
||||
&:focus
|
||||
background: rgba(45,88,184,0.25);
|
||||
border: 2px solid #21D0F2;
|
||||
|
||||
// header
|
||||
header
|
||||
position fixed
|
||||
padding 0 .4rem
|
||||
top 0
|
||||
left 0
|
||||
height .77rem
|
||||
background: url('~@/images/bg_header.png') center / 100% 100% no-repeat
|
||||
|
||||
// content
|
||||
.content
|
||||
padding 1.07rem .4rem .4rem .4rem
|
||||
.content_wraper
|
||||
padding .37rem .4rem .4rem .4rem
|
||||
background: url('~@/images/bg_box.png') center / 100% 100% no-repeat
|
||||
.grid_wraper
|
||||
height: calc(100% - 1rem)
|
||||
overflow-y auto
|
||||
table
|
||||
table-layout: fixed;
|
||||
min-width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 0
|
||||
th
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: left;
|
||||
position: sticky;
|
||||
top: -1px;
|
||||
height: .81rem;
|
||||
font-size: .36rem;
|
||||
font-family: SourceHanSansCN-Bold;
|
||||
line-height: .81rem;
|
||||
color: #AFBED8;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
z-index: 99;
|
||||
padding 0 .25rem;
|
||||
background left center / 1px 81px url('~@/images/th_bg.png') repeat-x
|
||||
td
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
// white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
padding: .05rem .05rem .05rem .25rem;
|
||||
border-bottom: 2px solid rgba(122,159,224,0.17);
|
||||
text-align: left;
|
||||
font-size: .3rem;
|
||||
line-height:.35rem;
|
||||
height: .82rem;
|
||||
color: #fff;
|
||||
.grid_wraper table .tr:nth-child(odd) td
|
||||
background: rgba(31,46,73,0.3);
|
||||
.grid_wraper table .tr:nth-child(even) td
|
||||
background: rgba(31,46,73,0.5);
|
||||
.grid_wraper table .tr_selected td
|
||||
background: rgba(63,106,202,0.3);
|
||||
.grid_wraper table th:first-child
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
.grid_wraper table th:last-child
|
||||
position: sticky;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
.grid_wraper table td:first-child
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 99;
|
||||
.grid_wraper table td:last-child
|
||||
position: sticky;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
.grid_button
|
||||
font-size: .3rem;
|
||||
line-height: .82rem;
|
||||
color: #3CC1FF;
|
||||
margin 0 .16rem;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
|
||||
// 下拉框
|
||||
.el-select {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
.el-input {
|
||||
font-size: .3rem;
|
||||
}
|
||||
.el-input__inner {
|
||||
height .8rem;
|
||||
font-size: .3rem;
|
||||
line-height: .8rem;
|
||||
border: 1px solid#4980BD;
|
||||
background-color: rgba(45,88,184,0.1);
|
||||
color: #fff;
|
||||
border-radius: 0;
|
||||
}
|
||||
.el-input--suffix .el-input__inner {
|
||||
padding-right: .7rem
|
||||
}
|
||||
.el-input__inner:hover, .el-select:hover .el-input__inner {
|
||||
border-color: #21D0F2;
|
||||
}
|
||||
.el-input__suffix {
|
||||
right: .2rem
|
||||
}
|
||||
.el-input__icon {
|
||||
width: .3rem
|
||||
}
|
||||
.el-select-dropdown__item {
|
||||
font-size: .3rem;
|
||||
color: #fff;
|
||||
height: .8rem;
|
||||
line-height: .8rem;
|
||||
}
|
||||
.el-select-dropdown {
|
||||
background: rgba(7,31,62,0.95);
|
||||
border: 1px solid #4980BD;
|
||||
}
|
||||
.el-popper[x-placement^=bottom] .popper__arrow::after {
|
||||
top: 0;
|
||||
border-bottom-color: #4980BD;
|
||||
}
|
||||
.el-popper[x-placement^=bottom] .popper__arrow {
|
||||
border-bottom-color: #4980BD;
|
||||
}
|
||||
.el-icon-arrow-up:before {
|
||||
content: ''
|
||||
}
|
||||
.el-select .el-input .el-select__caret {
|
||||
background: center / 100% auto url('~@/images/arrow.png') no-repeat;
|
||||
}
|
||||
.el-message__icon {
|
||||
font-size: 16px
|
||||
}
|
||||
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover {
|
||||
background-color: rgba(7,31,62,0.95)
|
||||
}
|
||||
|
||||
// 提示框
|
||||
.el-message-box {
|
||||
background-color: rgba(7, 22, 69, .85);
|
||||
border-color: #0b5deb;
|
||||
}
|
||||
.el-message-box__title, .el-message-box__headerbtn .el-message-box__close, .el-message-box__content {
|
||||
color: #fff;
|
||||
}
|
||||
.l-wrap
|
||||
_wh(calc(100% - 740px), 100%)
|
||||
overflow auto
|
||||
.r-wrap
|
||||
_wh(733px, 100%)
|
||||
background: center / 100% 100% url('~@/images/item_2_bg.png') no-repeat;
|
||||
.item-wrap
|
||||
width 100%
|
||||
padding 0.12rem 0.1rem 0.12rem 0.1rem
|
||||
margin-top .05rem
|
||||
background: center/ 100% 100% url('~@/images/item_bg_1.png') no-repeat;
|
||||
.list-wrap
|
||||
_wh(100%, calc(100% - 5.25rem))
|
||||
min-height 1.6rem
|
||||
padding 0.1rem 0.12rem
|
||||
background: center/ 100% 100% url('~@/images/item_bg_1.png') no-repeat;
|
||||
// background-color rgb(16, 38, 105)
|
||||
.scroll-tab
|
||||
_font(.14rem, .34rem, #fff,,center)
|
||||
font-family YouSheBiaoTiHei;
|
||||
background-color #1F438A
|
||||
.scroll-container
|
||||
height calc(100% - .34rem)
|
||||
overflow hidden
|
||||
.scroll-item
|
||||
_font(.14rem, .34rem, #fff,,center)
|
||||
background: rgba(31,46,73,0.9)
|
||||
border 1px solid rgba(122,159,224,0.17)
|
||||
Reference in New Issue
Block a user