Index: modules/help/help.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/help/help.test,v
retrieving revision 1.9
diff -u -p -r1.9 help.test
--- modules/help/help.test 21 Jul 2009 02:01:08 -0000 1.9
+++ modules/help/help.test 31 Jul 2009 15:32:06 -0000
@@ -64,8 +64,6 @@ class HelpTestCase extends DrupalWebTest
// continue;
// }
$this->assertTitle($name . ' | Drupal', t('[' . $module . '] Title was displayed'));
- $this->assertRaw('
' . t($name) . '
', t('[' . $module . '] Heading was displayed'));
- $this->assertText(t('Home ' . $crumb . ' Administer ' . $crumb . ' Help'), t('[' . $module . '] Breadcrumbs were displayed'));
}
}
}
Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.49
diff -u -p -r1.49 user.test
--- modules/user/user.test 28 Jul 2009 19:18:08 -0000 1.49
+++ modules/user/user.test 31 Jul 2009 17:27:47 -0000
@@ -962,15 +962,15 @@ class UserBlocksUnitTests extends Drupal
$edit['name'] = $user->name;
$edit['pass'] = $user->pass_raw;
$this->drupalPost('admin/user/permissions', $edit, t('Log in'));
- $this->assertText(t('Log out'), t('Logged in.'));
+ $this->assertNoText(t('User login'), t('Logged in.'));
// Check that we are still on the same page.
$this->assertPattern('!!', t('Still on the same page after login for access denied page'));
// Now, log out and repeat with a non-403 page.
- $this->clickLink(t('Log out'));
+ $this->drupalLogout();
$this->drupalPost('filter/tips', $edit, t('Log in'));
- $this->assertText(t('Log out'), t('Logged in.'));
+ $this->assertNoText(t('User login'), t('Logged in.'));
$this->assertPattern('!!', t('Still on the same page after login for allowed page'));
}
Index: modules/block/block.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.test,v
retrieving revision 1.23
diff -u -p -r1.23 block.test
--- modules/block/block.test 31 Jul 2009 11:20:42 -0000 1.23
+++ modules/block/block.test 31 Jul 2009 17:27:47 -0000
@@ -244,12 +244,12 @@ class NewDefaultThemeBlocks extends Drup
$this->drupalLogin($admin_user);
// Ensure no other theme's blocks are in the block table yet.
- $count = db_query_range("SELECT 1 FROM {block} WHERE theme != 'garland'", 0, 1)->fetchField();
- $this->assertFalse($count, t('Only Garland has blocks.'));
+ $count = db_query_range("SELECT 1 FROM {block} WHERE theme NOT IN ('garland', 'seven')", 0, 1)->fetchField();
+ $this->assertFalse($count, t('Only Garland and Seven have blocks.'));
// Populate list of all blocks for matching against new theme.
$blocks = array();
- $result = db_query('SELECT * FROM {block}');
+ $result = db_query("SELECT * FROM {block} WHERE theme = 'garland'");
foreach ($result as $block) {
// $block->theme and $block->bid will not match, so remove them.
unset($block->theme, $block->bid);
Index: modules/blog/blog.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/blog/blog.test,v
retrieving revision 1.15
diff -u -p -r1.15 blog.test
--- modules/blog/blog.test 20 Jul 2009 18:51:32 -0000 1.15
+++ modules/blog/blog.test 31 Jul 2009 15:32:07 -0000
@@ -128,7 +128,6 @@ class BlogTestCase extends DrupalWebTest
if ($response2 == 200) {
$this->assertTitle(t('Blog | Drupal'), t('Blog help node was displayed'));
$this->assertText(t('Blog'), t('Blog help node was displayed'));
- $this->assertText(t('Home ' . $crumb . ' Administer ' . $crumb . ' Help'), t('Breadcrumbs were displayed'));
}
// Verify the blog block was displayed.
@@ -147,7 +146,6 @@ class BlogTestCase extends DrupalWebTest
$this->assertResponse($response);
if ($response == 200) {
$this->assertTitle('Edit Blog entry ' . $node->title . ' | Drupal', t('Blog edit node was displayed'));
- $this->assertText(t('Home ' . $crumb . ' @title', array('@title' => $node->title)), t('Breadcrumbs were displayed'));
}
if ($response == 200) {
Index: modules/forum/forum.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/forum/forum.test,v
retrieving revision 1.25
diff -u -p -r1.25 forum.test
--- modules/forum/forum.test 20 Jul 2009 18:51:33 -0000 1.25
+++ modules/forum/forum.test 31 Jul 2009 15:32:07 -0000
@@ -288,7 +288,6 @@ class ForumTestCase extends DrupalWebTes
if ($response2 == 200) {
$this->assertTitle(t('Forum | Drupal'), t('Forum help title was displayed'));
$this->assertText(t('Forum'), t('Forum help node was displayed'));
- $this->assertText(t('Home ' . $crumb . ' Administer ' . $crumb . ' Help'), t('Breadcrumbs were displayed'));
}
// Verify the forum blocks were displayed.
@@ -316,7 +315,6 @@ class ForumTestCase extends DrupalWebTes
$this->assertResponse($response);
if ($response == 200) {
$this->assertTitle('Edit Forum topic ' . $node->title . ' | Drupal', t('Forum edit node was displayed'));
- $this->assertText(t('Home ' . $crumb . ' @title', array('@title' => $node->title)), t('Breadcrumbs were displayed'));
}
if ($response == 200) {
Index: profiles/default/default.profile
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.profile,v
retrieving revision 1.57
diff -u -p -u -p -r1.57 default.profile
--- profiles/default/default.profile 28 Jul 2009 12:13:47 -0000 1.57
+++ profiles/default/default.profile 31 Jul 2009 12:33:34 -0000
@@ -84,6 +84,36 @@ function default_profile_site_setup(&$in
'pages' => '',
'cache' => -1,
),
+ array(
+ 'module' => 'system',
+ 'delta' => 'main',
+ 'theme' => 'seven',
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'content',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'system',
+ 'delta' => 'help',
+ 'theme' => 'seven',
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'help',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'user',
+ 'delta' => 'login',
+ 'theme' => 'seven',
+ 'status' => 1,
+ 'weight' => 10,
+ 'region' => 'content',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
);
$query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
foreach ($values as $record) {
@@ -188,6 +208,15 @@ function default_profile_site_setup(&$in
// Save some default links.
$link = array('link_path' => 'admin/structure/menu-customize/main-menu/add', 'link_title' => 'Add a main menu link', 'menu_name' => 'main-menu');
menu_link_save($link);
+
+ // Enable the admin theme.
+ db_update('system')
+ ->fields(array('status' => 1))
+ ->condition('type', 'theme')
+ ->condition('name', 'seven')
+ ->execute();
+ variable_set('admin_theme', 'seven');
+ variable_set('node_admin_theme', '1');
}
/**
Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal/drupal/CHANGELOG.txt,v
retrieving revision 1.322
diff -u -p -u -p -r1.322 CHANGELOG.txt
--- CHANGELOG.txt 30 Jul 2009 08:28:47 -0000 1.322
+++ CHANGELOG.txt 31 Jul 2009 12:33:35 -0000
@@ -95,7 +95,7 @@ Drupal 7.0, xxxx-xx-xx (development vers
on as contributed themes (http://drupal.org/project/bluemarine,
http://drupal.org/project/chameleon and http://drupal.org/project/pushbutton).
* Added Stark theme to make analyzing Drupal's default HTML and CSS easier.
- * Added Slate theme as the default administration interface theme.
+ * Added Seven theme as the default administration interface theme.
- File handling:
* Files are now first class Drupal objects with file_load(), file_save(),
and file_validate() functions and corresponding hooks.
Index: themes/seven/ie6.css
===================================================================
RCS file: themes/seven/ie6.css
diff -N themes/seven/ie6.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/ie6.css 31 Jul 2009 12:33:35 -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/seven/page.tpl.php
===================================================================
RCS file: themes/seven/page.tpl.php
diff -N themes/seven/page.tpl.php
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/page.tpl.php 31 Jul 2009 12:33:35 -0000
@@ -0,0 +1,48 @@
+
+>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: themes/seven/reset.css
===================================================================
RCS file: themes/seven/reset.css
diff -N themes/seven/reset.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/reset.css 31 Jul 2009 12:33:35 -0000
@@ -0,0 +1,260 @@
+/* $Id$ */
+
+/**
+ * Reset CSS styles.
+ *
+ * Based on Eric Meyer's "Reset CSS 1.0" tool from
+ * 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 */
+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,
+.resizable-textarea {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+ line-height: inherit;
+ text-align: left;
+}
+
+
+/* Drupal: system-menus.css */
+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: 0;
+}
+
+/* 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: 0;
+}
+
+/**
+ * Font reset =========================================================
+ *
+ * Specifically targets form elements which browsers often times 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 clearfix 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 clearfix 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/seven/seven.info
===================================================================
RCS file: themes/seven/seven.info
diff -N themes/seven/seven.info
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/seven.info 31 Jul 2009 12:33:35 -0000
@@ -0,0 +1,13 @@
+; $Id$
+name = Seven
+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
+regions[content] = Content
+regions[help] = Help
+regions[page_top] = Page top
+regions[page_bottom] = Page bottom
Index: themes/seven/style.css
===================================================================
RCS file: themes/seven/style.css
diff -N themes/seven/style.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/style.css 31 Jul 2009 12:33:36 -0000
@@ -0,0 +1,707 @@
+/* $Id$ */
+
+/**
+ * Generic elements
+ */
+body {
+ color: #000;
+ background: #fff;
+ font-style: normal;
+ line-height: 20px;
+ font-size: 0.8em;
+ font-family: Lucida Grande, Lucida Sans Unicode, sans-serif;
+}
+
+a {
+ color: #0074BD;
+ text-decoration: none;
+}
+
+div.box, p {
+ margin: 0 0 20px;
+}
+
+hr {
+ display: none;
+}
+
+legend {
+ font-weight: bold;
+}
+
+#block-system-main h1,
+#block-system-main h2,
+#block-system-main h3,
+#block-system-main h4,
+#block-system-main h5,
+#block-system-main h6 {
+ font-size: 15px;
+ font-weight: bold;
+ margin: 10px 0;
+}
+
+#block-system-main dl {
+ margin: 0 0 20px;
+}
+
+#block-system-main dl dd,
+#block-system-main dl dl {
+ margin-left: 20px;
+ margin-bottom: 10px;
+}
+
+/**
+ * Branding.
+ */
+#branding {
+ overflow: hidden;
+ padding: 20px 40px 0 40px;
+ position: relative;
+ background-color: #e0e0d8;
+}
+
+#branding div.back-to-site {
+ background: url(images/arrow-prev.png) no-repeat left center;
+ padding-left: 8px;
+ font-size: 11px;
+}
+
+#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: 0;
+ margin: 0;
+ padding: 0;
+}
+
+#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: 0 10px 0 0;
+ color: #fff;
+}
+
+/**
+ * Help.
+ */
+#help {
+ font-size: 0.9em;
+ margin-top: 1em;
+}
+
+#help p {
+ margin: 0 0 10px;
+}
+
+#help div.more-help-link {
+ text-align: right;
+}
+
+/**
+ * Console.
+ */
+#console div.messages {
+ padding: 9px;
+ margin: 1em 0;
+ 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 h1.page-title {
+ color: #000;
+ padding-bottom: 10px;
+ font-size: 18px;
+ font-weight: normal;
+ float: left;
+}
+
+/**
+ * Console.
+ */
+#page .console {
+ border-top: 1px solid #ccc;
+ padding: 9px 0 10px;
+}
+
+/**
+ * Tabs.
+ */
+ul.primary {
+ float: right;
+ border-bottom: none;
+ margin: 0 0 -10px 0;
+ padding: 3px 0 0 8px;
+ line-height: 30px;
+ text-transform: uppercase;
+ font-size: 12px;
+}
+
+ul.primary li {
+ display: inline;
+ list-style: none;
+}
+
+ul.primary li a,
+ul.primary li a:active,
+ul.primary li a:visited,
+ul.primary li a:hover {
+ background-color: #a6a7a2;
+ -moz-border-radius: 8px 8px 0 0;
+ -webkit-border-top-left-radius: 8px;
+ -webkit-border-top-right-radius: 8px;
+ border-radius: 8px 8px 0 0;
+ color: #000;
+ font-weight: bold;
+ padding: 7px 20px 5px 20px;
+ border-width: 1px 1px 0 1px;
+ border-style: solid;
+ border-color: #a6a7a2;
+}
+
+ul.primary li.active a,
+ul.primary li.active a.active,
+ul.primary li.active a:active,
+ul.primary li.active a:visited {
+ background-color: #fff;
+ border-color: #c9cac4;
+}
+
+ul.primary li a:hover {
+ color: #fff;
+}
+
+ul.primary li.active a:hover {
+ color: #000;
+}
+
+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: 0 10px;
+ -moz-border-radius: 10px;
+ -webkit-border-radius: 7px;
+}
+
+ul.secondary li.active a,
+ul.secondary li.active a.active {
+ color: #fff;
+ background: #666;
+}
+
+/**
+ * Page layout.
+ */
+#page {
+ padding-bottom: 40px;
+ margin-right: 40px;
+ margin-left: 40px;
+ position: relative;
+}
+
+#footer {
+ text-align: right;
+ border-top: 1px solid #ccc;
+ padding: 5px;
+ font-size: 12px;
+}
+
+#block-system-main {
+ min-height: 180px;
+ padding: 20px 0;
+ background: #fff;
+ color: #333;
+}
+
+#block-system-main ul.menu li,
+#block-system-main ul.menu li a,
+#secondary-links ul.links li,
+#secondary-links ul.links li a {
+ float: left;
+}
+
+#block-system-main ul.menu li,
+#secondary-links ul.links li {
+ padding: 0 10px 10px 0;
+}
+
+#block-system-main 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;
+}
+
+#block-system-main ul.menu li a {
+ background: #f8f8f8;
+ color: #05a;
+}
+
+#block-system-main ul.menu li a:hover {
+ background: #eee;
+}
+
+#secondary-links ul.links li.active-trail a,
+#secondary-links ul.links li a.active {
+ background: #333;
+}
+
+#block-system-main ul.node-type-list li,
+#block-system-main ul.admin-list li {
+ position: relative;
+ padding-left: 30px;
+ padding-bottom: 9px;
+ border-bottom: 1px solid #ccc;
+ margin-left: 0;
+ margin-bottom: 10px;
+ background: url(images/list-item.png) no-repeat;
+ list-style-type: none;
+ list-style-image: none;
+}
+#block-system-main ul.admin-list.compact li {
+ border: 0;
+ background: none;
+}
+
+#block-system-main ul.admin-list li:last-child {
+ border-bottom: none;
+}
+
+#block-system-main ul.node-type-list .label {
+ font-size: 15px;
+}
+
+/**
+ * Tables.
+ */
+table {
+ width: 100%;
+ font-size: 12px;
+ margin: 0 0 10px;
+ border: 1px solid #bebfb9;
+ border-top: 0;
+}
+
+table.system-status-report th,
+table td,
+table th {
+ vertical-align: middle;
+ padding: 8px 5px 8px 10px;
+}
+
+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;
+}
+
+tr.even, tr.odd {
+ border-width: 0 1px 0 1px;
+ border-style: solid;
+ border-color: #bebfb9;
+ background: #f3f4ee;
+}
+
+tr.odd {
+ background: #fff;
+}
+
+table th {
+ font-size: 12px;
+ text-transform: uppercase;
+ background: #e1e2dc;
+ font-weight: normal;
+ border-width: 0 1px 1px 1px;
+ border-style: solid;
+ border-color: #bebfb9;
+ padding: 3px 3px 3px 10px;
+}
+
+table th.active {
+ background: #bdbeb9;
+}
+
+table th a {
+ display: block;
+}
+
+table th.active img {
+ float: right;
+ margin-top: 3px;
+}
+
+table td.active {
+ background: #e9e9dd;
+}
+
+table tr.odd td.active {
+ background: #f3f4ee;
+}
+
+table tr.selected td.active,
+table tr.selected td {
+ background: #ffc;
+ border-color: #eeb;
+}
+
+/**
+ * Forms.
+ */
+
+/* Fieldsets & Form items */
+fieldset {
+ border: 1px solid #ccc;
+ padding: 9px;
+ margin: 0 0 10px;
+}
+
+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: 0 0 10px;
+}
+
+.filter-wrapper div.form-item,
+div.teaser-checkbox div.form-item,
+div.form-item div.form-item,
+fieldset div.form-item {
+ padding: 5px 0;
+ margin: 0;
+ border: 0;
+}
+
+.text-format-wrapper .form-item {
+ padding-bottom: 0;
+}
+
+div.form-item label {
+ margin: 0;
+ padding: 0;
+}
+
+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: 0;
+ 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: 0;
+}
+
+ul.tips,
+div.description,
+div.form-item div.description {
+ margin: 5px 0;
+ line-height: 15px;
+ font-size: 12px;
+ color: #666;
+}
+
+/* Buttons */
+input.form-submit {
+ cursor: pointer;
+ padding: 4px 17px;
+ color: #5a5a5a;
+ text-align: center;
+ font-weight: normal;
+ font-family: "Lucida Grande", Verdana, sans-serif;
+ border: 1px solid #e4e4e4;
+ border-bottom: 1px solid #b4b4b4;
+ border-left-color: #D2D2D2;
+ border-right-color: #D2D2D2;
+ background: url(images/buttons.png) 0 0 repeat-x;
+ -moz-border-radius: 20px;
+ -webkit-border-radius: 15px;
+ font-size: 1.1em;
+}
+
+div.node-form input#edit-submit,
+div.node-form input#edit-submit-1 {
+ border: 1px solid #8eB7cd;
+ border-left-color: #8eB7cd;
+ border-right-color: #8eB7cd;
+ border-bottom-color: #7691a2;
+ background: url(images/buttons.png) 0px -40px repeat-x;
+ color: #133B54;
+}
+
+input.form-submit:active {
+ background: #666;
+ color: #fff;
+ border-color: #555;
+ text-shadow: #222 0px -1px 0px;
+}
+
+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% 4px;
+}
+
+html.js input.throbbing {
+ background-position: 100% -16px;
+}
+
+/* Exceptions */
+#diff-inline-form select,
+#block-system-main div.filter-options select {
+ padding: 0;
+}
+
+/**
+ * System.
+ */
+div.admin .right,
+div.admin .left {
+ width: 49%;
+ margin: 0;
+}
+
+div.admin-panel,
+div.admin-panel .body {
+ padding: 0;
+ clear: left;
+}
+
+div.admin-panel {
+ margin: 0 0 20px;
+ padding: 9px;
+ background: #f8f8f8;
+ border: 1px solid #ccc;
+}
+
+#block-system-main div.admin-panel h3 {
+ font-size: 12px;
+ text-transform: uppercase;
+ margin: 0 0 10px;
+ padding-bottom: 9px;
+ border-bottom: 1px solid #ccc;
+}
+
+.container-inline fieldset {
+ display: block;
+}
+
+/* admin/content/node and admin/user/user */
+#block-system-main dl.multiselect,
+#block-system-main dl.multiselect dt,
+#block-system-main dl.multiselect dd {
+ margin: 0 10px 0 0;
+}
+
+#block-system-main 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: 0 0 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: 0;
+ border: 0;
+}
+
+/* Overlay theming */
+body.overlay {
+ background: #fff;
+}
+
+body.overlay #branding,
+body.overlay #page-title,
+body.overlay #page #left,
+body.overlay #page #footer {
+ display: none;
+}
+
+body.overlay #page {
+ margin: 0;
+ padding: 0;
+}
+
+body.overlay #block-system-main {
+ padding: 20px;
+}
Index: themes/seven/template.php
===================================================================
RCS file: themes/seven/template.php
diff -N themes/seven/template.php
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/template.php 31 Jul 2009 12:33:36 -0000
@@ -0,0 +1,67 @@
+';
+ $vars['back_to_site'] = l(t('Back to the live site'), '');
+}
+
+/**
+ * Display the list of available node types for node creation.
+ */
+function seven_node_add_list($content) {
+ $output = '';
+ if ($content) {
+ $output = '';
+ }
+ return $output;
+}
+
+/**
+ * Override of theme_admin_block_content().
+ *
+ * Use unordered list markup in both compact and extended move.
+ */
+function seven_admin_block_content($content) {
+ $output = '';
+ if (!empty($content)) {
+ $output = system_admin_compact_mode() ? '' : '';
+ }
+ return $output;
+}
+
+/**
+ * Override of theme_tablesort_indicator().
+ *
+ * Use our own image versions, so they show up as black and not gray on gray.
+ */
+function seven_tablesort_indicator($style) {
+ $theme_path = drupal_get_path('theme', 'seven');
+ if ($style == "asc") {
+ return theme('image', $theme_path . '/images/arrow-asc.png', t('sort icon'), t('sort ascending'));
+ }
+ else {
+ return theme('image', $theme_path . '/images/arrow-desc.png', t('sort icon'), t('sort descending'));
+ }
+}
Index: themes/seven/vertical-tabs.css
===================================================================
RCS file: themes/seven/vertical-tabs.css
diff -N themes/seven/vertical-tabs.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/vertical-tabs.css 31 Jul 2009 12:33:36 -0000
@@ -0,0 +1,57 @@
+/* $Id$ */
+
+/**
+ * Override of misc/vertical-tabs.css.
+ */
+div.vertical-tabs {
+ margin: 10px 0;
+ padding: 9px;
+ border: 1px solid #ccc;
+ background: #f8f8f8;
+}
+
+div.vertical-tabs fieldset {
+ border: 0;
+ padding: 0 0 0 20px;
+}
+
+div.vertical-tabs .vertical-tabs-list {
+ line-height: 10px;
+ font-size: 11px;
+ width: 25%;
+ float: left;
+}
+
+div.vertical-tabs ul li.vertical-tab-button a {
+ display: block;
+ border-right: 1px solid #ccc;
+ padding: 10px 9px 10px 10px;
+ -moz-border-radius-topleft: 5px;
+ -moz-border-radius-bottomleft: 5px;
+ -webkit-border-top-left-radius: 5px;
+ -webkit-border-bottom-left-radius: 5px;
+}
+
+div.vertical-tabs ul li.vertical-tab-button .summary {
+ display: block;
+ font-size: 9px;
+ color: #666;
+}
+
+div.vertical-tabs ul li.vertical-tab-button a:hover {
+ background: #fff;
+}
+
+div.vertical-tabs ul li.selected a,
+div.vertical-tabs ul li.selected a:hover {
+ background: #ddd;
+}
+
+div.vertical-tabs .vertical-tabs-panes {
+ width: 75%;
+ float: right;
+}
+
+div.vertical-tabs .vertical-tabs-panes legend {
+ display: none;
+}