-
Notifications
You must be signed in to change notification settings - Fork 0
/
moodle-chan.css
202 lines (177 loc) · 9.84 KB
/
moodle-chan.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
/*
Apply to:
- moodle-ingenieurs.cesi.fr
- moodle-examens.cesi.fr
*/
/*========== Global ===========*/
/* True colors */
body
{
--main-color: #b00;
--hover-color: #c00;
--shadow-color: #a00;
--ent-color: #c9302c;
--light-background-color: #fdd;
background-color: #f7f7f7;
}
/* Restore links */
a {
color: var(--main-color);
}
a:focus, a:hover {
color: var(--shadow-color);
}
/* Titles */
h1, h2, h3 {
color: var(--main-color);
}
/* Buttons */
.btn:focus {
box-shadow: none;
}
button:focus {
outline: none;
}
/*========== Moodle Ingénieurs ===========*/
/* Left navbar */
.list-group-item.active {
background-color: var(--main-color);
border-color: var(--main-color);
}
#nav-drawer .list-group-item.active {
background: var(--main-color);
}
/* Site logos */
img.site-logo {
content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA3CAIAAAAuUuVrAAAACXBIWXMAAA7DAAAOwwHHb6hkAAACXklEQVR42u2YW0sbQRTH803aF6sgKo318iBBKQ1FhWAgmKhprIFaUAlV8UJNa7wlXtq4XpAKlaamtlQlPkhiBBUVH61JYzAtivWTjH84sE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MHVyQxDEdeo3k8e7oHrjcOJBLZZHIomeyOxfhErB7U0TKcSn2j5CM245VKuHhcE4LxbG9bCsJsJSccj7vxwEujD2sZikMLwMBz8DsFF1QEFL544PxxIqf4gvBQ1I4QAL+IDnSBxtDNOXVOxnPgWe9ohDsxJifhYLCMdjVVwpSBHHFaPn6DSeYxROPGaTcvHrZIAAPnxLk4XQV4usa+h48iMJudtZE0Nm7wAjoekFhdtaISOqtYVKvHKxTCvH3bLJ40h5haY9UVqHjkjwsXaMCdra0ficeVsfbqRcfDMx2TGj05zg4KDeB7Dg4aZbJR5yXYGA99msLS22vhmZuzfQ93wDjQhn6VegB5Ah5y7KPZLFWIylg+TxEB/MpvXV0IHBgbemIxzRsG6sZxiKI7J4fAzjbAE4SfA2typ3DaXm2SKatU3JrlvwgWuI5ZrJsv76eN+iD03Q8JFK3HGt75xI361ylgw6ufv07BWvH9fKWZwBrRGh3VY4SFQoEa4Wm+1A0CbB0PVax7Obgu5ucQzHEYevhGb0H758+BCxMegt46+yLE85Pbw13p21KYfvbDEMxlaAGTWttkqEWGOI22h2ya9LMo/02C0IOjefTB/dCJurEBPxhYXnA0vXgzS0aPpFZTnV33085tqUikkzoigkfwiAgewSN4BI+I4BE8IoJHRPAIHhHBI3hE2ovnLMvO1pZoP7p4duUj92bwxLu724LnxNfhIgrP6srKcCqVy2TOsgw73wmKBOIRFQgekRblP1NmYGb1t9J+AAAAAElFTkSuQmCC');
}
/* Login logo */
h2.text-center img {
content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAA3CAIAAABcsUWYAAAABnRSTlMA/wD/AP83WBt9AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAGA0lEQVR42u2abU8TWRTH+Sa88gVuzLpvdvvGZCXZSFoDKNrUFkpoRZGnQMYKEmTFKlqw1YWGIKikQQSjEvcTzv4vZ3rmzlOpxaHj5pzcNLd37tyZOb97zzn3zHSYIhGWDlHB/xHPzIw5Pm5OTIRS7t41j46EzSnw9P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ZTxv3lh+wvv6JwgPvBoGxGwDVzZW1BkkaB4E4YGFxIn5vJXtDsKDZcG2FFMHVyQxDEdeo3k8e7oHrjcOJBLZZHIomeyOxfhErB7U0TKcSn2j5CM245VKuHhcE4LxbG9bCsJsJSccj7vxwEujD2sZikMLwMBz8DsFF1QEFL544PxxIqf4gvBQ1I4QAL+IDnSBxtDNOXVOxnPgWe9ohDsxJifhYLCMdjVVwpSBHHFaPn6DSeYxROPGaTcvHrZIAAPnxLk4XQV4usa+h48iMJudtZE0Nm7wAjoekFhdtaISOqtYVKvHKxTCvH3bLJ40h5haY9UVqHjkjwsXaMCdra0ficeVsfbqRcfDMx2TGj05zg4KDeB7Dg4aZbJR5yXYGA99msLS22vhmZuzfQ93wDjQhn6VegB5Ah5y7KPZLFWIylg+TxEB/MpvXV0IHBgbemIxzRsG6sZxiKI7J4fAzjbAE4SfA2typ3DaXm2SKatU3JrlvwgWuI5ZrJsv76eN+iD03Q8JFK3HGt75xI361ylgw6ufv07BWvH9fKWZwBrRGh3VY4SFQoEa4Wm+1A0CbB0PVax7Obgu5ucQzHEYevhGb0H758+BCxMegt46+yLE85Pbw13p21KYfvbDEMxlaAGTWttkqEWGOI22h2ya9LMo/02C0IOjefTB/dCJurEBPxhYXnA0vXgzS0aPpFZTnV33085tqUikkzoigkfwiAgewSN4BI+I4BE8IoJHRPAIHhHBI3hE2ovnLMvO1pZoP7p4duUj92bwxLu724LnxNfhIgrP6srKcCqVy2TOsgw73wmKBOIRFQgekRblP1NmYGb1t9J+AAAAAElFTkSuQmCC');
}
/* Login text box focus*/
.form-control:focus {
border-color: var(--shadow-color);
box-shadow: 0 0 0 0.2rem rgba(170, 0, 0, .25);
}
/* Login button */
.btn-primary, .btn-primary:hover {
background-color: var(--main-color);
border-color: var(--main-color);
}
.btn-primary:focus {
box-shadow: 0 0 0 0.2rem rgba(170, 0, 0, .25);
}
.btn-primary:not(:disabled):not(.disabled):active {
background-color: var(--hover-color);
border-color: var(--hover-color);
}
.btn-primary:not(:disabled):not(.disabled):active:focus {
box-shadow: 0 0 0 0.2rem rgba(170, 0, 0, .25);
}
/* Login page: cookie info icon */
.text-info {
color: var(--main-color)!important;
}
/* Icons focus */
:focus {
outline-color: var(--shadow-color);
}
/* Dropdown items when clicked */
.dropdown-item.active, .dropdown-item:active {
background-color: var(--main-color);
}
#page .dropdown-item.active, #page .dropdown-item:active {
background-color: var(--main-color);
}
/* Other dropdown */
.custom-select:focus {
border-color: var(--shadow-color);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(170, 0, 0, .5);
}
/* Nav bar */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
background-color: var(--main-color);
}
.page-header .top-bar {
background: var(--main-color);
}
.page-header .main-nav .dropdown-menu {
background: var(--main-color);
}
.page-header .main-nav .dropdown-menu a:hover {
background: var(--hover-color);
}
/* Courses icons */
/* Switched to gray because can't change all to red */
.activity img.activityicon {
filter: contrast(0);
}
/* Courses retractable sections */
.course-content .btn-link, .btn-link {
color: var(--main-color);
}
.course-content .btn-link:hover, .btn-link:hover {
color: var(--hover-color);
}
#accordion button:active, #accordion button:focus {
background-color: transparent;
border-color: transparent;
}
/* User filters */
.page-item.active .page-link {
background-color: var(--main-color);
border-color: var(--main-color);
}
.page-link {
color: var(--main-color);
}
.page-link:focus {
box-shadow: none;
}
.page-link:hover {
color: var(--hover-color);
}
/* Other buttons */
.path-admin .buttons input[type="submit"], button, input#id_submitbutton, input#id_submitbutton2, input.form-submit, input[type="submit"], input[type="button"], input[type="reset"], td.submit input
{
background-color: var(--main-color);
border-color: var(--main-color);
color: #fff;
}
.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover {
background-color: var(--main-color);
color: #fff;
border-color: var(--shadow-color);
}
.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
background-color: var(--main-color);
color: #fff;
border-color: var(--main-color);
}
.btn-default:active, .btn-default:focus, .btn-default:hover, a.btn-default:active, a.btn-default:focus, a.btn-default:hover {
background: var(--hover-color);
color: #fff;
border-color: var(--main-color);
}
.btn-default, a.btn-default {
border-color: var(--main-color);
color: var(--main-color);
}
/* Footer */
#page-footer {
background: var(--main-color);
}
#page-footer .footer-bottom-bar {
background: var(--shadow-color);
}
/*========== Moodle Examens ===========*/
/* CCTL questions */
.alert-info, #page-admin-index .releasenoteslink, #adminsettings .form-overridden, .que .formulation, .assignfeedback_editpdf_widget .label {
color: var(--main-color);
background-color: var(--light-background-color);
border-color: var(--light-background-color);
}