Commit 9cb3ed4b authored by Dries's avatar Dries

- Patch #6829 by asimmonds: fixed drupal.css

parent 4eb05da8
/* $Id$ */ /* $Id$ */
table { /*
border-collapse: collapse; ** HTML elements
width: 100%; */
fieldset {
margin-bottom: 1em;
padding: .5em;
} }
form { form {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
hr {
height: 1px;
border: 1px solid gray;
}
img {
border: 0;
}
pre, code {
font-size: 11px;
}
table {
border-collapse: collapse;
width: 100%;
}
th { th {
text-align: left; text-align: left;
padding-right: 1em; padding-right: 1em;
border-bottom: 3px solid #ccc; border-bottom: 3px solid #ccc;
white-space: nowrap; white-space: nowrap;
} }
fieldset { tr.dark {
margin-bottom: 1em; background-color: #ddd;
padding: .5em;
} }
img { tr.light {
border: 0; background-color: #eee;
}
tr.dark td, tr.light td {
padding: 0.1em 0.6em;
}
/*
** Menu styles
*/
.menu {
padding: 0 0 0 0.5em;
}
.menu ul {
list-style: none;
border: none;
text-align:left;
}
.menu li a {
width: 100%;
text-decoration: none;
} }
li.expanded { li.expanded {
list-style-type: circle; list-style-type: circle;
...@@ -42,6 +77,107 @@ li.leaf { ...@@ -42,6 +77,107 @@ li.leaf {
li a.active { li a.active {
color: #000; color: #000;
} }
td.menu-disabled {
background: #ccc;
}
/*
** Other common styles
*/
.breadcrumb {
padding-bottom: .5em
}
.block ul {
margin: 0;
padding: 0 0 0.25em 1em;
}
.container-inline div {
display: inline;
}
.container-inline .form-submit {
margin: 0;
}
.error {
color: red;
}
.item-list .icon {
color: #555;
float: right;
padding-left: 0.25em;
clear: right;
}
.item-list .icon a {
color: #000;
text-decoration: none;
}
.item-list .icon a:hover {
color: #000;
text-decoration: none;
}
.item-list .title {
font-weight: bold;
}
.item-list ul {
margin: 0 0 0.75em 0;
padding: 0;
}
.item-list ul li {
margin: 0 0 0.25em 1.5em;
padding: 0;
list-style: disc;
}
.form-item {
margin-bottom: 1em;
}
.form-item .description {
font-size: 0.85em;
}
.form-item label {
font-weight: bold;
}
.form-item label.option {
font-weight: normal;
}
.form-submit {
margin: 0.5em 0;
}
.marker {
color: #f00;
}
.more-link {
text-align: right;
}
.node-form .form-text {
display: block;
width: 95%;
}
.node-form .standard {
clear: both;
}
.node-form textarea {
display: block;
width: 95%;
}
.node-form fieldset {
display: inline;
}
.node-form .admin .form-item .title {
margin-top: 0;
}
.node-form .admin .authored .form-item {
margin-bottom: 1.1em;
}
.node-form .admin .authored .form-text {
width: auto;
}
.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra {
float: left;
margin-right: 2em;
margin-bottom: 1em;
}
.ok {
color: #080;
}
#pager { #pager {
clear: both; clear: both;
text-align: center; text-align: center;
...@@ -137,48 +273,6 @@ li a.active { ...@@ -137,48 +273,6 @@ li a.active {
margin: 0; margin: 0;
font-size: 0.8em; font-size: 0.8em;
} }
.container-inline div {
display: inline;
}
.container-inline .form-submit {
margin: 0;
}
.form-item {
margin-bottom: 1em;
}
.form-item .description {
font-size: 0.85em;
}
.form-item label {
font-weight: bold;
}
.form-item label.option {
font-weight: normal;
}
.form-submit {
margin: 0.5em 0;
}
.profile {
clear: both;
margin: 1em 0em 1em 0em;
}
.profile .picture {
float: right;
margin: 0 1em 1em 0;
}
#aggregator .feed img {
float: right;
}
#aggregator .news-item .date {
float: left;
}
#aggregator .news-item .body {
margin-top: 1em;
margin-left: 4em;
}
#aggregator .news-item .body .feed {
font-size: 0.9em;
}
#forum .description { #forum .description {
font-size: 0.9em; font-size: 0.9em;
margin: 0.5em; margin: 0.5em;
...@@ -186,12 +280,9 @@ li a.active { ...@@ -186,12 +280,9 @@ li a.active {
#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; white-space: nowrap;
} }
#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager, #tracker td.replies { #forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager {
text-align: center; text-align: center;
} }
#tracker table {
width: 100%;
}
.poll .bar { .poll .bar {
height: 1em; height: 1em;
margin: 1px 0; margin: 1px 0;
...@@ -220,76 +311,26 @@ li a.active { ...@@ -220,76 +311,26 @@ li a.active {
margin: 0 auto; margin: 0 auto;
display: table; display: table;
} }
.node-form .poll-form fieldset { .profile {
display: block;
}
.more-link {
text-align: right;
}
.node-form .form-text {
display: block;
width: 95%;
}
.node-form .standard {
clear: both; clear: both;
margin: 1em 0em 1em 0em;
} }
.node-form textarea { .profile .picture {
display: block; float: right;
width: 95%; margin: 0 1em 1em 0;
}
.node-form fieldset {
display: inline;
}
.node-form .admin .form-item .title {
margin-top: 0;
}
.node-form .admin .authored .form-item {
margin-bottom: 1.1em;
}
.node-form .admin .authored .form-text {
width: auto;
}
.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra {
float: left;
margin-right: 2em;
margin-bottom: 1em;
} }
.marker { .node-form .poll-form fieldset {
color: #f00; display: block;
} }
.error { #tracker td.replies {
color: #f00; text-align: center;
} }
.ok { #tracker table {
color: #080; width: 100%;
} }
.user-login-block { .user-login-block {
text-align: center; text-align: center;
} }
tr.dark {
background-color: #ddd;
}
tr.light {
background-color: #eee;
}
tr.dark td, tr.light td {
padding: 0.1em 0.6em;
}
pre, code {
font-size: 11px;
}
.menu {
padding: 0 0 0 0.5em;
}
.menu ul {
list-style: none;
border: none;
text-align:left;
}
.menu li a {
width: 100%;
text-decoration: none;
}
td.watchdog-user { td.watchdog-user {
background: #fea; background: #fea;
border: 1px solid #dc8; border: 1px solid #dc8;
...@@ -313,7 +354,4 @@ td.watchdog-httpd { ...@@ -313,7 +354,4 @@ td.watchdog-httpd {
td.watchdog-error { td.watchdog-error {
background: #e44; background: #e44;
border: 1px solid #c22; border: 1px solid #c22;
} }
td.menu-disabled { \ No newline at end of file
background: #ccc;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment