mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
146 lines
2.3 KiB
Plaintext
146 lines
2.3 KiB
Plaintext
/* stylelint-disable at-rule-name-case */
|
|
/* stylelint-disable selector-class-pattern */
|
|
@import "~antd/dist/antd.less";
|
|
|
|
@StaticBaseUrl: "https://cdn.casbin.org";
|
|
|
|
.App {
|
|
text-align: center;
|
|
}
|
|
|
|
.App-logo {
|
|
height: 40vmin;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.App-header {
|
|
background-color: #282c34;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: calc(10px + 2vmin);
|
|
color: white;
|
|
}
|
|
|
|
.App-link {
|
|
color: #61dafb;
|
|
}
|
|
|
|
#root {
|
|
height: 100%;
|
|
}
|
|
|
|
#parent-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
#content-wrap {
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
}
|
|
|
|
#login-content-wrap {
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
width: 100%;
|
|
}
|
|
|
|
#footer {
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 70px; /* Footer height */
|
|
}
|
|
|
|
#language-box-corner {
|
|
position: absolute;
|
|
top: 75px;
|
|
right: 0;
|
|
}
|
|
|
|
.language-box {
|
|
background: url("@{StaticBaseUrl}/img/muti_language.svg");
|
|
background-size: 25px, 25px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
border-radius: 5px;
|
|
width: 45px;
|
|
height: 65px;
|
|
float: right;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
}
|
|
|
|
.rightDropDown {
|
|
&:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
}
|
|
|
|
.content-warp-card {
|
|
box-shadow: 0 1px 5px 0 rgb(51 51 51 / 14%);
|
|
margin: 5px;
|
|
flex: 1;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.side-image {
|
|
display: none;
|
|
@media screen and (min-width: 1100px){
|
|
display: block;
|
|
position: relative;
|
|
width: 500px;
|
|
border-right: 0.5px solid rgb(196, 203, 215);
|
|
}
|
|
}
|
|
|
|
.forget-content{
|
|
padding: 10px 100px 20px;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 7px;
|
|
background-color: rgb(255, 255, 255);
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.20);
|
|
}
|
|
|
|
.login-panel{
|
|
margin-top: 50px;
|
|
margin-bottom: 50px;
|
|
display: flex;
|
|
background-color: rgb(255, 255, 255);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-form{
|
|
text-align: center;
|
|
padding: 30px;
|
|
}
|
|
|
|
.login-content {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.loginBackground {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1 1 0;
|
|
background: #fff no-repeat;
|
|
background-size: 100% 100%;
|
|
background-attachment: fixed;
|
|
}
|