Show hand cursor when hovering over User Fed empty state cards (#569)
* add hand cursor for empty state cards * add default ldap name value * move card css up and add to provider cards
This commit is contained in:
parent
d3615b1780
commit
84d621f70a
4 changed files with 16 additions and 4 deletions
|
@ -19,10 +19,14 @@ label.pf-c-form__label {
|
|||
}
|
||||
|
||||
.pf-c-select__toggle:before {
|
||||
border-top: var(--pf-c-select__toggle--before--BorderTopWidth) solid var(--pf-c-select__toggle--before--BorderTopColor);
|
||||
border-right: var(--pf-c-select__toggle--before--BorderRightWidth) solid var(--pf-c-select__toggle--before--BorderRightColor);
|
||||
border-bottom: var(--pf-c-select__toggle--before--BorderBottomWidth) solid var(--pf-c-select__toggle--before--BorderBottomColor);
|
||||
border-left: var(--pf-c-select__toggle--before--BorderLeftWidth) solid var(--pf-c-select__toggle--before--BorderLeftColor);
|
||||
border-top: var(--pf-c-select__toggle--before--BorderTopWidth) solid
|
||||
var(--pf-c-select__toggle--before--BorderTopColor);
|
||||
border-right: var(--pf-c-select__toggle--before--BorderRightWidth) solid
|
||||
var(--pf-c-select__toggle--before--BorderRightColor);
|
||||
border-bottom: var(--pf-c-select__toggle--before--BorderBottomWidth) solid
|
||||
var(--pf-c-select__toggle--before--BorderBottomColor);
|
||||
border-left: var(--pf-c-select__toggle--before--BorderLeftWidth) solid
|
||||
var(--pf-c-select__toggle--before--BorderLeftColor);
|
||||
}
|
||||
|
||||
.keycloak__form_actions {
|
||||
|
@ -36,3 +40,7 @@ label.pf-c-form__label {
|
|||
border-top: 1px solid var(--pf-global--BorderColor--100);
|
||||
margin-left: calc(-1 * var(--pf-global--spacer--lg));
|
||||
}
|
||||
|
||||
.keycloak-empty-state-card:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
@ -171,6 +171,7 @@ export const IdentityProvidersSection = () => {
|
|||
{_.sortBy(identityProviders[group], "name").map(
|
||||
(provider) => (
|
||||
<Card
|
||||
className="keycloak-empty-state-card"
|
||||
key={provider.id}
|
||||
isHoverable
|
||||
data-testid={`${provider.id}-card`}
|
||||
|
|
|
@ -177,6 +177,7 @@ export const UserFederationSection = () => {
|
|||
<hr className="pf-u-mb-lg" />
|
||||
<Gallery hasGutter>
|
||||
<Card
|
||||
className="keycloak-empty-state-card"
|
||||
isHoverable
|
||||
onClick={() => history.push(`${url}/kerberos/new`)}
|
||||
data-testid="kerberos-card"
|
||||
|
@ -191,6 +192,7 @@ export const UserFederationSection = () => {
|
|||
</CardTitle>
|
||||
</Card>
|
||||
<Card
|
||||
className="keycloak-empty-state-card"
|
||||
isHoverable
|
||||
onClick={() => history.push(`${url}/ldap/new`)}
|
||||
data-testid="ldap-card"
|
||||
|
|
|
@ -83,6 +83,7 @@ export const LdapSettingsGeneral = ({
|
|||
type="text"
|
||||
id="kc-console-display-name"
|
||||
name="name"
|
||||
defaultValue="ldap"
|
||||
ref={form.register({
|
||||
required: {
|
||||
value: true,
|
||||
|
|
Loading…
Reference in a new issue