fixed firefox scrollbar issue
fixed error when background set to None added material color scheme colors fixed mobile issues
This commit is contained in:
parent
00d3a0e5b4
commit
78e9600167
@ -13,8 +13,8 @@ context processor to make the process functions available to every jinja templat
|
|||||||
Load orders in bundles are respected here"""
|
Load orders in bundles are respected here"""
|
||||||
|
|
||||||
"""You can disable minification for debug purposes here (set to True) """
|
"""You can disable minification for debug purposes here (set to True) """
|
||||||
debug_js = False
|
debug_js = True
|
||||||
debug_css = False
|
debug_css = True
|
||||||
|
|
||||||
|
|
||||||
def process_js_sources(process_bundle=None, src=None, app_global=False):
|
def process_js_sources(process_bundle=None, src=None, app_global=False):
|
||||||
|
@ -23,19 +23,60 @@
|
|||||||
--theme-color-font-muted: #f9f9f9;
|
--theme-color-font-muted: #f9f9f9;
|
||||||
--theme-warning: #dc584e;
|
--theme-warning: #dc584e;
|
||||||
}
|
}
|
||||||
[data-accent="green"] {
|
[data-accent="red"] {
|
||||||
--theme-primary: #49B03E;
|
--theme-primary: #f44336;
|
||||||
}
|
}
|
||||||
[data-accent="pink"] {
|
[data-accent="pink"] {
|
||||||
--theme-primary: #EE1289;
|
--theme-primary: #e91e63;
|
||||||
|
}
|
||||||
|
[data-accent="purple"] {
|
||||||
|
--theme-primary: #9c27b0;
|
||||||
|
}
|
||||||
|
[data-accent="deepPurple"] {
|
||||||
|
--theme-primary: #673ab7;
|
||||||
|
}
|
||||||
|
[data-accent="indigo"] {
|
||||||
|
--theme-primary: #3f51b5;
|
||||||
}
|
}
|
||||||
[data-accent="blue"] {
|
[data-accent="blue"] {
|
||||||
--theme-primary: #5151b0;
|
--theme-primary: #2196f3;
|
||||||
|
}
|
||||||
|
[data-accent="lightBlue"] {
|
||||||
|
--theme-primary: #03a9f4;
|
||||||
|
}
|
||||||
|
[data-accent="cyan"] {
|
||||||
|
--theme-primary: #00bcd4;
|
||||||
|
}
|
||||||
|
[data-accent="teal"] {
|
||||||
|
--theme-primary: #009688;
|
||||||
|
}
|
||||||
|
[data-accent="green"] {
|
||||||
|
--theme-primary: #4caf50;
|
||||||
|
}
|
||||||
|
[data-accent="lightGreen"] {
|
||||||
|
--theme-primary: #8bc34a;
|
||||||
|
}
|
||||||
|
[data-accent="lime"] {
|
||||||
|
--theme-primary: #cddc39;
|
||||||
|
}
|
||||||
|
[data-accent="yellow"] {
|
||||||
|
--theme-primary: #ffeb3b;
|
||||||
|
}
|
||||||
|
[data-accent="amber"] {
|
||||||
|
--theme-primary: #ffc107;
|
||||||
|
}
|
||||||
|
[data-accent="deepOrange"] {
|
||||||
|
--theme-primary: #ff5722;
|
||||||
|
}
|
||||||
|
[data-accent="brown"] {
|
||||||
|
--theme-primary: #795548;
|
||||||
}
|
}
|
||||||
[data-accent="grey"] {
|
[data-accent="grey"] {
|
||||||
--theme-primary: #C6C3CC;
|
--theme-primary: #9e9e9e;
|
||||||
|
}
|
||||||
|
[data-accent="blueGrey"] {
|
||||||
|
--theme-primary: #607d8b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* THEME CLASSES */
|
/* THEME CLASSES */
|
||||||
.theme-surface {
|
.theme-surface {
|
||||||
background-color: var(--theme-surface) !important;
|
background-color: var(--theme-surface) !important;
|
||||||
|
@ -50,6 +50,8 @@ body {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
/* Non-prefixed version, currently
|
/* Non-prefixed version, currently
|
||||||
supported by Chrome, Opera and Firefox */
|
supported by Chrome, Opera and Firefox */
|
||||||
|
scrollbar-color: var(--theme-secondary);
|
||||||
|
scrollbar-width: thin;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -328,15 +330,15 @@ input:disabled {
|
|||||||
.navbar .navbar-light ul a {
|
.navbar .navbar-light ul a {
|
||||||
color: var(--theme-color-font);
|
color: var(--theme-color-font);
|
||||||
}
|
}
|
||||||
@media (min-width: 900px)
|
/*@media (min-width: 900px)*/
|
||||||
{
|
/*{*/
|
||||||
.sidenav-overlay
|
/* .sidenav-overlay*/
|
||||||
{
|
/* {*/
|
||||||
display: none !important;
|
/* display: none !important;*/
|
||||||
|
|
||||||
opacity: 0 !important;
|
/* opacity: 0 !important;*/
|
||||||
}
|
/* }*/
|
||||||
}
|
/*}*/
|
||||||
|
|
||||||
/* MODALS AND CARDS */
|
/* MODALS AND CARDS */
|
||||||
.modal {
|
.modal {
|
||||||
@ -615,6 +617,14 @@ input:disabled {
|
|||||||
.sidenav {
|
.sidenav {
|
||||||
background-color: var(--theme-surface);
|
background-color: var(--theme-surface);
|
||||||
top: unset;
|
top: unset;
|
||||||
|
overflow: scroll;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidenav-mobile-toggle-btn {
|
||||||
|
position: fixed;
|
||||||
|
top: unset;
|
||||||
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-bottom-1 {
|
.border-bottom-1 {
|
||||||
@ -770,4 +780,4 @@ span.badge.new {
|
|||||||
/*FAB*/
|
/*FAB*/
|
||||||
.tap-target-wave::before, .tap-target-wave::after {
|
.tap-target-wave::before, .tap-target-wave::after {
|
||||||
background-color: var(--theme-background);
|
background-color: var(--theme-background);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
body {
|
|
||||||
overflow: hidden !important;
|
@media (min-width: 990px)
|
||||||
|
{
|
||||||
|
body {
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-page-card {
|
.settings-page-card {
|
||||||
|
@ -201,6 +201,7 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
}, 300);
|
}, 300);
|
||||||
|
|
||||||
|
$("#slide-out").sidenav();
|
||||||
|
|
||||||
// Collapsible navigation menu
|
// Collapsible navigation menu
|
||||||
$(".nav-collapsible .navbar-toggler").click(function() {
|
$(".nav-collapsible .navbar-toggler").click(function() {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock page_vendor_css %}
|
{% endblock page_vendor_css %}
|
||||||
|
|
||||||
{% block page_lvl_css %}
|
{% block page_lvl_css %}
|
||||||
{% if settings.background %}
|
{% if settings.background and settings.background != 'None' %}
|
||||||
<style>
|
<style>
|
||||||
#main {
|
#main {
|
||||||
background-image: url("{{ settings.background }}");
|
background-image: url("{{ settings.background }}");
|
||||||
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="col s12 m6 l3">
|
<div class="col s12 m6 l3">
|
||||||
<div class="card theme-surface-transparent app-card">
|
<div class="card theme-surface-transparent app-card">
|
||||||
<div class="card-content center-align scrollbar" style="max-height: 118px; min-height: 118px;">
|
<div class="card-content center-align scrollbar" style="max-height: 118px; min-height: 118px; scrollbar-width: none;">
|
||||||
{% if app.data_template %}
|
{% if app.data_template %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s6 center-align">
|
<div class="col s6 center-align">
|
||||||
@ -58,7 +58,7 @@
|
|||||||
<img src="{{ app.icon }}" height="64px">
|
<img src="{{ app.icon }}" height="64px">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-action center-align scrollbar" style="max-height: 127px; min-height: 127px;">
|
<div class="card-action center-align scrollbar" style="max-height: 127px; min-height: 127px; scrollbar-width: none;">
|
||||||
<h5>{{ app.name }}</h5>
|
<h5>{{ app.name }}</h5>
|
||||||
<span class="theme-secondary-text">{{ app.description }}</span>
|
<span class="theme-secondary-text">{{ app.description }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
{# <div class="navigation-background"></div><a class="sidenav-trigger btn-sidenav-toggle btn-floating btn-medium waves-effect waves-light hide-on-large-only theme-primary" href="#" data-target="slide-out"><i class="material-icons-outlined">menu</i></a>#}
|
<div class="navigation-background"></div><a id="sidenav-mobile-toggle-btn" class="sidenav-trigger btn-sidenav-toggle btn-floating btn-medium waves-effect waves-light hide-on-large-only theme-primary" href="#" data-target="slide-out"><i class="material-icons-outlined">menu</i></a>
|
||||||
</aside>
|
</aside>
|
||||||
<!-- END: SideNav-->
|
<!-- END: SideNav-->
|
||||||
|
|
||||||
|
@ -6,12 +6,13 @@
|
|||||||
|
|
||||||
{% block page_lvl_css %}
|
{% block page_lvl_css %}
|
||||||
{{ process_css_sources(src="settings_system/settings.css")|safe }}
|
{{ process_css_sources(src="settings_system/settings.css")|safe }}
|
||||||
{% if settings.background %}
|
{% if settings.background and settings.background != 'None' %}
|
||||||
<style>
|
<style>
|
||||||
#main {
|
#main {
|
||||||
background-image: url("{{ settings.background }}");
|
background-image: url("{{ settings.background }}");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
height: 100vh;
|
background-attachment: fixed;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -22,7 +23,9 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<h4>Config.ini Readme</h4>
|
<h4>Config.ini Readme
|
||||||
|
<span><i class="material-icons-outlined modal-close right icon-btn">close</i></span>
|
||||||
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="config-help-col" class="col s12 theme-surface-1 padding-2 border-radius-10">
|
<div id="config-help-col" class="col s12 theme-surface-1 padding-2 border-radius-10">
|
||||||
<h5>Settings Reference</h5>
|
<h5>Settings Reference</h5>
|
||||||
@ -33,7 +36,7 @@
|
|||||||
background = static/images/backgrounds/background.png<br>
|
background = static/images/backgrounds/background.png<br>
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<table class="mt-4">
|
<table class="mt-4 responsive-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Variable</th>
|
<th>Variable</th>
|
||||||
@ -59,7 +62,10 @@
|
|||||||
<td>accent</td>
|
<td>accent</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
<td>UI accent color</td>
|
<td>UI accent color</td>
|
||||||
<td>orange, green, blue, green, pink, grey</td>
|
<td>
|
||||||
|
orange, red, pink, purple, deepPurple, indigo, blue, lightBlue,
|
||||||
|
cyan, teal, green, lightGreen, lime, yellow, amber, deepOrange, brown, grey, blueGrey
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>background</td>
|
<td>background</td>
|
||||||
@ -82,7 +88,7 @@
|
|||||||
data_template = None
|
data_template = None
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<table class="mt-4">
|
<table class="mt-4 responsive-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Variable</th>
|
<th>Variable</th>
|
||||||
@ -151,7 +157,7 @@
|
|||||||
value_template = variable_name<br>
|
value_template = variable_name<br>
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<table class="mt-4">
|
<table class="mt-4 responsive-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Variable</th>
|
<th>Variable</th>
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "v0.21"
|
version = "v0.22"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user