1 Star 1 Fork 0

高禄/点名小工具

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.css 9.02 KB
一键复制 编辑 原始数据 按行查看 历史
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
position: relative;
background-color: #212121;
}
.pg-bg {
position: absolute;
width: 100%;
height: 100vh;
background: url("pg_logo-bg.png") no-repeat top center;
-o-background-size: 100vh auto;
background-size: 100vh auto;
opacity: 0.2;
z-index: -1;
}
.container {
width: 100%;
height: 100vh;
position: absolute;
z-index: 1;
top: 0;
left: 0;
}
.container a {
display: block;
height: 52px;
width: 130px;
margin: 20px 0 0 50px;
cursor: pointer;
}
.container a h1 {
display: block;
height: 52px;
width: 130px;
background: url("pg_logo.png") no-repeat 0 0;
text-indent: -9999px;
overflow: hidden;
-o-background-size: 100% 100%;
background-size: 100% 100%;
}
.container .callContent,
.container .regNameArea {
padding: 20px;
color: #fff;
position: absolute;
top: 20%;
left: 50%;
-webkit-transform: translate(-50%, -20%);
-moz-transform: translate(-50%, -20%);
-ms-transform: translate(-50%, -20%);
-o-transform: translate(-50%, -20%);
transform: translate(-50%, -20%);
}
.container .callContent .button,
.container .regNameArea .button {
text-align: center;
font-weight: 600;
font-size: 30px;
white-space: nowrap;
}
.container .callContent .button .outline,
.container .regNameArea .button .outline {
color: #fff;
overflow: hidden;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: inline-block;
font-weight: 400;
padding: 10px 30px;
line-height: 45px;
text-decoration: none;
margin-right: 20px;
cursor: pointer;
text-align: center;
-webkit-transition: all 300ms;
-o-transition: all 300ms;
-moz-transition: all 300ms;
transition: all 300ms;
}
.container .callContent .button .outline:before,
.container .regNameArea .button .outline:before,
.container .callContent .button .outline:after,
.container .regNameArea .button .outline:after,
.container .callContent .button .outline .lines:before,
.container .regNameArea .button .outline .lines:before,
.container .callContent .button .outline .lines:after,
.container .regNameArea .button .outline .lines:after {
content: "";
height: 2px;
left: 0;
position: absolute;
top: 0;
-webkit-transition: -webkit-transform 300ms;
transition: -webkit-transform 300ms;
-o-transition: -o-transform 300ms;
-moz-transition: transform 300ms, -moz-transform 300ms;
transition: transform 300ms;
transition: transform 300ms, -webkit-transform 300ms, -moz-transform 300ms, -o-transform 300ms;
width: 100%;
}
.container .callContent .button .outline:before,
.container .regNameArea .button .outline:before {
bottom: 0;
top: auto;
}
.container .callContent .button .outline .lines,
.container .regNameArea .button .outline .lines {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.container .callContent .button .outline .lines:before,
.container .regNameArea .button .outline .lines:before,
.container .callContent .button .outline .lines:after,
.container .regNameArea .button .outline .lines:after {
height: 100%;
width: 2px;
}
.container .callContent .button .outline .lines:after,
.container .regNameArea .button .outline .lines:after {
left: auto;
right: 0;
}
.container .callContent .button .outline:hover,
.container .regNameArea .button .outline:hover {
font-size: 35px;
}
.container .callContent .button .outline:hover:before,
.container .regNameArea .button .outline:hover:before {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.container .callContent .button .outline:hover:after,
.container .regNameArea .button .outline:hover:after {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.container .callContent .button .outline:hover .lines:before,
.container .regNameArea .button .outline:hover .lines:before {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.container .callContent .button .outline:hover .lines:after,
.container .regNameArea .button .outline:hover .lines:after {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.container .callContent .button #button1:before,
.container .regNameArea .button #button1:before,
.container .callContent .button #button1:after,
.container .regNameArea .button #button1:after,
.container .callContent .button #button1 .lines:before,
.container .regNameArea .button #button1 .lines:before,
.container .callContent .button #button1 .lines:after,
.container .regNameArea .button #button1 .lines:after,
.container .callContent .button #button4:before,
.container .regNameArea .button #button4:before,
.container .callContent .button #button4:after,
.container .regNameArea .button #button4:after,
.container .callContent .button #button4 .lines:before,
.container .regNameArea .button #button4 .lines:before,
.container .callContent .button #button4 .lines:after,
.container .regNameArea .button #button4 .lines:after {
background-color: #f8c013;
}
.container .callContent .button #button2:before,
.container .regNameArea .button #button2:before,
.container .callContent .button #button2:after,
.container .regNameArea .button #button2:after,
.container .callContent .button #button2 .lines:before,
.container .regNameArea .button #button2 .lines:before,
.container .callContent .button #button2 .lines:after,
.container .regNameArea .button #button2 .lines:after,
.container .callContent .button #button5:before,
.container .regNameArea .button #button5:before,
.container .callContent .button #button5:after,
.container .regNameArea .button #button5:after,
.container .callContent .button #button5 .lines:before,
.container .regNameArea .button #button5 .lines:before,
.container .callContent .button #button5 .lines:after,
.container .regNameArea .button #button5 .lines:after {
background-color: #dd483f;
}
.container .callContent .button #button3:before,
.container .regNameArea .button #button3:before,
.container .callContent .button #button3:after,
.container .regNameArea .button #button3:after,
.container .callContent .button #button3 .lines:before,
.container .regNameArea .button #button3 .lines:before,
.container .callContent .button #button3 .lines:after,
.container .regNameArea .button #button3 .lines:after,
.container .callContent .button #button6:before,
.container .regNameArea .button #button6:before,
.container .callContent .button #button6:after,
.container .regNameArea .button #button6:after,
.container .callContent .button #button6 .lines:before,
.container .regNameArea .button #button6 .lines:before,
.container .callContent .button #button6 .lines:after,
.container .regNameArea .button #button6 .lines:after {
background-color: #56c5ff;
}
.container .callContent .name,
.container .regNameArea .name {
margin-top: 50px;
text-align: center;
font-size: 60px;
font-weight: 600;
letter-spacing: 3px;
}
.container .regNameArea [name="nameArea"] {
font-size: 18px;
margin-bottom: 30px;
opacity: 0.8;
padding: 10px;
outline: none;
}
.container .regNameArea [name="nameArea"]::placeholder {
font-size: 17px;
font-family: "微软雅黑";
}
.container .callContent {
display: none;
}
.container .videoBack {
display: none;
position: fixed;
top: 40%;
transform: translateY(-40%);
cursor: pointer;
z-index: 999;
}
.container .videoBack .back {
position: absolute;
top: 0;
left: -80px;
display: flex;
align-items: center;
width: 120px;
height: 80px;
background-color: #fff;
color: #1d1d1d;
transition: all 0.3s;
}
.container .videoBack .back .clickback {
display: flex;
flex-direction: column;
width: 80px;
height: 80px;
justify-content: center;
align-items: center;
}
.container .videoBack .back .clickback svg {
width: 30px;
height: 30px;
}
.container .videoBack .back .tit {
position: absolute;
top: 0;
left: 80px;
z-index: 1;
width: 40px;
height: 80px;
background-color: #fff;
line-height: 80px;
text-align: center;
}
.container .videoBack .back .tit svg {
width: 20px;
height: 20px;
}
.container .videoBack .back:hover {
color: #1d1d1d;
left: 0px;
}
.container .selectNames {
position: absolute;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
bottom: 20px;
left: 0;
}
.container .selectNames .nameblock {
padding: 10px 15px;
border-radius: 3px;
background: #fff;
color: #a92733;
font-weight: 600;
font-size: 30px;
margin: 20px;
-webkit-box-shadow: 0 3px 10px #fff, 0 0 10px;
box-shadow: 0 3px 10px #fff, 0 0 10px;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/crazy_lu/roll-call-tool.git
git@gitee.com:crazy_lu/roll-call-tool.git
crazy_lu
roll-call-tool
点名小工具
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385