MDL-49237 theme_base: made block calendar captions smaller in base theme
[moodle.git] / theme / base / style / calendar.css
1 /** Calendar **/
2 .calendartable {width: 100%;}
3 .calendartable th,
4 .calendartable td {width:14%;vertical-align:top;text-align: center;border-width:1px;}
6 .calendar_event_course {background-color:#FFD3BD;}
7 .calendar_event_global {background-color:#D6F8CD;}
8 .calendar_event_group {background-color:#FEE7AE;}
9 .calendar_event_user {background-color:#DCE7EC;}
11 .path-calendar .calendar-controls .previous,
12 .path-calendar .calendar-controls .next,
13 .path-calendar .calendar-controls .current {display: block;float: left;width: 12%;}
14 .path-calendar .calendar-controls .previous {text-align: left;}
15 .path-calendar .calendar-controls .current {text-align: center;width: 76%;}
16 .path-calendar .calendar-controls .next {text-align: right;}
18 .path-calendar {}
19 .path-calendar .maincalendar {vertical-align: top;padding:0;}
20 .path-calendar .maincalendar .bottom {text-align: center;padding:5px 0 0 0;}
21 .path-calendar .maincalendar .heightcontainer {height: 100%;position: relative;}
22 .path-calendar .maincalendar .calendarmonth {width:98%;margin:10px auto;}
23 .path-calendar .maincalendar .calendarmonth ul {margin:0;}
24 .path-calendar .maincalendar .calendarmonth ul li {list-style-type:none;margin-top: 4px;}
25 .path-calendar .maincalendar .calendarmonth td {height: 5em;}
26 .path-calendar .maincalendar .calendar-controls .previous,
27 .path-calendar .maincalendar .calendar-controls .next{width: 30%;}
28 .path-calendar .maincalendar .calendar-controls .current {width: 39.95%;}
29 .path-calendar .maincalendar .controls {width:98%;margin:10px auto;}
30 .path-calendar .maincalendar .eventlist {margin:0;}
31 .path-calendar .maincalendar .eventlist .event {width:100%;margin-bottom:10px;border-spacing:0px;border-collapse:separate;border-width:1px;border-style:solid;list-style-type: none;}
32 .path-calendar .maincalendar .eventlist .event > img {float:left;}
33 .path-calendar .maincalendar .eventlist .event > img {float:right;}
34 .path-calendar .maincalendar .eventlist .event .name {float:left;margin:0;}
35 .dir-rtl.path-calendar .maincalendar .eventlist .event .name {float:right;}
36 .path-calendar .maincalendar .eventlist .event .date {float:right;}
37 .dir-rtl.path-calendar .maincalendar .eventlist .event .date {float:left;}
38 .path-calendar .maincalendar .eventlist .event .subscription {float:left;clear:left;}
39 .dir-rtl.path-calendar .maincalendar .eventlist .event .subscription {float:right;clear:right;}
40 .path-calendar .maincalendar .eventlist .event .course {float:left;clear:left;}
41 .dir-rtl.path-calendar .maincalendar .eventlist .event .course {float:right;clear:right;}
42 .path-calendar .maincalendar .eventlist .event .side {width:32px;}
43 .path-calendar .maincalendar .eventlist .event .commands a { margin: 0 3px;}
44 .path-calendar .maincalendar .eventlist .description {clear: both;}
45 .path-calendar .maincalendar .header {overflow:hidden;}
46 .path-calendar .maincalendar .header .buttons {float: right;}
47 .dir-rtl.path-calendar .maincalendar .header .buttons {float: left;}
48 .path-calendar .filters table {border-collapse:separate;border-spacing: 2px;width: 100%;}
49 #page-calendar-export .indent {padding-left: 20px;}
50 .path-calendar div.cal_courses_flt { float: left; }
51 .dir-rtl.path-calendar div.cal_courses_flt { float: right; }
52 .path-calendar .cal_courses_flt label { margin-right: .45em; }
53 .dir-rtl.path-calendar .cal_courses_flt label { margin-left: .45em; margin-right: 0; }
55 .block .minicalendar {width:100%;margin:10px auto;}
56 .block .minicalendar th,
57 .block .minicalendar td {padding:2px;font-size:0.8em;}
58 .block .minicalendar caption {font-size: inherit;font-weight: inherit;line-height: inherit;text-align: center;}
59 .block .minicalendar td.weekend {color:#A00;}
60 .block .calendar-controls .previous {text-align: left;display: block;float: left;width: 12%;}
61 .block .calendar-controls .current {float:left;text-align: center;display: block;width:76%;}
62 .block .calendar-controls .next {text-align: right;display: block;float: left;width: 12%;}
63 .block .calendar_filters ul {list-style: none; margin: 0;}
64 .block .calendar_filters li { margin-bottom: .2em;}
65 .block .calendar_filters li span img { padding: 0 .2em;}
66 .block .calendar_filters .eventname { padding-left: .2em;}
67 .dir-rtl .block .calendar_filters .eventname { padding-right: .2em; padding-left: 0; }
68 .block .content h3.eventskey {margin-top:0.5em;}
70 .ical-link {
71     font-size: 10px;
72     font-weight: bold;
73     background-color: #f60;
74     padding: 0px 5px;
75     color: #fff;
76     border-top: 1px solid #f93;
77     border-left: 1px solid #f93;
78     border-bottom: 1px solid #013;
79     border-right: 1px solid #013;
80     margin: 3px;
81     text-decoration: none;
82 }
83 .ical-link:hover,
84 .ical-link:active,
85 .ical-link:focus,
86 .ical-link:visited {
87     color: #fff;
88     text-decoration: none;
89 }