From e2ecd7374d236c0dc6a4fc1364044fe9f2448fc1 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Mon, 4 Jul 2022 08:33:16 +0000 Subject: [PATCH] [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#2377 X-original-commit: 31a9d4a3407215aa4e8b55d28e44329016c6ef99 Signed-off-by: Antoine Vandevenne (anv) --- conf.py | 2 +- .../developer/reference/frontend/assets.rst | 2 + content/developer/reference/frontend/qweb.rst | 14 +++++++ static/css/js.css | 42 ------------------- 4 files changed, 17 insertions(+), 43 deletions(-) delete mode 100644 static/css/js.css diff --git a/conf.py b/conf.py index 0768d15f3..196153f98 100644 --- a/conf.py +++ b/conf.py @@ -240,7 +240,7 @@ html_permalinks = True # Sphinx >= 3.5 # Additional JS & CSS files that can be imported with the 'custom-js' and 'custom-css' metadata. # Lists are empty because the files are specified in extensions/themes. html_js_files = [] -html_css_files = ["css/js.css"] +html_css_files = [] # PHP lexer option to not require 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; -}