Summary
If you like to change the background in a disabled form in Identity Manager and have it kept when you upgrading to a later version of IM, this PSD will explain how.
System Requirements
- PhenixID Identity Manager 5.1.0 or later installed
I will use a scenario to show how to implement this. The scenario is to change the default background of a disabled control in an edit form. See screenshot below. I like to have it darker.
1. Create an css file to store your custom configuration
- Open folder drive:\Program Files\PhenixID\IM\customer\extension\web
- Create a file called forms.css (you can call what you like)
- Save and close
- Open folder drive:\Program Files\PhenixID\IM\customer\config
- Open file DSEditor.properties
- Add a policy called PERSONAL_FORM_CSS_FILE=forms.css
- Save and close
- Restart Identity Manger for the policy to apply
2. Copy css data from the control you like to change
Use Inspect in Google Chrome on a form and copy the css configuration
- Open Google Chrome and login to Identity Manager
- Click on a user to open an Edit Form
- Right click the Edit Form and select in Google Chrome Inspect
- In Inspect, verify that you are on Elements tab. Click the square with an arrow inside. See A in screenshot below.
- Click in a control, see below like I do with Display Name control. See A in screenshot below.
- In Styles tab, find the section that holds the css for the backgrund. See B in screenshot below.
- Copy everything in this section. See B in screenshot below.
3. Add css data to forms.css
- Open folder drive:\Program Files\PhenixID\IM\customer\extension\web
- Open forms.css
- Paste the css data from previous step (below is an example how it looks for me)
.tundra .dijitReadOnly *, .tundra .dijitDisabled *, .tundra .dijitReadOnly, .tundra .dijitDisabled, .tundra .dijitDisabledClickableRegion { cursor: not-allowed !important; border-color: #f5f5f6; border: 1px solid rgba(0,0,0,0.3); k: ; color: #555555; background: #e9e9e9 !important; }
- Remove any data not needed and change background color to something different, I choose 999
.tundra .dijitReadOnly *, .tundra .dijitDisabled *, .tundra .dijitReadOnly, .tundra .dijitDisabled, .tundra .dijitDisabledClickableRegion { background: #999 !important}
- Save and close
- Hard refresh your browser so the css used will be applied
- Verify that the color is changed. See screenshot below.
DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.
PhenixID - support.phenixid.se