|
|
|
|
@ -1,466 +1,396 @@
|
|
|
|
|
/**
|
|
|
|
|
* layui官网
|
|
|
|
|
* By 贤心
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
layui官网
|
|
|
|
|
By 贤心
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
h1,h2,h3{font-size: 14px;}
|
|
|
|
|
::-webkit-input-placeholder{color: #999}
|
|
|
|
|
|
|
|
|
|
/* 布局 */
|
|
|
|
|
.site-inline{font-size: 0;}
|
|
|
|
|
.site-tree, .site-content{display: inline-block; *display:inline; *zoom:1; vertical-align: top; font-size: 14px;}
|
|
|
|
|
.site-tree{width: 220px; min-height: 900px; padding: 5px 0 20px;}
|
|
|
|
|
.site-content{width: 899px; min-height: 900px; padding: 20px 0 10px 20px;}
|
|
|
|
|
|
|
|
|
|
/* 头部 */
|
|
|
|
|
.header{height: 59px; border-bottom: 1px solid #404553; background-color: #393D49;}
|
|
|
|
|
.logo{position: absolute; left: 0; top: 16px;}
|
|
|
|
|
.logo img{width: 82px; height: 31px;}
|
|
|
|
|
|
|
|
|
|
.header .layui-nav{position: absolute; right: 0; top: 0; padding: 0; background: none;}
|
|
|
|
|
.header .layui-nav .layui-nav-item{margin: 0 20px; }
|
|
|
|
|
.header .layui-nav .layui-nav-item[mobile]{display: none;}
|
|
|
|
|
|
|
|
|
|
.header .layui-container .logo{left: 15px;}
|
|
|
|
|
.header .layui-container .layui-nav{right: 15px;}
|
|
|
|
|
|
|
|
|
|
.menu{position: absolute; right: 0; top: 0; line-height: 65px;}
|
|
|
|
|
.menu a{display:inline-block; *display:inline; *zoom:1; vertical-align:top;}
|
|
|
|
|
.menu a{position: relative; padding: 0 20px; margin: 0 20px; color: #c2c2c2; font-size: 14px;}
|
|
|
|
|
.menu a:hover{color: #fff; transition: all .5s; -webkit-transition: all .5s}
|
|
|
|
|
.menu a.this{color: #fff}
|
|
|
|
|
.menu a.this::after{content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 5px; background-color: #5FB878;}
|
|
|
|
|
|
|
|
|
|
.header-index{background-color: #05031A; border: none;}
|
|
|
|
|
.header-index .site-banner-bg{}
|
|
|
|
|
.header-index[spring]{background-color: #0D1206}
|
|
|
|
|
.header-index[summer]{background-color: #0A0E11}
|
|
|
|
|
.header-index[autumn]{background-color: #100903}
|
|
|
|
|
.header-index[winter]{background-color: #110F25/*#06041C*/}
|
|
|
|
|
|
|
|
|
|
.header-demo{height: 60px; border-bottom: none;}
|
|
|
|
|
.header-demo .logo{left: 40px;}
|
|
|
|
|
.header-demo .layui-nav{top: 0;}
|
|
|
|
|
.header-demo .layui-nav .layui-nav-item{margin: 0 10px;}
|
|
|
|
|
|
|
|
|
|
.header-demo .layui-nav .layui-this a{padding: 0 30px;}
|
|
|
|
|
|
|
|
|
|
.component{position: absolute; width: 160px; left: 120px; top: 16px; }
|
|
|
|
|
.component .layui-input{height: 30px; padding-left: 12px; background-color: #424652; background-color: rgba(255,255,255,.05); border: none 0; color: #fff; color: rgba(255,255,255,.5); font-size: 12px;}
|
|
|
|
|
.component .layui-form-select .layui-edge{display: none; border-top-color: #999;}
|
|
|
|
|
.component .layui-form-select dl{top: 36px; background-color: rgba(255,255,255,.9)}
|
|
|
|
|
.header-demo .component{left: 185px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* åä¾§è¾¹ */
|
|
|
|
|
.layui-side-child{width: 160px!important; left: 200px; bottom: 60px!important; border-right: 1px solid #eee; background-color: #fff;}
|
|
|
|
|
.layui-side-child .layui-side-scroll{width: 170px;}
|
|
|
|
|
.layui-side-child .layui-nav{padding: 10px 0; width: 160px; border-radius: 0; background: none}
|
|
|
|
|
.layui-side-child .layui-nav-child{border-radius: 0;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-title a,
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-title a:hover,
|
|
|
|
|
.layui-side-child .layui-nav-itemed>a{color: #666 !important;}
|
|
|
|
|
.layui-side-child .layui-nav-itemed .layui-nav-child{margin-bottom: 10px; background: none !important;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-item a{height: 30px; line-height: 30px; color: #666;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-item a:hover{background: none !important;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-child a{color: #999 !important;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-more{display: none;}
|
|
|
|
|
.layui-side-child .layui-nav-tree .layui-this,
|
|
|
|
|
.layui-side-child .layui-nav-tree .layui-this>a,
|
|
|
|
|
.layui-side-child .layui-nav-tree .layui-nav-child dd.layui-this,
|
|
|
|
|
.layui-side-child .layui-nav-tree .layui-nav-child dd.layui-this a{background: none; color: #5FB878 !important;}
|
|
|
|
|
.layui-side-child .layui-nav .layui-nav-child a:hover{color: #009688 !important}
|
|
|
|
|
.layui-side-child .layui-nav-bar{background-color: #5FB878;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 底部 */
|
|
|
|
|
.footer{padding: 30px 0; line-height: 30px; text-align: center; color: #666; font-weight: 300;}
|
|
|
|
|
body .layui-layout-admin .footer-demo{height: 50px; padding: 5px 0;}
|
|
|
|
|
.footer a{padding: 0 5px;}
|
|
|
|
|
.site-union{margin-top: 10px; color: #999;}
|
|
|
|
|
.site-union>*{display: inline-block; vertical-align: middle;}
|
|
|
|
|
.site-union a[upyun] img{width: 80px;}
|
|
|
|
|
.site-union span{position: relative; top: 3px;}
|
|
|
|
|
.site-union span a{padding: 0; display: inline; color: #999;}
|
|
|
|
|
.site-union span a:hover{text-decoration: underline;}
|
|
|
|
|
|
|
|
|
|
.footer-demo p{display: inline-block; vertical-align: middle; height: 50px; padding-right: 10px;}
|
|
|
|
|
.footer-demo .site-union{position: relative; top: -9px;}
|
|
|
|
|
|
|
|
|
|
/* 首页banner部分 */
|
|
|
|
|
.site-banner{position: relative; height: 600px; text-align: center; overflow: hidden; background-color: #393D49;}
|
|
|
|
|
.site-banner-bg
|
|
|
|
|
,.site-banner-main{position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
|
|
|
|
|
.site-banner-bg{background-position: center 0;}
|
|
|
|
|
|
|
|
|
|
/* 对h1、h2、h3标签设置字体大小为14px */
|
|
|
|
|
h1,h2,h3{
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-zfj{padding-top: 25px; height: 220px;}
|
|
|
|
|
.site-zfj i{position: absolute; left: 50%; top: 50px; width: 200px; height: 200px; margin-left: -100px; font-size: 180px; color: #c2c2c2;}
|
|
|
|
|
/* 对webkit浏览器下的输入框占位符设置颜色为#999 */
|
|
|
|
|
::-webkit-input-placeholder{
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@-webkit-keyframes site-zfj {
|
|
|
|
|
0% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
|
|
|
|
|
10% {opacity: 0.8; -webkit-transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
|
|
|
|
|
35% {opacity: 0.6; -webkit-transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
|
|
|
|
|
50% {opacity: 0.4; -webkit-transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
|
|
|
|
|
80% {opacity: 0.2; -webkit-transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
|
|
|
|
|
90% {opacity: 0.1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
|
|
|
|
|
100% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);}
|
|
|
|
|
/* 布局相关样式 */
|
|
|
|
|
/* 使内部元素字体大小设为0(常用于消除inline-block元素间的空白间隙问题,后续再单独设置内部元素字体大小) */
|
|
|
|
|
.site-inline{
|
|
|
|
|
font-size: 0;
|
|
|
|
|
}
|
|
|
|
|
@keyframes site-zfj {
|
|
|
|
|
0% {opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
|
|
|
|
|
10% {opacity: 0.8; transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
|
|
|
|
|
35% {opacity: 0.6; transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
|
|
|
|
|
50% {opacity: 0.4; transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
|
|
|
|
|
80% {opacity: 0.2; transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
|
|
|
|
|
90% {opacity: 0.1; transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
|
|
|
|
|
100% {opacity: 1; transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);}
|
|
|
|
|
/* 设置.site-tree和.site-content为行内块元素,并处理兼容IE低版本的显示问题,同时设置垂直对齐方式为顶部对齐,字体大小恢复为14px */
|
|
|
|
|
.site-tree,.site-content{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
*display:inline;
|
|
|
|
|
*zoom:1;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@-webkit-keyframes site-desc {
|
|
|
|
|
0% { -webkit-transform: scale(1.1);}
|
|
|
|
|
100% {opacity: 1; -webkit-transform: scale(1);}
|
|
|
|
|
/* 设置.site-tree的宽度、最小高度、内边距 */
|
|
|
|
|
.site-tree{
|
|
|
|
|
width: 220px;
|
|
|
|
|
min-height: 900px;
|
|
|
|
|
padding: 5px 0 20px;
|
|
|
|
|
}
|
|
|
|
|
@keyframes site-desc {
|
|
|
|
|
0% { transform: scale(1.1);}
|
|
|
|
|
100% {transform: scale(1);}
|
|
|
|
|
/* 设置.site-content的宽度、最小高度、内边距 */
|
|
|
|
|
.site-content{
|
|
|
|
|
width: 899px;
|
|
|
|
|
min-height: 900px;
|
|
|
|
|
padding: 20px 0 10px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-zfj-anim i{-webkit-animation-name: site-zfj; animation-name: site-zfj; -webkit-animation-duration: 5s; animation-duration: 5s; -webkit-animation-timing-function: linear; animation-timing-function: linear;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* æè¿°å—体 */
|
|
|
|
|
@font-face {font-family: 'webfont-desc';
|
|
|
|
|
src: url('//at.alicdn.com/t/webfont_eovt4pxxy5.eot'); /* IE9*/
|
|
|
|
|
src: url('//at.alicdn.com/t/webfont_eovt4pxxy5.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
|
|
|
url('//at.alicdn.com/t/webfont_eovt4pxxy5.woff') format('woff'), /* chromeã€firefox */
|
|
|
|
|
url('//at.alicdn.com/t/webfont_eovt4pxxy5.ttf') format('truetype'), /* chromeã€firefoxã€operaã€Safari, Android, iOS 4.2+*/
|
|
|
|
|
url('//at.alicdn.com/t/webfont_eovt4pxxy5.svg#æ€æºé»‘体-æžç»†') format('svg'); /* iOS 4.1- */
|
|
|
|
|
}
|
|
|
|
|
.web-font-desc{
|
|
|
|
|
font-family:"webfont-desc" !important;
|
|
|
|
|
font-size:16px;font-style:normal;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
/* 头部相关样式 */
|
|
|
|
|
/* 设置头部的高度、底部边框以及背景颜色 */
|
|
|
|
|
.header{
|
|
|
|
|
height: 59px;
|
|
|
|
|
border-bottom: 1px solid #404553;
|
|
|
|
|
background-color: #393D49;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.site-desc{position: relative; height: 70px; margin-top: 20px;}
|
|
|
|
|
.site-desc .web-font-desc{color: #fff; color: rgba(255,255,255,.8); font-size: 61px;}
|
|
|
|
|
|
|
|
|
|
.site-desc-anim{-webkit-animation-name: site-desc; animation-name: site-desc;}
|
|
|
|
|
.site-desc cite{position: absolute; bottom: -40px; left: 0; width: 100%; color: #c2c2c2; font-style: normal;}
|
|
|
|
|
|
|
|
|
|
.site-download{margin-top: 80px; font-size: 0;}
|
|
|
|
|
.site-download a{position: relative; padding: 0 45px 0 90px; height: 60px; line-height: 60px; border: 1px solid #c2c2c2; border-color: rgba(255,255,255,.2); font-size: 24px; color: #ccc; transition: all .5s; -webkit-transition: all .5s;}
|
|
|
|
|
.site-download a:hover{border-color: rgba(255,255,255,.3); color: #fff; background-color: rgba(255,255,255,.05); border-radius: 30px;}
|
|
|
|
|
.site-download a cite{position: absolute; left: 45px; font-size: 30px;}
|
|
|
|
|
.site-version{position: relative; margin-top: 15px; color: #ccc; font-size: 12px;}
|
|
|
|
|
.site-version span{padding: 0 3px;}
|
|
|
|
|
.site-version *{font-style: normal;}
|
|
|
|
|
.site-version a{color: #e2e2e2; text-decoration: underline;}
|
|
|
|
|
|
|
|
|
|
.site-banner-other{position: absolute; left: 0; bottom: 35px; width: 100%; text-align: center; font-size: 0;}
|
|
|
|
|
.site-banner-other iframe{border: none;}
|
|
|
|
|
.site-banner-other a{display: inline-block; vertical-align: middle; height: 28px; line-height: 28px; margin: 0 5px; padding: 0 8px; border-radius: 2px; color: #c2c2c2; color: rgba(255,255,255,.8); border: 1px solid #c2c2c2; border-color: rgba(255,255,255,.2); font-size: 14px; transition: all .5s; -webkit-transition: all .5s;}
|
|
|
|
|
.site-banner-other a:hover{color: #fff; background-color: rgba(255,255,255,.1);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.site-idea{margin: 50px 0; font-size: 0; text-align: center; font-weight: 300;}
|
|
|
|
|
.site-idea li{display: inline-block; vertical-align: top; *display: inline; *zoom:1; font-size: 14px; }
|
|
|
|
|
.site-idea li{width: 298px; height: 150px; padding: 30px; line-height: 24px; margin-left: 30px; border: 1px solid #d2d2d2; text-align: left;}
|
|
|
|
|
.site-idea li:first-child{margin-left: 0}
|
|
|
|
|
.site-idea .layui-field-title{border-color: #d2d2d2}
|
|
|
|
|
.site-idea .layui-field-title legend{margin: 0 20px 20px 0; padding: 0 20px; text-align: center;}
|
|
|
|
|
|
|
|
|
|
/* 赞助商 */
|
|
|
|
|
.site-sponsor-home{margin-top: 40px; text-align: center;}
|
|
|
|
|
.site-sponsor-home .layui-btn{position: relative; width: 233px; height: 65px; line-height: 65px; background: none; border-color: #212121; font-size: 26px; border-radius: 6px; /*padding-left: 55px;*/}
|
|
|
|
|
.site-sponsor-home .layui-btn:hover{background: #4A4855; color: #BAB8C3;}
|
|
|
|
|
.site-sponsor-home .layui-btn:before{/*position: absolute; left: 15px; top: 15px; content: ''; width: 30px; height: 30px; background: url(http://cdn.layui.com/upload/2018_1/168_1514869467160_26113.png) center; background-repeat: no-repeat; background-size: contain;*/}
|
|
|
|
|
.site-sponsor-home p{position: relative; padding-top: 15px; font-size: 22px; color: #212121;}
|
|
|
|
|
.site-sponsor-home p:before{content: ''; position: relative; top: -2px; display: inline-block; vertical-align: middle; width: 30px; height: 30px; margin-right: 10px; background: url(http://cdn.layui.com/upload/2018_1/168_1514869467160_26113.png) center; background-repeat: no-repeat; background-size: contain;}
|
|
|
|
|
@media screen and (max-width: 750px) {
|
|
|
|
|
.site-sponsor-home .layui-btn{width: 180px; height: 45px; line-height: 45px; font-size: 20px;}
|
|
|
|
|
.site-sponsor-home p{font-size: 16px;}
|
|
|
|
|
.site-sponsor-home p:before{width: 20px; height: 20px;}
|
|
|
|
|
/* 设置logo的定位为绝对定位,距离左边和顶部的距离 */
|
|
|
|
|
.logo{
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 16px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置logo内图片的宽度和高度 */
|
|
|
|
|
.logo img{
|
|
|
|
|
width: 82px;
|
|
|
|
|
height: 31px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 设置头部导航的定位、内边距以及去除默认背景 */
|
|
|
|
|
.header.layui-nav{
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: none;
|
|
|
|
|
}
|
|
|
|
|
/* 设置头部导航项的外边距 */
|
|
|
|
|
.header.layui-nav.layui-nav-item{
|
|
|
|
|
margin: 0 20px;
|
|
|
|
|
}
|
|
|
|
|
/* 当元素有mobile属性时,隐藏该元素(可能用于移动端特定显示控制) */
|
|
|
|
|
.header.layui-nav.layui-nav-item[mobile]{
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 当在layui-container内时,重新设置logo的左边距 */
|
|
|
|
|
.header.layui-container.logo{
|
|
|
|
|
left: 15px;
|
|
|
|
|
}
|
|
|
|
|
/* 当在layui-container内时,重新设置layui-nav的右边距 */
|
|
|
|
|
.header.layui-container.layui-nav{
|
|
|
|
|
right: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 辅助 */
|
|
|
|
|
.site-tips{margin-bottom: 10px; padding: 15px; line-height: 22px; border-left: 5px solid #0078AD; background-color: #f2f2f2;}
|
|
|
|
|
body .site-tips p{margin: 0;}
|
|
|
|
|
body .layui-layer-notice .layui-layer-content{padding: 20px; line-height: 26px; background-color: #393D49; color: #fff; font-weight: 300;}
|
|
|
|
|
.layui-layer-notice .layui-text{color: #f8f8f8;}
|
|
|
|
|
.layui-layer-notice .layui-text a{color: #009688;}
|
|
|
|
|
|
|
|
|
|
/* 目录 */
|
|
|
|
|
.site-dir{display: none;}
|
|
|
|
|
.site-dir li{line-height: 26px; margin-left: 20px; overflow: visible; list-style-type: disc;}
|
|
|
|
|
.site-dir li a{display: block;}
|
|
|
|
|
.site-dir li a:active{color: #01AAED;}
|
|
|
|
|
.site-dir li a.layui-this{color: #01AAED;}
|
|
|
|
|
body .layui-layer-dir{box-shadow: none; border: 1px solid #d2d2d2;}
|
|
|
|
|
body .layui-layer-dir .layui-layer-content{padding: 10px;}
|
|
|
|
|
.site-dir a em{padding-left: 5px; font-size: 12px; color: #c2c2c2; font-style: normal;}
|
|
|
|
|
|
|
|
|
|
/* 文档 */
|
|
|
|
|
.site-tree{border-right: 1px solid #eee; }
|
|
|
|
|
.site-tree .layui-tree{line-height: 32px;}
|
|
|
|
|
.site-tree .layui-tree li i{position: relative; font-size: 22px; color: #000}
|
|
|
|
|
.site-tree .layui-tree li a cite{padding: 0 8px;}
|
|
|
|
|
.site-tree .layui-tree .site-tree-noicon a cite{padding-left: 15px;}
|
|
|
|
|
.site-tree .layui-tree li a em{font-size: 12px; color: #bbb; padding-right: 5px; font-style: normal;}
|
|
|
|
|
.site-tree .layui-tree li h2{line-height: 36px; border-left: 5px solid #009E94; margin: 15px 0 5px; padding: 0 10px; background-color: #f2f2f2;}
|
|
|
|
|
.site-tree .layui-tree li ul{margin-left: 27px; line-height: 28px;}
|
|
|
|
|
.site-tree .layui-tree li ul a,
|
|
|
|
|
.site-tree .layui-tree li ul a i{color: #777;}
|
|
|
|
|
.site-tree .layui-tree li ul a:hover{color: #333;}
|
|
|
|
|
.site-tree .layui-tree li ul li{margin-left: 25px; overflow: visible; list-style-type: disc; /*list-style-position: inside;*/}
|
|
|
|
|
.site-tree .layui-tree li ul li cite,
|
|
|
|
|
.site-tree .layui-tree .site-tree-noicon ul li cite{padding-left: 0;}
|
|
|
|
|
|
|
|
|
|
.site-tree .layui-tree .layui-this a{color: #01AAED;}
|
|
|
|
|
.site-tree .layui-tree .layui-this .layui-icon{color: #01AAED;}
|
|
|
|
|
|
|
|
|
|
.site-fix .site-tree{position: fixed; top: 0; bottom: 0; z-index: 666; min-height: 0; overflow: auto; background-color: #fff;}
|
|
|
|
|
.site-fix .site-content{margin-left: 220px;}
|
|
|
|
|
.site-fix-footer .site-tree{/*margin-bottom: 120px;*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.site-title{ margin: 30px 0 20px;}
|
|
|
|
|
.site-title fieldset{border: none; padding: 0; border-top: 1px solid #eee;}
|
|
|
|
|
.site-title fieldset legend{margin-left: 20px; padding: 0 10px; font-size: 22px; font-weight: 300;}
|
|
|
|
|
|
|
|
|
|
.site-text a{color: #01AAED;}
|
|
|
|
|
.site-h1{margin-bottom: 20px; line-height: 60px; padding-bottom: 10px; color: #393D49; border-bottom: 1px solid #eee; font-size: 28px; font-weight: 300;}
|
|
|
|
|
.site-h1 .layui-icon{position: relative; top: 5px; font-size: 35px; margin-right: 10px;}
|
|
|
|
|
.site-text{position:relative;}
|
|
|
|
|
.site-text p{margin-bottom: 10px; line-height:22px;}
|
|
|
|
|
.site-text em{padding: 0 3px; font-weight: 500; font-style: italic; color: #666;}
|
|
|
|
|
.site-text code{margin:0 5px; padding: 3px 10px; border: 1px solid #e2e2e2; background-color: #fbfbfb; color: #666; border-radius: 2px;}
|
|
|
|
|
|
|
|
|
|
.site-table{width: 100%; margin: 10px 0;}
|
|
|
|
|
.site-table thead{background-color:#f2f2f2; }
|
|
|
|
|
.site-table th,
|
|
|
|
|
.site-table td{padding: 6px 15px; min-height: 20px; line-height: 20px; border:1px solid #ddd; font-size: 14px; font-weight: 400;}
|
|
|
|
|
.site-table tr:nth-child(even){background: #fbfbfb;}
|
|
|
|
|
|
|
|
|
|
.site-block{padding: 20px; border: 1px solid #eee;}
|
|
|
|
|
.site-block .layui-form{margin-right: 200px;}
|
|
|
|
|
|
|
|
|
|
/* 更新日志 */
|
|
|
|
|
.site-changelog .layui-timeline-title h2{display: inline-block;}
|
|
|
|
|
.site-changelog .layui-timeline-title .layui-badge-rim{top: -2px; left: 10px;}
|
|
|
|
|
|
|
|
|
|
/* 颜色 */
|
|
|
|
|
.site-doc-color{font-size: 0;}
|
|
|
|
|
.site-doc-color li{display: inline-block; vertical-align: middle; width: 180px; margin-left: 20px; margin-bottom: 20px; padding: 20px 10px; color: #fff; text-align: center; border-radius: 2px; line-height: 22px; font-size: 14px;}
|
|
|
|
|
.site-doc-color li p[tips]{opacity: 0.8; font-size: 12px;}
|
|
|
|
|
|
|
|
|
|
.site-doc-necolor li{width: 108px; margin-top: 15px; margin-left: 0; border-radius: 0;}
|
|
|
|
|
|
|
|
|
|
.site-doc-bgcolor li{padding: 10px;}
|
|
|
|
|
|
|
|
|
|
/* å®«æ ¼ */
|
|
|
|
|
.site-doc-icon{margin-bottom: 50px; font-size: 0;}
|
|
|
|
|
.site-doc-icon li{display: inline-block; vertical-align: middle; width: 127px; height: 105px; line-height: 25px; padding: 20px 0; margin-right: -1px; margin-bottom: -1px; border: 1px solid #e2e2e2; font-size: 14px; text-align: center; color: #666; transition: all .3s; -webkit-transition: all .3s;}
|
|
|
|
|
.site-doc-anim li{height: auto;}
|
|
|
|
|
.site-doc-icon li .layui-icon{display: inline-block; font-size: 36px;}
|
|
|
|
|
|
|
|
|
|
.site-doc-icon li .doc-icon-name,
|
|
|
|
|
.site-doc-icon li .doc-icon-code{color: #c2c2c2;}
|
|
|
|
|
.site-doc-icon li .doc-icon-fontclass{height: 40px; line-height: 20px; padding: 0 5px; font-size: 13px; color: #333; }
|
|
|
|
|
.site-doc-icon li:hover{background-color: #f2f2f2; color: #000;}
|
|
|
|
|
|
|
|
|
|
/* æ …æ ¼ç¤ºä¾‹ */
|
|
|
|
|
.grid-demo{padding: 10px; line-height: 50px; text-align: center; background-color: #79C48C; color: #fff;}
|
|
|
|
|
.grid-demo-bg1{background-color: #63BA79;}
|
|
|
|
|
.grid-demo-bg2{background-color: #49A761;}
|
|
|
|
|
.grid-demo-bg3{background-color: #38814A;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 演示 */
|
|
|
|
|
body .layui-layout-admin .site-demo{bottom: 60px; padding: 0;}
|
|
|
|
|
body .site-demo-nav .layui-nav-item{line-height: 40px}
|
|
|
|
|
.layui-nav-item .layui-icon{position: relative; font-size: 20px;}
|
|
|
|
|
.layui-nav-item a cite{padding: 0 10px;}
|
|
|
|
|
.site-demo .layui-main{margin: 15px; line-height: 22px;}
|
|
|
|
|
.site-demo-editor{position: absolute; top: 0; bottom: 0; left: 0; width: 50%; }
|
|
|
|
|
.site-demo-area{position: absolute; top: 0; bottom: 0; width: 100%;}
|
|
|
|
|
.site-demo-editor textarea{position: absolute; width: 100%; height: 100%; padding: 10px; border: none; resize: none; background-color: #F7FBFF; background-color: #13151A; color: #999; font-family: Courier New; font-size: 12px; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
|
|
|
|
|
.site-demo-btn{position: absolute; bottom: 15px; right: 20px;}
|
|
|
|
|
.site-demo-zanzhu{position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; text-align: center; background-color: #e2e2e2; overflow: hidden;}
|
|
|
|
|
.site-demo-zanzhu>*{position: relative; z-index: 1;}
|
|
|
|
|
.site-demo-zanzhu:before{content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 120px; margin: -10px 0px 0px -60px; text-align: center; color: rgb(170, 170, 170); font-size: 18px; font-weight: 300; }
|
|
|
|
|
|
|
|
|
|
.site-demo-result{position: absolute; right: 0; top: 0; bottom: 0; width: 50%;}
|
|
|
|
|
.site-demo-result iframe{position: absolute; width: 100%; height: 100%;}
|
|
|
|
|
|
|
|
|
|
.site-demo-button{margin-bottom: 30px;}
|
|
|
|
|
.site-demo-button div{margin: 20px 30px 10px;}
|
|
|
|
|
.site-demo-button .layui-btn+.layui-btn{margin-left: 0;}
|
|
|
|
|
.site-demo-button .layui-btn{margin: 0 7px 10px 0; }
|
|
|
|
|
|
|
|
|
|
.site-demo-text a{color: #01AAED;}
|
|
|
|
|
|
|
|
|
|
.site-demo-laytpl{text-align: center;}
|
|
|
|
|
.site-demo-laytpl textarea,
|
|
|
|
|
.site-demo-laytpl div span{width: 40%; padding: 15px; margin: 0 15px;}
|
|
|
|
|
.site-demo-laytpl textarea{height: 300px; border: none; background-color: #3F3F3F; color: #E3CEAB; font-family: Courier New; resize: none;}
|
|
|
|
|
.site-demo-laytpl div span{display: inline-block; text-align: center; background: #101010; color: #fff;}
|
|
|
|
|
.site-demo-tplres{margin: 10px 0; text-align: center}
|
|
|
|
|
.site-demo-tplres .site-demo-tplh2,
|
|
|
|
|
.site-demo-tplres .site-demo-tplview{display: inline-block; width: 50%;}
|
|
|
|
|
.site-demo-tplres h2{padding: 15px; background: #e2e2e2;}
|
|
|
|
|
.site-demo-tplres h3{font-weight: 700;}
|
|
|
|
|
.site-demo-tplres div{padding: 14px; border: 1px solid #e2e2e2; text-align: left;}
|
|
|
|
|
|
|
|
|
|
.site-demo-upload,
|
|
|
|
|
.site-demo-upload img{width: 200px; height: 200px; border-radius: 100%;}
|
|
|
|
|
.site-demo-upload{position: relative; background: #e2e2e2;}
|
|
|
|
|
.site-demo-upload .site-demo-upbar{position: absolute; top: 50%; left: 50%; margin: -18px 0 0 -56px;}
|
|
|
|
|
.site-demo-upload .layui-upload-button{background-color: rgba(0,0,0,.2); color: rgba(255,255,255,1);}
|
|
|
|
|
|
|
|
|
|
.site-demo-util{position: relative; width: 300px;}
|
|
|
|
|
.site-demo-util img{width: 300px; border-radius: 100%;}
|
|
|
|
|
.site-demo-util span{position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #333; cursor: pointer;}
|
|
|
|
|
@-webkit-keyframes demo-fengjie {
|
|
|
|
|
0% {-webkit-filter: blur(0); opacity: 1; background: #fff; height: 300px; border-radius: 100%;}
|
|
|
|
|
80% {-webkit-filter: blur(50px); opacity: 0.95;}
|
|
|
|
|
100% {-webkit-filter: blur(20px); opacity: 0; background: #fff;}
|
|
|
|
|
}
|
|
|
|
|
@keyframes demo-fengjie {
|
|
|
|
|
0% {filter: blur(0); opacity: 1; background: #fff; height: 300px; border-radius: 100%;}
|
|
|
|
|
80% {filter: blur(50px); opacity: 0.95;}
|
|
|
|
|
100% {filter: blur(20px); opacity: 0; background: #fff;}
|
|
|
|
|
}
|
|
|
|
|
.site-demo-fengjie{-webkit-animation-name: demo-fengjie; animation-name: demo-fengjie; -webkit-animation-duration: 5s; animation-duration: 5s;}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin .site-demo-body{top: 106px;}
|
|
|
|
|
.site-demo-title{position: fixed; left: 200px; right: 0; top: 65px;}
|
|
|
|
|
.site-demo-code{position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: none; padding: 10px; resize: none; font-size: 12px; background-color: #F7FBFF; color: #881280; font-family: Courier New;}
|
|
|
|
|
|
|
|
|
|
.site-demo-overflow{overflow: hidden;}
|
|
|
|
|
|
|
|
|
|
/* 其它 */
|
|
|
|
|
#trans-tooltip,
|
|
|
|
|
#tip-arrow-bottom,
|
|
|
|
|
#tip-arrow-top{display: none !important;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 独立组件 与 主页 */
|
|
|
|
|
.alone{text-align: center; background-color: #009688; color: #fff; font-weight: 300; transition: all .3s; -webkit-transition: all .3s;}
|
|
|
|
|
.alone:hover{background-color: #5FB878;}
|
|
|
|
|
.alone a{display: block; padding: 50px 20px; color: #fff; font-size: 30px;}
|
|
|
|
|
.alone a cite{display: block; padding-top: 10px; font-size: 14px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.alone-banner{height: 190px; text-align: center; font-weight: 300; background-color: #009688; color:#fff;}
|
|
|
|
|
.alone-banner h1{padding-top: 60px; line-height: 32px; font-size: 30px; font-weight: 300;}
|
|
|
|
|
.alone-banner p{padding-top: 20px; color: #e2e2e2; color: rgba(255,255,255,.8);}
|
|
|
|
|
|
|
|
|
|
.alone-nav .layui-tab-title li{margin-right: 30px; padding: 0; color: #666;}
|
|
|
|
|
.alone-nav .layui-tab-title li a{ padding: 0 20px;}
|
|
|
|
|
|
|
|
|
|
.alone-download{margin: 30px 0;}
|
|
|
|
|
.alone-download .layui-btn{margin-right: 10px;}
|
|
|
|
|
.alone-download span{display: inline-block; line-height: 44px; padding-right: 20px;}
|
|
|
|
|
.alone-download span em{color: #999;}
|
|
|
|
|
|
|
|
|
|
.alone-title{margin-top: 20px;}
|
|
|
|
|
|
|
|
|
|
.alone-download-btn{text-align: center; margin-top: 50px; font-size: 0;}
|
|
|
|
|
.alone-download-btn .layui-btn{position: relative; width: 206px; height: 60px; line-height: 60px; font-size: 26px; font-weight: 300;}
|
|
|
|
|
.alone-download-btn .layui-btn+.layui-btn{margin: 0;}
|
|
|
|
|
.alone-download-btn .alone-download-right{margin-left: 20px !important; border-color: #009688; background: none; color: #009688;}
|
|
|
|
|
.alone-download-btn .layui-btn img{position: relative; top: -3px; width: 118px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 适é…多设备 */
|
|
|
|
|
@media screen and (max-width: 750px) {
|
|
|
|
|
.layui-main{width: auto; margin: 0 10px;}
|
|
|
|
|
.logo,
|
|
|
|
|
.header-demo .logo{left: 10px;}
|
|
|
|
|
.component{display: none}
|
|
|
|
|
|
|
|
|
|
.header .layui-nav-child{left: auto; right: 0;}
|
|
|
|
|
.site-demo-overflow{overflow: auto;}
|
|
|
|
|
/* 设置菜单的定位、行高 */
|
|
|
|
|
.menu{
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
line-height: 65px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置菜单内链接的显示方式、垂直对齐等(处理兼容问题) */
|
|
|
|
|
.menu a{
|
|
|
|
|
display:inline-block;
|
|
|
|
|
*display:inline;
|
|
|
|
|
*zoom:1;
|
|
|
|
|
vertical-align:top;
|
|
|
|
|
}
|
|
|
|
|
/* 设置菜单内链接的定位、内边距、外边距、颜色和字体大小等样式,以及鼠标悬停时的颜色过渡效果 */
|
|
|
|
|
.menu a{
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
margin: 0 20px;
|
|
|
|
|
color: #c2c2c2;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
.menu a:hover{
|
|
|
|
|
color: #fff;
|
|
|
|
|
transition: all.5s;
|
|
|
|
|
-webkit-transition: all.5s
|
|
|
|
|
}
|
|
|
|
|
/* 设置当前选中的菜单链接的颜色 */
|
|
|
|
|
.menu a.this{
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
/* 为当前选中的菜单链接添加底部伪元素,用于显示选中标识(如一条线),设置其样式 */
|
|
|
|
|
.menu a.this::after{
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: -1px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 5px;
|
|
|
|
|
background-color: #5FB878;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-nav-layim{display: none !important;}
|
|
|
|
|
.header .layui-nav .layui-nav-item{margin: 0;}
|
|
|
|
|
.header .layui-nav .layui-nav-item a{padding: 0 20px;}
|
|
|
|
|
.header .layui-nav .layui-nav-item[pc]{display: none;}
|
|
|
|
|
.header .layui-nav .layui-nav-item[mobile]{display: inline-block;}
|
|
|
|
|
.site-banner{height: 300px;}
|
|
|
|
|
.site-banner-bg{background-size: cover;}
|
|
|
|
|
.site-zfj{height: 100px; padding-top: 5px;}
|
|
|
|
|
.site-zfj i{top: 10px; width: 100px; height: 100px; margin-left: -50px; font-size: 100px;}
|
|
|
|
|
.site-desc{background-size: 70%; margin: 0;}
|
|
|
|
|
.site-desc .web-font-desc{padding-top: 20px; font-size: 30px;}
|
|
|
|
|
.site-desc cite{display: none;}
|
|
|
|
|
.site-download{margin-top: 0; }
|
|
|
|
|
.site-download a{height: 40px; line-height: 40px; padding: 0 25px 0 60px; border-radius: 30px; color: #fff; font-size: 16px;}
|
|
|
|
|
.site-download a cite{left: 20px;}
|
|
|
|
|
.site-banner-other{bottom: 10px;}
|
|
|
|
|
/* 设置特定类名header-index的头部背景颜色以及去除边框 */
|
|
|
|
|
.header-index{
|
|
|
|
|
background-color: #05031A;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
.header-index.site-banner-bg{}
|
|
|
|
|
/* 根据不同季节属性设置header-index不同的背景颜色 */
|
|
|
|
|
.header-index[spring]{
|
|
|
|
|
background-color: #0D1206;
|
|
|
|
|
}
|
|
|
|
|
.header-index[summer]{
|
|
|
|
|
background-color: #0A0E11;
|
|
|
|
|
}
|
|
|
|
|
.header-index[autumn]{
|
|
|
|
|
background-color: #100903;
|
|
|
|
|
}
|
|
|
|
|
.header-index[winter]{
|
|
|
|
|
background-color: #110F25/*#06041C*/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-idea{margin: 20px 0;}
|
|
|
|
|
.site-idea li{margin: 0 0 20px 0; width: 100%; height: auto; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
|
|
|
|
|
.site-hengfu img{max-width: 100%}
|
|
|
|
|
/* 设置特定类名header-demo的头部高度以及去除底部边框 */
|
|
|
|
|
.header-demo{
|
|
|
|
|
height: 60px;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
/* 设置header-demo内logo的左边距 */
|
|
|
|
|
.header-demo.logo{
|
|
|
|
|
left: 40px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置header-demo内layui-nav的顶部位置 */
|
|
|
|
|
.header-demo.layui-nav{
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
/* 设置header-demo内layui-nav项的外边距 */
|
|
|
|
|
.header-demo.layui-nav.layui-nav-item{
|
|
|
|
|
margin: 0 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-block .layui-form{margin-right: 0;}
|
|
|
|
|
/* 设置header-demo内layui-nav中当前选中项链接的内边距 */
|
|
|
|
|
.header-demo.layui-nav.layui-this a{
|
|
|
|
|
padding: 0 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layer-dir{display: none;}
|
|
|
|
|
.site-tree{position: fixed; top: 0; bottom: 0; min-height: 0; overflow: auto; z-index: 1000; left: -260px; background-color: #fff; transition: all .3s; -webkit-transition: all .3s;}
|
|
|
|
|
.site-content{width: 100%; padding: 0; overflow: auto;}
|
|
|
|
|
.site-content img{max-width: 100%;}
|
|
|
|
|
.site-tree-mobile{display: block!important; position: fixed; z-index: 100000; bottom: 15px; left: 15px; width: 50px; height: 50px; line-height: 50px; border-radius: 2px; text-align: center; background-color: rgba(0,0,0,.7); color: #fff;}
|
|
|
|
|
.site-home .site-tree-mobile{display: none!important;}
|
|
|
|
|
.site-mobile .site-tree-mobile{display: none !important;}
|
|
|
|
|
.site-mobile .site-tree{left: 0;}
|
|
|
|
|
.site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.8); z-index: 999;}
|
|
|
|
|
.site-tree-mobile i{font-size: 20px;}
|
|
|
|
|
.layui-code-view{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
|
|
|
|
|
/* 设置组件的定位、宽度以及距离左边和顶部的距离 */
|
|
|
|
|
.component{
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 160px;
|
|
|
|
|
left: 120px;
|
|
|
|
|
top: 16px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置组件内输入框的高度、左边内边距、背景颜色、边框以及文字颜色、字体大小等样式 */
|
|
|
|
|
.component.layui-input{
|
|
|
|
|
height: 30px;
|
|
|
|
|
padding-left: 12px;
|
|
|
|
|
background-color: #424652;
|
|
|
|
|
background-color: rgba(255,255,255,.05);
|
|
|
|
|
border: none 0;
|
|
|
|
|
color: #fff;
|
|
|
|
|
color: rgba(255,255,255,.5);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
/* 隐藏组件内layui-form-select的下拉箭头 */
|
|
|
|
|
.component.layui-form-select.layui-edge{
|
|
|
|
|
display: none;
|
|
|
|
|
border-top-color: #999;
|
|
|
|
|
}
|
|
|
|
|
/* 设置组件内layui-form-select下拉列表的顶部位置以及背景颜色(透明度) */
|
|
|
|
|
.component.layui-form-select dl{
|
|
|
|
|
top: 36px;
|
|
|
|
|
background-color: rgba(255,255,255,.9);
|
|
|
|
|
}
|
|
|
|
|
/* 当在header-demo内时,重新设置组件的左边距 */
|
|
|
|
|
.header-demo.component{
|
|
|
|
|
left: 185px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin .layui-side{position: fixed; top: 0; left: -260px; transition: all .3s; -webkit-transition: all .3s; z-index: 10000;}
|
|
|
|
|
.layui-body{position: static; bottom: 0; left: 0;}
|
|
|
|
|
.site-mobile .layui-side{left: 0;}
|
|
|
|
|
.site-mobile .layui-side-child{top: 50%; left: 200px; height: 300px; margin-top: -100px;}
|
|
|
|
|
|
|
|
|
|
body .layui-layout-admin .footer-demo{position: static; height: auto; line-height: 30px;}
|
|
|
|
|
.footer-demo p{height: auto;}
|
|
|
|
|
/* 子侧边栏相关样式 */
|
|
|
|
|
/* 设置layui-side-child的宽度、左边距、底部距、右边框以及背景颜色,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child{
|
|
|
|
|
width: 160px!important;
|
|
|
|
|
left: 200px;
|
|
|
|
|
bottom: 60px!important;
|
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内滚动区域的宽度 */
|
|
|
|
|
.layui-side-child.layui-side-scroll{
|
|
|
|
|
width: 170px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航的内边距、宽度、圆角以及去除默认背景 */
|
|
|
|
|
.layui-side-child.layui-nav{
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
width: 160px;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
background: none;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航子菜单的圆角 */
|
|
|
|
|
.layui-side-child.layui-nav-child{
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航标题链接以及鼠标悬停时的颜色,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-title a,
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-title a:hover,
|
|
|
|
|
.layui-side-child.layui-nav-itemed>a{
|
|
|
|
|
color: #666!important;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内展开的导航项的子菜单的下边距以及去除默认背景,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav-itemed.layui-nav-child{
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
background: none!important;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航项链接的高度、行高、颜色等样式 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-item a{
|
|
|
|
|
height: 30px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航项链接鼠标悬停时不改变背景,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-item a:hover{
|
|
|
|
|
background: none!important;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航子菜单链接的颜色,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-child a{
|
|
|
|
|
color: #999!important;
|
|
|
|
|
}
|
|
|
|
|
/* 隐藏layui-side-child内导航更多图标 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-more{
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航树中当前选中项以及其子菜单中当前选中项的样式,包括背景、颜色等,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav-tree.layui-this,
|
|
|
|
|
.layui-side-child.layui-nav-tree.layui-this>a,
|
|
|
|
|
.layui-side-child.layui-nav-tree.layui-nav-child dd.layui-this,
|
|
|
|
|
.layui-side-child.layui-nav-tree.layui-nav-child dd.layui-this a{
|
|
|
|
|
background: none;
|
|
|
|
|
color: #5FB878!important;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航子菜单链接鼠标悬停时的颜色,!important表示高优先级覆盖 */
|
|
|
|
|
.layui-side-child.layui-nav.layui-nav-child a:hover{
|
|
|
|
|
color: #009688!important;
|
|
|
|
|
}
|
|
|
|
|
/* 设置layui-side-child内导航条(可能是当前选中项指示条)的背景颜色 */
|
|
|
|
|
.layui-side-child.layui-nav-bar{
|
|
|
|
|
background-color: #5FB878;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-demo-area,
|
|
|
|
|
.site-demo-editor,
|
|
|
|
|
.site-demo-result,
|
|
|
|
|
.site-demo-editor textarea,
|
|
|
|
|
.site-demo-result iframe{position: static; width: 100%;}
|
|
|
|
|
.site-demo-editor textarea{height: 350px;}
|
|
|
|
|
.site-demo-zanzhu{display: none;}
|
|
|
|
|
.site-demo-btn{bottom: auto; top: 370px;}
|
|
|
|
|
.site-demo-result iframe{height: 500px;}
|
|
|
|
|
|
|
|
|
|
.site-demo-laytpl textarea, .site-demo-laytpl div span{margin: 0;}
|
|
|
|
|
.site-demo-tplres .site-demo-tplh2, .site-demo-tplres .site-demo-tplview{width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
|
|
|
|
|
/* 底部相关样式 */
|
|
|
|
|
/* 设置底部的内边距、行高、文本对齐方式、颜色以及字体粗细 */
|
|
|
|
|
.footer{
|
|
|
|
|
padding: 30px 0;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #666;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
/* 当在layui-layout-admin内时,设置特定类名footer-demo的高度、内边距 */
|
|
|
|
|
body.layui-layout-admin.footer-demo{
|
|
|
|
|
height: 50px;
|
|
|
|
|
padding: 5px 0;
|
|
|
|
|
}
|
|
|
|
|
/* 设置底部链接的内边距 */
|
|
|
|
|
.footer a{
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置网站联盟相关样式,设置外边距以及内部元素垂直对齐方式 */
|
|
|
|
|
.site-union{
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
.site-union>*{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
/* 设置有upyun属性的网站联盟内链接图片的宽度 */
|
|
|
|
|
.site-union a[upyun] img{
|
|
|
|
|
width: 80px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置网站联盟内span的相对定位以及顶部偏移量 */
|
|
|
|
|
.site-union span{
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 3px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置网站联盟内span内链接的样式(去除内边距、显示为行内元素、颜色等) */
|
|
|
|
|
.site-union span a{
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: inline;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
/* 设置网站联盟内span内链接鼠标悬停时添加下划线 */
|
|
|
|
|
.site-union span a:hover{
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-demo-title{position: static; left: 0;}
|
|
|
|
|
body .layui-layout-admin .site-demo{}
|
|
|
|
|
.site-demo-code{position: static; height: 350px;}
|
|
|
|
|
/* 设置footer-demo内段落的显示方式、垂直对齐方式、高度以及右边内边距 */
|
|
|
|
|
.footer-demo p{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
height: 50px;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
/* 设置footer-demo内网站联盟的相对定位以及顶部偏移量 */
|
|
|
|
|
.footer-demo.site-union{
|
|
|
|
|
position: relative;
|
|
|
|
|
top: -9px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 首页banner部分样式 */
|
|
|
|
|
/* 设置banner的定位、高度、文本对齐方式以及溢出隐藏,背景颜色 */
|
|
|
|
|
.site-banner{
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 600px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #393D49;
|
|
|
|
|
}
|
|
|
|
|
/* 以下两个类设置绝对定位,覆盖整个banner区域(可能后续用于背景图或主要内容定位) */
|
|
|
|
|
.site-banner-bg
|
|
|
|
|
,.site-banner-main{
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
/* 可能用于设置banner背景图的定位(这里只设置了背景位置的垂直方向为顶部对齐) */
|
|
|
|
|
.site-banner-bg{
|
|
|
|
|
background-position: center 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@-webkit-keyframes site-anim-closeup{ /* 特写 */
|
|
|
|
|
from {-webkit-transform: translate3d(0, 0, 0) scale(1); opacity: 1;}
|
|
|
|
|
to { -webkit-transform: translate3d(0, 400px, 0) scale(2); opacity: 0.5;}
|
|
|
|
|
/* 设置特定类名site-zfj的内上边距、高度 */
|
|
|
|
|
.site-zfj{
|
|
|
|
|
padding-top: 25px;
|
|
|
|
|
height: 220px;
|
|
|
|
|
}
|
|
|
|
|
@keyframes site-anim-closeup{
|
|
|
|
|
from {transform: translate3d(0, 0, 0) scale(1); opacity: 1;}
|
|
|
|
|
to {transform: translate3d(0, 400px, 0) scale(2); opacity: 0.5;}
|
|
|
|
|
/* 设置site-zfj内图标(i标签)的定位、宽度、高度、水平居中以及字体大小、颜色等样式 */
|
|
|
|
|
.site-zfj i{
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 50%;
|
|
|
|
|
top: 50px;
|
|
|
|
|
width: 200px;
|
|
|
|
|
height: 200px;
|
|
|
|
|
margin-left: -100px;
|
|
|
|
|
font-size: 180px;
|
|
|
|
|
color: #c2c2c2;
|
|
|
|
|
}
|
|
|
|
|
.site-out-up{-webkit-animation-duration: 3s; animation-duration: 3s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: site-anim-closeup; animation-name: site-anim-closeup; overflow: hidden;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 定义名为site-zfj的webkit浏览器下的动画关键帧,设置不同阶段的透明度、位移、旋转、缩放等动画效果 */
|
|
|
|
|
@-webkit-keyframes site-zfj {
|
|
|
|
|
0% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
|
|
|
|
|
10% {opacity: 0.8; -webkit-transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
|
|
|
|
|
35% {opacity: 0.6; -webkit-transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
|
|
|
|
|
50% {opacity: 0.4; -webkit-transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
|
|
|
|
|
80% {opacity: 0.2; -webkit-transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
|
|
|
|
|
90% {opacity: 0.1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
|
|
|
|
|
100% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);}
|
|
|
|
|
}
|
|
|
|
|
/* 定义名为site-zfj的通用动画关键帧,设置不同阶段的透明度、位移、旋转、缩放等动画效果 */
|
|
|
|
|
@keyframes site-zfj {
|
|
|
|
|
0% {opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
|
|
|
|
|
10% {opacity: 0.8; transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
|
|
|
|
|
35% {opacity: 0.6; transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
|
|
|
|
|
50% {opacity: 0.4; transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
|
|
|
|
|
80% {opacity: 0.2; transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
|
|
|
|
|
90% {opacity: 0.1; transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
|
|
|
|
|
100
|