mirror of
https://github.com/tjy-gitnub/win12.git
synced 2026-08-31 01:55:35 +08:00
09b3f33918
更新来自 @NB-group 和 @User782Tec - 改进了登录界面,增加电源操作 - 兼容开发环境,在本地开发时不启用缓存和PWA - 新增了Python解释器(此项更改由@NB-Group提供灵感与框架,@User782Tec完善) - 修复了终端选择不正常的问题 - 改进了终端,可通过应用标识符来打开应用 - 格式化部分文档
115 lines
2.4 KiB
CSS
115 lines
2.4 KiB
CSS
#loginback {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
/* background: linear-gradient(130deg, #ad6eca, #3b91d8); */
|
|
background-image: url('../../img/login.jpg'); /* Lucas Andrade, CC BY SA-4.0 */
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
transition: filter 500ms, background-color 500ms, opacity 1500ms ease-in-out;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
display: none;
|
|
z-index: 101;
|
|
}
|
|
|
|
#login {
|
|
cursor: pointer;
|
|
padding: 4px 50px 4px 50px;
|
|
border: 2px solid #aaa;
|
|
background-color: #eeeeee80;
|
|
backdrop-filter: blur(10px) brightness(2);
|
|
color: #121212;
|
|
transition: background-color 300ms, transform cubic-bezier(0.14, 1.02, 0.17, 0.03) 300ms;
|
|
font-size: 18px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#login:hover {
|
|
background-color: #fafafa50;
|
|
}
|
|
|
|
#login:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
#login-after {
|
|
color: #fefefe;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 18px;
|
|
margin: 6px 0px 6px 0px;
|
|
}
|
|
|
|
#loginback>div.user {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 100%;
|
|
background-image: url("../../icon/user.svg");
|
|
background-size: 65% 65%;
|
|
background-position: 50% 50%;
|
|
background-repeat: no-repeat;
|
|
margin-bottom: 10px;
|
|
background-color: #ddd;
|
|
transition: filter 500ms;
|
|
margin-top: -35px;
|
|
}
|
|
|
|
#loginback>div.name {
|
|
color: #fefefe;
|
|
font-size: 30px;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
margin-bottom: 15px;
|
|
transition: color 500ms;
|
|
}
|
|
|
|
#loginback.close,
|
|
#loginback.close>div.user {
|
|
filter: brightness(0);
|
|
}
|
|
|
|
#loginback.close>div.name,
|
|
#loginback.close #login-after {
|
|
color: #000 !important;
|
|
}
|
|
|
|
#loginback.close {
|
|
background-color: black;
|
|
}
|
|
|
|
#loginback .power {
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 165px;
|
|
justify-content: space-evenly;
|
|
color: #fff;
|
|
align-items: center;
|
|
}
|
|
|
|
#loginback .power>* {
|
|
cursor: pointer;
|
|
transition: all 300ms;
|
|
font-size: 44px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 7px;
|
|
transition: transform cubic-bezier(0.14, 1.02, 0.17, 0.03) 300ms;
|
|
}
|
|
|
|
#loginback .power>*:hover {
|
|
background-color: var(--card);
|
|
}
|
|
|
|
#loginback .power>*:active {
|
|
transform: scale(0.95);
|
|
}
|