20 Star 105 Fork 18

Gitee 极速下载 / baidu-netdisk-high-speed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/b3log/baidu-netdisk-high-speed
克隆/下载
popup.css 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
88250 提交于 2017-12-24 21:46 . :art:基本功能完成
html, body {
margin: 0;
padding: 0;
}
.container {
width: 200px;
padding: 0 10px;
font-size: 12px;
line-height: 1.5;
font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei UI", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
.info {
margin-right: 10px;
}
.switch-title {
flex: 1;
font-size: 1.2em;
font-weight: bold;
text-align: left;
color: #333;
}
.btn-switch {
position: absolute;
z-index: -200000;
opacity: 0;
}
.btn-switch + label {
display: inline-block;
width: 63px;
height: 37px;
position: relative;
margin: auto;
background-color: #ddd;
border-radius: 37px;
cursor: pointer;
outline: 0;
user-select: none;
}
.btn-switch + label:before {
content: '';
display: block;
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
right: 1px;
background-color: #f1f1f1;
border-radius: 37px;
transition: background 0.4s;
}
.btn-switch + label:after {
content: '';
display: block;
position: absolute;
height: 35px;
width: 35px;
background-color: #fff;
border-radius: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: margin 0.4s;
}
.btn-switch:checked + label:before {
background-color: #8ce196;
}
.btn-switch:checked + label:after {
margin-left: 28px;
}
HTML/CSS
1
https://gitee.com/mirrors/baidu-netdisk-high-speed.git
git@gitee.com:mirrors/baidu-netdisk-high-speed.git
mirrors
baidu-netdisk-high-speed
baidu-netdisk-high-speed
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891