This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
/
slidedeck.skin.css
275 lines (259 loc) · 8.34 KB
/
slidedeck.skin.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
/*
Skin Name: SlideDeck Website Skin
Skin URI: http://www.slidedeck.com/
Description: The skin used at slidedeck.com
Version: 1.5
Author: digital-telepathy
Author URI: http://www.dtelepathy.com/
Tags: flexible, white, black, multi-color
*/
/*
* The frame surrounding the SlideDeck.
*
* Customize the width, height, padding and background to customize the area
* surrounding your SlideDeck.
*/
.skin-slidedeck {
position: relative;
padding: 11px 11px 11px;
background: url('back.png') 0 0 #d7d7d7;
border: 14px solid #fff;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
/*
* The SlideDeck element itself.
*
* Customize the width and height to increase or decrease the size of
* your SlideDeck.
*/
.skin-slidedeck dl.slidedeck {
position: relative;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
/*
* The SlideDeck slide area.
*
* You can specify a height for the slide area, but it is not required, width
* will automatically be defined for the slide area and will vary depending on
* how many slides you have in your SlideDeck.
*
* To add space between a slide and the next slide's spine (slide title bar),
* increase the border-right definition. To remove the space, just remove the
* border definition.
*
* SlideDeck slides are all given a unique class, so you can customize the
* appearance of each slide individually by referencing a slide by its
* numbered class name. For example:
* .slidedeck dd.slide_1
* .slidedeck dd.slide_2
* .slidedeck dd.slide_3
* etc...
*/
.skin-slidedeck dl.slidedeck > dd {
position: relative;
height: 294px;
padding: 10px 15px;
margin: 0;
border-right: 5px solid #d7d7d7;
background: url('slides.png') bottom left #d7d7d7; /* Note: you should position the background with pixel measurements in IE7 as it improperly calculates the height of the DD element when containing vertical slides */
overflow: hidden;
}
/*
* The SlideDeck spine (slide title bar).
*
* SlideDeck spines are rotated, so you will need to swap your directions. To
* change the width of the spine, you will need to modify the spine height.
* You will also need to make sure that any background imagery used is rotated
* horizontally.
*
* Like slides, spines are also given a unique class allowing for custom
* appearance for each spine. This follows a similar naming convention:
* .slidedeck dt.slide_1
* .slidedeck dt.slide_2
* .slidedeck dt.slide_3
* etc...
*/
.skin-slidedeck dl.slidedeck > dt {
position: relative;
cursor: pointer;
height: 43px;
line-height: 38px;
font-size: 12px;
font-weight: bold;
font-family: "Futura Bold", Arial, Helvetica, sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
background: url('spines.png') top left #d7d7d7;
color: #505050;
margin: 0;
padding: 0;
}
/*
* The hovered state of a SlideDeck spine.
*/
.skin-slidedeck dl.slidedeck dt.spine:hover {
color: #000;
background-position: center left;
}
/*
* The active state of a SlideDeck spine.
*/
.skin-slidedeck dl.slidedeck dt.spine.active,
.skin-slidedeck dl.slidedeck dt.spine.active:hover {
cursor: default;
color: #fff;
background-position: bottom left;
}
/*
* The SlideDeck spine index labels.
*
* This is to style the numbers (or letters if you have customized it so)
* that appear at the bottom of each SlideDeck spine.
*/
.skin-slidedeck dl.slidedeck dt.spine .index {
margin-bottom: 2px;
font-size: 24px;
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
color: #505050;
}
.skin-slidedeck dl.slidedeck dt.spine.active .index { margin-bottom: 0; }
/*
* The hovered state of a SlideDeck spine index label.
*/
.skin-slidedeck dl.slidedeck dt.spine:hover .index { color: #000000; }
/*
* The active state of a SlideDeck spine index label.
*/
.skin-slidedeck dl.slidedeck dt.spine.active .index { color: #ffffff; }
/*
* The SlideDeck "active corner".
*
* This is the small triangle that appears in the upper left of the active
* slide. This can be made any size and positioned differently by modifying
* the margin values. By default the left margin is inset to prevent any
* gap from appearing as the SlideDeck animates.
*/
.skin-slidedeck dl.slidedeck .activeCorner {
margin-left: -6px;
background-image: url('corner.png');
width: 12px;
height: 25px;
}
/*
* The SlideDeck vertical slide style.
*
* Veritcal slides will take over the entire content area of a horizontal slide
* automatically. Padding will automatically be accommodated for. You can also
* eliminate the padding definition to have your vertical slide content line
* up flush against the containing slide content area edges.
*/
.skin-slidedeck dl.slidedeck dd.slide ul.slidesVertical > li {
overflow: hidden;
padding: 10px;
}
/*
* The SlideDeck vertical slide navigation container.
*
* This is the container for the vertical slide navigation. You can position
* this anywhere you want within the containing slide's area. If you try to
* position it outside of the slide area it will not appear.
*/
.skin-slidedeck dl.slidedeck ul.verticalSlideNav {
height: 70px;
width: 25px;
background: none;
position: relative;
overflow: hidden;
padding: 15px 0 0;
margin: 0;
top: 0;
left: 125px;
-webkit-transform: rotate(90deg);
-webkit-transform-origin: -7px 0;
-moz-transform: rotate(90deg);
-moz-transform-origin: -7px 0;
-o-transform: rotate(90deg);
-o-transform-origin: -7px 0;
}
/*
* The SlideDeck vertical slide navigation link containers.
*
* This is the container for a navigation link in the vertical slide navigation
* element. You can adjust the width and height of this element to accommodate
* for a larger vertical navigation button.
*
* To increase the space between vertical navigation links, increase the bottom
* and/or top padding of this element.
*/
.skin-slidedeck dl.slidedeck ul.verticalSlideNav li {
position: relative;
width: 25px;
height: 12px;
line-height: 12px;
padding: 0;
margin: 0;
overflow: hidden;
float: left;
clear: left;
}
/*
* The SlideDeck vertical slide position indicator.
*
* This is the element that slides behind the default navigation link list to
* show which is the current vertical slide being viewed. This should be given
* similar dimensions to the vertical slide navigation links.
*
* NOTE: This element is not used in this skin, so it is hidden
*/
.skin-slidedeck dl.slidedeck dd.slide ul.verticalSlideNav li.arrow { display: none; }
/*
* The SlideDeck veritcal slide navigation links.
*
* These are the vertical slide navigation links. By default these are a small
* square that uses a sprite background image replacement method to hide the
* default text that is placed in the link ("Nav 1", "Nav 2", "Nav 3").
*
* To change the appearance of the navigation elements, you will need to use a
* background image replacement as the text for the links cannot be changed.
* Each vertical slide navigation link is given a unique class so they can be
* styled individually. For example:
* dl.slidedeck dd.slide ul.verticalSlideNav li a.nav_1
* dl.slidedeck dd.slide ul.verticalSlideNav li a.nav_2
* dl.slidedeck dd.slide ul.verticalSlideNav li a.nav_3
* etc....
*/
.skin-slidedeck dl.slidedeck ul.verticalSlideNav li a {
position: relative;
display: block;
padding: 12px 0 0 0;
margin: 0;
width: 25px;
height: 0;
overflow: hidden;
line-height: 12px;
}
/* Vertical slide navigation style for the currently active vertical slide navigation link */
.skin-slidedeck dl.slidedeck ul.verticalSlideNav li.active a {
background-position: 0 -24px;
}
/* Vertical slide navigation link style when the parent horizontal slide is active */
.skin-slidedeck dl.slidedeck dt.active ul.verticalSlideNav li.active a {
background-position: 0 -12px;
}
/*
* The SlideDeck vertical slide navigation link hover state.
*/
dl.slidedeck dd.slide ul.verticalSlideNav li a:hover {
opacity: 0.75;
-moz-opacity: 0.75;
-webkit-opacity: 0.75;
-khtml-opacity: 0.75;
-ms-filter: "Alpha(opacity=75)";
filter: Alpha(opacity=75);
}