ISIS Login Page login.css Guide
In 2005, due to UCLA's new visual identity standards, the template for ISIS login pages for UCLA applications has been redesigned. The new design is a gracefully degrading standards compliant css/xhtml layout. While there are many advantages of designing in this fashion, it requires a different mindset than traditional table based design. The following is an explanation of the options available in the custom.css file you have been given to customize the appearance of your login page. For information on customizing the content, please check out our [ISIS Single Sign-On Login Page XHTML Guide|iamucla:IsisXhtmlGuide].
While it is possible to do a lot with CSS, we ask you stay within the values presented here. If you do choose to create your own span or div for presentational purposes, we ask you don't try and float or position it (aside from relative positioning of course).
We provide a style guide for Changing Colors in the CSS File, as well as links and brief descriptions on this page for background and border (you'd want some padding on any custom div/spans). If you wish to include font-weight, font-style, line-height (do stay with em units), etc that is fine but test to see how it affects the cascade.
Custom.css Global Elements
The generic custom.css file given to you to modify has short comments after every property to give you a basic idea of what the values included in the rule mean. Here you will find more detailed descriptions as well as links where you can find out about substitutable values.
The body statement is at the 'top' of the cascade, and applies to the entire document in general. The first property is background, which is a shorthand version of four different properties (more information here and here). It's important to pick a background with low contrast (tweak this yourself in a graphics program if you have to) so the text above is easily legible. The default picture is a nice low-contrast grayscale image of Royce Hall.
The second property sets the text color on the page, by default it is set to a dark grey.
The background color of input (sign-in) fields. By default this color is a very light grey.
Once someone clicks inside an input box, or clicks the submit button, it will change color - by default it 'lights' up to pure white. This will not work in older browsers (such as IE 6.0), but is a mainly aesthetic function and won't break design.
The default color of the top level header. This is the title of your application that appears in the header band to the right of the UCLA logo. By default it is black as the header band is a light grey. A high amount of contrast between this and background of #header is desirable.
The default size of the second level headers - these are the subtitles that appear in the content area (welcome to app, breaking news, help with app, etc). Font size should be kept in em values, if you make the number larger the font size will increase and vice versa. Margin bottom dictates how much space is between the header/subtitle and the paragraph/content below it. If you wish you may also add in a color: property.
The default color of links in the main content area is the UCLA blue.
By default the template doesn't differentiate between visited and unvisited links - by changing this to a different color from a:link you can get that functionality.
By default links turn black when you hover over them.
By default links turn into a slightly warm grey when you click on them.
Custom.css IDs and Classes
Much like the body background image, this sets the color of the UCLA in the header. ucla_cw100.png is blue, ucla_bw100.png is black, ucla_wb100.png is white - you can change to any of these images if you alter the background color in the header, which by default is set to #EEE, a light grey.
The next two properties are for the borders on the top and bottom of the band (shocking, eh?). This is a shorthand combination of border-width, border-style, and border-color. You can change these as you see fit. Here's some more information on http://www.w3schools.com/css/css_border.asp, and border properties in general.
Controls the background color and border types of the ISIS related boxes that appear on the right side of the screen. Should be something fairly similar to the header band color.
Color of the small timestamp at the bottom of the righ column - I wouldn't change it unless it truly clashed with the color scheme present.
Colors of the links inside the ISIS boxes. These match that of the main UCLA site and should be kept for consistency or at least not radically changed if you don't absolutely have to.
Similar to the above except these are the colors that appear when you hover over or click the links in the ISIS boxes.