PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/hippo/src/main/webapp/yui/carousel/assets/carousel-core.css

http://hdbc.googlecode.com/
CSS | 88 lines | 68 code | 13 blank | 7 comment | 0 complexity | 7ef84596f548d2800ae7e4367e4c365e MD5 | raw file
 1/*
 2Copyright (c) 2009, Yahoo! Inc. All rights reserved.
 3Code licensed under the BSD License:
 4http://developer.yahoo.net/yui/license.txt
 5version: 2.7.0
 6*/
 7.yui-carousel {
 8    visibility: hidden;
 9    overflow: hidden;
10    position: relative;
11    text-align: left;
12    zoom: 1;
13}
14
15.yui-carousel.yui-carousel-visible {
16    visibility: visible;
17}
18
19.yui-carousel-content {
20    overflow: hidden;
21    position: relative;
22}
23
24.yui-carousel-element {
25    margin: 5px 0;
26    overflow: hidden;
27    padding: 0;
28    position: relative;
29    width: 32000px;
30    z-index: 1;
31}
32
33.yui-carousel-vertical .yui-carousel-element {
34    margin: 0 5px;
35}
36
37.yui-carousel-element li {
38    border: 1px solid #ccc;
39    float: left;
40    list-style: none;
41    margin: 1px;
42    overflow: hidden;
43    padding: 0;
44    text-align: center;
45    /* IE 6 & 7 fix - prevent DOM scroll for focussed elements. */
46   *float: none;
47   *display: inline-block;
48   *zoom: 1;
49   *display: inline;
50}
51
52.yui-carousel .yui-carousel-item-selected {
53    border: 1px dashed #000;
54    margin: 1px;
55}
56
57.yui-carousel-vertical {
58    height: 32000px;
59    margin: 0 5px;
60    width: auto;
61}
62
63.yui-carousel-vertical .yui-carousel-element li {
64    display: block;
65    float: none;
66}
67
68.yui-log .carousel {
69    background: #f2e886;
70}
71
72.yui-carousel-nav {
73    zoom: 1;
74}
75
76.yui-carousel-nav:after {
77    clear: both;
78    content: "";
79    display: block;
80}
81
82.yui-carousel-button-focus {
83    outline: 1px dotted #000;
84}
85
86.yui-carousel-min-width .yui-carousel-content {
87    margin: 0 auto;
88}