Projet

Général

Profil

Paste
Télécharger (15,2 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / busy / css / bluetrip.css @ 87dbc3bf

1
/* -----------------------------------------------------------------------
2

3
   BlueTrip CSS Framework
4

5
   Mike Crittenden
6
   mike@capsizedesigns.com
7
   Copyright 2008 Mike Crittenden
8

9
   License - MIT or GPL (whichever suits you better)
10

11
----------------------------------------------------------------------- */
12

    
13
/* MEYER RESET v1.0*/
14

    
15
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
16

    
17
/* BASIC TYPOGRAPHY */
18

    
19
html { font-size: 62.5%; font-family: "Liberation Sans", Helvetica, Arial, sans-serif; }
20
strong, th, thead td, h1, h2, h3, h4, h5, h6 { font-weight: bold; }
21
cite, em, dfn { font-style: italic; }
22
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], textarea { font-size: 92%; font-family: monaco, "Lucida Console", courier, monospace; }
23
del { text-decoration: line-through; color: #666; }
24
ins, dfn { border-bottom: 1px solid #ccc; }
25
small, sup, sub { font-size: 85%; }
26
abbr, acronym { text-transform: uppercase; font-size: 85%; letter-spacing: .1em; }
27
a abbr, a acronym { border: none; }
28
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px solid #ccc; }
29
sup { vertical-align: super; }
30
sub { vertical-align: sub; }
31

    
32
/* QUOTES */
33

    
34
blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
35
blockquote *:first-child:before { content: "\201C"; }
36
blockquote *:first-child:after { content: "\201D"; }
37

    
38
/* FORMS */
39

    
40
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
41
legend { font-weight: bold; font-size:1.2em; }
42
label { font-weight: bold; }
43
textarea, input[type='text'], input[type='password'], select { border: 1px solid #ccc; background: #fff; }
44
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }
45
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #ffffaa; }
46
input, select { cursor: pointer; }
47
input[type='text'],input[type='password'] { cursor: text; }
48

    
49
/* BASE SIZES */
50

    
51
#container { font-size: 1.2em; line-height: 1.6em; }
52
#container h1 { font-size: 1.9em; }
53
#container h2 { font-size: 1.7em; }
54
#container h3 { font-size: 1.5em; }
55
#container h4 { font-size: 1.3em; }
56
#container h5 { font-size: 1.2em; }
57
#container h6 { font-size: 1em; }
58

    
59
/* LISTS */
60

    
61
#container ul li { margin-left: .85em; }
62
#container ul { list-style-type: disc; }
63
#container ul ul { list-style-type: square; }
64
#container ul ul ul { list-style-type: circle; }
65
#container ol { list-style-position: outside; list-style-type: decimal; }
66
#container dt { font-weight: bold; }
67

    
68
/* TABLES */
69

    
70
#container table { border-top: 1px solid #ccc;  border-left: 1px solid #ccc; }
71
#container th, #container td { border-bottom: 1px solid #ddd; border-right: 1px solid #ccc; }
72

    
73
/* MARGINS & PADDINGS */
74

    
75
#container blockquote *:first-child { margin: .8em 0; }
76
#container hr, #container p, #container ul, #container ol, #container dl, #container pre, #container blockquote, #container address, #container table, #container form { margin-bottom: 1.6em; }
77
/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
78
#container h1 { margin: 1em 0 .5em;  }
79
#container h2 { margin: 1.07em 0 .535em; }
80
#container h3 { margin: 1.14em 0 .57em; }
81
#container h4 { margin: 1.23em 0 .615em; }
82
#container h5 { margin: 1.33em 0 .67em; }
83
#container h6 { margin: 1.6em 0 .8em; }
84
#container th, #container td { padding: .8em; }
85
#container caption { padding-bottom: .8em; } /* padding instead of margin for IE */
86
#container blockquote { padding: 0 1em; margin: 1.6em 0; }
87
#container fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
88
#container legend { padding-left: .8em; padding-right: .8em; }
89
#container legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
90
#container textarea, #container input { padding: .3em .4em .15em .4em; }
91
#container select { padding: .1em .2em 0 .2em; }
92
#container option { padding: 0 .4em; }
93
#container a { position: relative; padding: 0.3em 0 .1em 0; } /* for larger click-area */
94
#container dt { margin-top: .8em; margin-bottom: .4em; }
95
#container ul { margin-left: 1.5em; }
96
#container ol { margin-left: 2.35em; }
97
#container ol ol, #container ul ol { margin-left: 2.5em; }
98
#container form div { margin-bottom: .8em; }
99

    
100
/* COLORS */
101

    
102
#container a:link { text-decoration: underline; color: #36c; }
103
#container a:visited { text-decoration: underline; color: #99c; }
104
#container a:hover { text-decoration: underline; color: #c33; }
105
#container a:active, #container a:focus { text-decoration: underline; color: #000; }
106
#container code, #container pre { color: #c33; } /* very optional, but still useful. W3C uses about the same colors for codes */
107

    
108
/* 24 COLUMN GRID */
109

    
110
#container {width:950px;margin:0 auto;}
111
.showgrid {background:url(../images/grid.png);}
112
body {margin:1.5em 0;}
113
div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23 {float:left;margin-right:10px;}
114
div.span-24 {float:left;}
115
div.last {margin-right:0;}
116
.span-1 {width:30px;}
117
.span-2 {width:70px;}
118
.span-3 {width:110px;}
119
.span-4 {width:150px;}
120
.span-5 {width:190px;}
121
.span-6 {width:230px;}
122
.span-7 {width:270px;}
123
.span-8 {width:310px;}
124
.span-9 {width:350px;}
125
.span-10 {width:390px;}
126
.span-11 {width:430px;}
127
.span-12 {width:470px;}
128
.span-13 {width:510px;}
129
.span-14 {width:550px;}
130
.span-15 {width:590px;}
131
.span-16 {width:630px;}
132
.span-17 {width:670px;}
133
.span-18 {width:710px;}
134
.span-19 {width:750px;}
135
.span-20 {width:790px;}
136
.span-21 {width:830px;}
137
.span-22 {width:870px;}
138
.span-23 {width:910px;}
139
.span-24, div.span-24 {width:950px;}
140
.suffix-05 {padding-right:20px;}
141
.suffix-1 {padding-right:40px;}
142
.suffix-2 {padding-right:80px;}
143
.suffix-3 {padding-right:120px;}
144
.suffix-4 {padding-right:160px;}
145
.suffix-5 {padding-right:200px;}
146
.suffix-6 {padding-right:240px;}
147
.suffix-7 {padding-right:280px;}
148
.suffix-8 {padding-right:320px;}
149
.suffix-9 {padding-right:360px;}
150
.suffix-10 {padding-right:400px;}
151
.suffix-11 {padding-right:440px;}
152
.suffix-12 {padding-right:480px;}
153
.suffix-13 {padding-right:520px;}
154
.suffix-14 {padding-right:560px;}
155
.suffix-15 {padding-right:600px;}
156
.suffix-16 {padding-right:640px;}
157
.suffix-17 {padding-right:680px;}
158
.suffix-18 {padding-right:720px;}
159
.suffix-19 {padding-right:760px;}
160
.suffix-20 {padding-right:800px;}
161
.suffix-21 {padding-right:840px;}
162
.suffix-22 {padding-right:880px;}
163
.suffix-23 {padding-right:920px;}
164
.prefix-05 {padding-left:20px;}
165
.prefix-1 {padding-left:40px;}
166
.prefix-2 {padding-left:80px;}
167
.prefix-3 {padding-left:120px;}
168
.prefix-4 {padding-left:160px;}
169
.prefix-5 {padding-left:200px;}
170
.prefix-6 {padding-left:240px;}
171
.prefix-7 {padding-left:280px;}
172
.prefix-8 {padding-left:320px;}
173
.prefix-9 {padding-left:360px;}
174
.prefix-10 {padding-left:400px;}
175
.prefix-11 {padding-left:440px;}
176
.prefix-12 {padding-left:480px;}
177
.prefix-13 {padding-left:520px;}
178
.prefix-14 {padding-left:560px;}
179
.prefix-15 {padding-left:600px;}
180
.prefix-16 {padding-left:640px;}
181
.prefix-17 {padding-left:680px;}
182
.prefix-18 {padding-left:720px;}
183
.prefix-19 {padding-left:760px;}
184
.prefix-20 {padding-left:800px;}
185
.prefix-21 {padding-left:840px;}
186
.prefix-22 {padding-left:880px;}
187
.prefix-23 {padding-left:920px;}
188
div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
189
div.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #eee;}
190
.pull-1 {margin-left:-40px;}
191
.pull-2 {margin-left:-80px;}
192
.pull-3 {margin-left:-120px;}
193
.pull-4 {margin-left:-160px;}
194
.pull-5 {margin-left:-200px;}
195
.pull-6 {margin-left:-240px;}
196
.pull-7 {margin-left:-280px;}
197
.pull-8 {margin-left:-320px;}
198
.pull-9 {margin-left:-360px;}
199
.pull-10 {margin-left:-400px;}
200
.pull-11 {margin-left:-440px;}
201
.pull-12 {margin-left:-480px;}
202
.pull-13 {margin-left:-520px;}
203
.pull-14 {margin-left:-560px;}
204
.pull-15 {margin-left:-600px;}
205
.pull-16 {margin-left:-640px;}
206
.pull-17 {margin-left:-680px;}
207
.pull-18 {margin-left:-720px;}
208
.pull-19 {margin-left:-760px;}
209
.pull-20 {margin-left:-800px;}
210
.pull-21 {margin-left:-840px;}
211
.pull-22 {margin-left:-880px;}
212
.pull-23 {margin-left:-920px;}
213
.pull-24 {margin-left:-960px;}
214
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;}
215
.push-1 {margin:0 -40px 1.5em 40px;}
216
.push-2 {margin:0 -80px 1.5em 80px;}
217
.push-3 {margin:0 -120px 1.5em 120px;}
218
.push-4 {margin:0 -160px 1.5em 160px;}
219
.push-5 {margin:0 -200px 1.5em 200px;}
220
.push-6 {margin:0 -240px 1.5em 240px;}
221
.push-7 {margin:0 -280px 1.5em 280px;}
222
.push-8 {margin:0 -320px 1.5em 320px;}
223
.push-9 {margin:0 -360px 1.5em 360px;}
224
.push-10 {margin:0 -400px 1.5em 400px;}
225
.push-11 {margin:0 -440px 1.5em 440px;}
226
.push-12 {margin:0 -480px 1.5em 480px;}
227
.push-13 {margin:0 -520px 1.5em 520px;}
228
.push-14 {margin:0 -560px 1.5em 560px;}
229
.push-15 {margin:0 -600px 1.5em 600px;}
230
.push-16 {margin:0 -640px 1.5em 640px;}
231
.push-17 {margin:0 -680px 1.5em 680px;}
232
.push-18 {margin:0 -720px 1.5em 720px;}
233
.push-19 {margin:0 -760px 1.5em 760px;}
234
.push-20 {margin:0 -800px 1.5em 800px;}
235
.push-21 {margin:0 -840px 1.5em 840px;}
236
.push-22 {margin:0 -880px 1.5em 880px;}
237
.push-23 {margin:0 -920px 1.5em 920px;}
238
.push-24 {margin:0 -960px 1.5em 960px;}
239
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:right;position:relative;}
240
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
241
hr.space {background:#fff;color:#fff;}
242
.clearfix:after, #container:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
243
.clearfix, #container {display:inline-block;}
244
* html .clearfix, * html #container {height:1%;}
245
.clearfix, #container {display:block;}
246
.clear {clear:both;}
247

    
248
/* to create serif italic dramatic text, use this class */
249
.fancy {
250
  color: #666;
251
  font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
252
  font-style: italic;
253
  font-weight: normal;
254
}
255

    
256
/* creates small caps */
257
.caps {
258
  font-variant: small-caps;
259
  letter-spacing: 1px;
260
  text-transform: lowercase;
261
  font-size:1.2em;
262
  font-weight:bold;
263
  padding:0 2px;
264
}
265

    
266
/* Use this class if a link gets an icon when it shouldn't. */
267
body a.noicon { background:none; padding:0; margin:0; }
268

    
269
/* Make sure the icons are not cut */
270
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
271
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
272
a[href$=".rdf"], a[href^="aim:"] {
273
  padding:2px 22px 2px 0;
274
  margin:-2px 0;
275
  background-repeat: no-repeat;
276
  background-position: right center;
277
}
278

    
279
/* External links */
280
a[href^="http:"]          { background-image: url(../img/icons/external.png); padding-right: 14px; }
281
a[href^="mailto:"]        { background-image: url(../img/icons/email.png); }
282
a[href^="http:"]:visited  { background-image: url(../img/icons/visited.png); }
283

    
284
/* Files */
285
a[href$=".pdf"]   { background-image: url(../img/icons/pdf.png); }
286
a[href$=".doc"]   { background-image: url(../img/icons/doc.png); }
287
a[href$=".xls"]   { background-image: url(../img/icons/xls.png); }
288

    
289
/* Misc */
290
a[href$=".rss"],
291
a[href$=".rdf"]   { background-image: url(../img/icons/feed.png); }
292
a[href^="aim:"]   { background-image: url(../img/icons/im.png); }
293
a[href^="http://yourwebsite.com"] { background:none; padding:0; margin:0; }
294

    
295
/* TEXT CLASSES */
296

    
297
#container .small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
298
#container .large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
299
#container .hide {display:none;}
300
#container .quiet {color:#666;}
301
#container .loud {color:#000;}
302
#container .highlight {background:#ff0;}
303
#container .top {margin-top:0;padding-top:0;}
304
#container .bottom {margin-bottom:0;padding-bottom:0;}
305
#container .thin {font-weight: lighter;}
306
#container .error, #container .notice, #container .success {padding:.8em;margin-bottom:1.6em;border:2px solid #ddd;}
307
#container .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
308
#container .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
309
#container .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
310
#container .error a {color:#8a1f11; background:none; padding:0; margin:0; }
311
#container .notice a {color:#514721; background:none; padding:0; margin:0; }
312
#container .success a {color:#264409; background:none; padding:0; margin:0; }
313
#container .center {text-align: center;}
314

    
315
/*---------STYLES FOR BUTTONS----------*/
316
/* Demo: particletree.com/features/rediscovering-the-button-element */
317
/*
318
        <button type="submit" class="button positive">
319
          <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
320
        </button>
321

322
        <a class="button" href="/password/reset/">
323
          <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
324
        </a>
325

326
        <a href="#" class="button negative">
327
          <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
328
        </a>
329
*/
330

    
331
#container a.button, #container button {
332
  display: inline-block;
333
  float: left;
334
  margin:0 0.583em 0.667em 0;
335
  padding:5px 10px 5px 7px;   /* Links */
336
  border:1px solid #dedede;
337
  border-top:1px solid #eee;
338
  border-left:1px solid #eee;
339
  background-color:#f5f5f5;
340
  font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
341
  font-size:100%;
342
  line-height:130%;
343
  text-decoration:none;
344
  font-weight:bold;
345
  color:#565656;
346
  cursor:pointer;
347
}
348
#container button {
349
  width:auto;
