/
bootstrap-modal-carousel.css
76 lines (75 loc) · 1.97 KB
/
bootstrap-modal-carousel.css
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
.carousel.carousel-fit {
position: relative;
/* When sliding, use the maximum height we have */
/* Center horizontally the content of the slides */
/* To be centered, the images of the slides need to be inline */
/* Maximize the captions in the wrapper */
}
.carousel.carousel-fit.slide {
/* Hide the content outside the carousel when sliding */
overflow: hidden;
}
.carousel.carousel-fit .carousel-inner > .next,
.carousel.carousel-fit .carousel-inner > .prev {
bottom: 0;
}
.carousel.carousel-fit .carousel-inner > .item {
text-align: center;
}
.carousel.carousel-fit .carousel-inner > .item > img {
display: inline-block;
}
.carousel.carousel-fit .carousel-inner > .item > .carousel-caption {
bottom: 0;
left: 0;
right: 0;
}
.modal.modal-fullscreen {
/* Maximize the main wrappers on the screen */
/* Make the parent wrapper of the modal box a full-width block */
/* Remove borders and effects on the content */
/**
* /!\ By using this feature, you force the header and footer to be placed
* in an absolute position. You must handle by yourself the margin of the
* content.
*/
}
.modal.modal-fullscreen .modal-dialog,
.modal.modal-fullscreen .modal-content {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
.modal.modal-fullscreen .modal-dialog {
margin: 0;
width: 100%;
}
.modal.modal-fullscreen .modal-content {
border: none;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: inherit;
-moz-box-shadow: inherit;
-o-box-shadow: inherit;
box-shadow: inherit;
}
.modal.modal-fullscreen.force-fullscreen {
/* Remove the padding inside the body */
}
.modal.modal-fullscreen.force-fullscreen .modal-body {
padding: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header,
.modal.modal-fullscreen.force-fullscreen .modal-footer {
left: 0;
position: absolute;
right: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header {
top: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-footer {
bottom: 0;
}