add wagtail colours to docs sidebar

pull/4094/merge
LB 2017-12-04 14:29:10 +08:00
rodzic 21c5c7cc67
commit d6da38892a
4 zmienionych plików z 40 dodań i 0 usunięć

Wyświetl plik

@ -27,6 +27,7 @@ Changelog
* Added `WAGTAILADMIN_USER_LOGIN_FORM` setting for overriding the admin login form (Mike Dingjan)
* Snippets now support custom primary keys (Sævar Öfjörð Magnússon)
* Upgraded jQuery to version 3.2.1 (Janneke Janssen)
* Updated documentation styling (LB (Ben Johnston))
* Fix: Do not remove stopwords when generating slugs from non-ASCII titles, to avoid issues with incorrect word boundaries (Sævar Öfjörð Magnússon)
* Fix: The PostgreSQL search backend now preserves ordering of the `QuerySet` when searching with `order_by_relevance=False` (Bertrand Bordage)
* Fix: Using `modeladmin_register` as a decorator no longer replaces the decorated class with `None` (Tim Heap)

34
docs/_static/css/custom.css vendored 100644
Wyświetl plik

@ -0,0 +1,34 @@
html {
background-color: #e6e6e6; /*$color-grey-4*/
}
body.wy-body-for-nav {
-webkit-font-smoothing: antialiased; /* Do not remove! */
font-family: Open Sans, Arial, sans-serif;
line-height: 1.5em;
color: #666; /*$color-text-base*/
}
div.wy-nav-side {
background-color: #333; /*color-grey-1*/
}
div.wy-side-nav-search {
background-color: #43b1b0; /*color-teal*/
}
.wy-nav-top {
background-color: #43b1b0; /*color-teal*/
}
.wy-side-nav-search>a:hover, .wy-side-nav-search .wy-dropdown>a:hover {
background: None; /*background for logo*/
}
.wy-side-nav-search>div.version {
color: white;
}
.wy-side-nav-search input[type=text] {
border-color: #d9d9d9; /*color-grey-3*/
}

Wyświetl plik

@ -285,3 +285,7 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
def setup(app):
app.add_stylesheet('css/custom.css')

Wyświetl plik

@ -40,6 +40,7 @@ Other features
* Added ``WAGTAILADMIN_USER_LOGIN_FORM`` setting for overriding the admin login form (Mike Dingjan)
* Snippets now support custom primary keys (Sævar Öfjörð Magnússon)
* Upgraded jQuery to version 3.2.1 (Janneke Janssen)
* Updated documentation styling (LB (Ben Johnston))
Bug fixes
~~~~~~~~~