summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-28 20:08:39 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-28 20:08:39 +0000
commit01eb7bff732b65228caea2238e0520bc15c3e69d (patch)
tree30749b1fae469e8001aae8d850b7e194732c6b1c
parentfe2fdd4f4ab98ef3b2b4aa4a8410eac18209537b (diff)
downloadbrdo-01eb7bff732b65228caea2238e0520bc15c3e69d.tar.gz
brdo-01eb7bff732b65228caea2238e0520bc15c3e69d.tar.bz2
- Patch #748798 by casey, Rob Loach, Jacine: changed CSS Coding Standards.
-rw-r--r--misc/farbtastic/farbtastic.css6
-rw-r--r--modules/aggregator/aggregator.css3
-rw-r--r--modules/color/color-rtl.css7
-rw-r--r--modules/color/color.css7
-rw-r--r--modules/dashboard/dashboard.css6
-rw-r--r--modules/dblog/dblog-rtl.css3
-rw-r--r--modules/dblog/dblog.css9
-rw-r--r--modules/forum/forum.css7
-rw-r--r--modules/locale/locale.css4
-rw-r--r--modules/node/node.css3
-rw-r--r--modules/overlay/overlay-parent.css3
-rw-r--r--modules/system/admin-rtl.css6
-rw-r--r--modules/system/admin.css9
-rw-r--r--modules/system/system-behavior-rtl.css6
-rw-r--r--modules/system/system-behavior.css10
-rw-r--r--modules/system/system-menus-rtl.css4
-rw-r--r--modules/system/system-menus.css4
-rw-r--r--modules/system/system.css42
-rw-r--r--modules/update/update.css3
-rw-r--r--modules/user/user.css6
-rw-r--r--themes/garland/color/preview.css6
-rw-r--r--themes/garland/fix-ie-rtl.css8
-rw-r--r--themes/garland/fix-ie.css6
-rw-r--r--themes/garland/print.css28
-rw-r--r--themes/garland/style-rtl.css39
-rw-r--r--themes/garland/style.css205
-rw-r--r--themes/seven/ie6.css6
-rw-r--r--themes/seven/reset.css3
-rw-r--r--themes/seven/style.css59
29 files changed, 365 insertions, 143 deletions
diff --git a/misc/farbtastic/farbtastic.css b/misc/farbtastic/farbtastic.css
index 9fe6f8fca..e4c512cef 100644
--- a/misc/farbtastic/farbtastic.css
+++ b/misc/farbtastic/farbtastic.css
@@ -7,11 +7,13 @@
position: absolute;
cursor: crosshair;
}
-.farbtastic, .farbtastic .wheel {
+.farbtastic,
+.farbtastic .wheel {
width: 195px;
height: 195px;
}
-.farbtastic .color, .farbtastic .overlay {
+.farbtastic .color,
+.farbtastic .overlay {
top: 47px;
left: 47px;
width: 101px;
diff --git a/modules/aggregator/aggregator.css b/modules/aggregator/aggregator.css
index 554de08fd..0ee9f88bb 100644
--- a/modules/aggregator/aggregator.css
+++ b/modules/aggregator/aggregator.css
@@ -17,7 +17,8 @@
margin-bottom: 0;
font-size: 1.3em;
}
-#aggregator .feed-item-meta, #aggregator .feed-item-body {
+#aggregator .feed-item-meta,
+#aggregator .feed-item-body {
margin-bottom: 0.5em;
}
#aggregator .feed-item-categories {
diff --git a/modules/color/color-rtl.css b/modules/color/color-rtl.css
index 3927fd59a..565f40112 100644
--- a/modules/color/color-rtl.css
+++ b/modules/color/color-rtl.css
@@ -14,7 +14,8 @@
float: right;
clear: right;
}
-.color-form .form-text, .color-form .form-select {
+.color-form .form-text,
+.color-form .form-select {
float: right;
}
.color-form .form-text {
@@ -24,7 +25,9 @@
#palette .hook {
float: right;
}
-#palette .down, #palette .up, #palette .both {
+#palette .down,
+#palette .up,
+#palette .both {
background: url(images/hook-rtl.png) no-repeat 0 0;
}
#palette .up {
diff --git a/modules/color/color.css b/modules/color/color.css
index 3e013bf9a..455eb801c 100644
--- a/modules/color/color.css
+++ b/modules/color/color.css
@@ -23,7 +23,8 @@
clear: left; /* LTR */
width: 10em;
}
-.color-form .form-text, .color-form .form-select {
+.color-form .form-text,
+.color-form .form-select {
float: left; /* LTR */
}
.color-form .form-text {
@@ -38,7 +39,9 @@
width: 16px;
height: 16px;
}
-#palette .down, #palette .up, #palette .both {
+#palette .down,
+#palette .up,
+#palette .both {
background: url(images/hook.png) no-repeat 100% 0; /* LTR */
}
#palette .up {
diff --git a/modules/dashboard/dashboard.css b/modules/dashboard/dashboard.css
index 1fd08900a..737cca6a4 100644
--- a/modules/dashboard/dashboard.css
+++ b/modules/dashboard/dashboard.css
@@ -26,7 +26,8 @@
float: none;
}
-#dashboard #disabled-blocks .block, #dashboard .block-placeholder {
+#dashboard #disabled-blocks .block,
+#dashboard .block-placeholder {
background: #e2e1dc;
padding: 6px 4px 6px 8px;
margin: 3px 3px 3px 0;
@@ -92,7 +93,8 @@
background: #0074BD;
}
-#dashboard #disabled-blocks .block .content, #dashboard .ui-sortable-helper .content {
+#dashboard #disabled-blocks .block .content,
+#dashboard .ui-sortable-helper .content {
display: none;
}
diff --git a/modules/dblog/dblog-rtl.css b/modules/dblog/dblog-rtl.css
index 995a044ea..d9152dfbf 100644
--- a/modules/dblog/dblog-rtl.css
+++ b/modules/dblog/dblog-rtl.css
@@ -1,6 +1,7 @@
/* $Id$ */
-.form-item-type, .form-item-severity {
+.form-item-type,
+.form-item-severity {
float: right;
padding-right: 0;
padding-left: .8em;
diff --git a/modules/dblog/dblog.css b/modules/dblog/dblog.css
index 343dcd13a..ce3e3608c 100644
--- a/modules/dblog/dblog.css
+++ b/modules/dblog/dblog.css
@@ -1,6 +1,7 @@
/* $Id$ */
-.form-item-type, .form-item-severity {
+.form-item-type,
+.form-item-severity {
float: left; /* LTR */
padding-right: .8em; /* LTR */
margin: 0.1em;
@@ -31,10 +32,12 @@ tr.dblog-content {
tr.dblog-content .active {
background: #cce;
}
-tr.dblog-page-not-found, tr.dblog-access-denied {
+tr.dblog-page-not-found,
+tr.dblog-access-denied {
background: #dfd;
}
-tr.dblog-page-not-found .active, tr.dblog-access-denied .active {
+tr.dblog-page-not-found .active,
+tr.dblog-access-denied .active {
background: #cec;
}
tr.dblog-error {
diff --git a/modules/forum/forum.css b/modules/forum/forum.css
index f8dcab544..f56930d54 100644
--- a/modules/forum/forum.css
+++ b/modules/forum/forum.css
@@ -4,7 +4,12 @@
font-size: 0.9em;
margin: 0.5em;
}
-#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager {
+#forum td.created,
+#forum td.posts,
+#forum td.topics,
+#forum td.last-reply,
+#forum td.replies,
+#forum td.pager {
white-space: nowrap;
}
#forum tr td.forum {
diff --git a/modules/locale/locale.css b/modules/locale/locale.css
index f4b5ea758..f28f5d570 100644
--- a/modules/locale/locale.css
+++ b/modules/locale/locale.css
@@ -5,7 +5,9 @@
text-decoration: line-through;
}
-.form-item-language, .form-item-translation, .form-item-group {
+.form-item-language,
+.form-item-translation,
+.form-item-group {
float: left; /* LTR */
padding-right: .8em; /* LTR */
margin: 0.1em;
diff --git a/modules/node/node.css b/modules/node/node.css
index 07460c85e..16143cb6f 100644
--- a/modules/node/node.css
+++ b/modules/node/node.css
@@ -7,7 +7,8 @@
background-color: #ffffea;
}
/* Override the default multiselect layout in system-behavior.css. */
-#node-admin-content dl.multiselect dd, dl.multiselect dd .form-item {
+#node-admin-content dl.multiselect dd,
+dl.multiselect dd .form-item {
width: 20em; /* 6em label + 14em select */
}
#node-admin-content dl.multiselect dd .form-item label {
diff --git a/modules/overlay/overlay-parent.css b/modules/overlay/overlay-parent.css
index 09c3bbcfe..9b1389bd1 100644
--- a/modules/overlay/overlay-parent.css
+++ b/modules/overlay/overlay-parent.css
@@ -38,7 +38,8 @@ body.overlay-autofit {
min-height: 100px;
}
-.overlay.ui-widget-content, .overlay .ui-widget-header {
+.overlay.ui-widget-content,
+.overlay .ui-widget-header {
background: none;
border: none;
}
diff --git a/modules/system/admin-rtl.css b/modules/system/admin-rtl.css
index f9420333a..35d92e956 100644
--- a/modules/system/admin-rtl.css
+++ b/modules/system/admin-rtl.css
@@ -23,7 +23,8 @@ div.admin .expert-link {
padding-left: 4px;
}
-table.system-status-report th, table.system-status-report tr.merge-up td {
+table.system-status-report th,
+table.system-status-report tr.merge-up td {
padding-right: 30px;
}
@@ -38,7 +39,8 @@ table.screenshot {
.date-container {
clear: right;
}
-.date-container .select-container, .date-container .custom-container {
+.date-container .select-container,
+.date-container .custom-container {
float: right;
}
.date-container .custom-container {
diff --git a/modules/system/admin.css b/modules/system/admin.css
index 0f11126e5..70d415a25 100644
--- a/modules/system/admin.css
+++ b/modules/system/admin.css
@@ -47,7 +47,8 @@ table.package .description {
table.package .version {
direction: ltr;
}
-div.admin-requirements, div.admin-required {
+div.admin-requirements,
+div.admin-required {
font-size: 0.9em;
color: #444;
}
@@ -67,7 +68,8 @@ span.admin-missing {
table.system-status-report th {
border-bottom: 1px solid #ccc;
}
-table.system-status-report th, table.system-status-report tr.merge-up td {
+table.system-status-report th,
+table.system-status-report tr.merge-up td {
padding-left: 30px; /* LTR */
}
table.system-status-report th {
@@ -125,7 +127,8 @@ table.screenshot {
.date-container .form-item {
margin-top: 0;
}
-.date-container .select-container, .date-container .custom-container {
+.date-container .select-container,
+.date-container .custom-container {
float: left; /* LTR */
}
.date-container .custom-container {
diff --git a/modules/system/system-behavior-rtl.css b/modules/system/system-behavior-rtl.css
index 9951071f2..532ed5b47 100644
--- a/modules/system/system-behavior-rtl.css
+++ b/modules/system/system-behavior-rtl.css
@@ -71,14 +71,16 @@ div.indentation {
padding: 0.42em 0.6em 0.42em 0;
float: right;
}
-div.tree-child, div.tree-child-last {
+div.tree-child,
+div.tree-child-last {
background-position: -65px center;
}
/**
* Multiselect form
*/
-dl.multiselect dt, dl.multiselect dd {
+dl.multiselect dt,
+dl.multiselect dd {
float: right;
margin: 0 0 0 1em;
}
diff --git a/modules/system/system-behavior.css b/modules/system/system-behavior.css
index ae8da0d3a..d34f3a93a 100644
--- a/modules/system/system-behavior.css
+++ b/modules/system/system-behavior.css
@@ -176,12 +176,15 @@ tr .ajax-progress .throbber {
/**
* Multiselect form
*/
-dl.multiselect dd, dl.multiselect dd .form-item, dl.multiselect dd select {
+dl.multiselect dd,
+dl.multiselect dd .form-item,
+dl.multiselect dd select {
font-family: inherit;
font-size: inherit;
width: 14em;
}
-dl.multiselect dt, dl.multiselect dd {
+dl.multiselect dt,
+dl.multiselect dd {
float: left; /* LTR */
line-height: 1.75em;
padding: 0;
@@ -217,7 +220,8 @@ dl.multiselect .form-item {
width: 0%;
background-color: #47C965;
}
-input.password-confirm, input.password-field {
+input.password-confirm,
+input.password-field {
width: 16em;
margin-bottom: 0.4em;
}
diff --git a/modules/system/system-menus-rtl.css b/modules/system/system-menus-rtl.css
index c77dbf3ab..e5247dfed 100644
--- a/modules/system/system-menus-rtl.css
+++ b/modules/system/system-menus-rtl.css
@@ -9,6 +9,8 @@ ul.menu li {
ul li.collapsed {
list-style-image: url(../../misc/menu-collapsed-rtl.png);
}
-li.expanded, li.collapsed, li.leaf {
+li.expanded,
+li.collapsed,
+li.leaf {
padding: 0.2em 0 0 0.5em;
}
diff --git a/modules/system/system-menus.css b/modules/system/system-menus.css
index 7a6a9e8cf..e14229352 100644
--- a/modules/system/system-menus.css
+++ b/modules/system/system-menus.css
@@ -20,7 +20,9 @@ ul li.leaf {
list-style-type: square;
list-style-image: url(../../misc/menu-leaf.png);
}
-li.expanded, li.collapsed, li.leaf {
+li.expanded,
+li.collapsed,
+li.leaf {
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
diff --git a/modules/system/system.css b/modules/system/system.css
index 0e0981415..bbe712f91 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -29,7 +29,8 @@ th {
th.active img {
display: inline;
}
-tr.even, tr.odd {
+tr.even,
+tr.odd {
background-color: #eee;
border-bottom: 1px solid #ccc;
padding: 0.1em 0.6em;
@@ -43,7 +44,8 @@ tr.drag-previous {
td.active {
background-color: #ddd;
}
-td.checkbox, th.checkbox {
+td.checkbox,
+th.checkbox {
text-align: center;
}
tbody {
@@ -86,18 +88,25 @@ thead th {
margin-top: 1em;
margin-bottom: 1em;
}
-tr.odd .form-item, tr.even .form-item {
+tr.odd .form-item,
+tr.even .form-item {
margin-top: 0;
margin-bottom: 0;
white-space: nowrap;
}
-tr.merge-down, tr.merge-down td, tr.merge-down th {
+tr.merge-down,
+tr.merge-down td,
+tr.merge-down th {
border-bottom-width: 0 !important;
}
-tr.merge-up, tr.merge-up td, tr.merge-up th {
+tr.merge-up,
+tr.merge-up td,
+tr.merge-up th {
border-top-width: 0 !important;
}
-.form-item input.error, .form-item textarea.error, .form-item select.error {
+.form-item input.error,
+.form-item textarea.error,
+.form-item select.error {
border: 2px solid red;
}
.form-item .description {
@@ -111,33 +120,40 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
display: inline;
font-weight: normal;
}
-.form-checkboxes, .form-radios {
+.form-checkboxes,
+.form-radios {
margin: 1em 0;
}
-.form-checkboxes .form-item, .form-radios .form-item {
+.form-checkboxes .form-item,
+.form-radios .form-item {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
-.form-type-radio .description, .form-type-checkbox .description {
+.form-type-radio .description,
+.form-type-checkbox .description {
margin-left: 2.4em;
}
-input.form-checkbox, input.form-radio {
+input.form-checkbox,
+input.form-radio {
vertical-align: middle;
}
-.marker, .form-required {
+.marker,
+.form-required {
color: #f00;
}
.more-help-link {
text-align: right; /* LTR */
}
-.more-help-link a, a.module-link {
+.more-help-link a,
+a.module-link {
padding: 1px 0 1px 20px; /* LTR */
}
a.module-link {
display: block;
white-space: nowrap;
}
-.more-help-link a, a.module-link-help {
+.more-help-link a,
+a.module-link-help {
background: url(../../misc/help.png) 0 50% no-repeat; /* LTR */
}
a.module-link-permissions {
diff --git a/modules/update/update.css b/modules/update/update.css
index 3f46d6c39..66392e221 100644
--- a/modules/update/update.css
+++ b/modules/update/update.css
@@ -52,7 +52,8 @@
background: #ffe;
}
-.current-version, .new-version {
+.current-version,
+.new-version {
direction: ltr; /* Note: version numbers should always be LTR. */
}
diff --git a/modules/user/user.css b/modules/user/user.css
index 414fbc9ed..9fd40e0c4 100644
--- a/modules/user/user.css
+++ b/modules/user/user.css
@@ -6,11 +6,13 @@
#permissions td.permission {
padding-left: 1.5em; /* LTR */
}
-#permissions tr.odd .form-item, #permissions tr.even .form-item {
+#permissions tr.odd .form-item,
+#permissions tr.even .form-item {
white-space: normal;
}
/* Override the default multiselect layout in system-behavior.css. */
-#user-filter-form dl.multiselect dd, dl.multiselect dd .form-item {
+#user-filter-form dl.multiselect dd,
+dl.multiselect dd .form-item {
width: 20em; /* 6em label + 14em select */
}
#user-filter-form dl.multiselect dd .form-item label {
diff --git a/themes/garland/color/preview.css b/themes/garland/color/preview.css
index d0b845ba6..ebe4f26d2 100644
--- a/themes/garland/color/preview.css
+++ b/themes/garland/color/preview.css
@@ -5,7 +5,8 @@
overflow: hidden;
max-width: 100%;
}
-#preview, #preview #img {
+#preview,
+#preview #img {
width: 600px;
height: 371px;
}
@@ -50,7 +51,8 @@
#preview p {
margin: .5em 0;
}
-#preview a:link, #preview a:visited {
+#preview a:link,
+#preview a:visited {
text-decoration: none;
font-weight: normal;
}
diff --git a/themes/garland/fix-ie-rtl.css b/themes/garland/fix-ie-rtl.css
index 8ff6412f9..c5f31c0d1 100644
--- a/themes/garland/fix-ie-rtl.css
+++ b/themes/garland/fix-ie-rtl.css
@@ -10,11 +10,12 @@ body {
direction: ltr;
}
-#squeeze .left-corner{
+#squeeze .left-corner {
direction: rtl
}
-#header-region, #wrapper #container {
+#header-region,
+#wrapper #container {
/* Reset text alignment */
text-align: right;
}
@@ -54,7 +55,8 @@ tr.menu-disabled {
height: 1em;
}
-#attach-hide label, #uploadprogress div.message {
+#attach-hide label,
+#uploadprogress div.message {
/* Fading elements in IE causes the text to bleed unless they have a background. */
background-color: #ffffff;
}
diff --git a/themes/garland/fix-ie.css b/themes/garland/fix-ie.css
index d38a6f8af..04905fc7c 100644
--- a/themes/garland/fix-ie.css
+++ b/themes/garland/fix-ie.css
@@ -5,7 +5,8 @@ body {
text-align: center;
}
-#header-region, #wrapper #container {
+#header-region,
+#wrapper #container {
/* Reset text alignment */
text-align: left; /* LTR */
}
@@ -58,7 +59,8 @@ tr.taxonomy-term-preview {
filter: alpha(opacity=50);
}
-#attach-hide label, #uploadprogress div.message {
+#attach-hide label,
+#uploadprogress div.message {
/* Fading elements in IE causes the text to bleed unless they have a background. */
background-color: #ffffff;
}
diff --git a/themes/garland/print.css b/themes/garland/print.css
index 67c0f79dd..aea501423 100644
--- a/themes/garland/print.css
+++ b/themes/garland/print.css
@@ -1,23 +1,35 @@
/* $Id$ */
-body, input, textarea, select {
+body,
+input,
+textarea,
+select {
color: #000;
background: none;
font-family: Verdana, sans-serif;
font-size: 11pt;
}
-ul.main-menu, ul.secondary-menu,
-#header-region, .sidebar {
+ul.main-menu,
+ul.secondary-menu,
+#header-region,
+.sidebar {
display: none;
}
-body.two-sidebars, body.sidebar-first, body.sidebar-second, body {
+body.two-sidebars,
+body.sidebar-first,
+body.sidebar-second,
+body {
width: 640px;
}
-body.sidebar-first #center, body.sidebar-second #center, body.two-sidebars #center,
-body.sidebar-first #squeeze, body.sidebar-second #squeeze, body.two-sidebars #squeeze {
+body.sidebar-first #center,
+body.sidebar-second #center,
+body.two-sidebars #center,
+body.sidebar-first #squeeze,
+body.sidebar-second #squeeze,
+body.two-sidebars #squeeze {
margin: 0;
}
@@ -42,7 +54,9 @@ body.sidebar-first #squeeze, body.sidebar-second #squeeze, body.two-sidebars #sq
height: 130px;
}
-#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
+#wrapper #container #header h1,
+#wrapper #container #header h1 a:link,
+#wrapper #container #header h1 a:visited {
text-shadow: none;
color: #000;
}
diff --git a/themes/garland/style-rtl.css b/themes/garland/style-rtl.css
index 73664aa13..07a755f6e 100644
--- a/themes/garland/style-rtl.css
+++ b/themes/garland/style-rtl.css
@@ -11,15 +11,22 @@ body {
direction: rtl;
}
-ul, .block ul, ol {
+ul,
+.block ul,
+ol {
padding: 0 1.5em 0 0;
}
-ul.menu, .item-list ul {
+ul.menu,
+.item-list ul {
margin: 0.35em -0.5em 0 0;
}
-ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
+ol li,
+ul li,
+ul.menu li,
+.item-list ul li,
+li.leaf {
margin: 0.15em .5em 0.15em 0;
}
@@ -68,7 +75,8 @@ dl dd {
padding: 0 1.3 0 0;
}
-.form-button, .form-submit {
+.form-button,
+.form-submit {
margin: 2em 0 1em 0.5em;
}
@@ -181,8 +189,14 @@ h1.with-tabs {
margin: 0 0 0 2em;
}
-ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
-ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
+ul.primary li a,
+ul.primary li.active a,
+ul.primary li a:hover,
+ul.primary li a:visited,
+ul.secondary li a,
+ul.secondary li.active a,
+ul.secondary li a:hover,
+ul.secondary li a:visited {
margin: 0 1px 0 0;
}
@@ -196,7 +210,8 @@ ul.links li, ul.inline li {
padding-right: 0;
}
-.node .links, .comment .links {
+.node .links,
+.comment .links {
text-align: right;
}
@@ -284,8 +299,14 @@ div.admin .right {
*/
/* Position:relative on these breaks IE7. */
-ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
-ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
+ul.primary li a,
+ul.primary li.active a,
+ul.primary li a:hover,
+ul.primary li a:visited,
+ul.secondary li a,
+ul.secondary li.active a,
+ul.secondary li a:hover,
+ul.secondary li a:visited {
position: static;
}
diff --git a/themes/garland/style.css b/themes/garland/style.css
index a1fbbe98c..737ed0c98 100644
--- a/themes/garland/style.css
+++ b/themes/garland/style.css
@@ -16,12 +16,18 @@ input {
color: #494949;
}
-textarea, select {
+textarea,
+select {
font: 1em/160% Verdana, sans-serif;
color: #494949;
}
-h1, h2, h3, h4, h5, h6 {
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
margin: 0;
padding: 0;
font-weight: normal;
@@ -32,7 +38,8 @@ h1 {
font-size: 170%;
}
-h2, #center h1 {
+h2,
+#center h1 {
font-size: 160%;
line-height: 130%;
}
@@ -53,11 +60,15 @@ h6 {
font-size: 110%;
}
-quote, code, fieldset {
+quote,
+code,
+fieldset {
margin: .5em 0;
}
-code, pre, kbd {
+code,
+pre,
+kbd {
font-size: 115%;
}
@@ -66,7 +77,8 @@ p {
padding: 0;
}
-a:link, a:visited {
+a:link,
+a:visited {
color: #027AC6;
text-decoration: none;
}
@@ -76,7 +88,8 @@ a:hover {
text-decoration: underline;
}
-a:active, a.active {
+a:active,
+a.active {
color: #5895be;
}
@@ -88,13 +101,16 @@ hr {
background: #5294c1;
}
-ul, .block ul, ol {
+ul,
+.block ul,
+ol {
margin: 0.5em 0 1em;
padding: 0 0 0 1.5em; /* LTR */
}
/* Default to menu leaf bullet for unordered list items. "ul" used here so it can cascade to list items and "li.leaf" to override the system leaf image. */
-ul, li.leaf {
+ul,
+li.leaf {
list-style-image: url(images/menu-leaf.gif);
}
@@ -103,11 +119,16 @@ ol {
list-style-image: none;
}
-ul.menu, .item-list ul {
+ul.menu,
+.item-list ul {
margin: 0.35em 0 0 -0.5em; /* LTR */
}
-ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
+ol li,
+ul li,
+ul.menu li,
+.item-list ul li,
+li.leaf {
margin: 0.15em 0 0.15em .5em; /* LTR */
padding-bottom: .1em;
}
@@ -120,7 +141,9 @@ ul li.collapsed {
list-style-image: url(images/menu-collapsed.gif); /* LTR */
}
-ul li.leaf a, ul li.expanded a, ul li.collapsed a {
+ul li.leaf a,
+ul li.expanded a,
+ul li.collapsed a {
display: block;
}
@@ -166,7 +189,8 @@ dl dd {
margin: 0 0 .5em 1.5em; /* LTR */
}
-img, a img {
+img,
+a img {
border: none;
}
@@ -181,20 +205,25 @@ thead th {
font-weight: bold;
}
-th a:link, th a:visited {
+th a:link,
+th a:visited {
color: #6f9dbd;
}
-td, th {
+td,
+th {
padding: .3em .5em;
}
-tr.even, tr.odd, tbody th {
+tr.even,
+tr.odd,
+tbody th {
border: solid #d3e7f4;
border-width: 1px 0;
}
-tr.odd, tr.info {
+tr.odd,
+tr.info {
background-color: #edf5fa;
}
@@ -218,7 +247,10 @@ tr.even td.active {
background-color: #e6f1f7;
}
-td.region-title, td.module, td.container, td.category {
+td.region-title,
+td.module,
+td.container,
+td.category {
border-top: 1.5em solid #fff;
border-bottom: 1px solid #b4d7f0;
background-color: #d4e7f3;
@@ -226,7 +258,10 @@ td.region-title, td.module, td.container, td.category {
font-weight: bold;
}
-tr:first-child td.region-title, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category {
+tr:first-child td.region-title,
+tr:first-child td.module,
+tr:first-child td.container,
+tr:first-child td.category {
border-top-width: 0;
}
@@ -234,7 +269,8 @@ span.form-required {
color: #ffae00;
}
-.submitted, .description, .vertical-tab-button .summary {
+.submitted, .description,
+.vertical-tab-button .summary {
font-size: 0.92em;
color: #898989;
}
@@ -268,7 +304,10 @@ div.messages {
padding: 0 0 0 1.3em; /* LTR */
}
-.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item {
+.form-checkboxes,
+.form-radios,
+.form-checkboxes .form-item,
+.form-radios .form-item {
margin: 0.25em 0;
}
@@ -276,7 +315,8 @@ div.messages {
margin-bottom: 2em;
}
-.form-button, .form-submit {
+.form-button,
+.form-submit {
margin: 2em 0.5em 1em 0; /* LTR */
}
@@ -284,16 +324,20 @@ div.messages {
.confirmation .form-submit,
.search-form .form-submit,
.poll .form-submit,
-fieldset .form-button, fieldset .form-submit,
-.sidebar .form-button, .sidebar .form-submit,
-table .form-button, table .form-submit {
+fieldset .form-button,
+fieldset .form-submit,
+.sidebar .form-button,
+.sidebar .form-submit,
+table .form-button,
+table .form-submit {
margin: 0;
}
/**
* Skip link
*/
-#skip-link a:link, #skip-link a:visited {
+#skip-link a:link,
+#skip-link a:visited {
font-weight: bold;
background: #fff;
padding: 0px 5px;
@@ -305,7 +349,9 @@ table .form-button, table .form-submit {
position: absolute;
}
-#skip-link a:hover, #skip-link a:focus, #skip-link a:active {
+#skip-link a:hover,
+#skip-link a:focus,
+#skip-link a:active {
height: auto;
width: auto;
overflow: visible;
@@ -348,7 +394,8 @@ table .form-button, table .form-submit {
display: none;
}
-.region-header p, .region-header img {
+.region-header p,
+.region-header img {
margin-top: 0.5em;
}
@@ -356,7 +403,9 @@ table .form-button, table .form-submit {
margin: 0 1em 0 0; /* LTR */
}
-.region-header h3, .region-header label, .region-header li {
+.region-header h3,
+.region-header label,
+.region-header li {
margin: 0 1em;
padding: 0;
background: none;
@@ -395,7 +444,9 @@ body.fluid-width #wrapper #container {
position: absolute;
}
-#branding, #branding a:link, #branding a:visited {
+#branding,
+#branding a:link,
+#branding a:visited {
line-height: 120px;
position: relative;
z-index: 2;
@@ -417,7 +468,8 @@ body.two-sidebars {
min-width: 980px;
}
/* With 2 columns, require a minimum width of 800px. */
-body.sidebar-first, body.sidebar-second {
+body.sidebar-first,
+body.sidebar-second {
min-width: 780px;
}
@@ -549,7 +601,9 @@ div#branding strong {
font-weight: normal;
}
-#branding, #branding a:link, #branding a:visited {
+#branding,
+#branding a:link,
+#branding a:visited {
color: #fff;
text-shadow: #1659ac 0px 1px 3px;
font-size: 1.5em;
@@ -563,7 +617,8 @@ div#branding strong {
font-size: 0.92em;
}
-#wrapper #container .breadcrumb, #wrapper #container .breadcrumb a {
+#wrapper #container .breadcrumb,
+#wrapper #container .breadcrumb a {
color: #529ad6;
}
@@ -602,7 +657,9 @@ ul.main-menu li {
background-image: none;
}
-ul.main-menu li a, ul.main-menu li a:link, ul.main-menu li a:visited {
+ul.main-menu li a,
+ul.main-menu li a:link,
+ul.main-menu li a:visited {
display: block;
margin: 0 1em;
padding: .75em 0 0;
@@ -610,7 +667,8 @@ ul.main-menu li a, ul.main-menu li a:link, ul.main-menu li a:visited {
background: transparent url(images/bg-navigation-item.png) no-repeat 50% 0;
}
-ul.main-menu li a:hover, ul.main-menu li a.active {
+ul.main-menu li a:hover,
+ul.main-menu li a.active {
color: #fff;
background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0;
}
@@ -634,7 +692,9 @@ ul.secondary-menu li {
background-image: none;
}
-ul.secondary-menu li a, ul.secondary-menu li a:link, ul.secondary-menu li a:visited {
+ul.secondary-menu li a,
+ul.secondary-menu li a:link,
+ul.secondary-menu li a:visited {
display: block;
margin: 0 1em;
padding: .75em 0 0;
@@ -642,7 +702,8 @@ ul.secondary-menu li a, ul.secondary-menu li a:link, ul.secondary-menu li a:visi
background: transparent;
}
-ul.secondary-menu li a:hover, ul.secondary-menu li a.active {
+ul.secondary-menu li a:hover,
+ul.secondary-menu li a.active {
color: #cde3f1;
background: transparent;
}
@@ -650,7 +711,10 @@ ul.secondary-menu li a:hover, ul.secondary-menu li a.active {
/**
* Local tasks
*/
-ul.primary, ul.primary li, ul.secondary, ul.secondary li {
+ul.primary,
+ul.primary li,
+ul.secondary,
+ul.secondary li {
border: 0;
background: none;
margin: 0;
@@ -680,8 +744,14 @@ h1.with-tabs {
padding: 0;
}
-ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
-ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
+ul.primary li a,
+ul.primary li.active a,
+ul.primary li a:hover,
+ul.primary li a:visited,
+ul.secondary li a,
+ul.secondary li.active a,
+ul.secondary li a:hover,
+ul.secondary li a:visited {
border: 0;
background: transparent;
padding: 4px 1em;
@@ -692,8 +762,14 @@ ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.seconda
top: -1px;
display: inline-block;
}
-ul.primary li.active a, ul.primary li.active a:link, ul.primary li.active a:visited, ul.primary li a:hover,
-ul.secondary li.active a, ul.secondary li.active a:link, ul.secondary li.active a:visited, ul.secondary li a:hover {
+ul.primary li.active a,
+ul.primary li.active a:link,
+ul.primary li.active a:visited,
+ul.primary li a:hover,
+ul.secondary li.active a,
+ul.secondary li.active a:link,
+ul.secondary li.active a:visited,
+ul.secondary li a:hover {
background: url(images/bg-tab.png) repeat-x 0 50%;
color: #fff;
}
@@ -711,7 +787,8 @@ ul.secondary li.active a {
padding: 1.5em 16px;
}
-ul.links li, ul.inline li {
+ul.links li,
+ul.inline li {
margin-left: 0;
margin-right: 0;
padding-left: 0; /* LTR */
@@ -719,7 +796,8 @@ ul.links li, ul.inline li {
background-image: none;
}
-.node .links, .comment .links {
+.node .links,
+.comment .links {
text-align: left; /* LTR */
}
@@ -737,7 +815,9 @@ ul.links li, ul.inline li {
float: right; /* LTR */
}
-.preview .node, .preview .comment, .node-sticky {
+.preview .node,
+.preview .comment,
+.node-sticky {
margin: 0;
padding: 0.5em 0;
border: 0;
@@ -779,7 +859,8 @@ ul.links li, ul.inline li {
color: #494949;
}
-.node .content, .comment .content {
+.node .content,
+.comment .content {
margin: 0.6em 0;
}
@@ -954,7 +1035,8 @@ div.vertical-tabs ul.vertical-tabs-list li.selected a strong {
padding-right: 20px; /* LTR */
}
-#block-node-syndicate img, .feed-icon {
+#block-node-syndicate img,
+.feed-icon {
float: right; /* LTR */
padding-top: 4px;
}
@@ -1045,12 +1127,16 @@ table.system-status-report th {
border-color: #d3e7f4;
}
-#autocomplete li.selected, tr.selected td, tr.selected td.active {
+#autocomplete li.selected,
+tr.selected td,
+tr.selected td.active {
background: #027ac6;
color: #fff;
}
-tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active {
+tr.selected td a:link,
+tr.selected td a:visited,
+tr.selected td a:active {
color: #d3e7f4;
}
@@ -1104,7 +1190,8 @@ div.error {
border: 1px solid #d77;
}
-div.error, tr.error {
+div.error,
+tr.error {
color: #a30000;
background-color: #FFCCCC;
}
@@ -1115,7 +1202,8 @@ div.warning {
color: #220;
}
-.form-item input.error, .form-item textarea.error {
+.form-item input.error,
+.form-item textarea.error {
border: 1px solid #c52020;
color: #363636;
}
@@ -1154,26 +1242,31 @@ tr.dblog-error {
tr.dblog-error td.active {
background-color: #fbdbdb;
}
-tr.dblog-page-not-found, tr.dblog-access-denied {
+tr.dblog-page-not-found,
+tr.dblog-access-denied {
background: #d7ffd7;
}
-tr.dblog-page-not-found td.active, tr.dblog-access-denied td.active {
+tr.dblog-page-not-found td.active,
+tr.dblog-access-denied td.active {
background: #c7eec7;
}
/**
* Status report colors.
*/
-table.system-status-report tr.error, table.system-status-report tr.error th {
+table.system-status-report tr.error,
+table.system-status-report tr.error th {
background-color: #fcc;
border-color: #ebb;
color: #200;
}
-table.system-status-report tr.warning, table.system-status-report tr.warning th {
+table.system-status-report tr.warning,
+table.system-status-report tr.warning th {
background-color: #ffd;
border-color: #eeb;
}
-table.system-status-report tr.ok, table.system-status-report tr.ok th {
+table.system-status-report tr.ok,
+table.system-status-report tr.ok th {
background-color: #dfd;
border-color: #beb;
}
diff --git a/themes/seven/ie6.css b/themes/seven/ie6.css
index 8873eecb9..2c71e4b6b 100644
--- a/themes/seven/ie6.css
+++ b/themes/seven/ie6.css
@@ -8,11 +8,13 @@ ul.links li a,
#page {
height: 1%;
}
-#block-system-main ul.node-type-list li a, #block-system-main ul.admin-list li a {
+#block-system-main ul.node-type-list li a,
+#block-system-main ul.admin-list li a {
height: 1px;
position: relative;
display: block;
}
-#block-system-main ul.node-type-list li div.description a, #block-system-main ul.admin-list li div.description a {
+#block-system-main ul.node-type-list li div.description a,
+#block-system-main ul.admin-list li div.description a {
display: inline;
}
diff --git a/themes/seven/reset.css b/themes/seven/reset.css
index 20a86b0d6..f6909ff80 100644
--- a/themes/seven/reset.css
+++ b/themes/seven/reset.css
@@ -150,7 +150,8 @@ q {
}
blockquote:before,
blockquote:after,
-q:before, q:after {
+q:before,
+q:after {
content: '';
content: none;
}
diff --git a/themes/seven/style.css b/themes/seven/style.css
index bbf5b9bdc..d2dc969b9 100644
--- a/themes/seven/style.css
+++ b/themes/seven/style.css
@@ -28,7 +28,12 @@ hr {
legend {
font-weight: bold;
}
-h1, h2, h3, h4, h5, h6 {
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
font-weight: bold;
margin: 10px 0;
}
@@ -67,10 +72,13 @@ blockquote {
address {
font-style: italic;
}
-u, ins {
+u,
+ins {
text-decoration: underline;
}
-s, strike, del {
+s,
+strike,
+del {
text-decoration: line-through;
}
big {
@@ -92,15 +100,21 @@ sup {
nobr {
white-space: nowrap;
}
-abbr, acronym {
+abbr,
+acronym {
border-bottom: dotted 1px;
}
-ul, .block ul, .item-list ul, .item-list ul {
+ul,
+.block ul,
+.item-list ul,
+.item-list ul {
list-style-type: disc;
list-style-image: none;
margin: 0.25em 0 0.25em 1.5em;
}
-.item-list ul li, li.leaf, ul.menu li {
+.item-list ul li,
+li.leaf,
+ul.menu li {
list-style-type: disc;
list-style-image: none;
}
@@ -111,18 +125,23 @@ ol {
list-style-type: decimal;
margin: 0.25em 0 0.25em 2em;
}
-.item-list ul li.collapsed, ul.menu li.collapsed {
+.item-list ul li.collapsed,
+ul.menu li.collapsed {
list-style-image:url(../../misc/menu-collapsed.png);
list-style-type:disc;
}
-.item-list ul li.expanded, ul.menu li.expanded {
+.item-list ul li.expanded,
+ul.menu li.expanded {
list-style-image:url(../../misc/menu-expanded.png);
list-style-type:circle;
}
-quote, code {
+quote,
+code {
margin: .5em 0;
}
-code, pre, kbd {
+code,
+pre,
+kbd {
font-size: 1.25em;
}
@@ -431,7 +450,8 @@ ul.admin-list li:last-child {
ul.node-type-list .label {
font-size: 15px;
}
-ul.node-type-list li a, ul.admin-list li a {
+ul.node-type-list li a,
+ul.admin-list li a {
margin-left: -30px;
padding: 0px 0 4px 30px;
min-height: 0;
@@ -440,7 +460,8 @@ ul.admin-list.compact li a {
margin-left: 0;
padding: 0;
}
-ul.node-type-list li div.description a, ul.admin-list li div.description a {
+ul.node-type-list li div.description a,
+ul.admin-list li div.description a {
margin-left: 0px;
padding: 0px;
min-height: inherit;
@@ -476,7 +497,8 @@ table.system-status-report tr.warning > * {
table.system-status-report tr.error > * {
background-color: #fdd;
}
-tr.even, tr.odd {
+tr.even,
+tr.odd {
border-width: 0 1px 0 1px;
border-style: solid;
border-color: #bebfb9;
@@ -633,10 +655,12 @@ div.description,
ul.tips li {
margin: 0.25em 0 0.25em 1.5em;
}
-body div.form-type-radio div.description, body div.form-type-checkbox div.description {
+body div.form-type-radio div.description,
+body div.form-type-checkbox div.description {
margin-left: 1.5em;
}
-input.form-submit, a.button {
+input.form-submit,
+a.button {
cursor: pointer;
padding: 4px 17px;
margin-bottom: 1em;
@@ -654,7 +678,10 @@ input.form-submit, a.button {
-moz-border-radius: 20px;
-webkit-border-radius: 15px;
}
-a.button:link, a.button:visited, a.button:hover, a.button:active {
+a.button:link,
+a.button:visited,
+a.button:hover,
+a.button:active {
text-decoration: none;
color: #5a5a5a;
}