mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 06:16:16 +00:00
Move inline styles to custom_styles.css and link in base.html
This commit is contained in:
29
static_files/custom_styles.css
Normal file
29
static_files/custom_styles.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
.min-width {
|
||||||
|
width: 1%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.preloader{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.wrapper {
|
||||||
|
max-width: 1400px !important;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.layout-boxed {
|
||||||
|
background: radial-gradient(circle at center, #444 0%, #ccc 80%, #fff 100%);
|
||||||
|
}
|
||||||
|
body.layout-boxed .wrapper {
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0 0 15px rgba(0,0,0,0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blink {
|
||||||
|
animation: blink 0.8s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0% { opacity: 1; transform: scale(1); }
|
||||||
|
50% { opacity: 0.3; transform: scale(1.1); }
|
||||||
|
100% { opacity: 1; transform: scale(1); }
|
||||||
|
}
|
||||||
@@ -28,30 +28,7 @@
|
|||||||
<!-- summernote -->
|
<!-- summernote -->
|
||||||
<link rel="stylesheet" href="/static/AdminLTE-3.2.0/plugins/summernote/summernote-bs4.min.css">
|
<link rel="stylesheet" href="/static/AdminLTE-3.2.0/plugins/summernote/summernote-bs4.min.css">
|
||||||
|
|
||||||
<style>
|
<link rel="stylesheet" href="/static/custom_styles.css">
|
||||||
.min-width {
|
|
||||||
width: 1%;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.preloader{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<style>
|
|
||||||
.wrapper {
|
|
||||||
max-width: 1400px !important;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.layout-boxed {
|
|
||||||
background: radial-gradient(circle at center, #444 0%, #ccc 80%, #fff 100%);
|
|
||||||
}
|
|
||||||
body.layout-boxed .wrapper {
|
|
||||||
background-color: #fff;
|
|
||||||
box-shadow: 0 0 15px rgba(0,0,0,0.2);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
{% block page_custom_head %}{% endblock%}
|
{% block page_custom_head %}{% endblock%}
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user