diff --git a/frontend/src/js/common-ui/AsyncAutocomplete.tsx b/frontend/src/js/common-ui/AsyncAutocomplete.tsx index d7a9f1bb..0c4373fe 100644 --- a/frontend/src/js/common-ui/AsyncAutocomplete.tsx +++ b/frontend/src/js/common-ui/AsyncAutocomplete.tsx @@ -13,8 +13,7 @@ // limitations under the License. import React, { useEffect, useState } from 'react'; -import { Autocomplete, TextField } from '@mui/material'; -import { useTheme } from '@mui/material/styles'; +import { Autocomplete, TextField, useTheme } from '@mui/material'; import { TIMEOUTS } from '@northern.tech/store/constants'; import { useDebounce } from '@northern.tech/utils/debouncehook'; @@ -85,14 +84,16 @@ export const AsyncAutocomplete = ({ label={label} placeholder={placeholder} style={styles.textField} - InputProps={{ - ...params.InputProps, - endAdornment: ( - <> - {loading && } - {params.InputProps.endAdornment} - - ) + slotProps={{ + input: { + ...params.InputProps, + endAdornment: ( + <> + {loading && } + {params.InputProps.endAdornment} + + ) + } }} /> )} diff --git a/frontend/src/js/common-ui/ChipSelect.tsx b/frontend/src/js/common-ui/ChipSelect.tsx index a13700ea..1d5fddd0 100644 --- a/frontend/src/js/common-ui/ChipSelect.tsx +++ b/frontend/src/js/common-ui/ChipSelect.tsx @@ -18,7 +18,7 @@ import { Autocomplete, TextField } from '@mui/material'; import { duplicateFilter, unionizeStrings } from '@northern.tech/utils/helpers'; -export const ChipSelect = ({ className = '', name, disabled = false, inputRef, label = '', options = [], placeholder = '' }) => { +export const ChipSelect = ({ className = '', name, disabled = false, helperText, inputRef, label = '', options = [], placeholder = '' }) => { const [value, setValue] = useState(''); const { control, getValues } = useFormContext(); @@ -72,13 +72,17 @@ export const ChipSelect = ({ className = '', name, disabled = false, inputRef, l onTextInputLeave(e.target.value, formOnChange)} onChange={e => onTextInputChange(e.target.value, 'input', formOnChange)} placeholder={currentSelection.length ? '' : placeholder} + helperText={helperText} inputRef={inputRef} /> )} diff --git a/frontend/src/js/common-ui/DeviceNameInput.tsx b/frontend/src/js/common-ui/DeviceNameInput.tsx index e73f47ad..227fd8e2 100644 --- a/frontend/src/js/common-ui/DeviceNameInput.tsx +++ b/frontend/src/js/common-ui/DeviceNameInput.tsx @@ -15,7 +15,7 @@ import React, { useEffect, useRef, useState } from 'react'; import { useDispatch } from 'react-redux'; // material ui -import { Input, InputAdornment } from '@mui/material'; +import { InputAdornment, OutlinedInput } from '@mui/material'; import { makeStyles } from 'tss-react/mui'; import { setDeviceTags } from '@northern.tech/store/thunks'; @@ -71,7 +71,7 @@ export const DeviceNameInput = ({ device, isHovered }) => { const onInputClick = e => e.stopPropagation(); return ( - ({ - root: { - input: { - fontSize: '13px' - } - } -})); - const endAdornment = ( @@ -46,8 +37,7 @@ const startAdornment = ( // due to search not working reliably for single letter searches, only start at 2 const MINIMUM_SEARCH_LENGTH = 2; -export const ControlledSearch = ({ isSearching, name = 'search', onSearch, placeholder = 'Search devices', style = {} }) => { - const { classes } = useStyles(); +export const ControlledSearch = ({ className = '', isSearching, name = 'search', onSearch, placeholder = 'Search devices', style = {} }) => { const { control, watch } = useFormContext(); const inputRef = useRef(); const focusLockRef = useRef(true); @@ -102,8 +92,8 @@ export const ControlledSearch = ({ isSearching, name = 'search', onSearch, place control={control} render={({ field }) => ( { - const { searchTerm, onSearch, trigger } = props; + const { className = '', searchTerm, onSearch, trigger } = props; const methods = useForm({ mode: 'onChange', defaultValues: { search: searchTerm ?? '' } }); const { handleSubmit } = methods; const onSubmit = useCallback(search => onSearch(search, !trigger), [onSearch, trigger]); return ( -
onSearch(search, !trigger))}> + onSearch(search, !trigger))}> diff --git a/frontend/src/js/common-ui/__snapshots__/DeviceNameInput.test.tsx.snap b/frontend/src/js/common-ui/__snapshots__/DeviceNameInput.test.tsx.snap index 0ec7b8c3..f02b8663 100644 --- a/frontend/src/js/common-ui/__snapshots__/DeviceNameInput.test.tsx.snap +++ b/frontend/src/js/common-ui/__snapshots__/DeviceNameInput.test.tsx.snap @@ -19,6 +19,8 @@ exports[`DeviceNameInput Component renders correctly 1`] = ` -ms-flex-align: center; align-items: center; position: relative; + border-radius: 4px; + padding-right: 14px; color: rgba(10, 10, 11, 0.78); font-size: 0.8125rem; } @@ -28,73 +30,30 @@ exports[`DeviceNameInput Component renders correctly 1`] = ` cursor: default; } -.emotion-0::after { - left: 0; - bottom: 0; - content: ""; - position: absolute; - right: 0; - -webkit-transform: scaleX(0); - -moz-transform: scaleX(0); - -ms-transform: scaleX(0); - transform: scaleX(0); - -webkit-transition: -webkit-transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-0.Mui-focused:after { - -webkit-transform: scaleX(1) translateX(0); - -moz-transform: scaleX(1) translateX(0); - -ms-transform: scaleX(1) translateX(0); - transform: scaleX(1) translateX(0); -} - -.emotion-0.Mui-error::before, -.emotion-0.Mui-error::after { - border-bottom-color: #ab1000; -} - -.emotion-0::before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); - left: 0; - bottom: 0; - content: "\\00a0"; - position: absolute; - right: 0; - -webkit-transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-0:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 2px solid rgba(10, 10, 11, 0.78); +.emotion-0:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(10, 10, 11, 0.78); } @media (hover: none) { - .emotion-0:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); + .emotion-0:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); } } -.emotion-0.Mui-disabled:before { - border-bottom-style: dotted; +.emotion-0.Mui-focused .MuiOutlinedInput-notchedOutline { + border-width: 2px; } -.emotion-0::after { - border-bottom: 2px solid #337a87; +.emotion-0.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #337a87; } -.emotion-0:before { - border-bottom: 1px solid rgb(224, 224, 224); +.emotion-0.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #ab1000; } -.emotion-0:hover:not($disabled):before { - border-bottom: 2px solid #337a87!important; -} - -.emotion-0:after { - border-bottom: 2px solid #337a87; +.emotion-0.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); } .emotion-1 { @@ -115,6 +74,8 @@ exports[`DeviceNameInput Component renders correctly 1`] = ` animation-name: mui-auto-fill-cancel; -webkit-animation-duration: 10ms; animation-duration: 10ms; + padding: 16.5px 14px; + padding-right: 0; } .emotion-1::-webkit-input-placeholder { @@ -186,6 +147,10 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-1:focus::-ms-input-p animation-name: mui-auto-fill; } +.emotion-1:-webkit-autofill { + border-radius: inherit; +} + .emotion-2 { display: -webkit-box; display: -webkit-flex; @@ -341,11 +306,39 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-1:focus::-ms-input-p margin-right: 8px; } +.emotion-6 { + text-align: left; + position: absolute; + bottom: 0; + right: 0; + top: -5px; + left: 0; + margin: 0; + padding: 0 8px; + pointer-events: none; + border-radius: inherit; + border-style: solid; + border-width: 1px; + overflow: hidden; + min-width: 0%; + border-color: rgba(0, 0, 0, 0.23); +} + +.emotion-7 { + float: unset; + width: auto; + overflow: hidden; + padding: 0; + line-height: 11px; + -webkit-transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; + transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; +} +
+ `; diff --git a/frontend/src/js/common-ui/__snapshots__/Search.test.tsx.snap b/frontend/src/js/common-ui/__snapshots__/Search.test.tsx.snap index a0caaa19..f7537d1c 100644 --- a/frontend/src/js/common-ui/__snapshots__/Search.test.tsx.snap +++ b/frontend/src/js/common-ui/__snapshots__/Search.test.tsx.snap @@ -15,14 +15,9 @@ exports[`Search Component renders correctly 1`] = ` margin: 0; border: 0; vertical-align: top; - margin-top: 18px; min-width: 240px; } -.emotion-0 input { - font-size: 13px; -} - .emotion-1 { line-height: 1.4375em; font-family: Lato,sans-serif; @@ -41,6 +36,9 @@ exports[`Search Component renders correctly 1`] = ` -ms-flex-align: center; align-items: center; position: relative; + border-radius: 4px; + padding-left: 14px; + padding-right: 14px; } .emotion-1.Mui-disabled { @@ -48,77 +46,30 @@ exports[`Search Component renders correctly 1`] = ` cursor: default; } -label+.emotion-1 { - margin-top: 16px; -} - -.emotion-1::after { - left: 0; - bottom: 0; - content: ""; - position: absolute; - right: 0; - -webkit-transform: scaleX(0); - -moz-transform: scaleX(0); - -ms-transform: scaleX(0); - transform: scaleX(0); - -webkit-transition: -webkit-transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-1.Mui-focused:after { - -webkit-transform: scaleX(1) translateX(0); - -moz-transform: scaleX(1) translateX(0); - -ms-transform: scaleX(1) translateX(0); - transform: scaleX(1) translateX(0); -} - -.emotion-1.Mui-error::before, -.emotion-1.Mui-error::after { - border-bottom-color: #ab1000; -} - -.emotion-1::before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); - left: 0; - bottom: 0; - content: "\\00a0"; - position: absolute; - right: 0; - -webkit-transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-1:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 2px solid rgba(10, 10, 11, 0.78); +.emotion-1:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(10, 10, 11, 0.78); } @media (hover: none) { - .emotion-1:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); + .emotion-1:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); } } -.emotion-1.Mui-disabled:before { - border-bottom-style: dotted; +.emotion-1.Mui-focused .MuiOutlinedInput-notchedOutline { + border-width: 2px; } -.emotion-1::after { - border-bottom: 2px solid #337a87; +.emotion-1.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #337a87; } -.emotion-1:before { - border-bottom: 1px solid rgb(224, 224, 224); +.emotion-1.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #ab1000; } -.emotion-1:hover:not($disabled):before { - border-bottom: 2px solid #337a87!important; -} - -.emotion-1:after { - border-bottom: 2px solid #337a87; +.emotion-1.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); } .emotion-2 { @@ -177,6 +128,10 @@ label+.emotion-1 { -webkit-animation-duration: 10ms; animation-duration: 10ms; padding-top: 1px; + padding: 16.5px 14px; + padding: 8.5px 14px; + padding-left: 0; + padding-right: 0; } .emotion-4::-webkit-input-placeholder { @@ -248,6 +203,10 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p animation-name: mui-auto-fill; } +.emotion-4:-webkit-autofill { + border-radius: inherit; +} + .emotion-5 { display: -webkit-box; display: -webkit-flex; @@ -263,17 +222,46 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p margin-left: 8px; } +.emotion-6 { + text-align: left; + position: absolute; + bottom: 0; + right: 0; + top: -5px; + left: 0; + margin: 0; + padding: 0 8px; + pointer-events: none; + border-radius: inherit; + border-style: solid; + border-width: 1px; + overflow: hidden; + min-width: 0%; + border-color: rgba(0, 0, 0, 0.23); +} + +.emotion-7 { + float: unset; + width: auto; + overflow: hidden; + padding: 0; + line-height: 11px; + -webkit-transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; + transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; +} +
span { + padding-left: 5px; + padding-right: 5px; + display: inline-block; + opacity: 0; + visibility: visible; +} + +.emotion-11 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -531,7 +539,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p font-size: 1.3929rem; } -.emotion-9 iconButton { +.emotion-11 iconButton { margin-right: 8px; } @@ -554,7 +562,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p style="margin-top: 0px;" >
@@ -615,7 +635,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p >
+ @@ -1309,7 +1362,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p >
diff --git a/frontend/src/js/common-ui/forms/AddonSelect.tsx b/frontend/src/js/common-ui/forms/AddonSelect.tsx index cff1bbc5..d3faa400 100644 --- a/frontend/src/js/common-ui/forms/AddonSelect.tsx +++ b/frontend/src/js/common-ui/forms/AddonSelect.tsx @@ -33,6 +33,8 @@ export const AddonSelect = (props: AddonSelectProps) => { Select Addons updateInputs('key', index, e)} type="text" /> + updateInputs('key', index, e)} type="text" /> {hasError && {errortext || error}} - updateInputs('value', index, e)} type="text" /> + updateInputs('value', index, e)} type="text" /> {inputs.length > 1 && !hasRemovalDisabled ? ( removeInput(index)} size="large"> @@ -99,12 +103,12 @@ export const KeyValueEditor = ({ disabled, errortext, initialInput = {}, inputHe ) : ( )} - {Helptip && } + {Helptip && } ); })}
-
+
-
+
{inputs.length > 1 ? ( clear all diff --git a/frontend/src/js/common-ui/forms/PasswordInput.tsx b/frontend/src/js/common-ui/forms/PasswordInput.tsx index 942be7a1..01ae55a2 100644 --- a/frontend/src/js/common-ui/forms/PasswordInput.tsx +++ b/frontend/src/js/common-ui/forms/PasswordInput.tsx @@ -15,7 +15,7 @@ import React, { useEffect, useRef, useState } from 'react'; import { Controller, useFormContext, useWatch } from 'react-hook-form'; import { CheckCircle as CheckIcon, Visibility as VisibilityIcon, VisibilityOff as VisibilityOffIcon } from '@mui/icons-material'; -import { Button, FormControl, FormHelperText, IconButton, Input, InputAdornment, InputLabel } from '@mui/material'; +import { Button, FormControl, FormHelperText, IconButton, InputAdornment, InputLabel, OutlinedInput } from '@mui/material'; import { TIMEOUTS } from '@northern.tech/store/constants'; import { toggle } from '@northern.tech/utils/helpers'; @@ -146,6 +146,7 @@ export const PasswordInput = ({ return score > SCORE_THRESHOLD && isValid; }; + const showAsNotched = label && typeof label !== 'string' ? { notched: true } : {}; return (
@@ -158,9 +159,10 @@ export const PasswordInput = ({ {label} - } + {...showAsNotched} /> {(errors[errorKey] || error)?.message} diff --git a/frontend/src/js/common-ui/forms/TextInput.tsx b/frontend/src/js/common-ui/forms/TextInput.tsx index 32ffbce1..4368c97e 100644 --- a/frontend/src/js/common-ui/forms/TextInput.tsx +++ b/frontend/src/js/common-ui/forms/TextInput.tsx @@ -14,7 +14,7 @@ import React from 'react'; import { Controller, useFormContext } from 'react-hook-form'; -import { FormControl, FormHelperText, Input, InputLabel } from '@mui/material'; +import { FormControl, FormHelperText, InputLabel, OutlinedInput } from '@mui/material'; import { runValidations } from './Form'; @@ -65,9 +65,10 @@ export const TextInput = ({ {label} - { @@ -80,7 +81,6 @@ export const TextInput = ({ onChange={({ target: { value } }) => onChange(value)} onBlur={() => (validations.includes('trim') ? onChange((value ?? passedValue).trim()) : onBlur)} placeholder={hint} - required={required} type={type} {...InputProps} /> diff --git a/frontend/src/js/common-ui/forms/__snapshots__/Form.test.tsx.snap b/frontend/src/js/common-ui/forms/__snapshots__/Form.test.tsx.snap index d5926b39..46c28b97 100644 --- a/frontend/src/js/common-ui/forms/__snapshots__/Form.test.tsx.snap +++ b/frontend/src/js/common-ui/forms/__snapshots__/Form.test.tsx.snap @@ -156,7 +156,6 @@ exports[`Form Component renders correctly 1`] = ` margin: 0; border: 0; vertical-align: top; - margin-top: 18px; min-width: 240px; } @@ -184,6 +183,13 @@ exports[`Form Component renders correctly 1`] = ` transform: translate(0, 20px) scale(1); -webkit-transition: color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,-webkit-transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,max-width 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; transition: color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,max-width 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; + z-index: 1; + pointer-events: none; + -webkit-transform: translate(14px, 16px) scale(1); + -moz-transform: translate(14px, 16px) scale(1); + -ms-transform: translate(14px, 16px) scale(1); + transform: translate(14px, 16px) scale(1); + max-width: calc(100% - 24px); } .emotion-6.Mui-focused { @@ -220,6 +226,8 @@ exports[`Form Component renders correctly 1`] = ` -ms-flex-align: center; align-items: center; position: relative; + border-radius: 4px; + padding-right: 14px; } .emotion-7.Mui-disabled { @@ -227,77 +235,30 @@ exports[`Form Component renders correctly 1`] = ` cursor: default; } -label+.emotion-7 { - margin-top: 16px; -} - -.emotion-7::after { - left: 0; - bottom: 0; - content: ""; - position: absolute; - right: 0; - -webkit-transform: scaleX(0); - -moz-transform: scaleX(0); - -ms-transform: scaleX(0); - transform: scaleX(0); - -webkit-transition: -webkit-transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-7.Mui-focused:after { - -webkit-transform: scaleX(1) translateX(0); - -moz-transform: scaleX(1) translateX(0); - -ms-transform: scaleX(1) translateX(0); - transform: scaleX(1) translateX(0); -} - -.emotion-7.Mui-error::before, -.emotion-7.Mui-error::after { - border-bottom-color: #ab1000; -} - -.emotion-7::before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); - left: 0; - bottom: 0; - content: "\\00a0"; - position: absolute; - right: 0; - -webkit-transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - pointer-events: none; -} - -.emotion-7:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 2px solid rgba(10, 10, 11, 0.78); +.emotion-7:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(10, 10, 11, 0.78); } @media (hover: none) { - .emotion-7:hover:not(.Mui-disabled, .Mui-error):before { - border-bottom: 1px solid rgba(0, 0, 0, 0.42); + .emotion-7:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); } } -.emotion-7.Mui-disabled:before { - border-bottom-style: dotted; +.emotion-7.Mui-focused .MuiOutlinedInput-notchedOutline { + border-width: 2px; } -.emotion-7::after { - border-bottom: 2px solid #337a87; +.emotion-7.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #337a87; } -.emotion-7:before { - border-bottom: 1px solid rgb(224, 224, 224); +.emotion-7.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #ab1000; } -.emotion-7:hover:not($disabled):before { - border-bottom: 2px solid #337a87!important; -} - -.emotion-7:after { - border-bottom: 2px solid #337a87; +.emotion-7.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); } .emotion-8 { @@ -318,6 +279,8 @@ label+.emotion-7 { animation-name: mui-auto-fill-cancel; -webkit-animation-duration: 10ms; animation-duration: 10ms; + padding: 16.5px 14px; + padding-right: 0; } .emotion-8::-webkit-input-placeholder { @@ -389,6 +352,10 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p animation-name: mui-auto-fill; } +.emotion-8:-webkit-autofill { + border-radius: inherit; +} + .emotion-9 { display: -webkit-box; display: -webkit-flex; @@ -503,6 +470,34 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p } .emotion-13 { + text-align: left; + position: absolute; + bottom: 0; + right: 0; + top: -5px; + left: 0; + margin: 0; + padding: 0 8px; + pointer-events: none; + border-radius: inherit; + border-style: solid; + border-width: 1px; + overflow: hidden; + min-width: 0%; + border-color: rgba(0, 0, 0, 0.23); +} + +.emotion-14 { + float: unset; + width: auto; + overflow: hidden; + padding: 0; + line-height: 11px; + -webkit-transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; + transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; +} + +.emotion-15 { color: rgba(0, 0, 0, 0.54); font-family: Lato,sans-serif; font-weight: 400; @@ -513,17 +508,165 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p margin-right: 0; margin-bottom: 0; margin-left: 0; + margin-left: 14px; + margin-right: 14px; } -.emotion-13.Mui-disabled { +.emotion-15.Mui-disabled { color: rgba(0, 0, 0, 0.38); } -.emotion-13.Mui-error { +.emotion-15.Mui-error { color: #ab1000; } +.emotion-18 { + line-height: 1.4375em; + font-family: Lato,sans-serif; + font-weight: 400; + font-size: 0.9286rem; + color: rgba(10, 10, 11, 0.78); + box-sizing: border-box; + position: relative; + cursor: text; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + position: relative; + border-radius: 4px; +} + +.emotion-18.Mui-disabled { + color: rgba(0, 0, 0, 0.38); + cursor: default; +} + +.emotion-18:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(10, 10, 11, 0.78); +} + +@media (hover: none) { + .emotion-18:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); + } +} + +.emotion-18.Mui-focused .MuiOutlinedInput-notchedOutline { + border-width: 2px; +} + +.emotion-18.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #337a87; +} + +.emotion-18.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #ab1000; +} + +.emotion-18.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); +} + .emotion-19 { + font: inherit; + letter-spacing: inherit; + color: currentColor; + padding: 4px 0 5px; + border: 0; + box-sizing: content-box; + background: none; + height: 1.4375em; + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + padding: 16.5px 14px; +} + +.emotion-19::-webkit-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-19::-moz-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-19::-ms-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-19:focus { + outline: 0; +} + +.emotion-19:invalid { + box-shadow: none; +} + +.emotion-19::-webkit-search-decoration { + -webkit-appearance: none; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19::-webkit-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19::-moz-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19::-ms-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19:focus::-webkit-input-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19:focus::-moz-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-19:focus::-ms-input-placeholder { + opacity: 0.42; +} + +.emotion-19.Mui-disabled { + opacity: 1; + -webkit-text-fill-color: rgba(0, 0, 0, 0.38); +} + +.emotion-19:-webkit-autofill { + -webkit-animation-duration: 5000s; + animation-duration: 5000s; + -webkit-animation-name: mui-auto-fill; + animation-name: mui-auto-fill; +} + +.emotion-19:-webkit-autofill { + border-radius: inherit; +} + +.emotion-23 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -538,7 +681,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p margin-top: 32px; } -.emotion-20 { +.emotion-24 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -597,57 +740,57 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p font-weight: bold; } -.emotion-20::-moz-focus-inner { +.emotion-24::-moz-focus-inner { border-style: none; } -.emotion-20.Mui-disabled { +.emotion-24.Mui-disabled { pointer-events: none; cursor: default; } @media print { - .emotion-20 { + .emotion-24 { -webkit-print-color-adjust: exact; color-adjust: exact; } } -.emotion-20:hover { +.emotion-24:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-20.Mui-disabled { +.emotion-24.Mui-disabled { color: rgba(0, 0, 0, 0.26); } -.emotion-20:hover { +.emotion-24:hover { box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12); } @media (hover: none) { - .emotion-20:hover { + .emotion-24:hover { box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12); } } -.emotion-20:active { +.emotion-24:active { box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12); } -.emotion-20.Mui-focusVisible { +.emotion-24.Mui-focusVisible { box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12); } -.emotion-20.Mui-disabled { +.emotion-24.Mui-disabled { color: rgba(0, 0, 0, 0.26); box-shadow: none; background-color: rgba(0, 0, 0, 0.12); } @media (hover: hover) { - .emotion-20:hover { + .emotion-24:hover { --variant-containedBg: rgb(35, 85, 94); --variant-textBg: rgba(51, 122, 135, 0.04); --variant-outlinedBorder: #337a87; @@ -655,15 +798,15 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p } } -.emotion-20.MuiButton-loading { +.emotion-24.MuiButton-loading { color: transparent; } -.emotion-20:hover { +.emotion-24:hover { colors: #337a87; } -.emotion-20.MuiButton-text { +.emotion-24.MuiButton-text { color: rgba(10, 10, 11, 0.78); } @@ -710,23 +853,23 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p style="width: 400px;" >
@@ -776,31 +934,46 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p style="width: 400px;" >
+

@@ -776,31 +934,46 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-8:focus::-ms-input-p style="width: 400px;" >