diff options
author | Andrea Lepori <aleporia@gmail.com> | 2024-11-15 12:59:58 +0100 |
---|---|---|
committer | Andrea Lepori <aleporia@gmail.com> | 2024-11-15 12:59:58 +0100 |
commit | 771ade7a6f8f00661184ca77d6abdc3fef5ef7d2 (patch) | |
tree | 166b63413c06643e9925a7254c57ddf27750f7a4 | |
parent | light theme for new style (diff) | |
download | scout-subs-771ade7a6f8f00661184ca77d6abdc3fef5ef7d2.tar.gz scout-subs-771ade7a6f8f00661184ca77d6abdc3fef5ef7d2.zip |
remove custom style for new style
-rw-r--r-- | templates/registration/base_admin.html | 2 | ||||
-rw-r--r-- | templates/registration/base_client.html | 2 | ||||
-rw-r--r-- | templates/registration/base_simple.html | 2 | ||||
-rw-r--r-- | version.txt | 2 |
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 |