aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base_simple.html
blob: f8c74bcdedbfd218e5ed729853e3926f0266c3ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% with color="teal" %}
{% with hexcolor="#009688" %}
{% with hexlightcolor="#80cbc4" %}
<!DOCTYPE html>
<html>
<head>
  {% load static %}
  <link rel="stylesheet" type="text/css" href="{% static 'material_icons.css' %}">
  <link rel="stylesheet" type="text/css" href="{% static 'materialize.min.css' %}">
  <style>
    .input-field input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
      color: {{hexcolor}} !important;
    }

    .input-field input[type=text]:focus, .materialize-textarea:focus:not([readonly]) {
      border-bottom: 1px solid {{hexcolor}} !important;
      box-shadow: 0 1px 0 0 {{hexcolor}} !important;
    }

    [type="checkbox"].filled-in:checked + span:not(.lever)::after {
     border: 2px solid {{hexcolor}} !important;
     background-color: {{hexcolor}} !important;
    }

    .switch label input[type="checkbox"]:checked + .lever {
      background-color: {{hexlightcolor}};
    }

    .switch label input[type="checkbox"]:checked + .lever::after {
      background-color: {{hexcolor}};
    }
  </style>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <meta charset="utf-8">
  <title>{% block title %}Scout Brega{% endblock %}</title>
</head>
<body>
  <main style="margin-left: 10px;margin-right: 10px;margin-top: 10px;">
    {% block content %}
    {% endblock %}
  </main>
  <script type="text/javascript" src="{% static 'materialize.min.js' %}"></script>
  <script type="text/javascript">
  {% block script %}
  {% endblock %}
  </script>
</body>
</html>
{% endwith %}
{% endwith %}
{% endwith %}