Last change
on this file since 27028 was
27028,
checked in by mistic100, 10 years ago
|
fix slider by restoring my custom code removed with nivoSlider update
|
File size:
2.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * jQuery Nivo Slider v3.2 |
---|
3 | * http://nivo.dev7studios.com |
---|
4 | * |
---|
5 | * Copyright 2012, Dev7studios |
---|
6 | * Free to use and abuse under the MIT license. |
---|
7 | * http://www.opensource.org/licenses/mit-license.php |
---|
8 | */ |
---|
9 | |
---|
10 | /* The Nivo Slider styles */ |
---|
11 | .slider-wrapper { |
---|
12 | margin:0 auto; /* custom */ |
---|
13 | } |
---|
14 | .nivoSlider { |
---|
15 | position:relative; |
---|
16 | width:100%; |
---|
17 | height:auto; |
---|
18 | overflow: hidden; |
---|
19 | margin: 0 auto; /* custom */ |
---|
20 | } |
---|
21 | .nivoSlider img { |
---|
22 | position:absolute; |
---|
23 | top:0px; |
---|
24 | left:0px; |
---|
25 | max-width: none; |
---|
26 | border:none !important; /* custom */ |
---|
27 | } |
---|
28 | .nivo-main-image { |
---|
29 | display: block !important; |
---|
30 | position: relative !important; |
---|
31 | width: 100% !important; |
---|
32 | margin: 0 auto; /* custom */ |
---|
33 | } |
---|
34 | |
---|
35 | /* If an image is wrapped in a link */ |
---|
36 | .nivoSlider a.nivo-imageLink { |
---|
37 | position:absolute; |
---|
38 | top:0px; |
---|
39 | left:0px; |
---|
40 | width:100%; |
---|
41 | height:100%; |
---|
42 | border:0; |
---|
43 | padding:0; |
---|
44 | margin:0; |
---|
45 | z-index:6; |
---|
46 | display:none; |
---|
47 | background:white; |
---|
48 | filter:alpha(opacity=0); |
---|
49 | opacity:0; |
---|
50 | } |
---|
51 | /* The slices and boxes in the Slider */ |
---|
52 | .nivo-slice { |
---|
53 | display:block; |
---|
54 | position:absolute; |
---|
55 | z-index:5; |
---|
56 | height:100%; |
---|
57 | top:0; |
---|
58 | } |
---|
59 | .nivo-box { |
---|
60 | display:block; |
---|
61 | position:absolute; |
---|
62 | z-index:5; |
---|
63 | overflow:hidden; |
---|
64 | } |
---|
65 | .nivo-box img { display:block; } |
---|
66 | |
---|
67 | /* Caption styles */ |
---|
68 | .nivo-caption { |
---|
69 | position:absolute; |
---|
70 | left:0px; |
---|
71 | bottom:0px; |
---|
72 | background:#000; |
---|
73 | color:#fff; |
---|
74 | width:100%; |
---|
75 | z-index:8; |
---|
76 | padding: 5px 10px; |
---|
77 | opacity: 0.8; |
---|
78 | overflow: hidden; |
---|
79 | display: none; |
---|
80 | -moz-opacity: 0.8; |
---|
81 | filter:alpha(opacity=8); |
---|
82 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ |
---|
83 | -moz-box-sizing: border-box; /* Firefox, other Gecko */ |
---|
84 | box-sizing: border-box; /* Opera/IE 8+ */ |
---|
85 | } |
---|
86 | .nivo-caption p { |
---|
87 | padding:5px; |
---|
88 | margin:0; |
---|
89 | } |
---|
90 | .nivo-caption a { |
---|
91 | display:inline !important; |
---|
92 | } |
---|
93 | .nivo-html-caption { |
---|
94 | display:none; |
---|
95 | } |
---|
96 | /* Direction nav styles (e.g. Next & Prev) */ |
---|
97 | .nivo-directionNav a { |
---|
98 | position:absolute; |
---|
99 | top:45%; |
---|
100 | z-index:9; |
---|
101 | cursor:pointer; |
---|
102 | } |
---|
103 | .nivo-prevNav { |
---|
104 | left:0px; |
---|
105 | } |
---|
106 | .nivo-nextNav { |
---|
107 | right:0px; |
---|
108 | } |
---|
109 | /* Control nav styles (e.g. 1,2,3...) */ |
---|
110 | .nivo-controlNav { |
---|
111 | text-align:center; |
---|
112 | padding: 15px 0; |
---|
113 | } |
---|
114 | .nivo-controlNav a { |
---|
115 | cursor:pointer; |
---|
116 | } |
---|
117 | .nivo-controlNav a.active { |
---|
118 | font-weight:bold; |
---|
119 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.