First published on MSDN on Jan 23, 2015
Introduction
:
Chrome, shadows, and gradients are relics of the early 2000s. “Flat” design has made its way through all modern user interfaces, and typically organizations wish to use their own branding and color scheme to match other corporate websites. Luckily, there is an easy way to modify the FIM Portals to make them more beautiful and clean.
The below example style.css file alters the look and feel of the FIM Password Reset portals. For a walk-through guide see the
Test Lab Guide for FIM Password Reset
or reference the
FIM 2010 R2 Portal Customization
TechNet article. A useful trick to see what can be edited is to search core.css for “/* Customizable */”.
Style.css Edits:
| <br />input[type=text]:focus, input[type=password]:focus <br />{<br /> border: #8B0000 2px solid; /* Changes Cursor highlight color */<br />}<br />h2, h3 <br />{<br /> color: #8B0000 /* changes "Password Reset: text color" */<br />}<br />.title-block /* changes 2px line beneath banner image */<br />{<br /> border-bottom: 2px solid #8B0000<br />}<br />.title-block <br />{<br /> background:url("../Customizations/contoso.png") no-repeat scroll 0 0 transparent; /* Changes banner image */<br />}<br />#container <br />{<br /> background: repeat-x 100% 100% transparent /* Removes bottom gradient */<br />}<br />#wrapper <br />{<br /> background: repeat-x 100% 100% white /* Removes top gradient */<br />}<br />body<br />{<br /> background-color: #E6E6E6 /* sets background to light gray */<br /> font-size: 16px;<br />}<br />body<br />{<br /> background-color: #E6E6E6 /* sets background to light gray */<br />}<br />.loginDescriptionText<br />{<br /> font-style: normal; /* uses normal font (not italics) */<br /> color: #B9B900 */darkens text */<br />}<br />@media only screen and (max-width: 480px)<br />{<br /> .title-block<br /> {<br /> background: url("../Customizations/contoso_phone.png") no-repeat scroll 0 0 transparent;<br /> }<br />} |
|
Results:

And the old version for comparison:
