-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowcase.css
More file actions
78 lines (74 loc) · 2.17 KB
/
Copy pathshowcase.css
File metadata and controls
78 lines (74 loc) · 2.17 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
body {
font: 12px normal Arial, Helvetica;
}
.slide-height {
/* the showcase has a fixed height.
if this value is modified, the slide buttons will not be aligned correctly
modify the margin-top value for slide-button class to correct */
height: 300px;
}
/* window for viewing slides
we use overflow: hidden to prevent any slides not in the window from being displayed */
#showcase {
width: 75%; /* this width can be modified safely */
margin: auto;
overflow: hidden;
}
/* contains all of the slide wrappers--width is set dynamically by showcase.js */
#slide-reel {
position: relative;
}
/* the slide-wrapper allows us to vary the width of the slide itself without being pixel precise */
.slide-wrapper {
float: left;
}
/* by default, the slide is set to 80% of the width of the wrapper--this gives us some margin to play with */
/* the slide contains the left and right buttons as well as the content itself */
.slide {
border: 1px solid #D1D1D1;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color: #E2E2E2;
margin: auto;
width: 80%;
height: 80%;
padding: 20px;
}
.slide-button {
margin-top: 105px;
height: 30px;
width: 30px;
float: left;
}
.slide-button.left {
/*margin-top: 105px;*/
/* fix for browsers lacking SVG support -- http://www.broken-links.com/2010/06/14/using-svg-in-backgrounds-with-png-fallback/ */
background-image: url('images/arrow_left.png');
background-image: none,url('images/arrow_left.svg'), url('images/arrow_left.png');
}
.slide-button.left:hover {
background-image: url('images/arrow_left_hover.png');
background-image: none,url('images/arrow_left_hover.svg'), url('images/arrow_left_hover.png');
}
.slide-button.right {
/*margin-bottom: 105px;*/
background-image: url('images/arrow_right.png');
background-image: none,url('images/arrow_right.svg'), url('images/arrow_right.png');
}
.slide-button.right:hover {
background-image: url('images/arrow_right_hover.png');
background-image: none,url('images/arrow_right_hover.svg'), url('images/arrow_right_hover.png');
}
.button-arrow {
fill: #fff;
stroke: #d1d1d1;
stroke-width: 1px;
}
.button-arrow:hover {
stroke: #fff;
}
.slide-content {
float: left;
padding: 20px;
}