7b2主题美化 - 仿米图悬浮按钮-初一小盏
7b2主题美化 – 仿米图悬浮按钮
此内容为付费阅读,请付费后查看
1500积分
技术支持
一对一服务
安装调试
功能定制
付费阅读

7b2主题美化 – 仿米图悬浮按钮

b2美化之悬浮侧边栏滑动美化

扒自米图子主题https://www.micnt.com/

前往B2/Modules/Templates/Footer.php

全选覆盖代码

CSS代码

/*米图子主题悬浮美化开始*/
.bar-mark{
    top:unset!important;
}
.mi-newtop {
    position: fixed;
    right: 16px;
    bottom: 32px;
    width: 44px;
    z-index: 1;
}
.aside-bar{
    width:0px;
}
.minewtop {
    margin-top: 8px;
    width: 44px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.minewtop-vip {
    width: 44px;
    border: 0;
    color: #fff;
    border-radius: 4px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ff566a), to(#f84949));
    background-image: -o-linear-gradient(#ff566a, #f84949);
    background-image: linear-gradient(#ff566a, #f84949);
    font-size: 14px;
    padding: 4px 5px 10px;
    -webkit-box-shadow: 0 4px 8px rgba(248,73,73,0.24);
    box-shadow: 0 4px 8px rgba(248,73,73,0.24);
    cursor: pointer;
}
.minewtop-vip i {
    display: block;
    color: currentColor;
    font-size: 20px;
    margin-bottom: 2px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.minewtop-vip span {
    display: block;
    line-height: 1.3;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.minewtop-vip:hover i {
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    opacity: 0;
}
.minewtop-vip:hover span {
    -webkit-transform: translateY(-14px);
    -ms-transform: translateY(-14px);
    transform: translateY(-14px);
}
.minewtop .minewtop-list {
    display: block;
    text-align: center;
    padding: 0 5px;
    text-decoration: none;
    width: 100%;
    height: 44px;
    font-size: 12px;
    color: #080808;
    border: 0;
    background-color: transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
.minewtop .minewtop-list i {
    display: block;
    font-size: 20px;
    height: 44px;
    line-height: 40px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.minewtop .minewtop-list span {
    display: block;
    font-size: 12px;
    height: 44px;
    line-height: 1.3;
    padding-top: 6px;
    -webkit-transform: translate(0, -38px);
    -ms-transform: translate(0, -38px);
    transform: translate(0, -38px);
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.minewtop .minewtop-list:hover span {
    -webkit-transform: translate(0, -45px);
    -ms-transform: translate(0, -45px);
    transform: translate(0, -45px);
    opacity: 1;
}
.minewtop .minewtop-list:hover i {
    -webkit-transform: translate(0, -5px);
    -ms-transform: translate(0, -5px);
    transform: translate(0, -5px);
    opacity: 0;
}
/*米图子主题悬浮美化结束*/
© 版权声明
THE END
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容