zibll子比主题 侧边栏导航美化 返回顶部 日夜模式切换

界面预览:

定位在整站右侧边,导航带有 客服、加群(支持二维码)、返回顶部、日夜模式切换、

zibll子比主题 侧边栏导航美化 返回顶部 日夜模式切换

使用教程

子比主题后台设置 -全局功能-自定义css代码:

/*Floating navigation 902d.com wzwcb start*/
.rightList ul,li{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
.rightList ul,ol,li{list-style-type:none}
.rightList.bar-v2{position:fixed;right: 18px;bottom:34px;z-index:999;text-align:center;width:50px;height:auto;box-sizing:border-box;padding-bottom:55px;background:transparent;box-shadow:none;}
.rightList.bar-v2 .wzwcb{position:relative;transform:translateY(0);-ms-transform:translateY(0);-webkit-transform:translateY(0);-o-transform:translateY(0);width:100%;background:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,0.12);border-radius:6px}
.rightList.bar-v2 .Top{display:none;position:absolute;bottom:0;cursor:pointer;z-index:10;width:100%;height:45px;background:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,0.12);border-radius:6px;text-align:center;box-sizing:border-box;padding-top:12px;}
.bar-v2 .Top i{font-size:16px;color:#000;transition:.3s}
.bar-v2 .Top span{display:block;margin: -7px auto 0;width:16px;height:2px;border:0;border-radius:1px;}
.bar-v2 .Top:hover i{color:#448aff}
.dark-theme .bar-v2 .Top:hover i{color:#ffa363}
.bar-v2 .wzwcb li{position:relative}
.bar-v2 .wzwcb li>a{display:block;padding: 8px 0;cursor:pointer;position:relative;border:0;opacity:1;}
.bar-v2 .wzwcb li>a:after{content:"";position:absolute;top:0;left:3px;width:44px;height:1px;background:#707070;opacity:.1}
.bar-v2 .wzwcb .vip .iconfont{font-size:22px;color:#ffa363;background-image:linear-gradient(to bottom,#ffa363 0,#fd7d5b 100%);background-image:-webkit-gradient(to bottom,#ffa363 0,#fd7d5b 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.bar-v2 .wzwcb li .right-icon{display:block;margin:0 auto;background-image:url(../huzao-child/assets/images/right-icon-v2.png);background-repeat:no-repeat;background-size:auto 20px}
.bar-v2 .wzwcb .iconfont{font-size:22px;color:#448aff;background-image:linear-gradient(to bottom,#71dbb8 0,#20cca0 100%);background-image:-webkit-gradient(to bottom,#18cef2 0,#448aff 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.dark-theme .bar-v2 .wzwcb .iconfont{color:#FFC107;background-image:linear-gradient(to bottom,#FFC107 0,#ffa363 100%);background-image:-webkit-gradient(to bottom,#FFC107 0,#ffa363 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.bar-v2 .wzwcb li .sign-icon{width:18px;height:17px;background-position-x:0}
.bar-v2 .wzwcb li .custom-icon{width:18px;height:18px;background-position-x:-18px}
.bar-v2 .wzwcb li .client-icon{width:18px;height:18px;background-position-x:-37px}
.bar-v2 .wzwcb li .log-icon{width:17px;height:20px;background-position-x:-56px}
.bar-v2 .wzwcb li .recruit-icon{width:16px;height:19px;background-position-x:-73px}
.bar-v2 .wzwcb li .red-bag{width:15px;height:20px;background-position-x:-90px}
.bar-v2 .wzwcb li span{display:block;margin-top:2px;font-size:12px;color:#232323;text-align:center;transition:.3s;line-height: 16px;}
.bar-v2 .wzwcb li:hover span{color:#18cef2}
.bar-v2 .wzwcb .vip span{font-size:12px;color:#ee663f;padding:0 10px;letter-spacing:0;}
.bar-v2 .wzwcb li.vip:hover span{color:#ee663f}
.bar-v2 .wzwcb .vip .left-box{position:absolute;top:0;right:106%;cursor:pointer;width:0;opacity:0;transition:.3s;border-radius:4px;overflow:hidden;box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.33);}
.bar-v2 .wzwcb .vip:hover .left-box{width:220px;opacity:1}
.bar-v2 .wzwcb .vip .left-box>img{width:100%}
.bar-v2 .wzwcb li:hover{background:transparent}
.bar-v2 .wzwcb li .service-box{top:50%;transform:translateY(-50%)}
.wzwcb .twinkle-point a:before{top:5px;left:5px}
.wzwcb .twinkle-point a:before{position:absolute;content:'';top: 7px;left: 7px;width:6px;height:6px;border-radius:50%;background:#448aff;background:linear-gradient(45deg,#448aff 29%,#18cef2 100%);background:-webkit-linear-gradient(-45deg,#20cca0 29%,#71dbb8 100%);background:-moz-linear-gradient(45deg,#448aff 29%,#18cef2 100%);background:-ms-linear-gradient(45deg,#448aff 29%,#18cef2 100%);animation:twinkle .6s ease-in-out infinite alternate;-webkit-animation:twinkle .6s ease-in-out infinite alternate;-moz-animation:twinkle .6s ease-in-out infinite alternate;-o-animation:twinkle .6s ease-in-out infinite alternate;}
.dark-theme .wzwcb .twinkle-point a:before{background:#ffa363;background:linear-gradient(45deg,#ffa363 29%,#FFC107 100%);background:-webkit-linear-gradient(-45deg,#ffa363 29%,#FFC107 100%);background:-moz-linear-gradient(45deg,#ffa363 29%,#FFC107 100%);background:-ms-linear-gradient(45deg,#ffa363 29%,#FFC107 100%);}
@keyframes twinkle{0%{transform:scale(1);-webkit-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}
100%{transform:scale(1.6);-webkit-transform:scale(1.6);-ms-transform:scale(1.6);-o-transform:scale(1.6)}
}@-webkit-keyframes twinkle{0%{transform:scale(1);-webkit-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}
100%{transform:scale(1.6);-webkit-transform:scale(1.6);-ms-transform:scale(1.6);-o-transform:scale(1.6)}
}@-ms-keyframes twinkle{0%{transform:scale(1);-webkit-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}
100%{transform:scale(1.6);-webkit-transform:scale(1.6);-ms-transform:scale(1.6);-o-transform:scale(1.6)}
}@-o-keyframes twinkle{0%{transform:scale(1);-webkit-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}
100%{transform:scale(1.6);-webkit-transform:scale(1.6);-ms-transform:scale(1.6);-o-transform:scale(1.6)}
}
.customer-service{position:relative}
li.customer-service:hover .service-box{opacity:1;width:225px}
.wzwcb li .service-box{opacity:0;position:absolute;width:0;right:93.3%;top:50%;transform:translateY(-50%);padding-right:5px;transition:opacity .3s}
.wzwcb li .service-box .service-con{width:100%;height:100%;overflow:hidden;border-radius:4px;font-size:14px;}
.wzwcb li .service-box .service-con>a{display:block;line-height:35px;height:36px;border-bottom:1px solid rgba(255,255,255,.17);color:inherit;padding-left:34px;text-align:left}
.wzwcb li .service-box .service-con .iconfont{font-size:12px;color:inherit;margin-left:5px}
.wzwcb li .service-box .service-con p{color:inherit;padding-left:34px;text-align:left;line-height:18px}
.wzwcb li .service-box .custom-box,.wzwcb li .service-box .custom-tel{padding:6px 0;text-align:left;border-bottom:1px solid rgba(255,255,255,.17)}
.wzwcb li .service-box .btn-contact{display:block;margin:6px auto 6px 34px;width:100px;height:26px;background-color:#fff;box-shadow:0 3px 4px 0 #448affe0;border-radius:4px;line-height:26px;text-align:center;font-size:14px;transition:all .2s}
.wzwcb li .service-box .btn-contact.lg{width:140px}
.wzwcb li .service-box .btn-contact:hover{transform:translateY(-3px)}
.wzwcb li .service-box .warning-box{padding:10px 0}
.common-gradient{color:#fff;border:1px solid #448aff;background:#18cef2;background-image:-o-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:-moz-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:-webkit-linear-gradient(0deg,#448aff 0,#18cef2 100%);background-image:-ms-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:linear-gradient(90deg,#448aff 0,#18cef2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#448aff',endColorstr='#18cef2',GradientType=1);transition:all .3s ease-in-out}
.common-gradient:hover{background:#448aff;background-image:-moz-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:-webkit-linear-gradient(0deg,#448aff 0,#18cef2 100%);background-image:-ms-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:-o-linear-gradient(90deg,#448aff 0,#18cef2 100%);background-image:linear-gradient(90deg,#448aff 0,#18cef2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#448aff',endColorstr='#18cef2',GradientType=1)}
.dark-theme .common-gradient{border:1px solid #ffa363;background:#FFC107;background-image:-o-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:-moz-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:-webkit-linear-gradient(0deg,#ffa363 0,#FFC107 100%);background-image:-ms-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:linear-gradient(90deg,#ffa363 0,#FFC107 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa363',endColorstr='#FFC107',GradientType=1);transition:all .3s ease-in-out}
.dark-theme .common-gradient:hover{background:#ffa363;background-image:-moz-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:-webkit-linear-gradient(0deg,#ffa363 0,#FFC107 100%);background-image:-ms-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:-o-linear-gradient(90deg,#ffa363 0,#FFC107 100%);background-image:linear-gradient(90deg,#ffa363 0,#FFC107 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa363',endColorstr='#FFC107',GradientType=1)}
/*Floating navigation phone Style*/
@media (max-width: 768px){.rightList {display:none;}}
/*Floating navigation 902d.com  wzwcb end*/

 子比主题后台设置 -全局功能-自定义html代码:

<!--跟随样式开始 902d.com-->
<ul class="wzwcb visible-lg">
<li class="vip">
<a href="javascript:;"data-block="666" data-position="1">
<i class="iconfont icon-huiyuan"></i>
<span>特惠红包</span>
<div class="left-box">
<img src="https://www.cen.ink/wp-content/uploads/2021/01/2021011714020625.png" alt="">
</div>
</a>
</li>

<li class="sign-in user-sign-in ">
<a class="click-qiandao" href="https://www.902d.com/" title="留言">
<i class="iconfont icon-zixun"></i>
<span>快讯</span>
</a>
</li>
<li class="customer-service">
<a class="custom-w" data-block="666" data-position="4" data-ext-mark="custom-03">
<i class="iconfont icon-qq"></i>
<span>QQ</span>
</a>
<div class="service-box">
<div class="service-con">

<a href="/" target="_blank" rel="nofollow">
官方QQ群
<i class="iconfont icon-cebianlan"></i>
</a>

<a data-ext-mark="custom-01" href="https://www.902d.com/bqsm" target="_blank">
常见问题 FAQ
<i class="iconfont icon-cebianlan"></i>
</a>

<div class="custom-box">
<p>在线客服</p>
<a data-ext-mark="custom-02" href="http://wpa.qq.com/msgrd?v=3&uin=960544610&site=qq&menu=yes" rel="nofollow"
class="btn-contact custom-w" style="color: #448aff;">
点我联系
</a>
</div>
<div class="custom-tel">
<p>
直接说出您的需求!<br>切记!带上资源连接与问题! </p>
</div>
<div class="custom-tel">
<p>
工作时间: 0:00-00:00 </p>
</div>
</div>
</div>
</li>
<li class="twinkle-point">
<a class="main-shadow toggle-theme" title="切换主题" href="javascript:;">
<i class="iconfont icon-yejianzhuanhuan"></i>
<span>黑白<br>模式</span>
</a>
</li>
<li class="recruit">
<a href="/newposts" rel="nofollow" data-block="666"
data-position="8" target="_blank">
<i class="iconfont icon-tougao"></i>
<span>发布<br>文章</span>
</a>
</li>
</ul>
<div class="rollbar">
<a class="Top main-shadow muted-2-color ontop radius8 fade" style="display: block;" title="返回顶部" href="javascript:(scrollTo());">
<i class="iconfont icon-top"></i>
<span class="common-gradient"></span>
</a>
</li>
</ul>

 

 

免责声明:玩转网作为开放的信息发布平台,所有资讯仅代表作者个人观点,与玩转网无关。如文章出现侵权、违规及其他不当言论,请联系微信:pi1881

风险提示:本站所提供的资讯不代表任何投资暗示。投资有风险,入市须谨慎。

山高不厌攀,水深不厌潜,学精不厌苦,只有努力才能赢得最后的成功!

© 版权声明
THE END
感觉文章不错,分享给身边的朋友吧!
点赞9赞赏
分享