350
  overflow:visible;
351
  padding:4px 10px 3px 7px;   /* IE6 */
352
}
353
#container button[type] {
354
  padding:4px 10px 4px 7px;   /* Firefox */
355
  line-height:17px;           /* Safari */
356
}
357

    
358
*:first-child+html #container button[type] {
359
  padding:4px 10px 3px 7px;   /* IE7 */
360
}
361

    
362
#container button img, #container a.button img{
363
  margin:0 3px -3px 0 !important;
364
  padding:0;
365
  border:none;
366
  width:16px;
367
  height:16px;
368
  float:none;
369
}
370

    
371
/* Standard Buttons */
372
button:hover, a.button:hover{
373
  background-color:#dff4ff;
374
  border:1px solid #c2e1ef;
375
  color:#336699;
376
}
377
a.button:active, button:active{
378
  background-color:#6299c5;
379
  border:1px solid #6299c5;
380
  color:#fff;
381
}
382

    
383
/* Positive */
384
body .positive {
385
  color:#529214;
386
}
387
a.positive:hover, button.positive:hover {
388
  background-color:#E6EFC2;
389
  border:1px solid #C6D880;
390
  color:#529214;
391
}
392
a.positive:active, button.positive:active {
393
  background-color:#529214;
394
  border:1px solid #529214;
395
  color:#fff;
396
}
397

    
398
/* Negative */
399
body .negative {
400
  color:#d12f19;
401
}
402
a.negative:hover, button.negative:hover {
403
  background:#fbe3e4;
404
  border:1px solid #fbc2c4;
405
  color:#d12f19;
406
}
407
a.negative:active, button.negative:active {
408
  background-color:#d12f19;
409
  border:1px solid #d12f19;
410
  color:#fff;
411
}
412

    
413

    
414

    
415