source: documentation/trunk/tutorial_sample_files/libraries/althor/css/elements.css@ 28599

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

Draft interface for use in Defining Libraries tutorial.

File size: 11.7 KB
Line 
1/* Vars ----------------------------------------------------*//* Mixins ----------------------------------------------------*/.block-divider {
2 border-bottom: 1px solid #585246;
3 margin-bottom: 50px;
4 padding-bottom: 50px;
5}
6/* DROPCAP ------------------------------------------------------------*/
7.dropcap:first-letter {
8 font-size: 3.571em;
9 line-height: 0.76em;
10 padding: 0.2em 0.2em 0 0;
11 float: left;
12 display: block;
13 color: #585246;
14}
15.dropcap.dark:first-letter {
16 display: block;
17 float: left;
18 font-size: 30px;
19 line-height: 40px;
20 margin: 0 8px 0 0;
21 padding: 10px 10px;
22 background: #585246;
23 color: #f3e4c8;
24 border-radius: 5px;
25 -moz-border-radius: 5px;
26 -webkit-border-radius: 5px;
27}
28/* INFOBOXES ------------------------------------------------------------*/
29.infobox-info,
30.infobox-warning,
31.infobox-success,
32.infobox-error {
33 border: 1px solid;
34 margin: 10px 0px;
35 padding: 15px 10px 15px 50px;
36 background-repeat: no-repeat;
37 background-position: 10px center;
38 border-radius: 5px;
39 -moz-border-radius: 5px;
40 -webkit-border-radius: 5px;
41}
42.infobox-info {
43 color: #00529B;
44 background-color: #BDE5F8;
45 background-image: url('../img/info-blue.png');
46}
47.infobox-warning {
48 color: #9F6000;
49 background-color: #FEEFB3;
50 background-image: url('../img/info-yellow.png');
51}
52.infobox-success {
53 color: #4F8A10;
54 background-color: #DFF2BF;
55 background-image: url('../img/info-green.png');
56}
57.infobox-error {
58 color: #D8000C;
59 background-color: #FFBABA;
60 background-image: url('../img/info-red.png');
61}
62/* LISTS ------------------------------------------------------------*/
63.lists-check ul,
64.lists-arrow ul,
65.lists-plus ul,
66.lists-star ul,
67.lists-heart ul {
68 margin-bottom: 30px;
69 margin-left: 20px;
70}
71.lists-check ul li {
72 list-style-image: url(../img/bullets/check.png);
73 line-height: 1.5em;
74}
75.lists-arrow ul {
76 list-style-image: url(../img/bullets/arrow.png);
77 line-height: 1.5em;
78}
79.lists-plus ul {
80 list-style-image: url(../img/bullets/plus.png);
81 line-height: 1.5em;
82}
83.lists-star ul {
84 list-style-image: url(../img/bullets/star.png);
85 line-height: 1.5em;
86}
87.lists-heart ul {
88 list-style-image: url(../img/bullets/heart.png);
89 line-height: 1.5em;
90}
91/* PULLQUOTES ------------------------------------------------------------*/
92.pullquote-right,
93.pullquote-left {
94 border-left: #555555 2px solid;
95 float: right;
96 font-size: 16px;
97 line-height: 1.5em;
98 margin: 20px 0px 20px 20px;
99 width: 33%;
100 font-style: italic;
101}
102.pullquote-left {
103 float: left;
104 margin: 20px 20px 20px 0px;
105 padding: 0 0 0 20px;
106}
107.pullquote-right {
108 border-left: none;
109 border-right: #555555 2px solid;
110 padding: 0 20px 0 0px;
111}
112/* HIGHLIGHT ------------------------------------------------------------*/
113.highlight {
114 background: #fbe471;
115}
116/* Link buttons ------------------------------------------------*/
117.theme-link-button {
118 display: inline-block;
119 padding: 10px;
120 background: #cb5432;
121 color: #f1d76e;
122}
123.link-button {
124 display: inline-block;
125 background-color: #cb5432;
126 background-image: -webkit-gradient(linear, left top, left bottom, from(#fe8300), to(#c46500));
127 /* Saf4+, Chrome */
128
129 background-image: -webkit-linear-gradient(top, #fe8300, #c46500);
130 background-image: -moz-linear-gradient(top, #fe8300, #c46500);
131 background-image: -ms-linear-gradient(top, #fe8300, #c46500);
132 background-image: -o-linear-gradient(top, #fe8300, #c46500);
133 background-image: linear-gradient(top, #fe8300, #c46500);
134 border: 1px solid #c46500;
135 border-bottom: 1px solid #fe8300;
136 -webkit-border-radius: 3px;
137 -moz-border-radius: 3px;
138 -ms-border-radius: 3px;
139 -o-border-radius: 3px;
140 border-radius: 3px;
141 -webkit-box-shadow: inset 0 1px 0 0 #fe8300;
142 -moz-box-shadow: inset 0 1px 0 0 #fe8300;
143 -ms-box-shadow: inset 0 1px 0 0 #fe8300;
144 -o-box-shadow: inset 0 1px 0 0 #fe8300;
145 box-shadow: inset 0 1px 0 0 #fe8300;
146 color: #703a00;
147 font-weight: bold;
148 line-height: 1;
149 padding: 8px 10px;
150 text-align: center;
151 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
152}
153.link-button:hover {
154 color: #703a00;
155 background-color: #ff9627;
156 background-image: -webkit-gradient(linear, left top, left bottom, from(#ff9627), to(#c46500));
157 /* Saf4+, Chrome */
158
159 background-image: -webkit-linear-gradient(top, #ff9627, #c46500);
160 background-image: -moz-linear-gradient(top, #ff9627, #c46500);
161 background-image: -ms-linear-gradient(top, #ff9627, #c46500);
162 background-image: -o-linear-gradient(top, #ff9627, #c46500);
163 background-image: linear-gradient(top, #ff9627, #c46500);
164}
165.link-button.fullwidth {
166 display: block;
167 width: 97%;
168 margin: 0 auto;
169}
170.list-buttons {
171 display: block;
172}
173.list-buttons li {
174 display: block;
175 float: left;
176 margin-right: 5px;
177 margin-bottom: 20px;
178}
179/* Link buttons red ------------------------------------------------*/
180.link-button.red {
181 color: #530909;
182 background-color: #e4504c;
183 background-image: -webkit-gradient(linear, left top, left bottom, from(#e4504c), to(#a61b1b));
184 /* Saf4+, Chrome */
185
186 background-image: -webkit-linear-gradient(top, #e4504c, #a61b1b);
187 background-image: -moz-linear-gradient(top, #e4504c, #a61b1b);
188 background-image: -ms-linear-gradient(top, #e4504c, #a61b1b);
189 background-image: -o-linear-gradient(top, #e4504c, #a61b1b);
190 background-image: linear-gradient(top, #e4504c, #a61b1b);
191 border: 1px solid #6e0606;
192 border-bottom: 1px solid #6e0606;
193 -webkit-box-shadow: inset 0 1px 0 0 #f95c59;
194 -moz-box-shadow: inset 0 1px 0 0 #f95c59;
195 -ms-box-shadow: inset 0 1px 0 0 #f95c59;
196 -o-box-shadow: inset 0 1px 0 0 #f95c59;
197 box-shadow: inset 0 1px 0 0 #f95c59;
198}
199.link-button.red:hover {
200 color: #530909;
201 background-color: #89cc54;
202 background-image: -webkit-gradient(linear, left top, left bottom, from(#ff8380), to(#b40e0e));
203 /* Saf4+, Chrome */
204
205 background-image: -webkit-linear-gradient(top, #ff8380, #b40e0e);
206 background-image: -moz-linear-gradient(top, #ff8380, #b40e0e);
207 background-image: -ms-linear-gradient(top, #ff8380, #b40e0e);
208 background-image: -o-linear-gradient(top, #ff8380, #b40e0e);
209 background-image: linear-gradient(top, #ff8380, #b40e0e);
210}
211/* Link buttons green ------------------------------------------------*/
212.link-button.green {
213 color: #223613;
214 background-color: #7fbf4d;
215 background-image: -webkit-gradient(linear, left top, left bottom, from(#7fbf4d), to(#426825));
216 /* Saf4+, Chrome */
217
218 background-image: -webkit-linear-gradient(top, #7fbf4d, #426825);
219 background-image: -moz-linear-gradient(top, #7fbf4d, #426825);
220 background-image: -ms-linear-gradient(top, #7fbf4d, #426825);
221 background-image: -o-linear-gradient(top, #7fbf4d, #426825);
222 background-image: linear-gradient(top, #7fbf4d, #426825);
223 border: 1px solid #63a62f;
224 border-bottom: 1px solid #5b992b;
225 -webkit-box-shadow: inset 0 1px 0 0 #96ca6d;
226 -moz-box-shadow: inset 0 1px 0 0 #96ca6d;
227 -ms-box-shadow: inset 0 1px 0 0 #96ca6d;
228 -o-box-shadow: inset 0 1px 0 0 #96ca6d;
229 box-shadow: inset 0 1px 0 0 #96ca6d;
230}
231.link-button.green:hover {
232 color: #223613;
233 background-color: #89cc54;
234 background-image: -webkit-gradient(linear, left top, left bottom, from(#89cc54), to(#426825));
235 /* Saf4+, Chrome */
236
237 background-image: -webkit-linear-gradient(top, #89cc54, #426825);
238 background-image: -moz-linear-gradient(top, #89cc54, #426825);
239 background-image: -ms-linear-gradient(top, #89cc54, #426825);
240 background-image: -o-linear-gradient(top, #89cc54, #426825);
241 background-image: linear-gradient(top, #89cc54, #426825);
242}
243/* Link buttons blue ------------------------------------------------*/
244.link-button.blue {
245 color: #2c4358;
246 background-color: #97b2c9;
247 background-image: -webkit-gradient(linear, left top, left bottom, from(#97b2c9), to(#4e7da5));
248 /* Saf4+, Chrome */
249
250 background-image: -webkit-linear-gradient(top, #97b2c9, #4e7da5);
251 background-image: -moz-linear-gradient(top, #97b2c9, #4e7da5);
252 background-image: -ms-linear-gradient(top, #97b2c9, #4e7da5);
253 background-image: -o-linear-gradient(top, #97b2c9, #4e7da5);
254 background-image: linear-gradient(top, #97b2c9, #4e7da5);
255 border: 1px solid #b9d3e9;
256 border-bottom: 1px solid #2c4358;
257 -webkit-box-shadow: inset 0 1px 0 0 #b9d3e9;
258 -moz-box-shadow: inset 0 1px 0 0 #b9d3e9;
259 -ms-box-shadow: inset 0 1px 0 0 #b9d3e9;
260 -o-box-shadow: inset 0 1px 0 0 #b9d3e9;
261 box-shadow: inset 0 1px 0 0 #b9d3e9;
262}
263.link-button.blue:hover {
264 color: #2c4358;
265 background-color: #89cc54;
266 background-image: -webkit-gradient(linear, left top, left bottom, from(#89bde8), to(#3771a2));
267 /* Saf4+, Chrome */
268
269 background-image: -webkit-linear-gradient(top, #89bde8, #3771a2);
270 background-image: -moz-linear-gradient(top, #89bde8, #3771a2);
271 background-image: -ms-linear-gradient(top, #89bde8, #3771a2);
272 background-image: -o-linear-gradient(top, #89bde8, #3771a2);
273 background-image: linear-gradient(top, #89bde8, #3771a2);
274}
275/* ACCORDION -------------------------------------------------*/
276.accordion-trigger,
277.toggle-trigger {
278 line-height: 30px;
279 font-size: 14px;
280 border-top: 1px solid #797367;
281 border-left: 1px solid #585246;
282 border-right: 1px solid #585246;
283 border-bottom: 1px solid #373125;
284}
285.accordion-trigger {
286 text-decoration: none;
287 color: #f3e4c8;
288 font-weight: bold;
289 padding: 5px 10px;
290 cursor: pointer;
291 background: #585246;
292}
293.accordion-trigger.active {
294 border-bottom: 1px solid #585246;
295}
296.accordion-trigger:hover {
297 background: #585246;
298}
299.accordion-container {
300 margin-bottom: 0px;
301 padding: 5px 10px;
302 border-bottom: 1px solid #585246;
303 border-right: 1px solid #585246;
304 border-left: 1px solid #585246;
305}
306/* TOGGLE -------------------------------------------------*/
307.toggle-trigger {
308 text-decoration: none;
309 color: #f3e4c8;
310 font-weight: bold;
311 cursor: pointer;
312 overflow: hidden;
313 background-color: #585246;
314 padding: 5px 5px 5px 10px;
315}
316.toggle-trigger i {
317 display: block;
318 float: left;
319 width: 31px;
320 height: 31px;
321 margin-right: 10px;
322 background: url(../img/toggle.png) no-repeat 0px 0px;
323}
324.toggle-trigger.active {
325 border-bottom: 1px solid #585246;
326}
327.toggle-trigger.active i {
328 background-position: 0px -31px;
329}
330.toggle-trigger:hover {
331 background-color: #585246;
332}
333.toggle-container {
334 margin-bottom: 0px;
335 padding: 5px 10px;
336 border-bottom: 1px solid #585246;
337 border-right: 1px solid #585246;
338 border-left: 1px solid #585246;
339}
340/* TABS -------------------------------------------------*/
341/* root element for tabs */
342.tabs {
343 list-style: none;
344 margin: 0 !important;
345 padding: 0px;
346 height: 33px;
347}
348body.home .tabs {
349 padding: 0px 30px;
350}
351/* single tab */
352ul.tabs li {
353 display: block;
354 float: left;
355 text-indent: 0;
356 padding: 0;
357 margin: 2px 5px 0px 0px !important;
358 list-style-image: none !important;
359 border-top: 1px solid #585246;
360 border-right: 1px solid #585246;
361 border-left: 1px solid #585246;
362}
363/* link inside the tab. uses a background image */
364ul.tabs a {
365 display: block;
366 font-size: 13px;
367 font-weight: bold;
368 height: 30px;
369 line-height: 30px;
370 text-align: center;
371 text-decoration: none;
372 padding: 0px 0px 0px 10px;
373 position: relative;
374 top: 0px;
375}
376ul.tabs a span {
377 display: block;
378 height: 100%;
379 padding-right: 10px;
380}
381ul.tabs a {
382 text-decoration: none;
383 color: #444444;
384 background: #f3e4c8;
385}
386ul.tabs a:active {
387 outline: none;
388}
389/* when mouse enters the tab move the background image */
390ul.tabs li:hover a,
391ul.tabs a.current {
392 background: #f3f3f3;
393 color: #444;
394 border-bottom: 1px solid #f1f1f1;
395}
396/* active tab uses a class name "current". its highlight is also done by moving the background image. */
397ul.tabs a.current,
398ul.tabs a.current:hover,
399ul.tabs li.current a {
400 cursor: default !important;
401 color: #444 !important;
402 display: block;
403 text-decoration: none;
404}
405/* initially all panes are hidden */.panes .pane {
406 display: none;
407}
408.panes > div {
409 display: none;
410 min-height: 200px;
411 border: 1px solid #585246;
412 padding: 15px;
413 background: #f1f1f1;
414}
Note: See TracBrowser for help on using the repository browser.