Removed redundant css and disabled buttons on error
This commit is contained in:
1 parent
d39a716ab6
commit
1f21212072
7 files changed
+13
-17
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
.background-pattern {
|
.background-pattern {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0%;
|
top: -5%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|||||||
@@ -36,7 +36,8 @@
|
|||||||
.field .MuiInputBase-root:has(.MuiInputAdornment-root) {
|
.field .MuiInputBase-root:has(.MuiInputAdornment-root) {
|
||||||
padding-right: var(--env-var-spacing-1-minus);
|
padding-right: var(--env-var-spacing-1-minus);
|
||||||
}
|
}
|
||||||
.field .MuiInputBase-root:has(.copy.MuiInputAdornment-root > .MuiButtonBase-root) {
|
.field
|
||||||
|
.MuiInputBase-root:has(.copy.MuiInputAdornment-root > .MuiButtonBase-root) {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
.field .MuiInputBase-root .copy.MuiInputAdornment-root .MuiButtonBase-root {
|
.field .MuiInputBase-root .copy.MuiInputAdornment-root .MuiButtonBase-root {
|
||||||
@@ -64,7 +65,7 @@
|
|||||||
border-color: var(--env-var-color-29);
|
border-color: var(--env-var-color-29);
|
||||||
border-radius: var(--env-var-radius-1);
|
border-radius: var(--env-var-radius-1);
|
||||||
}
|
}
|
||||||
.field:not(:has(.input-error))
|
.field:not(:has(.Mui-disabled)):not(:has(.input-error))
|
||||||
.MuiOutlinedInput-root:hover:not(:has(input:focus)):not(:has(textarea:focus))
|
.MuiOutlinedInput-root:hover:not(:has(input:focus)):not(:has(textarea:focus))
|
||||||
fieldset {
|
fieldset {
|
||||||
border-color: var(--env-var-color-29);
|
border-color: var(--env-var-color-29);
|
||||||
|
|||||||
@@ -67,17 +67,6 @@
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.edit-profile-form__wrapper input,
|
|
||||||
.edit-password-form__wrapper input,
|
|
||||||
#edit-organization-name,
|
|
||||||
#input-team-member {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
#edit-new-password + div > button > svg,
|
|
||||||
#edit-confirm-password + div > button > svg,
|
|
||||||
#edit-current-password + div > button > svg {
|
|
||||||
color: var(--env-var-color-29);
|
|
||||||
}
|
|
||||||
|
|
||||||
.edit-team-form__wrapper td {
|
.edit-team-form__wrapper td {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
} */
|
} */
|
||||||
|
|
||||||
.login-form{
|
.login-form{
|
||||||
margin-top: 102px;
|
margin-top: 95px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.google-enter {
|
.google-enter {
|
||||||
|
|||||||
@@ -177,7 +177,12 @@ const Login = () => {
|
|||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack gap={theme.gap.ml} mt={theme.gap.large}>
|
<Stack gap={theme.gap.ml} mt={theme.gap.large}>
|
||||||
<Button type="submit" level="primary" label="Sign in" />
|
<Button
|
||||||
|
type="submit"
|
||||||
|
level="primary"
|
||||||
|
label="Sign in"
|
||||||
|
disabled={Object.keys(errors).length !== 0 && true}
|
||||||
|
/>
|
||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
|
|||||||
@@ -34,5 +34,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.register-form {
|
.register-form {
|
||||||
margin-top: 102px;
|
margin-top: 95px;
|
||||||
}
|
}
|
||||||
@@ -243,6 +243,7 @@ const Register = () => {
|
|||||||
level="primary"
|
level="primary"
|
||||||
label="Get started"
|
label="Get started"
|
||||||
sx={{ marginBottom: theme.gap.large }}
|
sx={{ marginBottom: theme.gap.large }}
|
||||||
|
disabled={Object.keys(errors).length !== 0 && true}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in new issue
Block a user