go-proxy-bingai/web/css/index.css

264 lines
4.4 KiB
CSS
Raw Normal View History

2023-05-03 11:30:10 +08:00
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ol,
ul,
li,
form,
table,
tr,
th,
td,
input,
div {
2023-05-03 11:30:10 +08:00
border: 0;
border-collapse: collapse;
border-spacing: 0;
list-style: none;
margin: 0;
padding: 0;
box-sizing: border-box;
2023-05-03 11:30:10 +08:00
}
html {
overflow-y: scroll
}
.chat-nav {
position: fixed;
top: 20px;
right: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
}
.nav__title-github,
.nav__title-setting {
display: inline-block;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 32px;
overflow: hidden;
transition: all 0.3s ease;
text-decoration: none;
cursor: pointer;
margin-bottom: 10px;
}
.nav__title-github-icon,
.nav__title-setting-icon {
float: left;
width: 32px;
height: 32px;
border-radius: 32px;
}
.nav__title-github-content,
.nav__title-setting-content {
float: left;
margin-left: 5px;
}
@media screen and (min-width: 750px) {
.chat-nav {
top: 40px;
right: 40px;
}
.nav__title-github,
.nav__title-setting {
margin-bottom: 20px;
}
.nav__title-github:hover,
.nav__title-setting:hover {
width: 112px;
background-color: #212529;
color: #fff;
}
.nav__title-github:hover .nav__title-github-icon,
.nav__title-setting:hover .nav__title-setting-icon {
background-color: #fff;
}
}
.chat-login-bg {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
font-family: -apple-system, Roboto, SegoeUI, "Segoe UI", "Helvetica Neue", Helvetica, "Microsoft YaHei", "Meiryo UI", Meiryo, Arial Unicode MS, sans-serif;
z-index: 9999;
display: none;
}
.chat-login-bg .chat-login {
width: 90vw;
background-image: url(/cdx/bg-sprite.png);
background-position: 0% 0%;
border-radius: 1vmin;
padding: 0 4vmin;
2023-05-03 11:30:10 +08:00
}
.chat-login .chat-login-title {
text-align: center;
font-weight: 600;
text-align: center;
color: #111;
font-size: 8vmin;
margin: 4vmin 0;
2023-05-03 11:30:10 +08:00
}
.chat-login .chat-login-inp-cookie {
display: block;
text-align: center;
font-size: 5vmin;
2023-05-03 11:30:10 +08:00
border-radius: 1vmin;
border: none;
outline: none;
padding: 4vmin;
margin: 0;
width: 100%;
2023-05-03 11:30:10 +08:00
}
.chat-login-btn-group {
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-login-btn-group .chat-login-btn {
background: #fff;
color: #111;
2023-05-03 11:30:10 +08:00
border-radius: 1vmin;
text-decoration: none;
/* height: 12vmin; */
/* line-height: 12vmin; */
2023-05-03 11:30:10 +08:00
box-sizing: border-box;
font-style: normal;
font-size: 5vmin;
2023-05-03 11:30:10 +08:00
text-align: center;
cursor: pointer;
user-select: none;
margin: 4vmin 0;
padding: 3vmin 6vmin;
2023-05-03 11:30:10 +08:00
}
.chat-login-btn.chat-login-btn-save {
border-image: linear-gradient(81.62deg, #2870ea 8.72%, #1b4aef 85.01%);
background: linear-gradient(81.62deg, #2870ea 8.72%, #1b4aef 85.01%);
color: #fff;
}
.chat-login-btn.chat-login-btn-reset {
background: #f56c6c;
color: #fff;
}
2023-05-03 11:30:10 +08:00
@media screen and (min-width: 750px) {
.chat-login-bg .chat-login {
width: 550px;
padding: 0 20px;
2023-05-03 11:30:10 +08:00
}
.chat-login .chat-login-title {
font-size: 36px;
margin: 20px 0;
2023-05-03 11:30:10 +08:00
}
.chat-login .chat-login-inp-cookie {
font-size: 18px;
padding: 20px;
2023-05-03 11:30:10 +08:00
}
.chat-login-btn.chat-login-btn-save,
.chat-login-btn.chat-login-btn-cancel,
.chat-login-btn.chat-login-btn-reset {
font-size: 20px;
margin: 20px 0;
padding: 16px 40px;
2023-05-03 11:30:10 +08:00
}
}
/* loading start */
.loading-spinner {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
opacity: 1;
transition: opacity 2s ease-out;
}
.loading-spinner.hidden {
opacity: 0;
}
.loading-spinner>div {
width: 30px;
height: 30px;
background: linear-gradient(90deg, #2870EA 10.79%, #1B4AEF 87.08%);
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading-spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.loading-spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale(0)
}
40% {
-webkit-transform: scale(1.0)
}
}
@keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}
/* loading end */