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',
|
||||
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.
|
||||
|
|
|
@ -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 %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>
|
||||
<style>
|
||||
.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>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "rest-api.css" %}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block bootstrap_navbar_variant %}navbar-default{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue