mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-23 20:00:56 +08:00
chore: update snapshots due to code format
build(prettier): ignore snap file
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -17,88 +17,91 @@ exports[`InputPassword should render correctly 1`] = `
|
||||
pointer-events: auto;
|
||||
}
|
||||
</style></span></div></div><style>
|
||||
.with-label {
|
||||
display: inline-block;
|
||||
width: initial;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-align: center;
|
||||
}
|
||||
|
||||
.input-container {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: initial;
|
||||
height: calc(1.687 * 16pt);
|
||||
}
|
||||
.with-label {
|
||||
display: inline-block;
|
||||
width: initial;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-align: center;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
user-select: none;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #eaeaea;
|
||||
transition: border 0.2s ease 0s, color 0.2s ease 0s;
|
||||
}
|
||||
|
||||
.input-wrapper.left-label {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.input-wrapper.right-label {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.input-wrapper.disabled {
|
||||
background-color: #fafafa;
|
||||
border-color: #eaeaea;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
input.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.input-wrapper.hover {
|
||||
border-color: #666;
|
||||
}
|
||||
.input-container {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: initial;
|
||||
height: calc(1.687 * 16pt);
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 4px 10px;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
font-size: .875rem;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
color: #000;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input.left-icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
input.right-icon {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
::placeholder, ::-moz-placeholder, :-ms-input-placeholder, ::-webkit-input-placeholder {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
input:-webkit-autofill,
|
||||
input:-webkit-autofill:hover,
|
||||
input:-webkit-autofill:active,
|
||||
input:-webkit-autofill:focus {
|
||||
-webkit-box-shadow: 0 0 0 30px #fff inset !important;
|
||||
-webkit-text-fill-color: #000 !important;
|
||||
}
|
||||
</style></div>"
|
||||
.input-wrapper {
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
user-select: none;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #eaeaea;
|
||||
transition: border 0.2s ease 0s, color 0.2s ease 0s;
|
||||
}
|
||||
|
||||
.input-wrapper.left-label {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.input-wrapper.right-label {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.input-wrapper.disabled {
|
||||
background-color: #fafafa;
|
||||
border-color: #eaeaea;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
input.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.input-wrapper.hover {
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 4px 10px;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
font-size: .875rem;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
color: #000;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input.left-icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
input.right-icon {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
::placeholder,
|
||||
::-moz-placeholder,
|
||||
:-ms-input-placeholder,
|
||||
::-webkit-input-placeholder {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
input:-webkit-autofill,
|
||||
input:-webkit-autofill:hover,
|
||||
input:-webkit-autofill:active,
|
||||
input:-webkit-autofill:focus {
|
||||
-webkit-box-shadow: 0 0 0 30px #fff inset !important;
|
||||
-webkit-text-fill-color: #000 !important;
|
||||
}
|
||||
</style></div>"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user