Files
apt-nl/src/style/common.styl

329 lines
6.9 KiB
Stylus
Raw Normal View History

2023-05-05 14:20:13 +08:00
@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');
}
[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
{
2023-05-12 13:54:40 +08:00
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
2023-05-05 14:20:13 +08:00
border-radius: 10px;
background-color: #F5F5F5;
}
::-webkit-scrollbar
{
2023-05-12 13:54:40 +08:00
width: 0px;
2023-05-05 14:20:13 +08:00
background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
border-radius: 10px;
2023-05-12 13:54:40 +08:00
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,.3);
2023-05-05 14:20:13 +08:00
background-color: #e5e5e5;
}
2023-05-08 15:39:30 +08:00
.body-conatiner
_fj()
_wh(100%, calc(100% - 61px))
.side-bar-container
_wh(120px, 100%)
border-right solid 1px #e6e6e6
.main-container
_wh(calc(100% - 120px), 100%)
2023-05-05 14:20:13 +08:00
.site_container
_wh(100%, calc(100% - 82px))
overflow hidden
.left_side
_wh(2.72rem, 100%)
.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
2023-05-12 13:54:40 +08:00
//
.row:before, .row:before
display table
content ""
.row:after
clear: both
.button
display: inline-block;
line-height: 1;
white-space: nowrap;
cursor: pointer;
background: #fff;
border: 1px solid #dcdfe6;
color: #606266;
-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: 12px 20px;
font-size: 14px;
border-radius: 18px;
.button+.button
margin-left: 10px;
.button--primary
color: #fff;
background-color: $red;
border-color: $red1;
.button--info
color: #fff;
background-color: $gray;
border-color: $gray1;
.modal
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: .5;
background: #000;
z-index: 101;
.dialog_wrapper
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
z-index: 102;
.dialog
position: relative;
margin: 0 auto 50px;
background: #fff;
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,.3);
box-sizing: border-box;
width: 65%;
margin-top: 15vh;
.dialog_header
padding: 20px 20px 10px;
.dialog_title
line-height: 24px;
font-size: 18px;
color: #303133;
.dialog_headerbtn
position: absolute;
top: 20px;
right: 20px;
padding: 0;
background: transparent;
border: none;
outline: none;
cursor: pointer;
font-size: 16px;
.dialog_body
padding: 30px 20px;
color: #606266;
font-size: 14px;
word-break: break-all;
.form
width 100%
_fj(flex-start)
.form_item
width 48%
margin-bottom: 20px
.form_item+.form_item
margin-left 4%
.form_item__label
width: 86px;
text-align: left;
vertical-align: middle;
float: left;
font-size: 14px;
color: #606266;
line-height: 40px;
padding: 0 12px 0 0;
box-sizing: border-box;
i
color $red2
.form_item__content
width: calc(100% - 86px)
margin-left: 86px;
line-height: 40px;
position: relative;
font-size: 14px;
.form_item__input
width 100%
-webkit-appearance: none;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid $gray1;
box-sizing: border-box;
color: #696969;
display: inline-block;
font-size: 14px;
height: 40px;
line-height: 40px;
outline: none;
padding: 0 15px;
transition: border-color .2s cubic-bezier(.645,.045,.355,1);
width: 100%;
.form_item__radio
color: #606266;
font-weight: 500;
line-height: 1;
position: relative;
cursor: pointer;
display: inline-block;
white-space: nowrap;
outline: none;
font-size: 14px;
margin-right: 30px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
.radio__input
white-space: nowrap;
cursor: pointer;
outline: none;
display: inline-block;
padding: 2px
position: relative;
vertical-align: middle;
border 1px solid $gray1
border-radius 50%
.radio__label
display: inline-block;
font-size: 14px;
padding-left: 10px;
.icon_radio_checked
color $red2
.el-select
width 100%
.el-select:hover .el-input__inner, .el-input__inner
border-color $gray1
.el-select .el-input__inner:focus, .el-select .el-input.is-focus .el-input__inner
border-color $red1
.el-select-dropdown__item.selected
color $red2
.el-input__inner
color #696969
.dialog_footer
padding: 10px 20px 20px;
text-align: center;
box-sizing: border-box;
//
.right_side
_wh(100%, 100%)
padding 20px 20px 30px 20px
.buttons_wrapper
.row
margin-bottom 10px
.grid_wrapper
width 100%
table
table-layout: fixed;
width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 0
th
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 14px;
line-height: 23px;
color: #323232;
font-weight: bold;
z-index: 100;
padding 12px 10px;
td
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 12px 10px;
border-bottom: 1px dashed $gray1;
border-right: 1px dashed $gray1;
text-align: center;
font-size: 14px;
line-height: 23px;
color: #323232;
background: #fff;
&:last-child
border-right: none;