Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Image Carousel |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .carousel.image-carousel { |
||
| 6 | |||
| 7 | .carousel-inner { |
||
| 8 | padding-top: 0; |
||
| 9 | padding-bottom: 0; |
||
| 10 | } |
||
| 11 | |||
| 12 | .carousel-control i { |
||
| 13 | position: absolute; |
||
| 14 | top:40%; |
||
| 15 | } |
||
| 16 | |||
| 17 | &.image-carousel-hoverable .carousel-control i { |
||
| 18 | display: none; |
||
| 19 | } |
||
| 20 | |||
| 21 | &.image-carousel-hoverable:hover .carousel-control i { |
||
| 22 | display: inline-block; |
||
| 23 | } |
||
| 24 | |||
| 25 | .carousel-control { |
||
| 26 | &.left i { |
||
| 27 | left:10px; |
||
| 28 | } |
||
| 29 | |||
| 30 | &.right i { |
||
| 31 | right:10px; |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | .carousel-indicators { |
||
| 36 | margin-top: 10px; |
||
| 37 | bottom: -7px; |
||
| 38 | |||
| 39 | li { |
||
| 40 | background-color: #666; |
||
| 41 | |||
| 42 | &.active { |
||
| 43 | background-color: #666; |
||
| 44 | } |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | .carousel-caption { |
||
| 49 | position: absolute; |
||
| 50 | right: 0; |
||
| 51 | bottom: 0; |
||
| 52 | left: 0; |
||
| 53 | padding: 15px 15px 25px 15px; |
||
| 54 | background: #333333; |
||
| 55 | background: rgba(0, 0, 0, 0.75); |
||
| 56 | |||
| 57 | h4, |
||
| 58 | h3, |
||
| 59 | h2, |
||
| 60 | p { |
||
| 61 | text-align: left; |
||
| 62 | line-height: 20px; |
||
| 63 | color: #ffffff; |
||
| 64 | } |
||
| 65 | |||
| 66 | h4, |
||
| 67 | h3, |
||
| 68 | h2 { |
||
| 69 | margin: 0 0 5px; |
||
| 70 | |||
| 71 | a { |
||
| 72 | color: #aaa; |
||
| 73 | } |
||
| 74 | } |
||
| 75 | |||
| 76 | p { |
||
| 77 | margin-bottom: 0; |
||
| 78 | } |
||
| 79 | |||
| 80 | .item { |
||
| 81 | margin: 0; |
||
| 82 | } |
||
| 83 | } |
||
| 84 | } |