jcarousel.css in jCarousel 5
Same filename and directory in other branches
/** * This <div> element is wrapped by jCarousel around the list * and has the classname "jcarousel-container". */ .jcarousel-container { position: relative; } .jcarousel-clip { z-index: 2; padding: 0; margin: 0; overflow: hidden; position: relative; } .jcarousel-list { z-index: 1; overflow: hidden; position: relative; top: 0; left: 0; margin: 0; padding: 0; } .jcarousel-item { float: left; list-style: none; /* We set the width/height explicitly. No width/height causes infinite loops. */ width: 75px; height: 75px; } /** * The buttons are added dynamically by jCarousel before * the <ul> list (inside the <div> described above) and * have the classnames "jcarousel-next" and "jcarousel-prev". */ .jcarousel-next { z-index: 3; display: none; } .jcarousel-prev { z-index: 3; display: none; } /** * Undo default Drupal styling (margins and list style). */ div.item-list ul.jcarousel, div.item-list ul.jcarousel .block { margin: 0; } div.item-list ul.jcarousel li { background: none; list-style-image: none; list-style-type: none; }
File
jcarousel.cssView source
-
- /**
- * This element is wrapped by jCarousel around the list
- * and has the classname "jcarousel-container".
- */
- .jcarousel-container {
- position: relative;
- }
-
- .jcarousel-clip {
- z-index: 2;
- padding: 0;
- margin: 0;
- overflow: hidden;
- position: relative;
- }
-
- .jcarousel-list {
- z-index: 1;
- overflow: hidden;
- position: relative;
- top: 0;
- left: 0;
- margin: 0;
- padding: 0;
- }
-
- .jcarousel-item {
- float: left;
- list-style: none;
- /* We set the width/height explicitly. No width/height causes infinite loops. */
- width: 75px;
- height: 75px;
- }
-
- /**
- * The buttons are added dynamically by jCarousel before
- * the
list (inside the described above) and
- * have the classnames "jcarousel-next" and "jcarousel-prev".
- */
- .jcarousel-next {
- z-index: 3;
- display: none;
- }
-
- .jcarousel-prev {
- z-index: 3;
- display: none;
- }
-
- /**
- * Undo default Drupal styling (margins and list style).
- */
- div.item-list ul.jcarousel,
- div.item-list ul.jcarousel .block {
- margin: 0;
- }
-
- div.item-list ul.jcarousel li {
- background: none;
- list-style-image: none;
- list-style-type: none;
- }