aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/registration/base_admin.html2
-rw-r--r--templates/registration/base_client.html2
-rw-r--r--templates/registration/base_simple.html2
-rw-r--r--version.txt2
4 files changed, 7 insertions, 1 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index f150c35..c78cfcf 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -13,6 +13,7 @@
<link rel="stylesheet" type="text/css" href="{% static request.session.new_css|materialize_css %}">
<link rel="stylesheet" type="text/css" href="{% static 'tabulator/css/tabulator.min.css' %}">
<style>
+ {% if not request.session.new_css %}
input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
color: {{hexcolor}} !important;
}
@@ -84,6 +85,7 @@
}
.embedded-row:hover{ background-color: #e5e5e5 !important;}
+ {% endif %}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index de54445..883e314 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -12,6 +12,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{% static request.session.new_css|materialize_css %}">
<style>
+ {% if not request.session.new_css %}
input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
color: {{hexcolor}} !important;
}
@@ -102,6 +103,7 @@
max-height: 90% !important;
}
}
+ {% endif %}
{% block style %}
{% endblock %}
</style>
diff --git a/templates/registration/base_simple.html b/templates/registration/base_simple.html
index 4aa13e5..e97d216 100644
--- a/templates/registration/base_simple.html
+++ b/templates/registration/base_simple.html
@@ -14,6 +14,7 @@
{% block style %}
{% endblock %}
+ {% if not request.session.new_css %}
input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
color: {{hexcolor}} !important;
}
@@ -76,6 +77,7 @@
blockquote {
border-left: 5px solid {{hexcolor}};
}
+ {% endif %}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
diff --git a/version.txt b/version.txt
index 71a4111..3253421 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.7
-rev=29
+rev=30