Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:2.1:portalcustom [2019/12/17 20:29]
paucur [Skin customization]
documentation:2.1:portalcustom [2020/04/03 10:49] (current)
cmaudoux [Password Policy]
Line 29: Line 29:
 </​note>​ </​note>​
  
 +==== Custom CSS file ====
 +
 +You can define a custom CSS file, for example ''​custom.css'',​ which will be loaded after default CSS files. This file needs to be created in the static repository (''/​usr/​share/​lemonldap-ng/​portal/​htdocs/​static/​boostrap/​css''​).
 +
 +Then set this value in Custom CSS parameter : ''​bootstrap/​css/​custom.css''​.
 +
 +Sample CSS file, to remove white background of main logo:
 +<file css>
 +#header img {
 +  background-color:​ transparent;​
 +}
 +</​file>​
  
 ===== Skin ===== ===== Skin =====
Line 225: Line 237:
   * **Minimal upper characters**:​ leave 0 to bypass the check   * **Minimal upper characters**:​ leave 0 to bypass the check
   * **Minimal digit characters**:​ leave 0 to bypass the check   * **Minimal digit characters**:​ leave 0 to bypass the check
 +  * **Minimal special characters**:​ leave 0 to bypass the check
 +  * **Allowed special characters**:​ set blanck to forbid special characters (''​_''​ is not a special character)
   * **Display policy in password form**: enable this to display an information message about password policy constraints   * **Display policy in password form**: enable this to display an information message about password policy constraints