SSO: fix style

This commit is contained in:
Viktor Fomin 2022-08-02 16:51:25 +03:00
parent 8fff10bb1a
commit 18bb507835
5 changed files with 13 additions and 4 deletions

View File

@ -61,7 +61,7 @@ const Certificates = (props) => {
flexDirection="row"
marginProp="40px 0 12px 0"
>
<Text as="h2" fontSize="14px" fontWeight={600} noSelect>
<Text as="h2" fontSize="15px" fontWeight={600} noSelect>
{prefix === "idp" ? t("idpCertificates") : t("spCertificates")}
</Text>
@ -122,6 +122,7 @@ const Certificates = (props) => {
{provider === "IdentityProvider" && (
<>
<SsoComboBox
isDisabled={idpCertificates.length === 0}
labelText={t("idpSigningAlgorithm")}
name="idpVerifyAlgorithm"
options={verifyAlgorithmsOptions}
@ -134,6 +135,7 @@ const Certificates = (props) => {
{provider === "ServiceProvider" && (
<>
<SsoComboBox
isDisabled={spCertificates.length === 0}
labelText={t("spSigningAlgorithm")}
name="spSigningAlgorithm"
options={verifyAlgorithmsOptions}
@ -142,6 +144,7 @@ const Certificates = (props) => {
/>
<SsoComboBox
isDisabled={spCertificates.length === 0}
labelText={t("StandardDecryptionAlgorithm")}
name={"spEncryptAlgorithm"}
options={decryptAlgorithmsOptions}

View File

@ -40,7 +40,7 @@ const FieldMapping = (props) => {
fontSize="14px"
marginProp="24px 0 16px 0"
>
<Text as="h2" fontSize="14px" fontWeight={600} noSelect>
<Text as="h2" fontSize="15px" fontWeight={600} noSelect>
{t("AttributeMatching")}
</Text>

View File

@ -117,6 +117,11 @@ const StyledSsoPage = styled.div`
.advanced-block {
margin: 24px 0;
.field-label {
font-size: 15px;
font-weight: 600;
}
}
`;

View File

@ -36,7 +36,7 @@ const CheckboxSet = (props) => {
} = props;
return (
<Box marginProp="12px 0">
<Box marginProp="16px 0">
<Checkbox
className="checkbox-input"
isDisabled={!enableSso || isLoadingXml}

View File

@ -16,6 +16,7 @@ const SsoComboBox = (props) => {
setComboBox,
enableSso,
isLoadingXml,
isDisabled,
} = props;
const currentOption =
@ -29,7 +30,7 @@ const SsoComboBox = (props) => {
<FieldContainer isVertical labelText={labelText}>
<StyledInputWrapper>
<ComboBox
isDisabled={!enableSso || isLoadingXml}
isDisabled={!enableSso || isLoadingXml || isDisabled}
onSelect={onSelect}
options={options}
scaled