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