99 lines
No EOL
2.4 KiB
CSS
99 lines
No EOL
2.4 KiB
CSS
/**
|
|
* Copyright (c) 2006-2007, Bill W. Scott
|
|
* All rights reserved.
|
|
*
|
|
* This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy
|
|
* of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to
|
|
* Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
|
|
*
|
|
* This work was created by Bill Scott (billwscott.com, looksgoodworkswell.com).
|
|
*
|
|
* The only attribution I require is to keep this notice of copyright & license
|
|
* in this original source file.
|
|
*
|
|
* Version 0.6.1 - 07.08.2007
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Standard Configuration. It is advised that this section NOT be modified as the
|
|
* carousel.js expects the behavior outlined below.
|
|
**/
|
|
.carousel-component {
|
|
position:relative;
|
|
overflow:hidden; /* causes the clipping */
|
|
display:none; /* component turns it on when first item is rendered */
|
|
|
|
}
|
|
|
|
.carousel-component ul.carousel-list {
|
|
width:10000000px;
|
|
position:relative;
|
|
z-index:1;
|
|
}
|
|
|
|
.carousel-component .carousel-list li {
|
|
float:left;
|
|
list-style:none;
|
|
overflow:hidden;
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* VERTICAL CAROUSEL DEFAULTS
|
|
**/
|
|
.carousel-component .carousel-vertical li {
|
|
margin-bottom:0px;
|
|
|
|
/* Fix for extra spacing in IE */
|
|
float:left;
|
|
clear:left;
|
|
|
|
/* Force the LI to respect the HEIGHT specified */
|
|
overflow:hidden;
|
|
display:block;
|
|
}
|
|
|
|
/* For vertical carousel, not set, width defaults to auto */
|
|
/* Note if you explicitly set width to auto, this might cause */
|
|
/* problems with Safari... as in up/down button not working in some examples. */
|
|
.carousel-component ul.carousel-vertical {
|
|
/* width:auto;*/
|
|
}
|
|
|
|
.carousel-component .carousel-clip-region {
|
|
overflow:hidden; /* Secret to the clipping */
|
|
margin:0px auto;
|
|
position:relative;
|
|
}
|
|
|
|
/**
|
|
* ==============================================================================
|
|
* Safe to override. It is safe to override background, padding, margin, color,
|
|
* text alignment, fonts, etc. Define a separate CSS file and override your style
|
|
* preferences.
|
|
**/
|
|
|
|
.carousel-component {
|
|
background:#e2edfa;
|
|
padding:0px;
|
|
-moz-border-radius:6px;
|
|
color:#618cbe;
|
|
}
|
|
.carousel-component ul.carousel-list {
|
|
margin:0px;
|
|
padding:0px;
|
|
line-height:0px;
|
|
}
|
|
.carousel-component .carousel-list li {
|
|
text-align:center;
|
|
margin:0px;
|
|
padding:0px;
|
|
font:10px verdana,arial,sans-serif;
|
|
color:#666;
|
|
}
|
|
.carousel-component .carousel-vertical li {
|
|
}
|
|
.carousel-component ul.carousel-vertical {
|
|
} |