640 lines
15 KiB
Stylus
640 lines
15 KiB
Stylus
@import 'mixin.styl'
|
|
@import 'iconfont.styl'
|
|
@font-face {
|
|
font-family: 'iconfont';
|
|
src: url('iconfont/iconfont.woff2?t=1631676179964') format('woff2'),
|
|
url('iconfont/iconfont.woff?t=1631676179964') format('woff'),
|
|
url('iconfont/iconfont.ttf?t=1631676179964') 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');
|
|
}
|
|
[class*=" icon_"],[class^=icon_]
|
|
font-family: "iconfont" !important;
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1;
|
|
vertical-align: baseline;
|
|
display: inline-block;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
::-webkit-scrollbar-track
|
|
{
|
|
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
|
|
border-radius: 10px;
|
|
background-color: #F5F5F5;
|
|
}
|
|
|
|
::-webkit-scrollbar
|
|
{
|
|
width: 0px;
|
|
background-color: #F5F5F5;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb
|
|
{
|
|
border-radius: 10px;
|
|
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,.3);
|
|
background-color: #e5e5e5;
|
|
}
|
|
|
|
.body-conatiner
|
|
position relative
|
|
_fj()
|
|
_wh(100%, 100%)
|
|
padding-top 124px
|
|
padding-bottom 54px
|
|
background center / 100% 100% url(../images/new/bg.png) no-repeat
|
|
.body-conatiner_1
|
|
background center / 100% 100% url(../images/new/bg_1.png) no-repeat
|
|
.side-bar-container
|
|
_wh(228px, 100%)
|
|
padding-top 101px
|
|
.main-container
|
|
_wh(calc(100% - 228px), 100%)
|
|
padding-right 53px
|
|
.left_side
|
|
_wh(2.72rem, 100%)
|
|
.right_side
|
|
_wh(100%, 100%)
|
|
padding 0 30px 0 30px
|
|
.content_wrap
|
|
_wh(100%, 100%)
|
|
.title_wrap
|
|
_wh(100%, 102px)
|
|
padding 52px 39px 0 39px
|
|
background center / 100% 100% url(../images/new/bg-task-r1.png) no-repeat
|
|
h2
|
|
_font(36px, 36px, #F6F9FE,,)
|
|
font-family: YouSheBiaoTiHei
|
|
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 40%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
.page_container
|
|
_wh(100%, calc(100% - 102px))
|
|
background center / 100% 100% url(../images/new/bg-task-r2.png) no-repeat
|
|
padding 41px 54px
|
|
.state_title-wrap
|
|
_wh(405px, 75px)
|
|
padding 22px 0 0 83px
|
|
background center / 100% 100% url(../images/new/state_title_bg.png) no-repeat
|
|
h3
|
|
_font(36px, 36px, #F6F9FE,,)
|
|
font-family: SourceHanSansCN-Bold
|
|
|
|
.filter-table
|
|
width 100%
|
|
border-collapse separate
|
|
border-spacing 0
|
|
border: 1px#eeeeee
|
|
text-align center
|
|
th,td
|
|
color #323232
|
|
background-color #ffffff
|
|
border-right 2px dotted #eeeeee
|
|
border-bottom 2px dotted #eeeeee
|
|
// &::first-child, :last-child
|
|
// border-left 0 dotted #e1e1e1
|
|
// border-bottom 0 dotted #e1e1e1
|
|
.filter-table th
|
|
font-size .24rem
|
|
line-height .8rem
|
|
background-color #DFE1E6
|
|
.filter-table td
|
|
height 0.3rem
|
|
line-height .8rem
|
|
font-size .25rem
|
|
.filter-table tr:first-child th:first-child
|
|
border-top-left-radius .1rem
|
|
.filter-table tr:first-child th:last-child
|
|
border-top-right-radius .1rem
|
|
.filter-table tr:last-child td:first-child
|
|
border-bottom-left-radius .1rem
|
|
.filter-table tr:last-child td:last-child
|
|
border-bottom-right-radius .1rem
|
|
.filter-table th:last-child, .filter-table td:last-child
|
|
border-right none
|
|
|
|
/** 开发者选项 */
|
|
.right_side_box
|
|
_wh(10.4rem,calc(100% - 90px - .48rem))
|
|
margin-top .48rem
|
|
padding .17rem .4rem
|
|
background rgba(223,225,230,.2)
|
|
border-radius .08rem
|
|
overflow hidden
|
|
h2
|
|
_font(.32rem,.45rem,#FA6400,,)
|
|
margin-bottom .15rem
|
|
.info_wrapper
|
|
_wh(100%, calc(100% - .94rem))
|
|
.ifconfig_info
|
|
_wh(100%,100%)
|
|
_font(.24rem,.44rem,#323232,,)
|
|
white-space pre-line
|
|
word-break break-all
|
|
overflow-y auto
|
|
|
|
// 公用
|
|
.row:before, .row:before
|
|
display table
|
|
content ""
|
|
.row:after
|
|
clear: both
|
|
.button
|
|
display: inline-block;
|
|
line-height: 30px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
color: #3CC1FF;
|
|
background transparent
|
|
-webkit-appearance: none;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
outline: none;
|
|
margin: 0;
|
|
transition: .1s;
|
|
font-weight: 500;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
padding: 0 20px;
|
|
font-size: 30px;
|
|
&:disabled
|
|
color: #E54F29;
|
|
.mgr
|
|
margin-right 10px
|
|
.button--primary
|
|
color: #3CC1FF;
|
|
.button--info
|
|
color: #fff;
|
|
.modal
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: .5;
|
|
background: #000;
|
|
z-index: 201;
|
|
.dialog_wrapper
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
overflow: auto;
|
|
z-index: 202;
|
|
.dialog
|
|
position: relative;
|
|
margin: 0 auto;
|
|
background center / 100% 100% url(../images/new/modal_bg.png) no-repeat
|
|
width: 885px;
|
|
min-height: 354px;
|
|
max-height: 1000px;
|
|
top: 50%
|
|
transform: translateY(-50%)
|
|
.dialog_header
|
|
height 86px
|
|
padding 25px 29px
|
|
.dialog_title
|
|
line-height: 36px;
|
|
font-size: 36px;
|
|
color: #FFFFFF;
|
|
font-family: YouSheBiaoTiHei;
|
|
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 40%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
.dialog_headerbtn
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
.dialog_body
|
|
// height 538
|
|
// overflow-y auto
|
|
padding: 0 48px 0 62px;
|
|
color: #FFF;
|
|
font-size: 30px;
|
|
font-family: SourceHanSansCN-Regular;
|
|
line-height: 80px;
|
|
word-break: break-all;
|
|
.form_wraper
|
|
width 100%
|
|
color: #FFF;
|
|
font-size: 30px;
|
|
font-family: SourceHanSansCN-Regular;
|
|
line-height: 80px;
|
|
.form
|
|
width 100%
|
|
.form_item
|
|
width 100%
|
|
margin-bottom: 30px
|
|
_fj(,flex-start)
|
|
.form_item__label
|
|
width: 160px;
|
|
text-align: right;
|
|
vertical-align: middle;
|
|
font-size: 30px;
|
|
font-family: SourceHanSansCN-Regular;
|
|
line-height: 80px;
|
|
padding-right: 20px;
|
|
box-sizing: border-box;
|
|
i
|
|
color #E54F29
|
|
.form_item__content
|
|
width: calc(100% - 160px)
|
|
line-height: 80px;
|
|
position: relative;
|
|
font-size: 30px;
|
|
.form_item__input
|
|
width 100%
|
|
-webkit-appearance: none;
|
|
background-image: none;
|
|
background: rgba(45,88,184,0.1);
|
|
border: 2px solid #4980BD;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-size: 30px;
|
|
height: 80px;
|
|
line-height: 78px;
|
|
outline: none;
|
|
padding: 0 10px;
|
|
transition: border-color .2s cubic-bezier(.645,.045,.355,1);
|
|
width: 100%;
|
|
// border-radius: 8px
|
|
&:focus
|
|
background: rgba(45,88,184,0.25);
|
|
border: 2px solid #21D0F2;
|
|
.form_item__textarea
|
|
line-height 30px
|
|
height 120px
|
|
padding 10px
|
|
.form_item__radio_wrap
|
|
height 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
.form_item__radio
|
|
color: #fff;
|
|
font-weight: 500;
|
|
line-height: 40px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
outline: none;
|
|
font-size: 30px;
|
|
margin: 0 40px 0 20px;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
.radio__input
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
outline: none;
|
|
display: inline-block;
|
|
width: 40px;
|
|
height: 40px;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
background center / 100% 100% url(../images/new/radio_bg.png) no-repeat
|
|
.radio__label
|
|
display: inline-block;
|
|
font-size: 30px;
|
|
padding-left: 20px;
|
|
font-family: SourceHanSansCN-Regular;
|
|
vertical-align: text-top
|
|
.icon_radio_checked
|
|
background center / 100% 100% url(../images/new/radio_bg_checked.png) no-repeat
|
|
.radio__label_checked
|
|
color #3CC1FF
|
|
.radio__original
|
|
opacity: 0;
|
|
outline: none;
|
|
position: absolute;
|
|
z-index: -1;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: 0;
|
|
.el-select
|
|
width 100%
|
|
.el-select-dropdown
|
|
background: rgba(7,31,62,0.95);
|
|
border: 2px solid #4980BD;
|
|
.el-popper .popper__arrow
|
|
border-width: 10px;
|
|
.el-popper[x-placement^=bottom] .popper__arrow
|
|
top: -10px;
|
|
border-bottom-color: #4980BD
|
|
&:after
|
|
border-bottom-color: #4980BD
|
|
.el-select-dropdown__empty
|
|
font-size 30px
|
|
.el-input, .el-select .el-input .el-select__caret, .el-select-dropdown__item
|
|
font-size 30px
|
|
color #fff
|
|
line-height 80px
|
|
height 80px
|
|
.el-select:hover .el-input__inner, .el-input__inner
|
|
border-color #4980BD
|
|
background: rgba(45,88,184,0.1);
|
|
.el-select .el-input__inner:focus, .el-select .el-input.is-focus .el-input__inner
|
|
border-color #21D0F2
|
|
background: rgba(45,88,184,0.25);
|
|
.el-select-dropdown__item.selected
|
|
color #4980BD
|
|
.el-select-dropdown__item.hover
|
|
background-color transparent
|
|
.el-input__inner
|
|
color fff
|
|
font-size 30px
|
|
line-height 80px
|
|
height 80px
|
|
border 2px solid #4980BD
|
|
.dialog_footer
|
|
height 188px
|
|
padding: 50px 20px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
_fj(center)
|
|
#keyboard
|
|
position fixed
|
|
left 0
|
|
right 0
|
|
bottom 0
|
|
z-index 1000
|
|
width 100%
|
|
// max-width 1366px
|
|
margin 0 auto
|
|
padding 1em
|
|
background-color #EEE
|
|
box-shadow 0px -3px 10px rgba(black, 0.3)
|
|
border-radius 10px
|
|
|
|
// 用户管理
|
|
.buttons_wrapper
|
|
margin 31px 55px 36px 55px
|
|
.button_control
|
|
_wh(335px, 91px)
|
|
background center url(../images/new/button.png) no-repeat
|
|
p
|
|
_font(48px, 48px, #EFF2FF,,center)
|
|
font-family: YouSheBiaoTiHei
|
|
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 40%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
.button_control_s
|
|
_wh(331px, 88px)
|
|
.button_control_disabled
|
|
background center url(../images/new/button_disabled.png) no-repeat
|
|
.grid_wrapper
|
|
width 100%
|
|
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: 81px;
|
|
font-size: 36px;
|
|
font-family: SourceHanSansCN-Bold;
|
|
line-height: 81px;
|
|
color: #AFBED8;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
z-index: 99;
|
|
padding 0 25px;
|
|
background left center / 1px 81px url(../images/new/th_bg.png) repeat-x
|
|
td
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
// white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
padding: 5px 5px 5px 25px;
|
|
border-bottom: 2px solid rgba(122,159,224,0.17);
|
|
text-align: left;
|
|
font-size: 30px;
|
|
line-height: 35px;
|
|
height: 82px;
|
|
color: #fff;
|
|
&:last-child
|
|
border-right: none;
|
|
.grid_wrapper table .tr:nth-child(odd) td
|
|
background: rgba(31,46,73,0.3);
|
|
.grid_wrapper table .tr:nth-child(even) td
|
|
background: rgba(31,46,73,0.5);
|
|
.grid_wrapper table .tr_selected td
|
|
background: rgba(63,106,202,0.3);
|
|
.grid_wrapper table th:first-child
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 100;
|
|
.grid_wrapper table td:first-child
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 99;
|
|
.grid_button
|
|
padding 0 20px
|
|
|
|
// tree
|
|
.tree_body_container
|
|
padding 0
|
|
.el-tree
|
|
background transparent
|
|
color #fff
|
|
.el-tree-node__content
|
|
height 80px
|
|
&:hover
|
|
background: rgba(63,106,202,0.3);
|
|
.el-tree-node__expand-icon
|
|
font-size 40px
|
|
color #fff
|
|
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 80%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
.el-checkbox
|
|
font-size 80px
|
|
.el-checkbox__inner
|
|
_wh(40px, 40px)
|
|
background: rgba(45,88,184,0.1);
|
|
border: 1px solid #4980BD;
|
|
&::after
|
|
height: 28px
|
|
left 18px
|
|
.el-tree-node__content>.el-checkbox
|
|
margin-right 20px
|
|
.el-tree-node__label
|
|
font-size 30px
|
|
font-family: SourceHanSansCN-Regular
|
|
.el-checkbox__inner:hover, .el-checkbox__input.is-focus .el-checkbox__inner
|
|
border-color #4980BD
|
|
background: linear-gradient(0deg,#1F57BB 0%, #296BFF 100%);
|
|
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner
|
|
border-color #4980BD
|
|
background: linear-gradient(0deg,#1F57BB 0%, #296BFF 100%);
|
|
.el-checkbox__input.is-indeterminate .el-checkbox__inner
|
|
&::before
|
|
top 17px
|
|
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content
|
|
background: none;
|
|
|
|
|
|
// 车辆信息
|
|
.state_wrap
|
|
width 100%
|
|
_fj(, flex-start)
|
|
.state_tip
|
|
_wh(200px, 100px)
|
|
_fj(center)
|
|
_font(32px, 45px, #ffffff,,center)
|
|
border 1px solid $red
|
|
background-color #ffc3a7
|
|
border-radius 6px
|
|
margin-right 70px
|
|
overflow hidden
|
|
.state_content
|
|
width calc(100% - 270px)
|
|
height 100px
|
|
margin-bottom 20px
|
|
_fj(flex-start)
|
|
flex-wrap wrap
|
|
.state_item_1
|
|
_wh(260px, 100px)
|
|
_fj(center)
|
|
border 1.6px solid #54C0B3
|
|
background-color #fff
|
|
_font(32px,33px,#54C0B3,,center)
|
|
border-radius 16px
|
|
margin-bottom 20px
|
|
margin-right 24px
|
|
.state_item_2
|
|
_wh(calc(33.333333% - 16px), 100px)
|
|
_fj(center)
|
|
border 10px solid #DFE1E6
|
|
background-color #fff
|
|
border-radius 16px
|
|
margin-bottom 20px
|
|
margin-right 24px
|
|
&:nth-child(3n)
|
|
margin-right 0
|
|
.state_item_2_dot
|
|
display block
|
|
_wh(24px,24px)
|
|
background-color #ffffff
|
|
border-radius 50%
|
|
margin-right 24px
|
|
.state_item_2_txt
|
|
display block
|
|
_font(32px,33px,#696969,,)
|
|
.state_item_3
|
|
_wh(calc(33.333333% - 16px), 100px)
|
|
_fj(flex-start)
|
|
border 1.6px solid #8B90A6
|
|
background-color #fff
|
|
border-radius 16px
|
|
margin-bottom 20px
|
|
margin-right 24px
|
|
padding 10px 20px
|
|
&:nth-child(3n)
|
|
margin-right 0
|
|
.state_item_3_txt1
|
|
display block
|
|
_font(32px,33px,#696969,,)
|
|
margin-right 12px
|
|
.state_item_3_txt2
|
|
display block
|
|
_font(32px,33px,#FA6400,,)
|
|
.state_item_switch
|
|
display: inline-flex;
|
|
align-items: center;
|
|
position: relative;
|
|
line-height: 88px;
|
|
height: 88px;
|
|
vertical-align: middle;
|
|
margin-bottom 20px
|
|
margin-right 24px
|
|
outline none
|
|
background none
|
|
cursor pointer
|
|
.switch__input
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
opacity: 0;
|
|
margin: 0;
|
|
.switch_core
|
|
margin: 0;
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 168px;
|
|
height: 88px;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
transition: border-color .3s,background-color .3s;
|
|
vertical-align: middle;
|
|
background center bottom / 100% 100% url(../images/new/switch_bg_off.png) no-repeat
|
|
&::after
|
|
content: "";
|
|
position: absolute;
|
|
top: 11px;
|
|
left: 11px;
|
|
transition: all .3s;
|
|
width: 66px;
|
|
height: 66px;
|
|
background center bottom / 100% 100% url(../images/new/switch_off.png) no-repeat
|
|
.is-checked
|
|
.switch_core
|
|
background center bottom / 100% 100% url(../images/new/switch_bg_on.png) no-repeat
|
|
&::after
|
|
left: 100%;
|
|
margin-left: -77px;
|
|
background center bottom / 100% 100% url(../images/new/switch_on.png) no-repeat
|
|
|
|
// tree
|
|
// .el-tree-node__content
|
|
// height 60px
|
|
// .el-tree-node__expand-icon,.el-checkbox,.el-tree-node__label
|
|
// font-size 28px
|
|
// .el-checkbox__inner
|
|
// width 28px
|
|
// height 28px
|
|
// .el-checkbox__input.is-indeterminate .el-checkbox__inner::before
|
|
// top 12px
|
|
// .el-checkbox__input.is-checked .el-checkbox__inner::after
|
|
// left: 11px;
|
|
// top: 9px;
|
|
// transform: rotate(45deg) scaleY(2) |