Skip to content
Snippets Groups Projects
Commit 81e14382 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Bugfix: fixed incorrect placement of book module navigation.
- Made some of the menu styles reusable by other lists.
parent a8b8c247
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -16,6 +16,21 @@ fieldset { ...@@ -16,6 +16,21 @@ fieldset {
img { img {
border: 0; border: 0;
} }
li.expanded {
list-style-type: circle;
list-style-image: url(menu-expanded.gif);
}
li.collapsed {
list-style-type: disc;
list-style-image: url(menu-collapsed.gif);
}
li.leaf {
list-style-type: square;
list-style-image: url(menu-leaf.gif);
}
li a.active {
color: #000;
}
#tracker table { #tracker table {
border-collapse: collapse; border-collapse: collapse;
} }
...@@ -44,7 +59,7 @@ img { ...@@ -44,7 +59,7 @@ img {
padding-bottom: .5em padding-bottom: .5em
} }
.book { .book {
margin-bottom: 2em; margin: 1em 0 1em 0;
} }
.book .title { .book .title {
font-weight: bold; font-weight: bold;
...@@ -52,7 +67,9 @@ img { ...@@ -52,7 +67,9 @@ img {
margin-bottom:1em; margin-bottom:1em;
} }
.book .tree { .book .tree {
margin-bottom: 2em; padding-top:1em;
border-top: 1px solid #888;
padding-bottom: 1em;
} }
.book .name { .book .name {
padding-top:1em; padding-top:1em;
...@@ -73,7 +90,9 @@ img { ...@@ -73,7 +90,9 @@ img {
clear: both; clear: both;
} }
.book .nav .prev { .book .nav .prev {
float: left; width: 45%; float: left;
text-align: left;
width: 45%;
padding-bottom: 0.5em; padding-bottom: 0.5em;
} }
.book .nav .next { .book .nav .next {
...@@ -85,6 +104,10 @@ img { ...@@ -85,6 +104,10 @@ img {
.book .nav .up { .book .nav .up {
text-align: center; text-align: center;
} }
.block-book ul {
margin: 0;
padding: 0 0 0.25em 1em;
}
.calendar .row-week td a { .calendar .row-week td a {
display: block; display: block;
} }
...@@ -287,24 +310,6 @@ pre, code { ...@@ -287,24 +310,6 @@ pre, code {
width: 100%; width: 100%;
text-decoration: none; text-decoration: none;
} }
.menu li a.active {
color: #000;
}
.menu li a:hover {
color: #009;
}
.menu li.expanded {
list-style-type: circle;
list-style-image: url(menu-expanded.gif);
}
.menu li.collapsed {
list-style-type: disc;
list-style-image: url(menu-collapsed.gif);
}
.menu li.leaf {
list-style-type: square;
list-style-image: url(menu-leaf.gif);
}
td.watchdog-user { td.watchdog-user {
background: #fea; background: #fea;
border: 1px solid #dc8; border: 1px solid #dc8;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment