Skip to content

Commit a8bf404

Browse files
committed
Removing unused CSS styles
1 parent 48872bc commit a8bf404

File tree

1 file changed

+7
-266
lines changed

1 file changed

+7
-266
lines changed

main/css/print.css

Lines changed: 7 additions & 266 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,23 @@ img {
2424
* HEADER STYLES *
2525
*****************************************************/
2626

27-
2827
#my_courses {
2928
background-color: #fff;
3029
color: #009;
3130
}
32-
/*show the institution*/
33-
#header1 {
34-
padding: 2px;
35-
float: right;
36-
}
31+
3732
#my_courses {
3833
display: none;
3934
}
40-
#header2 {
41-
display: none;
42-
}
35+
4336
.subnav {
4437
display: none;
4538
}
46-
/* show the way to the printed document (breadcrumbs)*/
47-
#header4 {
48-
padding: 2px;
49-
border-bottom: 1px solid #4171B5;
50-
}
51-
#header4 a {
52-
color: #4171b5;
53-
}
39+
5440
#toolshortcuts {
5541
display:none;
5642
}
43+
5744
/*****************************************************
5845
* FOOTER STYLES *
5946
*****************************************************/
@@ -63,28 +50,8 @@ img {
6350
background-color: #E5EDF9;
6451
font-size: 12px;
6552
}
66-
#footer .copyright {
67-
float: right;
68-
}
69-
/*****************************************************
70-
* MAIN STYLES *
71-
*****************************************************/
72-
#main {
73-
position: relative; /* to avoid the IE peekabo bug*/
74-
margin: 0px auto;
75-
margin-top: 10px;
76-
width: 98%;
77-
padding: 0px 10px 10px 10px;
78-
background-color: #fff;
79-
min-height: 320px;
80-
}
81-
/* for content section in main index.php file */
82-
.maincontent {
83-
float: left;
84-
width: 78%;
85-
padding: 4px;
86-
background-color: #fff;
87-
}
53+
54+
8855
/* "menu" doesn't show in printed version*/
8956
.menu {
9057
display: none;
@@ -198,234 +165,8 @@ content: ".";
198165
background-color: #fff;
199166
padding: 0 4px;
200167
}
201-
/***********************************/
202-
203-
/* ===================================================
204-
AGENDA STYLES
205-
===================================================*/
206-
207-
/* ---------------------------------------------------
208-
check if these are still used or not
209-
-----------------------------------------------------*/
210-
#agenda {
211-
width: 100%;
212-
margin: 0 auto;
213-
border: 1px solid #4171B5;
214-
border-collapse: collapse;
215-
}
216-
.agenda_month_divider {
217-
background-color: #4171B5;
218-
font-weight: bold;
219-
font-size: 12px;
220-
color: #fff;
221-
text-align: center;
222-
}
223-
#agenda #title a {
224-
color: #fff;
225-
}
226-
#agenda .agendaitem {
227-
font-size: 12px;
228-
}
229-
#smallcalendar .title {
230-
background-color: #4171B5;
231-
font-weight: bold;
232-
padding: 2px;
233-
color: #fff;
234-
text-align: center;
235-
font-size: 11px;
236-
}
237-
#smallcalendar .title a {
238-
color: #fff;
239-
}
240-
/*agenda select not visible on print*/
241-
#agenda_select {
242-
display:none;
243-
}
244-
/* ---------------------------------------------------
245-
styles for the agenda (day, week, month view)
246-
-----------------------------------------------------*/
247-
#agenda_list {
248-
width: 100%;
249-
margin: 0 auto;
250-
border: 1px solid #fff;
251-
border-collapse: collapse;
252-
}
253-
/*The caption of the calendar (displays the month and the << and >> links*/
254-
#agenda_list #title {
255-
background-color: #4171B5;
256-
font-weight: bold;
257-
font-size: 12px;
258-
color: #fff;
259-
text-align: left;
260-
padding: 2px 10px;
261-
text-align: center;
262-
border: 1px solid #264269;
263-
}
264-
#agenda_list #title a:link, #agenda_list #title a:visited {
265-
background-color: #4171B5;
266-
font-weight: bold;
267-
font-size: 12px;
268-
color: #fff;
269-
text-align: left;
270-
padding: 2px 10px;
271-
text-align: center;
272-
}
273-
#agenda_list #title a:hover {
274-
background-color: #4171B5;
275-
font-weight: bold;
276-
font-size: 12px;
277-
color: #ff0000;
278-
text-align: left;
279-
padding: 2px 10px;
280-
text-align: center;
281-
}
282-
/* The cells with the name of the days of the weeks (mon->sun)*/
283-
#agenda_list .weekdays {
284-
background-color: #D3DFF1;
285-
text-align: center;
286-
font-weight: bold;
287-
border: 1px solid #264269;
288-
border-collapse: collapse;
289-
}
290-
/* The cells for the days (1->31) */
291-
#agenda_list .days_week {
292-
height: 40px;
293-
width: 12%;
294-
text-align: left;
295-
vertical-align: top;
296-
border: 1px solid #264269;
297-
border-collapse: collapse;
298-
background-color: #f5f5f5;
299-
}
300-
#agenda_list .days_weekend {
301-
height: 40px;
302-
width: 12%;
303-
text-align: left;
304-
vertical-align: top;
305-
border: 1px solid #264269;
306-
border-collapse: collapse;
307-
background-color: #e6e6e6;
308-
}
309-
#agenda_list .days_today {
310-
height: 40px;
311-
width: 12%;
312-
text-align: left;
313-
vertical-align: top;
314-
border: 1px solid #264269;
315-
border-collapse: collapse;
316-
background-color: #FFCA8D;
317-
color: #CC3300;
318-
font-weight: bold;
319-
}
320-
/* text in the cells: display of agenda items (visible)*/
321-
#agenda_list .data {
322-
background-color: #eee;
323-
text-align: left;
324-
padding: 2px 10px;
325-
font-weight: bold;
326-
border: 0px solid #4171B5;
327-
border-collapse: collapse;
328-
}
329-
#agenda_list .datanotbold {
330-
background-color: #eee;
331-
text-align: left;
332-
padding: 2px 10px;
333-
font-weight: normal;
334-
border: 0px solid #4171B5;
335-
border-collapse: collapse;
336-
}
337-
#agenda_list .text {
338-
background-color: #fff;
339-
text-align: left;
340-
padding: 2px 10px;
341-
font-weight: normal;
342-
border: 0px solid #4171B5;
343-
border-collapse: collapse;
344-
}
345-
/*text in the cells: display of agenda items (invisible)*/
346-
#agenda_list .data_hidden {
347-
background-color: #eee;
348-
text-align: left;
349-
padding: 2px 10px;
350-
font-weight: bold;
351-
border: 0px solid #4171B5;
352-
border-collapse: collapse;
353-
color: #999999;
354-
}
355-
#agenda_list .datanotbold_hidden {
356-
background-color: #eee;
357-
text-align: left;
358-
padding: 2px 10px;
359-
font-weight: normal;
360-
border: 0px solid #4171B5;
361-
border-collapse: collapse;
362-
color: #999999;
363-
}
364-
#agenda_list .text_hidden {
365-
background-color: #fff;
366-
text-align: left;
367-
padding: 2px 10px;
368-
font-weight: normal;
369-
border: 0px solid #4171B5;
370-
border-collapse: collapse;
371-
color: #999999;
372-
}
373-
/*text in the cells: display of agenda items (highlighted)*/
374-
#agenda_list .datanow {
375-
background-color: #FFCC00;
376-
text-align: left;
377-
padding: 2px 10px;
378-
font-weight: bold;
379-
border: 0px solid #4171B5;
380-
border-collapse: collapse;
381-
}
382-
#agenda_list .datanotboldnow {
383-
background-color: #FFCC00;
384-
text-align: left;
385-
padding: 2px 10px;
386-
font-weight: normal;
387-
border: 0px solid #4171B5;
388-
border-collapse: collapse;
389-
}
390-
#agenda_list .textnow {
391-
background-color: #fff;
392-
text-align: left;
393-
padding: 2px 10px;
394-
font-weight: normal;
395-
border: 0px solid #4171B5;
396-
border-collapse: collapse;
397-
}
398-
/* ---------------------------------------------------
399-
styles for the mini agenda
400-
-----------------------------------------------------*/
401-
/* mini agenda invisible in print */
402168

403-
#smallcalendar {
404-
display:none;
405-
}
406-
/*without this the small calendar's space isn't liberated, because the table width is hardcoded in the php*/
407-
#layoutHulp {
408-
display:none;
409-
}
410-
/* ---------------------------------------------------
411-
styles for the personal agenda
412-
-----------------------------------------------------*/
413-
.personal_agenda {
414-
color: #008000;
415-
}
416-
.personal_agenda a:link, .personal_agenda a:visited {
417-
color: #008000;
418-
}
419-
a.personal_agenda:link, a.personal_agenda:visited {
420-
color: #008000;
421-
}
422-
.personal_agenda a:hover, .personal_agenda a:hover {
423-
color: #666666;
424-
}
425-
a.personal_agenda:hover, a.personal_agenda:hover {
426-
color: #666666;
427-
}
428-
/* normal and erro message-box */
169+
/* normal and error message-box */
429170
.normal-message, .error-message {
430171
position: relative;
431172
margin: 10px auto;

0 commit comments

Comments
 (0)