init
This commit is contained in:
101
src/style/common.styl
Normal file
101
src/style/common.styl
Normal file
@@ -0,0 +1,101 @@
|
||||
@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
|
||||
{
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
||||
border-radius: 10px;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar
|
||||
{
|
||||
width: 12px;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb
|
||||
{
|
||||
border-radius: 10px;
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.site_container
|
||||
_wh(100%, calc(100% - 82px))
|
||||
overflow hidden
|
||||
.left_side
|
||||
_wh(2.72rem, 100%)
|
||||
.right_side
|
||||
_wh(calc(100% - 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
|
||||
Reference in New Issue
Block a user