Newer
Older
/* $Id$ */
/**
* Omega, for Drupal 6.x
* Jake Strawn - http://himerus.com
* Project Page - http://drupal.org/project/omega
Jake Strawn
committed
*
* The defaults.css file is the default set of default styles
* normally available with the Omega base theme.
Jake Strawn
committed
* All of these styles are easily overwritten, but here to give
* a bit more "sexy" right out of the box.
*
*
* Omega CSS Table of Contents for defaults.css
*
* 1.) Generic Page Elements - pretty generic indeed.
* 2.) Content Tabs - styling for tabs. (view, edit, etc)
* 3.) Pager Navigation - Styling for pager navigation
* 4.) clear-block code - default drupal clear-block definitions
* 5.) Cleanup CSS - Primarily sizing & margins for default elements
Jake Strawn
committed
* 6.)
* 7.)
*/
Jake Strawn
committed
/** ################# 1.) Generic Page Elements ####################### */
body {
Jake Strawn
committed
background: #FFF;
}
.description {
color: #594F36;
font-size: 0.9em;
line-height: 1em;
padding: 10px;
}
.admin-panel {
padding: 0;
}
.admin .body {
padding: 0;
}
#footer-message {
font-size: 0.8em;
color: #594F36;
margin: 5px 0 0 0;
}
#footer-message p {
Jake Strawn
committed
margin: 0;
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
}
fieldset {
border: 1px solid #EAD885;
margin: 15px 0;
padding: 10px;
}
fieldset.collapsed {
}
fieldset legend {
font-weight: bold;
}
fieldset.collapsible legend a {
font-weight: bold;
}
fieldset .form-text {
width: 100%;
}
.status {
margin-top: 10px;
margin-bottom: 10px;
}
.messages {
margin-top: 10px;
margin-bottom: 10px;
background-color: #fff;
border: 1px solid #b8d3e5;
}
Jake Strawn
committed
.messages,
.status,
.warning,
.error {
padding: 10px;
}
.messages ul {
Jake Strawn
committed
margin-left: 20px;
}
.new {
font-size: 1.5em;
color: #FF0000;
display: block;
Jake Strawn
committed
text-align: right;
}
.indented {
Jake Strawn
committed
margin-left: 30px;
}
.comment-preview {
Jake Strawn
committed
padding: 20px;
}
.help {
font-size: 0.9em;
padding: 10px;
padding-bottom: 0;
background-color: #fff;
border: 1px solid #b8d3e5;
margin-bottom: 10px;
margin-top: 10px;
}
.help p {
Jake Strawn
committed
margin-bottom: 10px;
}
.preview {
background-color: #fcfce8;
border: 1px solid #e5e58f;
}
div.status {
color: #33a333;
border-color: #c7f2c8;
}
div.error, tr.error {
color: #a30000;
background-color: #FFCCCC;
}
Jake Strawn
committed
.form-item input.error,
.form-item textarea.error {
border: 1px solid #c52020;
color: #363636;
}
#branding img {
Jake Strawn
committed
vertical-align: top;
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
}
#site-name {
font-size: 42px;
font-weight: normal;
font-family: Georgia, serif;
padding: 0;
margin: 0;
display: inline;
letter-spacing: -0.09em;
line-height: 85px;
}
#site-name a,
#site-name a:hover,
#site-name a:visited {
margin: 0;
padding: 0;
color: #000;
text-decoration: none;
}
#site-menu {
text-align: right;
}
#search-box {
Jake Strawn
committed
text-align: right;
float: right;
}
#search-box label, #search-box .form-submit {
Jake Strawn
committed
display: none;
}
#search-box .form-text {
font-size: 16px;
padding: 1px 3px;
}
.breadcrumb {
font-size: 1.2em;
Jake Strawn
committed
padding: 0;
}
#slogan {
font-size: 18px;
font-family: Georgia;
}
#main {
margin-top: 20px;
margin-bottom: 20px;
}
.block p {
Jake Strawn
committed
margin: 0;
}
#mission {
margin: 0 0 20px 0;
Jake Strawn
committed
padding: 0;
}
#mission p {
margin: 0;
padding: 0;
font-style: italic;
Jake Strawn
committed
font-size: 12px;
}
.sidebar .block {
Jake Strawn
committed
margin-bottom: 20px;
}
.sidebar ul {
margin: 0 0 0 15px;
padding: 0;
}
.sidebar ul li {
list-style-position: outside;
margin: 0;
Jake Strawn
committed
}
.node {
padding-bottom: 10px;
margin-bottom: 20px;
Jake Strawn
committed
border-bottom: 1px solid #38322B;
}
.block .content {
Jake Strawn
committed
padding: 0;
}
/** ################# 2.) Content Tabs ####################### */
#content-tabs {
padding: 10px;
Jake Strawn
committed
background-color: #f2f2f2;
border: 1px solid #ddd;
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
display: block;;
margin: 0 0 20px 0;
font-family: Georgia, serif;
}
#content-tabs ul.primary,
#content-tabs ul.secondary {
margin: 0;
padding: 0 10px 0 0;
border: none;
}
#content-tabs ul.secondary {
margin-top: 5px;
text-transform: lowercase;
}
#content-tabs ul.primary li,
#content-tabs ul.secondary li {
background: transparent;
border-style: none;
display: inline;
list-style: none;
margin: 0 10px 0 0;
padding: 0;
}
#content-tabs ul.primary li a:link,
#content-tabs ul.primary li a:visited,
#content-tabs ul.secondary li a:link,
#content-tabs ul.secondary li a:visited {
background-color: transparent;
border: none;
color: #000;
font-size: 0.9em;
line-height: 1.2em;
font-weight: normal;
margin: 0;
padding: 0 0 6px 0;
text-decoration: none;
}
#content-tabs ul.secondary li a:link,
#content-tabs ul.secondary li a:visited {
color: #000;
font-size: 0.9em;
line-height: 1.1em;
}
#content-tabs ul.primary li a.active:link,
#content-tabs ul.primary li a.active:visited {
font-size: 1em;
border-bottom: 2px solid #000;
color: #000;
font-weight: bold;
padding-bottom: 2px;
}
#content-tabs ul.secondary li a.active:link,
#content-tabs ul.secondary li a.active:visited {
border-bottom: 2px solid #000;
color: #000;
font-weight: bold;
padding-bottom: 2px;
}
#content-tabs ul.primary li a:hover,
#content-tabs ul.secondary li a:hover {
border-bottom: 2px solid #999;
color: #888;
padding-bottom: 2px;
}
/** ################# 3.) Pager Navigation ####################### */
.item-list .pager {
clear: both;
margin: 0 0 20px;
text-align: center;
padding: 0;
font-family: Helvetica, Verdana, sans-serif;
}
.item-list .pager li {
background-image: none;
display: inline;
list-style-type: none;
margin: 0;
padding: 2px;
}
.item-list .pager a.active {
color: #000;
font-size: 0.8em;
font-weight: bold;
padding: 4px;
Jake Strawn
committed
text-decoration: none;
}
.pager li.pager-current {
color: #000;
font: 1.3em/1.5 Georgia, 'Times New Roman', serif;
font-weight: bold;
margin: 0 2px;
padding: 8px;
background-color: #D9DBCD;
border: 1px solid #38322B;
Jake Strawn
committed
}
.pager li.pager-ellipsis {
Jake Strawn
committed
display: none;
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
}
.pager-first,
.pager-next,
.pager-previous,
.pager-item,
.pager-last {
background-color:#FDFFEF;
border: 1px solid #594F36;
margin: 0 2px;
padding: 4px;
}
.pager-first:hover,
.pager-next:hover,
.pager-previous:hover,
.pager-item:hover,
.pager-previous:hover,
.pager-last:hover {
background-color: #EEE;
}
/** ################# 4.) clear-block code ####################### */
.clear-block:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clear-block {
display: inline-block;
}
/* Hides from IE-mac \*/
* html .clear-block {
height: 1%;
}
.clear-block {
display: block;
}
/* End hide from IE-mac */
/** ################# 5.) Cleanup CSS ####################### */
/* Fix the HORRIBLE styling of the default comment block */
.block-comment .item-list,
Jake Strawn
committed
.block-comment .item-list ul,
.block-comment .item-list li {
margin: 0;
Jake Strawn
committed
padding: 0;
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
}
.block-comment .item-list li {
color: #999;
font-size: 11px;
list-style-type: none;
margin: 0 0 5px 0;
}
.block-comment li a {
font-size: 13px;
}
table {
width: 100%;
}
#main-content ul {
margin-left: 20px;
}
/* Clean up Default Book Navigation */
.book-navigation {
margin: 10px 0;
padding: 0;
}
.book-navigation ul.menu {
font-size: 1.5em;
border: 0;
margin: 0 0 20px 0;
padding: 0;
}
.book-navigation .page-links {
clear: both;
font-size: 0.9em;
}
/* Changing the main node links */
#main-content ul.links {
font-size: 0.9em;
margin-left: 0;
}
Jake Strawn
committed
#main-content ul.links li,
#main-content ul.links li a {
padding-left: 0;
}