Index: themes/slate/ie6.css =================================================================== RCS file: themes/slate/ie6.css diff -N themes/slate/ie6.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/ie6.css 8 Jul 2009 05:19:32 -0000 @@ -0,0 +1,9 @@ +/* $Id$ */ + +ul.menu li, +ul.menu li a, +ul.links li, +ul.links li a, +#page { + height:1%; +} Index: themes/slate/page.tpl.php =================================================================== RCS file: themes/slate/page.tpl.php diff -N themes/slate/page.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/page.tpl.php 9 Jul 2009 13:18:45 -0000 @@ -0,0 +1,63 @@ + + + + + + + + <?php print $head_title ?> + + + + + + +
+
+
+
+ + + +
+ +
+ + + +
+ +
+ + +
+

+

+ + array('class' => 'help-toggle'))); ?> +
+ +
+ + +
+ +
+ +
+ +
+ + + +
+ + + + + Index: themes/slate/reset.css =================================================================== RCS file: themes/slate/reset.css diff -N themes/slate/reset.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/reset.css 7 Jul 2009 13:24:33 -0000 @@ -0,0 +1,260 @@ +/** + * Reset ============================================================== + * Based on http://meyerweb.com/eric/tools/css/reset + */ + +html, +body, + +/* Structures */ +div, +span, +applet, +object, +iframe, + +/* Text */ +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, + +/* Lists */ +dl, +dt, +dd, +ol, +ul, +li, + +/* Forms */ +fieldset, +form, +input, +select, +textarea, +label, +legend, + +/* Tables */ +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, + +/* Drupal: system-menus.css */ +ul.menu, +ul.menu li, +li.expanded, +li.collapsed, +li.leaf, +li a.active, +td.menu-disabled, +ul.links, +ul.links.inline, +ul.links li, +.block ul, + +/* Drupal: admin.css */ +div.admin, + +/* Drupal: system.css */ +tr.even, +tr.odd, +tr.drag, +tbody, +tbody th, +thead th, +.breadcrumb, +.item-list .icon, +.item-list .title, +.item-list ul, +.item-list ul li, +ol.task-list li.active, +.form-item, +tr.odd .form-item, +tr.even .form-item, +.form-item .description, +.form-item label, +.form-item label.option, +.form-checkboxes, +.form-radios, +.form-checkboxes .form-item, +.form-radios .form-item, +.marker, +.form-required, +.more-link, +.more-help-link, +.item-list .pager, +.item-list .pager li, +.pager-current, +.tips, +dl.multiselect dd.b, +dl.multiselect dd.b .form-item, +dl.multiselect dd.b select, +dl.multiselect dd.a, +dl.multiselect dd.a .form-item, +dl.multiselect dt, +dl.multiselect dd, +dl.multiselect .form-item, +ul.primary, +ul.primary li, +ul.primary li a, +ul.primary li.active a, +ul.primary li a:hover, +ul.secondary, +ul.secondary li, +ul.secondary a, +ul.secondary a.active, +html.js fieldset.collapsible legend a, +html.js fieldset.collapsed legend a, +.resizable-textarea { + margin:0px; + padding:0px; + border:0px; + outline:0px; + font-size:100%; + vertical-align:baseline; + background:transparent; + line-height:inherit; + text-align:left; + } + + +/* Drupal: system-menus.css */ +ul.menu, +ul.menu li, +li.expanded, +li.collapsed, +li.leaf, +li a.active, +ul.links, +ul.links.inline, +ul.links li, +.block ul, + +ol, +ul, +.item-list ul, +.item-list ul li { + list-style:none; + } + +blockquote, +q { quotes:none; } + +blockquote:before, +blockquote:after, +q:before, q:after { + content:''; + content:none; + } + +/* remember to define focus styles! */ +:focus { outline:0px; } + +/* remember to highlight inserts somehow! */ +ins { text-decoration:none; } +del { text-decoration:line-through; } + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse:collapse; + border-spacing:0px; + } + +/** + * Font reset ========================================================= + * + * Specifically targets form elements which browsers oftentimes give + * special treatment. + */ +input, +select, +textarea, +body { font: 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; } + +/** + * Markup free clearing =============================================== + * + * Consider adding your own selectors to this instead of finding ways + * to sneak the clear-block class into Drupal's markup. + * From http://www.positioniseverything.net/easyclearing.html + */ +div.form-item:after, +ul.links:after, +div.admin-panel .body:after, +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } + + /* Exclude inline links from clear-block behavior */ + ul.inline:after { + content: ""; + display:none; + clear:none; + } + +div.form-item, +ul.links, +div.admin-panel .body, +.clearfix { + display: inline-block; + } + +/* Hides from IE-mac \*/ +* html div.form-item, +* html ul.links, +* html div.admin-panel .body, +* html .clearfix { + height: 1%; + } + +div.form-item, +ul.links, +div.admin-panel .body, +.clearfix { + display: block; + } +/* End hide from IE-mac */ Index: themes/slate/slate.info =================================================================== RCS file: themes/slate/slate.info diff -N themes/slate/slate.info --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/slate.info 8 Jul 2009 13:41:21 -0000 @@ -0,0 +1,19 @@ +; $Id$ +name = Slate +description = A simple one-column, tableless, fluid width administration theme. +core = 7.x +version = VERSION +engine = phptemplate +stylesheets[screen][] = reset.css +stylesheets[screen][] = style.css +stylesheets[all][] = vertical-tabs.css +scripts[] = theme.js +; Enable the all default regions except the right sidebar, which Slate does not +; support. +regions[content] = Content +regions[header] = Header +regions[footer] = Footer +regions[highlight] = Highlighted content +regions[help] = Help +regions[page_top] = Page top +features[] = name Index: themes/slate/style.css =================================================================== RCS file: themes/slate/style.css diff -N themes/slate/style.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/style.css 8 Jul 2009 22:11:36 -0000 @@ -0,0 +1,836 @@ +/* $Id$ */ + +/** + * Generic elements + */ +body.admin { + color: #333; + background: #333 url(images/page.png) 0px 0px repeat-y; + font-style: normal; + line-height: 20px; + font-size: 0.8em; + font-family: Lucida Grande, Lucida Sans Unicode, sans-serif; +} + +a { + color: #05a; + text-decoration: none; +} + +.reverse { + color: #ccc; +} +.reverse a { + color: #fff; +} + +.limiter { + padding: 0px 20px 0px 180px; +} + +div.box, p { + margin: 0px 0px 20px; +} + +hr { + display: none; +} + +legend { + font-weight: bold; +} + +#content h1, +#content h2, +#content h3, +#content h4, +#content h5, +#content h6 { + font-size: 15px; + font-weight: bold; + margin: 10px 0px; +} + +#content dl { + margin: 0px 0px 20px; +} + +#content dl dd, +#content dl dl { + margin-left: 20px; + margin-bottom: 10px; +} + +/** + * Branding. + */ +#branding { + overflow: hidden; + line-height: 30px; + height: 30px; + padding-top: 10px; + border-bottom: 1px solid #555; + margin-bottom: -1px; + background: #333; + position: relative; +} + +#branding h1.site-name { + width: 160px; + overflow: hidden; + position: absolute; + top: 10px; + left: 20px; + color: #ccc; + font-size: 16px; + text-transform: uppercase; + font-weight: normal; +} + +#branding div.breadcrumb { + float: left; + font-size: 12px; +} + +#branding div.block { + position: relative; + float: right; + width: 240px; + padding-left: 10px; + background: #333; +} + +#branding div.block form label { + display: none; +} + +#branding div.block form div.form-item { + float: left; + border: 0px; + margin: 0px; + padding: 0px; +} + +#branding div.block form input.form-text { + width: 140px; + margin-right: 10px; +} + +#branding div.block form input.form-submit { + text-align: center; + width: 80px; +} + +/** + * Breadcrumbs. + */ +div.breadcrumb a { + padding: 0px 10px 0px 0px; + color: #fff; +} + +/** + * Help. + */ +a.help-toggle { + float: right; + font-size: 12px; + background: #222; + margin: 5px 0px 0px; + padding: 0px 10px; + line-height: 20px; + white-space: nowrap; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +a.help-expanded { + background: #666; +} + +#help { + background: #222; + display: none; +} + +#help div.help-label { + position: absolute; + left: 20px; + width: 140px; + padding: 20px 10px 5px; + border-bottom: 1px solid #333; + font-size: 12px; + background: #111; + color: #fff; +} + +#help div.help-wrapper { + padding: 10px 20px; +} + +#help a { + color: #8cf; +} + +#help div.more-help-link, +#help p { + margin: 10px 0px; +} + +#help div.more-help-link { + text-align: right; +} + +/** + * Console. + */ +#console div.messages { + padding: 9px; + margin: 0px 0px 10px; + color: #036; + background: #bdf; + border: 1px solid #ace; +} + +#console div.warning { + color: #840; + background: #fe6; + border-color: #ed5; +} + +#console div.error { + color: #fff; + background: #e63; + border-color: #d52; +} + +#console div.status { + color: #360; + background: #cf8; + border-color: #be7; +} + +/** + * Page title. + */ +#page-title { + background: #333; + padding-top: 20px; +} + +#branding h2.page-title { + color: #fff; + padding-bottom: 10px; + letter-spacing: -1px; + font-size: 18px; + font-weight: normal; + float: left; + margin-left: 8%; +} + +#page-title a.subnav-toggle { + float: left; + height: 30px; + width: 30px; + margin-right: 10px; + background: url(images/sprite.png) no-repeat; + overflow: hidden; + text-indent: -999px; +} + +#page-title a.subnav-expanded { + background-position: -30px 0px; +} + +#page-title div.tools { + line-height: 30px; + font-size: 12px; + padding-right: 10px; + float: right; +} + +/** + * Console. + */ +#page .console { + border-top: 1px solid #ccc; + padding: 9px 0px 10px; +} + +/** + * Tabs. + */ +ul.primary { + float: right; + border-bottom: none; + margin: 0; + margin-bottom: -10px; + padding: 4px 0 0; + line-height: 30px; + text-transform: uppercase; + font-size: 12px; + margin-right: 8%; + padding-left: 8px; +} + +ul.primary li { + display: inline; + list-style: none; +} + +ul.primary li { + background: transparent url(images/tab_inactive_rt.png) no-repeat top right; + padding: 7px 8px 5px 0; +} + +ul.primary li a, +ul.primary li a.active, +ul.primary li a:active, +ul.primary li a:visited { + background: transparent url(images/tab_inactive_lt.png) no-repeat top left; + color: #000; + font-weight: bold; + padding: 7px 15px 5px 20px; +} + +ul.primary li.active, +ul.primary li:hover { + background: transparent url(images/tab_active_rt.png) no-repeat top right; +} + +ul.primary li.active a, +ul.primary li.active a.active, +ul.primary li.active a:active, +ul.primary li.active a:visited, +ul.primary li a:hover, +ul.primary li.active a:hover { + background: transparent url(images/tab_active_lt.png) no-repeat top left; + color: #000; + font-weight: bold; + padding: 7px 15px 5px 20px; +} + +ul.secondary { + float: none; + clear: both; + font-size: 12px; + padding: 5px 20px 4px; + line-height: 20px; + overflow: hidden; + border-bottom: 1px solid #ccc; + background: #fff; +} + +ul.secondary li { + float: right; + padding-left: 10px; +} + +ul.secondary li a { + color: #05a; +} + +ul.secondary li a, +ul.secondary li a:hover, +ul.secondary li.active a, +ul.secondary li.active a.active { + padding: 0px 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +ul.secondary li.active a, +ul.secondary li.active a.active { + color: #fff; + background: #666; +} + +/** + * Page layout. + */ +#page { + padding-bottom: 40px; + margin-right: 8%; + margin-left: 8%; + position: relative; +} + +#footer { + text-align: right; + border-top: 1px solid #ccc; + padding: 19px 20px 40px; + font-size: 12px; +} + +#content { + min-height: 180px; + padding: 20px; + background: #fff; +} + +#content ul.menu li, +#content ul.menu li a, +#secondary-links ul.links li, +#secondary-links ul.links li a { + float: left; +} + +#content ul.menu li, +#secondary-links ul.links li { + padding: 0px 10px 10px 0px; +} + +#content ul.menu li a, +#secondary-links ul.links li a { + font-size: 9px; + line-height: 10px; + background: #777; + color: #fff; + text-align: center; + padding: 5px; + height: 55px; + width: 80px; + overflow: hidden; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +#secondary-links ul.links li a:hover { + background: #999; +} + +#content ul.menu li a { + background: #f8f8f8; + color: #05a; +} + +#content ul.menu li a:hover { + background: #eee; +} + +#secondary-links ul.links li.active-trail a, +#secondary-links ul.links li a.active { + background: #333; +} + +#content ul.admin-list li a span.icon, +#content ul.menu li a span.icon, +#secondary-links ul.links li a span.icon { + margin: 0px auto 5px; + display: block; + width: 30px; + height: 30px; +} + +#content ul.node-type-list li, +#content ul.admin-list li { + position: relative; + padding-left: 40px; + padding-bottom: 9px; + border-bottom: 1px solid #ccc; + margin-left: 0px; + margin-bottom: 10px; +} + +#content ul.admin-list li:last-child { + border-bottom: none; +} + +#content ul.admin-list li a span.icon { + position: absolute; + left: 0px; + top: 0px; +} + +#content ul.node-type-list label { + font-size: 15px; +} + +#content ul.node-type-list li { + padding-left: 30px; + background: url(images/sprite.png) -380px -200px no-repeat; +} + +/** + * Tables. + */ +table { + width: 100%; + font-size: 12px; + margin: 0px 0px 10px; +} + +table.system-status-report th, +table td, +table th { + vertical-align: middle; + border: 1px solid #ddd; + padding: 5px; +} + +table.system-status-report th { + padding-left: 30px; +} + +table.system-status-report tr.ok > * { + background-color: #dfd; +} + +table.system-status-report tr.info > * { + background-color: #bdf; +} + +table.system-status-report tr.warning > * { + background-color: #ffd; +} + +table.system-status-report tr.error > * { + background-color: #fdd; +} + +table th { + font-size: 9px; + text-transform: uppercase; + background: #eee; +} + +table tr.odd td { + background: #fff; +} + +table td.active { + background: #e4f0f8; +} + +table tr.odd td.active { + background: #ecf8fc; +} + +table tr.selected td.active, +table tr.selected td { + background: #ffc; + border-color: #eeb; +} + +/** + * Pagers. + */ +#content div.item-list ul.pager { + position: relative; + height: 28px; + background: #f8f8f8; + border: 1px solid #ccc; + padding-right: 80px; +} + +#content ul.pager li, +#content ul.pager li a { + float: left; +} + +#content ul.pager li.pager-ellipsis, +#content ul.pager li.pager-current, +#content ul.pager li a { + color: #666; + font-weight: normal; + padding: 4px 10px; +} + +#content ul.pager li { + border-right: 1px solid #ccc; +} + +#content ul.pager li.pager-current { + background: #fff; +} + +#content ul.pager li.pager-first a, +#content ul.pager li.pager-previous a, +#content ul.pager li.pager-next a, +#content ul.pager li.pager-last a { + font-size: 12px; + font-weight: bold; + width: 79px; + padding: 4px 0px; + text-align: center; + background: #eee; +} + +#content ul.pager li.pager-next, +#content ul.pager li.pager-last { + border-left: 1px solid #ccc; + border-right: 0px; + float: right; +} + +#content ul.pager li a:hover { + background: #999; + color: #fff; +} + +/* This whole portion is to accommodate the correct order of next/last pager links. */ +#content ul.pager li.last { + position: absolute; + right: 0px; +} + +#content ul.pager li.pager-current, +#content ul.pager li.pager-item { + position: static; +} + +/** + * Forms. + */ + +/* Fieldsets & Form items */ +fieldset { + border: 1px solid #ccc; + padding: 9px; + margin: 0px 0px 10px; + background: #f8f8f8; +} + +fieldset.collapsed { + background: transparent; +} + +fieldset fieldset { + background: #fff; +} + +fieldset fieldset fieldset { + background: #f8f8f8; +} + +html.js fieldset.collapsible .fieldset-wrapper { + overflow: visible; +} + +div.form-item { + padding: 9px; + margin: 0px 0px 10px; + border: 1px solid #ccc; +} + +.filter-wrapper div.form-item, +div.teaser-checkbox div.form-item, +div.form-item div.form-item, +fieldset div.form-item { + padding: 5px 0px; + margin: 0px; + border: 0px; +} + +.text-format-wrapper .form-item { + padding-bottom: 0px; +} + +div.form-item label { + margin: 0px; + padding: 0px; + font-weight: normal; +} + +form label, +fieldset legend { + text-transform: uppercase; +} + +div.form-item label.option { + text-transform: none; +} + +div.form-item label.option { + font-size: 12px; +} +div.form-item label.option input { + vertical-align: middle; +} + +/* Filter */ +.filter-wrapper { + border-top: 0px; + width: 95%; + padding: 10px 2px 10px 2px; +} + +.filter-wrapper > div { + padding-right: 6px; + padding-left: 6px; +} + +.filter-wrapper div.form-item, +.filter-wrapper .filter-guidelines, +.filter-wrapper .filter-help { + font-size: 12px; + padding: 0px; +} + +ul.tips, +div.description, +div.form-item div.description { + margin: 5px 0px; + line-height: 15px; + font-size: 12px; + color: #666; +} + +/* Form buttons */ +button { + position: relative; + border: 0; + padding: 0; + cursor: pointer; + overflow: visible; /* Removes extra side padding in IE. */ +} +button::-moz-focus-inner { + border: none; /* Overrides extra padding in Firefox. */ +} + +button span { + position: relative; + display: block; + white-space: nowrap; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + /* Safari and Google Chrome only - fix margins */ + button span { + margin-top: -1px; + } +} + +button.form-submit { + color: #333; + margin-right:5px; + font-size: 1.3em; + text-align: center; + background: transparent url(images/btn_std_rt.png) no-repeat right top; + padding-right: 12px; +} + +button.form-submit span { + padding: 3px 0 0 12px; + height: 27px; + background: transparent url(images/btn_std_lt.png) no-repeat left top; + color: #5A5A5A; +} + +button.form-submit.form-button-emphasized { + background: transparent url(images/btn_emph_rt.png) no-repeat right top; +} + +button.form-submit.form-button-emphasized span { + background: transparent url(images/btn_emph_lt.png) no-repeat left top; + color: #00273F; +} + +button:active { + +} + +input.form-autocomplete, +input.form-text, +textarea.form-textarea, +select.form-select { + padding: 2px; + border: 1px solid #ccc; + border-top-color: #999; + background: #fff; + color: #333; +} + +input.form-text:focus, +textarea.form-textarea:focus, +select.form-select:focus { + color: #000; + border-color: #ace; +} + +html.js input.form-autocomplete { + background-position: 100% 4px; +} + +html.js input.throbbing { + background-position: 100% -16px; +} + +/* Exceptions */ +#diff-inline-form select, +#content div.filter-options select { + padding: 0px; +} + +/** + * System. + */ +div.admin .right, +div.admin .left { + width: 49%; + margin: 0px; +} + +div.admin-panel, +div.admin-panel .body { + padding: 0px; + clear: left; +} + +div.admin-panel { + margin: 0px 0px 20px; + padding: 9px; + background: #f8f8f8; + border: 1px solid #ccc; +} + +#content div.admin-panel h3 { + font-size: 12px; + text-transform: uppercase; + margin: 0px 0px 10px; + padding-bottom: 9px; + border-bottom: 1px solid #ccc; +} + +.container-inline fieldset { + display: block; +} + +/* admin/content/node and admin/user/user */ +#content dl.multiselect, +#content dl.multiselect dt, +#content dl.multiselect dd { + margin: 0px 10px 0px 0px; +} + +#content dl.multiselect select { + font-size: 12px; + background: #fff; + border: 1px solid #ccc; +} + +/* Update options. */ +div.admin-options { + background: #f8f8f8; + line-height: 30px; + height: 30px; + padding: 9px; + border: 1px solid #ccc; + margin: 0px 0px 10px; +} + +div.admin-options label { + text-transform: uppercase; + font: 12px/30px Lucida Grande, Lucida Sans Unicode, sans-serif; +} + +div.admin-options label, +div.admin-options div.form-item { + margin-right: 10px; + float: left; +} + +div.admin-options div.form-item { + padding: 0px; + border: 0px; +} Index: themes/slate/template.php =================================================================== RCS file: themes/slate/template.php diff -N themes/slate/template.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/slate/template.php 8 Jul 2009 15:18:32 -0000 @@ -0,0 +1,85 @@ + 'links main-menu')) : FALSE; + $vars['secondary_nav'] = isset($vars['secondary_menu']) ? theme('links', $vars['secondary_menu'], array('class' => 'links secondary-menu')) : FALSE; + $vars['ie_styles'] = ''; + $vars['classes_array'][] = 'admin'; +} + +/** + * Display the list of available node types for node creation. + */ +function slate_node_add_list($content) { + $output = ''; + if ($content) { + $output = ''; + } + return $output; +} + +/** + * Override of theme_admin_block_content(). + */ +function slate_admin_block_content($content) { + $output = ''; + if (!empty($content)) { + foreach ($content as $k => $item) { + $id = str_replace('/', '-', $item['href']); + $class = ' path-' . $id; + + $content[$k]['title'] = "{$item['title']}"; + $content[$k]['localized_options']['html'] = TRUE; + if (!empty($content[$k]['localized_options']['attributes']['class'])) { + $content[$k]['localized_options']['attributes']['class'] .= $class; + } + else { + $content[$k]['localized_options']['attributes']['class'] = $class; + } + } + $output = system_admin_compact_mode() ? '