1 |
|
---|
2 | @import "palette.less";
|
---|
3 |
|
---|
4 | /* SLIDER --------------------------------------------------------- */
|
---|
5 |
|
---|
6 |
|
---|
7 |
|
---|
8 |
|
---|
9 | /*
|
---|
10 | * jQuery Nivo Slider v3.0
|
---|
11 | * http://nivo.dev7studios.com
|
---|
12 | *
|
---|
13 | * Copyright 2012, Dev7studios
|
---|
14 | * Free to use and abuse under the MIT license.
|
---|
15 | * http://www.opensource.org/licenses/mit-license.php
|
---|
16 | */
|
---|
17 |
|
---|
18 | /* The Nivo Slider styles */
|
---|
19 | .nivoSlider {
|
---|
20 | position:relative;
|
---|
21 | width:100%;
|
---|
22 | height:auto;
|
---|
23 | overflow: hidden;
|
---|
24 |
|
---|
25 | }
|
---|
26 | .nivoSlider img {
|
---|
27 | position:absolute;
|
---|
28 | top:0px;
|
---|
29 | left:0px;
|
---|
30 | }
|
---|
31 | .nivo-main-image {
|
---|
32 | display: block !important;
|
---|
33 | position: relative !important;
|
---|
34 | width: 100% !important;
|
---|
35 | }
|
---|
36 |
|
---|
37 | /* If an image is wrapped in a link */
|
---|
38 | .nivoSlider a.nivo-imageLink {
|
---|
39 | position:absolute;
|
---|
40 | top:0px;
|
---|
41 | left:0px;
|
---|
42 | width:100%;
|
---|
43 | height:100%;
|
---|
44 | border:0;
|
---|
45 | padding:0;
|
---|
46 | margin:0;
|
---|
47 | z-index:6;
|
---|
48 | display:none;
|
---|
49 | }
|
---|
50 | /* The slices and boxes in the Slider */
|
---|
51 | .nivo-slice {
|
---|
52 | display:block;
|
---|
53 | position:absolute;
|
---|
54 | z-index:5;
|
---|
55 | height:100%;
|
---|
56 | top:0;
|
---|
57 | }
|
---|
58 | .nivo-box {
|
---|
59 | display:block;
|
---|
60 | position:absolute;
|
---|
61 | z-index:5;
|
---|
62 | overflow:hidden;
|
---|
63 | }
|
---|
64 | .nivo-box img { display:block; }
|
---|
65 |
|
---|
66 | /* Caption styles */
|
---|
67 | .nivo-caption {
|
---|
68 | position:absolute;
|
---|
69 | left:0px;
|
---|
70 | bottom:0px;
|
---|
71 | background: @fontColorLight;
|
---|
72 | color: @fontColor;
|
---|
73 | width:100%;
|
---|
74 | z-index:8;
|
---|
75 | padding: 5px 10px;
|
---|
76 | opacity: 1;
|
---|
77 | overflow: hidden;
|
---|
78 | display: none;
|
---|
79 | -moz-opacity: 0.8;
|
---|
80 | filter:alpha(opacity=8);
|
---|
81 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
---|
82 | -moz-box-sizing: border-box; /* Firefox, other Gecko */
|
---|
83 | box-sizing: border-box; /* Opera/IE 8+ */
|
---|
84 | }
|
---|
85 | .nivo-caption p {
|
---|
86 | padding:5px;
|
---|
87 | margin:0;
|
---|
88 | }
|
---|
89 | .nivo-caption a {
|
---|
90 | display:inline !important;
|
---|
91 | }
|
---|
92 | .nivo-html-caption {
|
---|
93 | display:none;
|
---|
94 | }
|
---|
95 | /* Direction nav styles (e.g. Next & Prev) */
|
---|
96 | .nivo-directionNav a {
|
---|
97 | position:absolute;
|
---|
98 | top:45%;
|
---|
99 | z-index:9;
|
---|
100 | cursor:pointer;
|
---|
101 | }
|
---|
102 | .nivo-prevNav {
|
---|
103 | left:0px;
|
---|
104 | }
|
---|
105 | .nivo-nextNav {
|
---|
106 | right:0px;
|
---|
107 | }
|
---|
108 | /* Control nav styles (e.g. 1,2,3...) */
|
---|
109 | .nivo-controlNav {
|
---|
110 | text-align:center;
|
---|
111 | padding: 15px 0;
|
---|
112 | }
|
---|
113 | .nivo-controlNav a {
|
---|
114 | cursor:pointer;
|
---|
115 | }
|
---|
116 | .nivo-controlNav a.active {
|
---|
117 | font-weight:bold;
|
---|
118 | }
|
---|
119 |
|
---|
120 |
|
---|
121 |
|
---|
122 | /*
|
---|
123 | Skin Name: Halftone Theme
|
---|
124 | Skin URI: http://www.luiszuno.com
|
---|
125 | Skin Type: flexible
|
---|
126 | Description: Skink for halftone theme
|
---|
127 | Version: 1
|
---|
128 | Author: Ansimuz
|
---|
129 | Author URI: http://www.luiszuno.com
|
---|
130 | */
|
---|
131 |
|
---|
132 |
|
---|
133 | .theme-halftone{
|
---|
134 | padding: 0px;
|
---|
135 | margin-bottom: 0px;
|
---|
136 | position: relative;
|
---|
137 | padding-bottom: 10px;
|
---|
138 | position: relative;
|
---|
139 | float: left;
|
---|
140 |
|
---|
141 | .slider-left{
|
---|
142 | width: 10px;
|
---|
143 | height: 10px;
|
---|
144 | position: absolute;
|
---|
145 | bottom: 58px;
|
---|
146 | left: -10px;
|
---|
147 | background: url(../img/slider-left.png) no-repeat;
|
---|
148 | }
|
---|
149 |
|
---|
150 | .slider-right{
|
---|
151 | width: 10px;
|
---|
152 | height: 10px;
|
---|
153 | position: absolute;
|
---|
154 | bottom: 58px;
|
---|
155 | right: 0px;
|
---|
156 | background: url(../img/slider-right.png) no-repeat;
|
---|
157 | }
|
---|
158 | }
|
---|
159 |
|
---|
160 |
|
---|
161 | .theme-halftone .nivoSlider {
|
---|
162 | position:relative;
|
---|
163 | background: @fgColor url(../img/loading.gif) no-repeat 50% 50%;
|
---|
164 | margin-left: -10px;
|
---|
165 | width: 1000px;
|
---|
166 |
|
---|
167 | }
|
---|
168 |
|
---|
169 | .theme-halftone .nivoSlider img {
|
---|
170 | position:absolute;
|
---|
171 | top:0px;
|
---|
172 | left:0px;
|
---|
173 | display:none;
|
---|
174 | }
|
---|
175 | .theme-halftone .nivoSlider a {
|
---|
176 | border:0;
|
---|
177 | display:block;
|
---|
178 | }
|
---|
179 |
|
---|
180 | .theme-halftone .nivo-controlNav {
|
---|
181 | text-align: center;
|
---|
182 | padding: 20px 0 10px 0px;
|
---|
183 | }
|
---|
184 |
|
---|
185 | .theme-halftone .nivo-controlNav a {
|
---|
186 | display:inline-block;
|
---|
187 | width: 27px;
|
---|
188 | height: 28px;
|
---|
189 | background: url(../img/bullets.png) no-repeat;
|
---|
190 | text-indent:-9999px;
|
---|
191 | border:0;
|
---|
192 | margin: 0 2px;
|
---|
193 | }
|
---|
194 |
|
---|
195 | .theme-halftone .nivo-controlNav a.active {
|
---|
196 | background-position: 0px -28px;
|
---|
197 | }
|
---|
198 |
|
---|
199 | .theme-halftone .nivo-directionNav a {
|
---|
200 | display:block;
|
---|
201 | width:42px;
|
---|
202 | height:42px;
|
---|
203 | background:url(../img/arrows.png) no-repeat;
|
---|
204 | text-indent:-9999px;
|
---|
205 | border:0;
|
---|
206 | }
|
---|
207 | .theme-halftone a.nivo-nextNav {
|
---|
208 | background-position:0px -42px;
|
---|
209 | right:10px;
|
---|
210 | }
|
---|
211 | .theme-halftone a.nivo-prevNav {
|
---|
212 | left:10px;
|
---|
213 | }
|
---|
214 |
|
---|
215 | .theme-halftone .nivo-caption {
|
---|
216 | font-family: Helvetica, Arial, sans-serif;
|
---|
217 | }
|
---|
218 | .theme-halftone .nivo-caption a {
|
---|
219 | color:@accentColor;
|
---|
220 | border-bottom:1px dotted @accentColor;
|
---|
221 | }
|
---|
222 | .theme-halftone .nivo-caption a:hover {
|
---|
223 | color:@accentColor;
|
---|
224 | }
|
---|
225 |
|
---|
226 | .theme-halftone .nivo-controlNav.nivo-thumbs-enabled {
|
---|
227 | width: 100%;
|
---|
228 | }
|
---|
229 | .theme-halftone .nivo-controlNav.nivo-thumbs-enabled a {
|
---|
230 | width: auto;
|
---|
231 | height: auto;
|
---|
232 | background: none;
|
---|
233 | margin-bottom: 5px;
|
---|
234 | }
|
---|
235 | .theme-halftone .nivo-controlNav.nivo-thumbs-enabled img {
|
---|
236 | display: block;
|
---|
237 | width: 120px;
|
---|
238 | height: auto;
|
---|
239 | }
|
---|
240 |
|
---|