15153 move css to scss file

This commit is contained in:
Arthur 2024-04-01 09:09:53 -07:00
parent 4b436c9d4f
commit 510aa2156d
3 changed files with 21 additions and 21 deletions

View File

@ -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.

View 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;
}

View File

@ -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 %}