mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] developer/javascript: unify the styling of API references
Now that a new styling for API references was added with commit934f45c, we can remove the extra CSS that was crafted specifically for JavaScript API references with commit05a0a49a. 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 commit120ae785. closes odoo/documentation#2378 X-original-commit:31a9d4a340Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user