source: main/trunk/greenstone3/web/interfaces/therin/css/shortcodes.css@ 28644

Last change on this file since 28644 was 28644, checked in by jlwhisler, 10 years ago

A new interface created using a CSS template by luiszuno.com. Based on the default interface.

File size: 8.0 KB
Line 
1/* Vars ----------------------------------------------------*//* Mixins ----------------------------------------------------*//* DIVIDER -------------------------------------------------*/
2.hr {
3 border-bottom: 5px solid #444444;
4 padding-top: 40px;
5 padding-bottom: 20px;
6}
7.block-divider {
8 background: url(../img/divider.png) no-repeat center center;
9 height: 150px;
10}
11/* PRE ------------------------------------------------------------*/
12pre {
13 white-space: pre;
14 font-size: 14px;
15 padding: 10px;
16 font-family: Consolas,monospace;
17 word-break: break-word;
18}
19/* COLUMNS LAYOUT----------------------------------------------------------*/
20.one-half,
21.one-third,
22.one-fourth {
23 float: left;
24 margin-bottom: 40px;
25 margin-right: 2.1276%;
26 position: relative;
27}
28.one-half {
29 width: 48.9361%;
30}
31.one-third {
32 width: 31.9148%;
33}
34.one-fourth {
35 width: 23.4042%;
36}
37.last {
38 clear: right;
39 margin-right: 0 !important;
40}
41/* VIDEOS ------------------------------------------------------------*/
42.video-wrapper {
43 margin-left: 20px;
44 margin-right: 20px;
45 margin-bottom: 25px;
46}
47.video-container {
48 position: relative;
49 padding-bottom: 56.25%;
50 padding-top: 30px;
51 height: 0;
52 overflow: hidden;
53}
54.video-container iframe,
55.video-container object,
56.video-container embed {
57 position: absolute;
58 top: 0;
59 left: 0;
60 width: 100%;
61 height: 100%;
62}
63/* DROPCAP ------------------------------------------------------------*/
64.dropcap:first-letter {
65 font-size: 3.571em;
66 line-height: 0.76em;
67 padding: 0.2em 0.2em 0 0;
68 float: left;
69 display: block;
70 color: #444444;
71}
72.dropcap.dark:first-letter {
73 display: block;
74 float: left;
75 font-size: 30px;
76 line-height: 40px;
77 margin: 0 8px 0 0;
78 padding: 10px 10px;
79 background: #444444;
80 color: #888888;
81 border-radius: 5px;
82 -moz-border-radius: 5px;
83 -webkit-border-radius: 5px;
84}
85/* INFOBOXES ------------------------------------------------------------*/
86.infobox-info,
87.infobox-warning,
88.infobox-success,
89.infobox-error {
90 border: 1px solid;
91 margin: 10px 0px;
92 padding: 15px 10px 15px 50px;
93 background-repeat: no-repeat;
94 background-position: 10px center;
95 border-radius: 5px;
96 -moz-border-radius: 5px;
97 -webkit-border-radius: 5px;
98}
99.infobox-info {
100 color: #00529B;
101 background-color: #BDE5F8;
102 background-image: url('../img/info-blue.png');
103}
104.infobox-warning {
105 color: #9F6000;
106 background-color: #FEEFB3;
107 background-image: url('../img/info-yellow.png');
108}
109.infobox-success {
110 color: #4F8A10;
111 background-color: #DFF2BF;
112 background-image: url('../img/info-green.png');
113}
114.infobox-error {
115 color: #D8000C;
116 background-color: #FFBABA;
117 background-image: url('../img/info-red.png');
118}
119/* LISTS ------------------------------------------------------------*/
120.entry-content .lists-check ul,
121.entry-content .lists-arrow ul,
122.entry-content .lists-plus ul,
123.entry-content .lists-star ul,
124.entry-content .lists-heart ul {
125 margin-bottom: 30px;
126 margin-left: 20px;
127}
128.entry-content .lists-check ul li {
129 list-style-image: url(../img/bullets/check.png);
130 line-height: 1.5em;
131}
132.entry-content .lists-arrow ul {
133 list-style-image: url(../img/bullets/arrow.png);
134 line-height: 1.5em;
135}
136.entry-content .lists-plus ul {
137 list-style-image: url(../img/bullets/plus.png);
138 line-height: 1.5em;
139}
140.entry-content .lists-star ul {
141 list-style-image: url(../img/bullets/star.png);
142 line-height: 1.5em;
143}
144.entry-content .lists-heart ul {
145 list-style-image: url(../img/bullets/heart.png);
146 line-height: 1.5em;
147}
148/* PULLQUOTES ------------------------------------------------------------*/
149.pullquote-right,
150.pullquote-left {
151 border-left: #555555 2px solid;
152 float: right;
153 font-size: 16px;
154 line-height: 1.5em;
155 margin: 20px 0px 20px 20px;
156 width: 33%;
157 font-style: italic;
158}
159.pullquote-left {
160 float: left;
161 margin: 20px 20px 20px 0px;
162 padding: 0 0 0 20px;
163}
164.pullquote-right {
165 border-left: none;
166 border-right: #555555 2px solid;
167 padding: 0 20px 0 0px;
168}
169/* HIGHLIGHT ------------------------------------------------------------*/
170.highlight {
171 background: #fbe471;
172}
173/* Link buttons ------------------------------------------------*/
174.entry-content .link-button {
175 color: #fff;
176}
177.link-button {
178 display: inline-block;
179 background-color: #e37655;
180 border: 1px solid #ffa887;
181 border-bottom: 1px solid #cf6241;
182 -moz-border-radius: 3px 3px 3px 3px;
183 -webkit-border-radius: 3px 3px 3px 3px;
184 border-radius: 3px 3px 3px 3px;
185 box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
186 color: #fff;
187 font-size: 14px;
188 line-height: 1;
189 padding: 8px 10px;
190 text-align: center;
191 text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
192}
193.link-button:hover {
194 background-color: #f98c6b;
195}
196.link-button.red {
197 background: #e65151;
198 border: 1px solid #ff8d8d;
199 border-bottom: 1px solid #d23d3d;
200}
201.link-button.red:hover {
202 background: #fb6666;
203}
204.link-button.green {
205 background: #86ae53;
206 border: 1px solid #b8e085;
207 border-bottom: 1px solid #729a3f;
208}
209.link-button.green:hover {
210 background: #9cc469;
211}
212.link-button.blue {
213 background: #53a4ae;
214 border: 1px solid #85d6e0;
215 border-bottom: 1px solid #3f909a;
216}
217.link-button.blue:hover {
218 background: #69bac4;
219}
220/* ACCORDION -------------------------------------------------*/
221.accordion-trigger,
222.toggle-trigger {
223 line-height: 30px;
224 border-top: 1px solid #ccc;
225 border-left: 1px solid #ccc;
226 border-right: 1px solid #ccc;
227 border-bottom: 1px solid #ccc;
228}
229.accordion-trigger a,
230.toggle-trigger a {
231 color: #ece9d6;
232}
233.accordion-trigger {
234 text-decoration: none;
235 padding: 5px 10px;
236 cursor: pointer;
237 background: #f1f1f1;
238 font-size: 14px;
239}
240.accordion-trigger.active {
241 border-bottom: 1px solid #ccc;
242}
243.accordion-trigger:hover {
244 background: #fff;
245}
246.accordion-container {
247 margin-bottom: 0px;
248 padding: 5px 10px;
249 border-bottom: 1px solid #ccc;
250 border-right: 1px solid #ccc;
251 border-left: 1px solid #ccc;
252}
253/* TOGGLE -------------------------------------------------*/
254.toggle-trigger {
255 text-decoration: none;
256 cursor: pointer;
257 overflow: hidden;
258 background-color: #f1f1f1;
259 padding: 5px 5px 5px 10px;
260 font-size: 14px;
261}
262.toggle-trigger i {
263 display: block;
264 float: left;
265 width: 31px;
266 height: 31px;
267 margin-right: 10px;
268 background: url(../img/toggle.png) no-repeat 0px 0px;
269}
270.toggle-trigger.active {
271 border-bottom: 1px solid #ccc;
272}
273.toggle-trigger.active i {
274 background-position: 0px -31px;
275}
276.toggle-trigger:hover {
277 background-color: #fff;
278}
279.toggle-container {
280 margin-bottom: 0px;
281 padding: 5px 10px;
282 border-bottom: 1px solid #ccc;
283 border-right: 1px solid #ccc;
284 border-left: 1px solid #ccc;
285}
286/* TABS -------------------------------------------------*/
287/* root element for tabs */
288.tabs {
289 list-style: none;
290 margin: 0 !important;
291 padding: 0px;
292 height: 33px;
293}
294body.home .tabs {
295 padding: 0px 30px;
296}
297/* single tab */
298ul.tabs li {
299 display: block;
300 float: left;
301 text-indent: 0;
302 padding: 0;
303 margin: 2px 5px 0px 0px !important;
304 list-style-image: none !important;
305 border-top: 1px solid #ccc;
306 border-right: 1px solid #ccc;
307 border-left: 1px solid #ccc;
308}
309/* link inside the tab. uses a background image */
310ul.tabs a {
311 display: block;
312 font-size: 12px;
313 font-weight: bold;
314 height: 30px;
315 line-height: 30px;
316 text-align: center;
317 text-decoration: none;
318 padding: 0px 0px 0px 10px;
319 position: relative;
320 top: 0px;
321}
322ul.tabs a span {
323 display: block;
324 height: 100%;
325 padding-right: 10px;
326}
327ul.tabs a {
328 text-decoration: none;
329 color: #444444;
330 background: #ececec;
331}
332ul.tabs a:active {
333 outline: none;
334}
335/* when mouse enters the tab move the background image */
336ul.tabs li:hover a,
337ul.tabs a.current {
338 background: #f3f3f3;
339 color: #444;
340 border-bottom: 1px solid #f1f1f1;
341}
342/* active tab uses a class name "current". its highlight is also done by moving the background image. */
343ul.tabs a.current,
344ul.tabs a.current:hover,
345ul.tabs li.current a {
346 cursor: default !important;
347 color: #444 !important;
348 display: block;
349 text-decoration: none;
350}
351/* initially all panes are hidden */.panes .pane {
352 display: none;
353}
354.panes > div {
355 display: none;
356 min-height: 200px;
357 border: 1px solid #ccc;
358 padding: 15px;
359 background: #f1f1f1;
360}
Note: See TracBrowser for help on using the repository browser.