diff --git a/netbox/project-static/bundle.js b/netbox/project-static/bundle.js index 05f9a2236..376762e03 100644 --- a/netbox/project-static/bundle.js +++ b/netbox/project-static/bundle.js @@ -113,6 +113,7 @@ async function bundleStyles() { 'netbox': 'styles/netbox.scss', rack_elevation: 'styles/svg/rack_elevation.scss', cable_trace: 'styles/svg/cable_trace.scss', + 'rest-api': 'styles/rest_api.scss', }; const pluginOptions = { outputStyle: 'compressed' }; // Allow cache disabling. diff --git a/netbox/project-static/styles/rest_api.scss b/netbox/project-static/styles/rest_api.scss new file mode 100644 index 000000000..b2eb443f8 --- /dev/null +++ b/netbox/project-static/styles/rest_api.scss @@ -0,0 +1,19 @@ +.breadcrumb { + background-color: #fff; +} +.btn-primary { + background-color: #17a2b8; + border: none; +} +.navbar-default { + background-color: #fff; +} +.navbar-default .navbar-text { + color: #182433; +} +.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand { + padding: 12px 0 12px 0; +} +.prettyprint { + background-color: #f6f8fb; +} diff --git a/netbox/templates/rest_framework/api.html b/netbox/templates/rest_framework/api.html index 1d53aca46..e7c723ece 100644 --- a/netbox/templates/rest_framework/api.html +++ b/netbox/templates/rest_framework/api.html @@ -4,27 +4,7 @@ {% block bootstrap_theme %} - + {% endblock %} {% block bootstrap_navbar_variant %}navbar-default{% endblock %}