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 Jun 2009 05:40:39 -0000 @@ -0,0 +1,5 @@ +ul.menu li, +ul.menu li a, +ul.links li, +ul.links li a, +#page { height:1%; } Index: themes/slate/mask.png =================================================================== RCS file: themes/slate/mask.png diff -N themes/slate/mask.png Binary files /dev/null and mask.png differ Index: themes/slate/page.png =================================================================== RCS file: themes/slate/page.png diff -N themes/slate/page.png Binary files /dev/null and page.png differ 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 8 Jun 2009 05:40:39 -0000 @@ -0,0 +1,59 @@ + + + + + + + + <?php print $head_title ?> + + + + + + +
+
+
+
+ + +
+

+ +
+ array('class' => 'help-toggle'))) ?> +
+ + +
+ array('class' => 'subnav-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 8 Jun 2009 05:40:39 -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 Jun 2009 05:40:39 -0000 @@ -0,0 +1,14 @@ +; $Id$ +name = "Slate" +description = "Slate admin theme." +version = "7.0-dev" +core = "7.x" +engine = "phptemplate" + +stylesheets[screen][] = "reset.css" +stylesheets[screen][] = "style.css" +stylesheets[all][] = "vertical-tabs.css" +scripts[] = "js/theme.js" + +features[] = "name" +features[] = "search" \ No newline at end of file Index: themes/slate/sprite.png =================================================================== RCS file: themes/slate/sprite.png diff -N themes/slate/sprite.png Binary files /dev/null and sprite.png differ 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 Jun 2009 05:40:39 -0000 @@ -0,0 +1,739 @@ +/** + * Generic elements + */ +body.admin { + color:#333; + background:#eee url(images/page.png) 0px 0px repeat-y; + font:normal 13px/20px "Lucida Grande",Verdana,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 dt {} +#content dl dd, +#content dl dl { + margin-left:20px; + margin-bottom:10px; + } + +/** + * Branding =========================================================== + */ +#branding { + overflow:hidden; + + line-height:30px; + height:30px; + padding-top:10px; + padding-bottom:9px; + border-bottom:1px solid #555; + + background:#333; + position:relative; + } + +#branding h1.site-name { + width:160px; + overflow:hidden; + + position:absolute; + top:10px; + left:20px; + + color:#ccc; + font-size:11px; + text-transform:uppercase; + font-weight:normal; + } + +#branding div.breadcrumb { + float:left; + font-size:11px; + } + +#branding div.block { + width:240px; + padding-left:10px; + position:absolute; + right:20px; + 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:11px; + 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:11px; + 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; + } + +#page-title h2.page-title { + color:#fff; + padding-bottom:10px; + letter-spacing:-1px; + font-size:18px; + font-weight:normal; + float:left; + } + +#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:11px; + padding-right:10px; + float:right; + } + +/** + * Console ============================================================ + */ +#page .console { + border-top:1px solid #ccc; + padding:9px 0px 10px; + } + +/** + * Tabs =============================================================== + */ +ul.tabs { font-size:11px; } + + ul.tabs li { + float:left; + padding-right:1px; + } + + ul.primary { + line-height:30px; + float:right; + } + + ul.primary li a { + text-transform:uppercase; + + color:#333; + background:#ddd; + + -moz-border-radius-topleft:5px; + -moz-border-radius-topright:5px; + -webkit-border-top-left-radius:5px; + -webkit-border-top-right-radius:5px; + } + + ul.tabs li a, + ul.tabs li a:hover, + ul.tabs li.active a, + ul.tabs li.active a.active { + float:left; + padding:0px 15px; + } + + ul.tabs li a:hover { background:#eee; } + ul.primary li.active a, + ul.primary li.active a.active { background:#fff; } + +ul.secondary { + float:none; + clear:both; + font-size:11px; + padding:5px 5px 4px; + line-height:20px; + overflow:hidden; + border-bottom:1px solid #ccc; + background:#fff; + } + + 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:0px 0px 40px; + padding-left:180px; + position:relative; + } + +#footer { + text-align:right; + border-top:1px solid #ccc; + padding:19px 20px 40px; + font-size:11px; + } + +#content { + min-height:180px; + padding:20px; + background:#fff; + } + +#primary-links { + font-size:11px; + width:160px; + position:absolute; + left:20px; + top:0px; + } + +#primary-links ul.links li, +#primary-links ul.links li a { + float:none; + display:block; + } + + #primary-links ul.links li a { + padding:5px 0px 4px 5px; + border-bottom:1px solid #555; + } + + #primary-links ul.links li a:hover { background-color:#555; } + + #primary-links ul.links li.active-trail a, + #primary-links ul.links li a.active { + background:#111 url(images/sprite.png) 100% -120px no-repeat; + color:#fff; + } + +#secondary-links { + position:absolute; + top:0px; + left:180px; + right:0px; + z-index:100; + + padding:10px 0px 0px 10px; + background:url(images/mask.png); + + display:none; + } + +#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 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:11px; + margin:0px 0px 10px; + } + +table.system-status-report th, +table td, +table th { + vertical-align:middle; + background-color:#fcfcfc; + border:1px solid #ddd; + padding:5px; + } + + table.system-status-report th { padding-left:30px; } + +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:11px; + 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:4px 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; + } + +fieldset legend, +div.form-item label { + margin:0px; + padding:0px; + + font-weight:normal; + font-size:11px; + text-transform:uppercase; + } + + div.form-item label.option { text-transform:none; } + +div.form-item label.option { font-size:11px; } +div.form-item label.option input { vertical-align:middle; } + +/* Filter */ +.filter-wrapper { + border-top:0px; + width:auto; + padding:10px; + } + +.filter-wrapper div.form-item, +.filter-wrapper .filter-guidelines, +.filter-wrapper .filter-help { + font-size:11px; + padding:0px; + } + +ul.tips, +div.description, +div.form-item div.description { + margin:5px 0px; + line-height:15px; + font-size:11px; + color:#666; + } + +/* Buttons */ +input.teaser-button, +input.form-submit { + cursor:pointer; + padding:2px 10px; + color:#333; + + text-align:center; + + font-weight:normal; + font-family:"Lucida Grande",Verdana,sans-serif; + + border:1px solid #eee; + border-bottom:1px solid #ccc; + background:url(images/sprite.png) 0px -40px repeat-x; + + -moz-border-radius:20px; + -webkit-border-radius:20px; + } + + div.node-form input#edit-submit { + border:1px solid #cef; + border-left-color:#bdf; + border-right-color:#bdf; + border-bottom-color:#9bd; + background:url(images/sprite.png) 0px -80px repeat-x; + } + + input.form-submit:active { + background:#666; + color:#fff; + border-color:#555; + text-shadow:#222 0px -1px 0px; + } + + /* Teaser splitter */ + div.teaser-button-wrapper { padding:5px 5px 0px; } + input.teaser-button { font-size:11px; } + +form input#edit-delete { + background:#eee; + border-color:#fff #ddd #ccc; + text-shadow:none; + color:#999; + } + +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% 7px; } + html.js input.throbbing { background-position:100% -13px; } + + /* 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:11px; + text-transform:uppercase; + margin:0px 0px 10px; + padding-bottom:9px; + border-bottom:1px solid #ccc; + } + +.container-inline fieldset { display:block; } + +/* admin/content/node & 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:11px; + 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:11px/30px "Lucida Grande",Verdana,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 Jun 2009 05:40:39 -0000 @@ -0,0 +1,63 @@ +@import ". path_to_theme() ."/ie6.css';"; +} + +/** + * 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() ? '