-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddcss.css
More file actions
296 lines (261 loc) · 7.01 KB
/
Copy pathaddcss.css
File metadata and controls
296 lines (261 loc) · 7.01 KB
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
/*the following three sets of styling hide this block that contains styling for the Admin block so that it isn't visible unless altered in the browser's inspector. Block instance-3098311. This also hides inst3242994 which refers to the logged in user block at category level*/
.card-body .card-text:nth-child(1){
display: none;
}
.card-body .block-controls:nth-child(1){
display: none;
}
/*this styles the add an activity/resource button*/
.section-modchooser-link {
display: inline-flex !important;
float: right !important;
line-height: 1.5rem !important;
vertical-align: middle;
text-align: center;
white-space: nowrap;
font-weight: 500;
border: 2px solid transparent;
margin-bottom: 1.5rem;
color: white !important;
text-decoration: none !important;
background: #343a40;
padding: 5px 12px;
white-space: nowrap;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.5);
border-radius: 2px;
}
/*this styles the add an activity/resource button when you hover over it*/
.section-modchooser-link:hover {
background: #3d90c2;
color: white !important;
cursor: pointer;
}
/*this styles the add an activity/resource button when you click on it*/
.section-modchooser-link:focus {
background: #3d90c2 !important;
color: white !important;
border-color: #3d90c2 !important;
box-shadow: none;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/*this styles the add an activity/resource button after the click*/
.section-modchooser-link:active {
background: #3d90c2 !important;
color: white !important;
box-shadow: 0 0 0 0.2rem rgba(61, 144, 194, .5);
border: 2px solid #3d90c2 !important;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/*this styles the add an activity/resource button icon to ensure it sits on the same alignment as the text*/
.section-modchooser-link i {
line-height: 1.5rem !important;
}
/*This ensures the tinyMCE takes up 100% of the width of the container it sits in.*/
.mceLayout {
width:100% !important;
}
/*This increases default height of the Attoeditor */
div#id_introeditoreditable {
min-height: 600px !important;
}
div#id_content_editoreditable { /*This increases default height of the Attoeditor in Books */
min-height: 600px !important;
}
/*This ensures there is no space at the top of the blocks on the right*/
.block .content {
margin-top: 0px !important;
}
/*This ensures there is no space at the bottom of alerts*/
.alert p:last-of-type {
margin-bottom: 0px !important;
}
/*The following list style Moodle lessons*/
.branchbuttoncontainer .btn-secondary {
background-color: #007EA8 !important; /* changes the navigation button color to blue */
color: #ffffff; /* changes the navigation button font color to white */
}
.branchbuttoncontainer {
display: flex;
justify-content: space-evenly; /* spaces out and centres the navigation buttons */
margin-top: 30px;
}
.card-monash div[role=main]>h2{
background-color: #007EA8; /* changes the lesson title bg color to blue */
padding: 10px;
color: white; /* changes the lesson title font color to white */
}
.card-monash div[role=main]>h3{
margin-left: 10px;
color: #016080;
font-family: Helvetica Neue !important;
font-size: 3rem;
font-weight: 400;
line-height: 1.2;
margin-bottom: 2rem;
border-bottom: solid 1px #dddddd;
padding-bottom: 2rem;
padding-left: 10%;
padding-top: 2rem;
}
.activity-navigation {
display: none; /* hides activity navigation bar on bottom of lesson - delete if desired */
}
.bg-light {
background-color: #e9e9e994 !important;
}
/*end of styles of Moodle lessons*/
/*This styles elements while in single activity mode or in lessons, pages etc. */
.h5p-iframe-wrapper {
max-width: 1400px /*sets a maximum width on h5p activities so that easier to view without scrolling down*/
}
.mediaplugin > div {
max-width: 580px !important; /*makes videos embedded directly larger, default is too small to be useful*/
}
.book_content h3:first-child { /*style page titles in Books*/
color: #016080;
font-family: Helvetica Neue !important;
font-size: 3rem;
font-weight: 400;
line-height: 1.2;
margin-bottom: 2rem;
border-bottom: solid 1px #dddddd;
padding-bottom: 2rem;
}
.box.py-3.contents, .box.py-3.generalbox.book_content, .box.py-3.generalbox.center.clearfix { /*centers content in books, lessons and pages*/
padding-left:10%;
padding-right:10%;
max-width: 1400px;
}
#intro, #pageintro { /*styles activity descriptions in single activities*/
background-color: #ededed;
padding: 0 15px;
}
/*This styles the back to top button */
#goto-top-link .icon{ /* Style back to top button size */
font-size: 40px;
width: 70px;
height: 45px;
}
#goto-top-link .btn-light{ /* Style back to top button colour, shape */
background-color: #db7c00f0;
border-color: none;
border-radius: 5px 0 0 5px;
color: #ffffff;
}
/*This styles the accordion in overview page*/
.acctab > input {
position: absolute;
opacity: 0;
z-index: -1;
}
.acc .row {
display: flex;
}
.acc .row .acc .col {
flex: 1;
}
.acc .row .acc .col:last-child {
margin-left: 1em;
}
.accordion {
overflow: hidden;
}
.acctab {
width: 100%;
color: #343a40;
overflow: hidden;
}
.acctab-label {
display: flex;
justify-content: space-between;
padding: 0.6em 1em;
margin:4px 0 0 0;
background: #d7d7d7;
cursor: pointer;
margin-bottom: 0 !important;
border-radius: 15px;
font-size: 1.2rem;
}
.acctab-label:hover {
background: #f1f1f1;
}
.acctab-label::after { /* Icon */
display: inline-block;
padding-left: 6px;
padding-right: 8px;
font: normal normal normal 14px/1 FontAwesome;
font-size: 0.8em;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: "\f138";
text-align: center;
transition: all 0.35s;
}
.acctab-content {
max-height: 0;
padding: 0 1em;
color: #343a40;
background: white;
transition: all 0.35s;
}
.acctab-close {
display: flex;
justify-content: flex-end;
padding: 1em;
font-size: 0.75em;
background: #007EA8;
cursor: pointer;
}
.acctab-close:hover {
background: #007EA8;
}
input:checked + .acctab-label {
background: #036e92;
color: white;
}
input:checked + .acctab-label::after {
transform: rotate(90deg);
}
input:checked ~ .acctab-content {
max-height: 100vh;
padding: 1em;
}
.acctab td{
background-color: #FFFFFF;
}
/* Changes color of links on entire site to match theme */
a {
color: #006080
}
/*This styles the optional teaching staff details block */
.profileimg {
max-width: 80px !important;
height: auto !important;
border-radius: 15px;
}
.profileimgcon {
float: right;
margin-left: 2px;
margin-bottom: 5px;
}
.profilebox span{
text-align: left;
border-radius: 10px;
padding: 2px 10px;
background-color: #e8e8e8;
font-color: #4A4A4A;
font-size: 13px;
font-weight: bold;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
.profileimgcon>img.img-responsive.atto_image_button_text-bottom, .profileimgcon>img.atto_image_button_text-bottom{
max-width: 80px !important;
height: auto !important;
border-radius: 15px;
margin: 0;
}