[IMP] developer/javascript: unify the styling of API references

Now that a new styling for API references was added with commit 934f45c,
we can remove the extra CSS that was crafted specifically for JavaScript
API references with commit 05a0a49a. While we're at it, this commit also
applies the new styling to definition lists that were missing it, like
it was done for the page on views with commit 120ae785.

closes odoo/documentation#2378

X-original-commit: 31a9d4a340
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv)
2022-07-04 08:33:16 +00:00
parent 11996a97bc
commit 5244bd6e23
4 changed files with 17 additions and 43 deletions

View File

@@ -1,42 +0,0 @@
/** temporary file while js doc is being written - subject to heavy changes **/
.js, .js.method, .js.function, .js.class { /** temp hack for nested apis - have to find a nice look for it **/
padding: 1rem !important;
border-radius: .25rem;
background-color: #F9FAFB;
border: 2px solid #017e84;
margin-left: 0;
}
.js dd div {
margin: 0 !important;
}
.js dl {
padding: 0 !important;
margin: 0;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.js blockquote {
margin: 0;
}
.js > dd > p:before {
content: "-> ";
}
.js .field-list {
border: none !important;
}
.js .sig-param, .js .sig-paren {
font-style: normal;
font-size: initial;
color: #4B5563;
font-family: var(--bs-font-monospace);
}
.js .sig-paren {
color: #212529;
}