mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Login FIX 1
This commit is contained in:
parent
e7297c3052
commit
71092847b4
@ -10,6 +10,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/pro-layout": "^4.10.13",
|
"@ant-design/pro-layout": "^4.10.13",
|
||||||
"@lingui/react": "^2.9.1",
|
"@lingui/react": "^2.9.1",
|
||||||
|
"@steveeeie/react-page-transition": "^1.1.2",
|
||||||
"ant-design-pro": "^2.3.2",
|
"ant-design-pro": "^2.3.2",
|
||||||
"antd": "^3.26.9",
|
"antd": "^3.26.9",
|
||||||
"autoprefixer": "9.7.4",
|
"autoprefixer": "9.7.4",
|
||||||
|
@ -86,12 +86,10 @@ class YulioID extends Component {
|
|||||||
visible={visible}
|
visible={visible}
|
||||||
className={styles.loginWrapper}
|
className={styles.loginWrapper}
|
||||||
>
|
>
|
||||||
|
<div className={styles.preheader}><h6><img src={"http://api.ragestudio.net/id.svg"} /> YulioID™</h6>
|
||||||
|
<h1>Login</h1></div>
|
||||||
<main className={styles.mainlp}>
|
<main className={styles.mainlp}>
|
||||||
<section className={styles.forms}>
|
|
||||||
<div className={styles.logHeader}>
|
|
||||||
<h6><img src={"http://api.ragestudio.net/id.svg"} /> YulioID™</h6>
|
|
||||||
<h1>Login</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
{/* <RenderInclude data={include} /> */}
|
{/* <RenderInclude data={include} /> */}
|
||||||
@ -106,7 +104,6 @@ class YulioID extends Component {
|
|||||||
<h6 className={styles.h6lp} style={{ textAlign: 'center', marginTop: '15%' }} > {StateMessage} </h6>
|
<h6 className={styles.h6lp} style={{ textAlign: 'center', marginTop: '15%' }} > {StateMessage} </h6>
|
||||||
{StateException ? <div className={styles.retryBTN}><Button style={{ width: '270px' }} type='dashed' onClick={this.handleRetry}>Retry</Button></div> : null}
|
{StateException ? <div className={styles.retryBTN}><Button style={{ width: '270px' }} type='dashed' onClick={this.handleRetry}>Retry</Button></div> : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -177,7 +174,7 @@ class YulioID extends Component {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</form>
|
</form>
|
||||||
</section>
|
|
||||||
</main>
|
</main>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,14 +2,24 @@
|
|||||||
|
|
||||||
.loginWrapper{
|
.loginWrapper{
|
||||||
:global{
|
:global{
|
||||||
|
.ant-drawer-right.ant-drawer-open.no-mask {
|
||||||
|
right: 1px;
|
||||||
|
-ms-transform: translateX(1px);
|
||||||
|
transform: translateX(1px);
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{
|
.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{
|
||||||
|
width: 100%;
|
||||||
border-radius: 20px 0 0 20px;
|
border-radius: 20px 0 0 20px;
|
||||||
}
|
}
|
||||||
|
.ant-drawer-body{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.ant-drawer {
|
.ant-drawer {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 20px 0 0 20px;
|
border-radius: 20px 0 0 20px;
|
||||||
max-width: 490px;
|
max-width: 512px;
|
||||||
min-width: 34%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.ant-drawer-content{
|
.ant-drawer-content{
|
||||||
background: #ffffff9f;
|
background: #ffffff9f;
|
||||||
@ -31,8 +41,13 @@
|
|||||||
margin: 13px;
|
margin: 13px;
|
||||||
}
|
}
|
||||||
.mainlp {
|
.mainlp {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
margin: 3em 20px 0 20px;
|
|
||||||
color: @foregroundColor;
|
color: @foregroundColor;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@ -315,11 +330,13 @@
|
|||||||
|
|
||||||
|
|
||||||
.formlogin {
|
.formlogin {
|
||||||
|
width: 95%;
|
||||||
|
height: auto;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
box-shadow: 0 3px 15px rgba(51, 51, 51, 0.2);
|
box-shadow: 0 3px 15px rgba(51, 51, 51, 0.2);
|
||||||
background: #ffffff44;
|
background: #ffffff44;
|
||||||
margin-top: 30px;
|
margin: 20px 10px 20px 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@ -339,17 +356,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.preheader{
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
.logHeader{
|
|
||||||
|
|
||||||
h1{
|
h1{
|
||||||
font: 700 48px/1.2 "Nunito", sans-serif;
|
font: 700 48px "Nunito", sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
h6{
|
h6{
|
||||||
|
padding: 3em 0 0 0;
|
||||||
line-height: 1px;
|
line-height: 1px;
|
||||||
display: flex;
|
display: flex;
|
||||||
font: 500 16px/1 "Poppins", sans-serif;
|
font: 500 16px/1 "Poppins", sans-serif;
|
||||||
@ -359,10 +375,31 @@
|
|||||||
height: 17px;
|
height: 17px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.moreActions{
|
.moreActions{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin: auto;
|
||||||
|
align-content: center;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
:global{
|
||||||
|
.ant-btn{
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 472px) {
|
||||||
|
.moreActions{
|
||||||
|
display: grid;
|
||||||
|
align-content: center;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
:global{
|
||||||
|
.ant-btn{
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -9,16 +9,16 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
.version{
|
.version{
|
||||||
display: inline;
|
display: flex;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
font-family: "Poppins", sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
float: left;
|
padding: 0 0 5px 3%;
|
||||||
margin: 0 0 5px 3%;
|
|
||||||
color: #F9F9F9;
|
color: #F9F9F9;
|
||||||
h2{
|
h2{
|
||||||
|
margin: 0 14px 0 0;
|
||||||
color: #F9F9F9;
|
color: #F9F9F9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,4 +60,4 @@
|
|||||||
@grayColor: #999;
|
@grayColor: #999;
|
||||||
@lightGrayColor: #ddd;
|
@lightGrayColor: #ddd;
|
||||||
@borderRadius: 6px;
|
@borderRadius: 6px;
|
||||||
@boxShadow: 0 2px 5px rgba(#333, 0.2);
|
@boxShadow: 0 2px 5px rgba(#333, 0.2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user