Merge pull request #426 from hamid-gh98/main

FIX input bg color in login page
This commit is contained in:
Ho3ein 2023-05-13 18:15:39 +03:30 committed by GitHub
commit b5dd258074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View file

@ -629,7 +629,7 @@ to{transform:scaleY(0);transform-origin:0 0;opacity:0}
.ant-input:-moz-placeholder-shown{text-overflow:ellipsis}
.ant-input:-ms-input-placeholder{text-overflow:ellipsis}
.ant-input:placeholder-shown{text-overflow:ellipsis}
.ant-input:focus,.ant-input:hover{border-color:rgb(0, 150, 112) !important;border-right-width:1px!important;background-color: rgb(0 149 111 / 10%)}
.ant-input:focus,.ant-input:hover{border-color:rgb(0, 150, 112) !important;border-right-width:1px!important;}
.ant-input:focus{outline:0;box-shadow:rgba(0, 150, 112, 0.2) 0px 0px 0px 2px}
.ant-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}
.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}

View file

@ -297,6 +297,15 @@ body {
border: 1px solid rgb(0 150 112 / 0%);
}
.ant-layout:not(.login) .ant-input:focus,
.ant-layout:not(.login) .ant-input:hover,
.ant-layout:not(.login) .ant-input-number:focus,
.ant-layout:not(.login) .ant-input-number:hover,
.ant-layout:not(.login) .ant-calendar-input:focus,
.ant-layout:not(.login) .ant-calendar-input:hover {
background-color: rgba(0, 149, 111, 0.1);
}
.ant-card-dark .ant-select-disabled .ant-select-selection {
border: 1px solid rgba(255, 255, 255, 0.2);
background-color: #242c3a;

View file

@ -46,7 +46,7 @@
</style>
<body>
<a-layout id="app" v-cloak :class="themeSwitcher.darkCardClass">
<a-layout id="app" v-cloak class="login" :class="themeSwitcher.darkCardClass">
<transition name="list" appear>
<a-layout-content>
<a-row type="flex" justify="center">