blob: e97d2167dae28db8e8c8d9d62da33dda7aba3a75 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
{% with color="light-blue darken-4" %}
{% with hexcolor="#01579b" %}
{% with hexlightcolor="#039be5" %}
<!DOCTYPE html>
<html>
<head>
<script>
document.documentElement.setAttribute("theme", "light");
</script>
{% load static %}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{% static 'materialize.min.css' %}">
<style>
{% block style %}
{% endblock %}
{% if not request.session.new_css %}
input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
color: {{hexcolor}} !important;
}
input[type=text]:focus, .materialize-textarea:focus:not([readonly]) {
border-bottom: 1px solid {{hexcolor}} !important;
box-shadow: 0 1px 0 0 {{hexcolor}} !important;
}
input[type=password]: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}};
}
.progress .indeterminate {
background-color: {{hexcolor}};
}
.progress .determinate {
background-color: {{hexcolor}};
}
.progress {
background-color: {{hexlightcolor}};
}
.dropdown-content li > a, .dropdown-content li > span {
color: {{hexcolor}};
}
.datepicker-date-display {
background-color: {{hexcolor}};
}
.datepicker-table td.is-selected {
background-color: {{hexcolor}};
}
.datepicker-table td.is-today {
color: {{hexcolor}};
}
.datepicker-cancel, .datepicker-today, .datepicker-done {
color: black;
}
blockquote {
border-left: 5px solid {{hexcolor}};
}
{% endif %}
</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 id="main" style="margin-left: 10px;margin-right: 10px;margin-top: 10px;">
{% block content %}
{% endblock %}
</main>
{% block footer %}
{% endblock %}
<script type="text/javascript" src="{% static 'materialize.min.js' %}"></script>
{% block script_import %}
{% endblock %}
<script type="text/javascript">
{% block script %}
{% endblock %}
</script>
<script type="text/javascript" src="{% static 'utils.js' %}"></script>
</body>
</html>
{% endwith %}
{% endwith %}
{% endwith %}
|