1 Star 0 Fork 1

yanima / oschinaDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
login.css 6.59 KB
一键复制 编辑 原始数据 按行查看 历史
gitconfig 提交于 2019-03-14 20:26 . second
* {
padding: 0;
margin: 0;
}
a{
text-decoration: none;
cursor: pointer;
color: #005980;
}
li{
list-style:none;
}
button{
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
}
.flex{
display: flex;
}
.float-left{
float: left
}
/* 清除浮动 */
.clearfix:before,.clearfix:after {
content: "";
display: block;
clear: both;
}
html,
body {
font-size: 14px;
width: 100%;
height: 100%;
margin: 0;
background-color: #fff;
position: relative;
overflow: hidden;
}
.main{
height: 100%;
overflow: auto;
}
/* 头部样式 */
header{
width: 100%;
min-width: 1000px;
background: #303643;
justify-content: space-around;
height: 0.46rem;
line-height: 0.46rem;
color: #fff;
position: absolute;
top: 0;
z-index: 99;
}
.left a ,.right a{
color:rgba(255,255,255,0.8);
font-size:16px;
padding: 0.1rem 0.16rem;
line-height: 0.26rem;
position: relative;
}
.right>input{
color: #fff;
font-size: 14px;
padding: 4px 12px;
border-radius: 3px;
background: transparent;
border: 1px solid #8c92a4;
}
a sup{
margin: 0;
z-index: 10;
font-size: 12px;
font-weight: normal;
position: absolute;
padding: 0.02rem 0.04rem;
border-radius: 2px;
background-color: #C71D24;
top: 0.06rem;
right: -0.06rem;
line-height: 1;
}
.right .header-button{
color: #8c92a4;
font-size: 14px;
}
.right .header-button:hover{
color: #aeb2bf;
}
/* 底部样式 */
/* 内容样式 */
#app {
width: 100%;
padding: 0.46rem 0 0;
color: #40485b;
line-height: 1.33;
margin-top: 0.46rem;
}
.main-login {
display: flex;
justify-content: center;
align-items: center;
}
.login-background{
display:table;
margin-bottom: 0.1rem;
}
.login-form{
padding: 0.3rem;
width: 5.8rem;
border: 1px solid #dce3e8;
overflow: hidden;
display:table-cell;
}
.clear{
clear: both;
}
.form-title {
font-size: 18px;
display: flex;
justify-content: space-between;
}
.form-title p{
font-size: 14px;
}
.form-title .login-button{
color: #fe7300;
cursor: pointer;
}
.form-content{
padding: 0.12rem ;
}
a.emailLink{
font-size: 12px;
line-height: 0.4rem;
margin-left: 0.2rem;
text-align: center;
flex-grow: 1;
cursor: pointer;
}
.form-item{
display: flex;
justify-content:flex-start;
margin-bottom: 0.14rem;
}
.form-item-title{
width: 0.8rem;
font-weight: 700;
line-height: 0.4rem;
text-align: right;
margin-right: 0.2rem;
}
.default-input ,.domain{
padding: 0.1rem 0.2rem;
font-size: 16px;
background: #F3F6F8;
box-shadow: none;
border-radius: 2px;
border: 1px solid #dce3e8;
}
.email-code{
border: 1px solid #fe7300;
color: #fe7300;
padding: 0.1rem 0;
width: 40%;
text-align: center;
}
.input-style{
width: 3rem;
display: flex;
}
.input-style .default-input{
width: 60%;
}
.secret-after{
position: relative;
}
.eyes{
width: 0.16rem;
height: 0.16rem;
border-radius:75% 25%;
transform: rotate(45deg);
background: rgba(0,0,0,0.4);
position: absolute;
top: 50%;
right: 50%;
margin-top: -0.08rem;
margin-right: -1.1rem;
}
.domain{
border-right: none;
padding: 0.1rem 0;
font-size: 14px;
line-height: 1.13;
}
.validate-icon{
height: 0.4rem;
line-height: 0.4rem;
margin-left: 0.04rem;
}
.error{
border-color: #dbb1b1;
color: #d95c5c;
}
.success{
color: #6cc644;
}
input.error{
background: #fff0f0;
}
.validate{
margin-left: 1rem;
max-width: 3rem;
display: none;
line-height: 1.13;
text-align: left;
}
p.validate.error,p.validate.success{
display: block;
margin-bottom: 0.14rem;
}
.norm{
margin-left: 1rem;
margin-bottom: 0.1rem;
}
.norm input,.norm p{
float: left;
}
.submit{
display: block;
width: 3rem;
padding:0.08rem 0.26rem;
background: #fe7300;
text-align: center;
margin-left:1rem;
color: #fff;
font-size: 18px;
font-weight: 500;
}
.other-login{
width: 100%;
}
.other-login p{
margin: 0.3rem auto;
text-align: center;
color: #303643;
font-size: 16px;
}
.other-login img{
width: 100%;
}
/* 内容侧边广告 */
.login-message{
line-height: 1.13;
border: 1px solid #dce3e8;
border-left: none;
text-align: left;
padding: 0.3rem 0.4rem;
width: 2.75rem;
box-sizing: border-box;
display:table-cell;
}
.title-message{
font-size: 16px;
font-weight: 500;
margin: 0.25rem 0 0.16rem;
color: #333;
}
.title-message:first-child{
margin-top: -0.02rem;
}
.features{
padding: 0;
margin: 0.14rem 0;
}
.features li{
position: relative;
padding-left: 20px;
margin-bottom: 10px;
}
.features li::before{
color: #fff;
content: "√";
background: #fe7300;
border-radius: 50%;
font-size: 0.12rem;
width: 0.16rem;
height: 0.16rem;
line-height: 0.16rem;
text-align: center;
left: 0px;
position: absolute;
}
.message-cases{
padding: 0;
margin: -0.05rem;
}
.login-message>p{
margin-bottom: 0.1rem;
}
.message-cases li{
display: inline-flex;
margin: 0.05rem;
width: 0.87rem;
height: 0.31rem;
justify-content: center;
border: 1px solid #DCE3E8
}
.message-cases li img{
width: 100%;
height: 100%;
}
.login-message p a{
text-decoration: none;
cursor: pointer;
color: #005980;
}
/* 底部样式 */
footer{
color: #9d9d9d;
background: #fbfbfb;
border-top: 1px solid #E3E9ED;
min-width: 1000px;
margin: 0.48rem 0 0 0;
}
.bottom-content{
text-align: center;
}
.bottom-content img{
width: 70%;
margin :0.1rem auto;
}
.bottom-bar{
background: #303643;
color: #9d9d9d;
justify-content: space-around;
line-height: 0.4rem;
}
.bar-right a{
color: #9d9d9d;
padding: 0 0.06rem;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/shan_mi/oschinaDemo.git
git@gitee.com:shan_mi/oschinaDemo.git
shan_mi
oschinaDemo
oschinaDemo
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891