mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 04:28:17 -06:00
15153 move css to scss file
This commit is contained in:
parent
4b436c9d4f
commit
510aa2156d
@ -113,6 +113,7 @@ async function bundleStyles() {
|
|||||||
'netbox': 'styles/netbox.scss',
|
'netbox': 'styles/netbox.scss',
|
||||||
rack_elevation: 'styles/svg/rack_elevation.scss',
|
rack_elevation: 'styles/svg/rack_elevation.scss',
|
||||||
cable_trace: 'styles/svg/cable_trace.scss',
|
cable_trace: 'styles/svg/cable_trace.scss',
|
||||||
|
'rest-api': 'styles/rest_api.scss',
|
||||||
};
|
};
|
||||||
const pluginOptions = { outputStyle: 'compressed' };
|
const pluginOptions = { outputStyle: 'compressed' };
|
||||||
// Allow cache disabling.
|
// Allow cache disabling.
|
||||||
|
19
netbox/project-static/styles/rest_api.scss
Normal file
19
netbox/project-static/styles/rest_api.scss
Normal file
@ -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;
|
||||||
|
}
|
@ -4,27 +4,7 @@
|
|||||||
|
|
||||||
{% block bootstrap_theme %}
|
{% block bootstrap_theme %}
|
||||||
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>
|
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>
|
||||||
<style>
|
<link rel="stylesheet" type="text/css" href="{% static "rest-api.css" %}"/>
|
||||||
.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;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block bootstrap_navbar_variant %}navbar-default{% endblock %}
|
{% block bootstrap_navbar_variant %}navbar-default{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user