The Quick Launch (left panel) shown in Figure A-60 includes the following CSS elements.
The following ID is used to float the Quick Launch panel to the left and provide it a set width. The class is used within the same DIV so that it does not get displayed within dialog windows. Listing A-67 shows the standard CSS properties.
body #s4-leftpanel{
width:155px;
float:left;
}
The following ID is used to set the padding, background color, and right and bottom border color. Listing A-68 shows the standard CSS properties.
body #s4-leftpanel-content{
padding:0px 0px 5px;
background-color:#fcfcfc;
border:1px solid #dbddde;
border-top-width:0px;
border-right-width:1px;
border-bottom-width:1px;
border-left-width:0px;
}
The following class is used to set the margin of this DIV to zero. Listing A-69 shows the standard CSS properties.
.ms-quicklaunchouter{
margin:0px;
}
The following class is used to apply 5px of padding to the top of the Quick Launch area Listing A-70 shows the standard CSS properties.
.ms-quickLaunch{
padding-top:5px;
}
The following class is used to apply a bottom margin of 20px to the Quick Launch. Listing A-71 shows the standard CSS properties.
.s4-ql,.s4-specialNavLinkList{
list-style-type:none;
margin:0px 0px 20px 0px;
padding:0px;
}
The following class is used to set the font size, font color, and padding for the Quick Launch header text, as shown in Figure A-61. Listing A-72 shows the standard CSS properties.
.s4-ql ul.root > li > .menu-item,.s4-qlheader,.s4-qlheader:visited{
font-size:1.2em;
color:#0072bc;
margin:0px;
padding:3px 4px 3px 10px;
border-width:1px 0px;
border-style:solid;
border-color:transparent;
word-wrap:break-word;
overflow-x:hidden;
}
The following class is used to set the padding, font color, and horizontal overflow for the Quick Launch link items shown in Figure A-62. Listing A-73 shows the standard CSS properties.
.s4-ql ul.root ul > li > a{
padding:3px 4px 4px 10px;
border-width:1px 0px;
border-style:solid;
border-color:transparent;
color:#3b4f65;
overflow-x:hidden;
display:block;
zoom:1;
}
The following class is used to apply a 20px bottom margin, top border, and top padding, as shown in Figure A-63. Listing A-74 shows the standard CSS properties.
.s4-ql,.s4-specialNavLinkList{
list-style-type:none;
margin:0px 0px 20px 0px;
padding:0px;
}
.s4-specialNavLinkList{
margin:0px;
border-top:1px solid #dbddde;
padding-top:5px;
}
The following class is used to apply padding and font color for the recycle bin link as shown in Figure A-64. Listing A-75 shows the standard CSS for the text and inline CSS to position the IMG element.
.s4-specialNavLinkList a{
display:block;
padding:3px 4px 3px 10px;
color:#3b4f65;
}
/* Inline CSS on fgimg.png IMG */
left: 0px !important;
top: -428px !important;
border: none;
position: absolute;
The following inline CSS is used to show the All Site Content icon, as shown in Figure A-65. Listing A-76 shows the standard CSS for the text and inline CSS to position the IMG element.
/* Inline CSS on fgimg.png IMG */
left: 0px !important;
top: 0px !important;
border: none;
position: absolute;
This next section will cover the main content areas within a site or a page.
3.144.193.129