Index: themes/seven/ie.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/ie.css,v
retrieving revision 1.3
diff -u -r1.3 ie.css
--- themes/seven/ie.css 12 Apr 2010 17:33:35 -0000 1.3
+++ themes/seven/ie.css 4 Jun 2010 01:09:07 -0000
@@ -10,3 +10,4 @@
left: 0;
top: 0;
}
+
Index: themes/seven/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/page.tpl.php,v
retrieving revision 1.12
diff -u -r1.12 page.tpl.php
--- themes/seven/page.tpl.php 4 Jan 2010 03:57:19 -0000 1.12
+++ themes/seven/page.tpl.php 4 Jun 2010 01:09:07 -0000
@@ -13,7 +13,9 @@
-
+
+
+
Index: themes/seven/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/style.css,v
retrieving revision 1.57
diff -u -r1.57 style.css
--- themes/seven/style.css 5 May 2010 16:41:57 -0000 1.57
+++ themes/seven/style.css 4 Jun 2010 01:09:07 -0000
@@ -63,7 +63,7 @@
}
dl dd,
dl dl {
- margin-left: 20px;
+ margin-left: 20px; /* LTR */
margin-bottom: 10px;
}
blockquote {
@@ -150,9 +150,9 @@
*/
#skip-link {
margin-top: 0;
- position: absolute;
left: 50%;
margin-left: -5.25em;
+ position: absolute;
width: auto;
z-index: 50;
}
@@ -161,21 +161,20 @@
#skip-link a:visited {
position: absolute;
display: block;
- top: auto;
- left: -10000px;
+ text-align: center;
+ top: -10000px;
width: 1px;
height: 1px;
background: #444;
color: #fff;
font-size: 0.94em;
text-decoration: none;
- border-radius:0 0 10px 10px;
-moz-border-radius: 0 0 10px 10px;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-
+ border-radius:0 0 10px 10px;
}
#skip-link a:hover,
#skip-link a:active,
@@ -202,23 +201,23 @@
}
#branding div.block {
position: relative;
- float: right;
+ float: right; /* LTR */
width: 240px;
- padding-left: 10px;
+ padding-left: 10px; /* LTR */
background: #333;
}
#branding div.block form label {
display: none;
}
#branding div.block form div.form-item {
- float: left;
+ float: left; /* LTR */
border: 0;
margin: 0;
padding: 0;
}
#branding div.block form input.form-text {
width: 140px;
- margin-right: 10px;
+ margin-right: 10px; /* LTR */
}
#branding div.block form input.form-submit {
text-align: center;
@@ -235,7 +234,6 @@
#help p {
margin: 0 0 10px;
}
-
#help div.more-help-link {
text-align: right;
}
@@ -298,15 +296,15 @@
ul.primary {
float: right;
border-bottom: none;
- margin: 0 0 -10px 0;
- padding: 3px 0 0 8px;
- line-height: 30px;
+ font-size: 1em;
+ margin: 0;
+ height: 2.75em;
text-transform: uppercase;
- font-size: 12px;
}
ul.primary li {
- display: inline;
+ float: left;
list-style: none;
+ margin: 0 2px;
}
ul.primary li a,
ul.primary li a.active,
@@ -316,15 +314,19 @@
ul.primary li.active a {
background-color: #a6a7a2;
color: #000;
+ display: block;
+ float: left;
font-weight: bold;
- padding: 7px 20px 5px 20px;
+ padding: 0 20px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #a6a7a2;
- border-radius: 8px 8px 0 0;
+ height: 2.75em;
+ line-height: 2.75em;
-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;
}
ul.primary li.active a,
ul.primary li.active a.active,
@@ -339,22 +341,25 @@
ul.primary li.active a:hover {
color: #000;
}
-ul.secondary {
- float: none;
+.tabs-secondary {
clear: both;
- font-size: 12px;
- text-align: right;
- padding: 4px 10px 10px;
+}
+ul.secondary {
+ float: right;
+ font-size: 1em;
+ padding: 4px 0 10px;
line-height: 18px;
- overflow: hidden;
background-color: #fff;
+ overflow: hidden;
}
ul.secondary li {
- padding-left: 10px;
+ margin: 0 5px;
+ float: right;
}
ul.secondary li a {
background-color: #ddd;
color: #000;
+ display: inline-block;
}
ul.secondary li a,
ul.secondary li a:hover,
@@ -383,8 +388,11 @@
position: relative;
color: #333;
}
+#content {
+ clear: left;
+}
#secondary-links ul.links li {
- padding: 0 10px 10px 0;
+ padding: 0 10px 10px 0; /* LTR */
}
#secondary-links ul.links li a {
font-size: 9px;
@@ -417,10 +425,10 @@
ul.node-type-list li,
ul.admin-list li {
position: relative;
- padding-left: 30px;
+ padding-left: 30px; /* LTR */
padding-top: 9px;
border-top: 1px solid #ccc;
- margin-left: 0;
+ margin-left: 0; /* LTR */
margin-bottom: 10px;
background: url(images/list-item.png) no-repeat 0 11px;
list-style-type: none;
@@ -439,14 +447,13 @@
ul.admin-list.compact li {
border: none;
background: none;
- margin: 0.25em 0 0.25em 1.5em;
+ margin: 0.25em 0 0.25em 1.5em; /* LTR */
padding: 0;
list-style-type: disc;
}
ul.admin-list li:last-child {
border-bottom: none;
}
-
ul.node-type-list .label {
font-size: 15px;
}
@@ -519,7 +526,7 @@
table th.active img {
position: absolute;
top: 3px;
- right: 3px;
+ right: 3px; /* LTR */
}
table td.active {
background: #e9e9dd;
@@ -573,7 +580,7 @@
}
fieldset .fieldset-legend {
margin-top: 0.5em;
- padding-left: 15px;
+ padding-left: 15px; /* LTR */
position: absolute;
text-transform: uppercase;
}
@@ -734,12 +741,12 @@
overflow: hidden;
}
ul.action-links li {
- float: left;
- margin: 0 1em 0 0;
+ float: left; /* LTR */
+ margin: 0 1em 0 0; /* LTR */
}
ul.action-links a {
- padding-left: 15px;
- background: transparent url(images/add.png) no-repeat 0 center;
+ padding-left: 15px; /* LTR */
+ background: transparent url(images/add.png) no-repeat 0 center; /* LTR */
line-height: 30px;
}
@@ -794,7 +801,7 @@
dl.multiselect,
dl.multiselect dt,
dl.multiselect dd {
- margin: 0 10px 0 0;
+ margin: 0 10px 0 0; /* LTR */
}
dl.multiselect select,
dl.multiselect dd select {
@@ -818,7 +825,7 @@
}
div.admin-options label,
div.admin-options div.form-item {
- margin-right: 10px;
+ margin-right: 10px; /* LTR */
float: left;
}
div.admin-options div.form-item {
@@ -833,13 +840,13 @@
/* Maintenance theming */
body.in-maintenance #sidebar-first {
- float: left;
+ float: left; /* LTR */
width: 200px;
}
body.in-maintenance #content {
- float: right;
+ float: right; /* LTR */
width: 550px;
- padding-right: 20px;
+ padding-right: 20px; /* LTR */
}
body.in-maintenance #page {
overflow: auto;
@@ -902,7 +909,7 @@
padding: 0 20px;
}
.overlay #branding div.breadcrumb {
- float: left;
+ float: left; /* LTR */
position: relative;
z-index: 10;
}
@@ -916,9 +923,9 @@
/* Shortcut theming */
div.add-or-remove-shortcuts {
- float: left;
+ float: left; /* LTR */
padding-top: 6px;
- padding-left: 6px;
+ padding-left: 6px; /* LTR */
}
/* Dashboard */
@@ -928,7 +935,7 @@
#dashboard div.block h2 {
margin: 0;
font-size: 1em;
- padding: 3px 9px 3px 19px;
+ padding: 3px 9px 3px 19px; /* LTR */
}
#dashboard div.block div.content {
padding: 10px 5px 5px 5px;
@@ -949,9 +956,8 @@
border: none;
}
#block-node-recent .more-link {
- padding: 0 5px 5px 0;
+ padding: 0 10px 5px 0; /* LTR */
}
-
/* User login block */
#user-login-form .openid-links {
margin-left: 0; /* LTR */
Index: themes/seven/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/template.php,v
retrieving revision 1.17
diff -u -r1.17 template.php
--- themes/seven/template.php 12 May 2010 09:22:24 -0000 1.17
+++ themes/seven/template.php 4 Jun 2010 01:09:07 -0000
@@ -19,6 +19,8 @@
function seven_preprocess_html(&$vars) {
// Add conditional CSS for IE8 and below.
drupal_add_css(path_to_theme() . '/ie.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
+ // Add conditional CSS for IE7 and below.
+ drupal_add_css(path_to_theme() . '/ie7.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
// Add conditional CSS for IE6.
drupal_add_css(path_to_theme() . '/ie6.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
}
Index: themes/seven/style-rtl.css
===================================================================
RCS file: themes/seven/style-rtl.css
diff -N themes/seven/style-rtl.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/style-rtl.css 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,194 @@
+/* $Id$ */
+
+/**
+ * Generic elements.
+ */
+dl dd,
+dl dl { /* @todo */
+ margin-left: 20px;
+}
+ul, .block ul, .item-list ul, .item-list ul {
+ margin: 0.25em 1.5em 0.25em 0;
+}
+ol {
+ margin: 0.25em 2em 0.25em 0;
+}
+
+/**
+ * Skip link.
+ */
+#skip-link {
+ margin-left: 0;
+ margin-right: -5.25em;
+ left: auto;
+ right: 50%;
+}
+
+/**
+ * Branding.
+ */
+#branding div.block {
+ float: left;
+ padding-left: 0;
+ padding-right: 10px;
+}
+#branding div.block form div.form-item {
+ float: right;
+}
+
+/**
+ * Page title.
+ */
+#branding h1.page-title {
+ float: right;
+}
+
+/**
+ * Tabs.
+ */
+ul.primary li,
+ul.primary li a,
+ul.primary li a.active,
+ul.primary li a:active,
+ul.primary li a:visited,
+ul.primary li a:hover,
+ul.primary li.active a {
+ float: right;
+}
+ul.primary,
+ul.secondary,
+ul.secondary li {
+ float: left;
+}
+
+/**
+ * Page layout.
+ */
+#secondary-links ul.links li {
+ padding: 0 0 10px 10px;
+}
+ul.links li,
+ul.inline li {
+ padding-right: 1em;
+}
+ul.node-type-list li,
+ul.admin-list li {
+ background: url(images/list-item-rtl.png) no-repeat right 11px;
+ margin-right: -1.5em;
+ padding-right: 30px;
+}
+.admin-panel .item-list li{
+ margin: 0.25em 1.5em 0.25em 0;
+}
+ul.node-type-list li a, /* @todo original values, what has to be done? */
+ul.admin-list li a {
+ margin-left: -30px;
+ padding: 0px 0 4px 30px;
+}
+
+/**
+ * Tables.
+ */
+table.system-status-report th {
+ padding-left: 0;
+ padding-right: 30px;
+ background-position: 99% 50%;
+}
+table th.active img {
+ right: auto;
+ left: 3px;
+}
+
+/**
+ * Fieldsets.
+ */
+fieldset .fieldset-legend {
+ right: 15px;
+}
+fieldset .fieldset-wrapper {
+ padding: 0 15px 13px 13px;
+}
+
+/**
+ * Form elements.
+ */
+ul.tips li {
+ margin: 0.25em 1.5em 0.25em 0;
+}
+body div.form-type-radio div.description, body div.form-type-checkbox div.description { /* @todo need to be checked */
+ margin-left: 0;
+ margin-right: 1.5em;
+}
+ul.action-links li {
+ float: right;
+}
+ul.action-links a {
+ background: transparent url(images/add.png) no-repeat right center;
+ padding-left: 0;
+ padding-right: 15px;
+}
+
+/**
+ * System.
+ */
+div.admin-panel,
+div.admin-panel .body {
+ clear: right;
+}
+
+/* admin/content and admin/people */
+dl.multiselect,
+dl.multiselect dt,
+dl.multiselect dd {
+ margin: 0 0 0 10px;
+}
+
+/* Update options. */
+div.admin-options label,
+div.admin-options div.form-item {
+ margin-left: 10px;
+ margin-right: 0;
+ float: right;
+}
+
+/* Maintenance theming */
+body.in-maintenance #sidebar-first {
+ float: right;
+}
+body.in-maintenance #content {
+ float: left;
+ padding-right: 0;
+ padding-left: 20px;
+}
+ol.task-list {
+ margin-right: 0;
+}
+ol.task-list li {
+ padding: 0.5em 20px 0.5em 1em;
+}
+ol.task-list li.active {
+ background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
+ padding: 0.5em 20px 0.5em 1em;
+}
+
+/* Dashboard */
+#dashboard div.block h2 {
+ padding: 3px 19px 3px 9px;
+}
+#dashboard div.block div.content ul.menu {
+ margin-left: 0;
+ margin-right: 20px;
+}
+#block-node-recent .more-link {
+ padding: 0 0 5px 10px;
+}
+
+/*
+* Extra fixes
+*/
+.overlay #branding div.breadcrumb {
+ float: right;
+}
+div.add-or-remove-shortcuts {
+ float: right;
+}
Index: themes/seven/ie7.css
===================================================================
RCS file: themes/seven/ie7.css
diff -N themes/seven/ie7.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ themes/seven/ie7.css 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,20 @@
+/* $Id$ */
+
+ul.primary li,
+ul.primary li a,
+ul.primary li a.active,
+ul.primary li a:active,
+ul.primary li a:visited,
+ul.primary li a:hover,
+ul.primary li.active a {
+ float: none !important;
+ display: inline;
+}
+ul.primary li a,
+ul.primary li a.active,
+ul.primary li a:active,
+ul.primary li a:visited,
+ul.primary li a:hover,
+ul.primary li.active a {
+ zoom: 1;
+}