MDL-25505 Tasks: Fix for scheduled task bug on the last day of the month.
[moodle.git] / theme / bootstrapbase / less / moodle / calendar.less
CommitLineData
8903b17b
BB
1/* calendar.less */
2.calendartable {
3 width: 100%;
4}
5.calendartable th,
6.calendartable td {
7 width: 14%;
8 vertical-align: top;
9 text-align: center;
10 border: 0;
11}
12.calendar_event_course {
13 background-color: #FFD3BD;
14}
15.calendar_event_global {
16 background-color: #D6F8CD;
17}
18.calendar_event_group {
19 background-color: #FEE7AE;
20}
21.calendar_event_user {
22 background-color: #DCE7EC;
23}
24.path-calendar .calendar-controls .previous,
25.path-calendar .calendar-controls .next,
26.path-calendar .calendar-controls .current {
27 display: block;
28 float: left;
29 width: 12%;
30}
31.path-calendar .calendar-controls .previous {
32 text-align: left;
33}
34.path-calendar .calendar-controls .current {
35 text-align: center;
36 width: 76%;
37}
38.path-calendar .calendar-controls .next {
39 text-align: right;
40}
41.path-calendar .maincalendar {
42 vertical-align: top;
43 padding: 0;
44}
45.path-calendar .maincalendar .bottom {
46 text-align: center;
47 padding: 5px 0 0 0;
48}
49.path-calendar .maincalendar .heightcontainer {
50 height: 100%;
51 position: relative;
52}
53.path-calendar .maincalendar .calendarmonth {
54 width: 98%;
55 margin: 10px auto;
56}
57.path-calendar .maincalendar .calendarmonth ul {
58 margin: 0;
59}
60.path-calendar .maincalendar .calendarmonth ul li {
61 list-style-type: none;
62 margin-top: 4px;
63}
64.path-calendar .maincalendar .calendarmonth td {
65 height: 5em;
66}
67.path-calendar .maincalendar .calendar-controls .previous,
68.path-calendar .maincalendar .calendar-controls .next{
69 width: 30%;
70}
71.path-calendar .maincalendar .calendar-controls .current {
72 width: 39.95%;
73}
74.path-calendar .maincalendar .controls {
75 width: 98%;
76 margin: 10px auto;
77}
78.path-calendar .maincalendar .eventlist .event {
79 width: 100%;
80 margin-bottom: 10px;
81 border-spacing: 0;
82 border-collapse: separate;
83 border-width: 1px;
84 border-style: solid;
85}
86.path-calendar .maincalendar .eventlist .event .topic .name {
87 float: left;
88}
89.dir-rtl.path-calendar .maincalendar .eventlist .event .topic .name,
90.path-calendar .maincalendar .eventlist .event .topic .date {
91 float: right;
92}
93.dir-rtl.path-calendar .maincalendar .eventlist .event .topic .date {
94 float: left;
95}
96.path-calendar .maincalendar .eventlist .event .subscription,
97.path-calendar .maincalendar .eventlist .event .course {
98 float: left;
99 clear: left;
100}
101.dir-rtl.path-calendar .maincalendar .eventlist .event .subscription,
102.dir-rtl.path-calendar .maincalendar .eventlist .event .course {
103 float: right;
104 clear: right;
105}
106.path-calendar .maincalendar .eventlist .event .side {
107 width: 32px;
108}
109.path-calendar .maincalendar .eventlist .event .commands a {
110 margin: 0 3px;
111}
112.path-calendar .maincalendar .header {
113 overflow: hidden;
114}
115.path-calendar .maincalendar .header .buttons {
116 float: right;
117}
118.dir-rtl.path-calendar .maincalendar .header .buttons {
119 float: left;
120}
121.path-calendar .filters table {
122 border-collapse: separate;
123 border-spacing: 2px;
124 width: 100%;
125}
126#page-calendar-export .indent {
127 padding-left: 20px;
128}
129.path-calendar .cal_courses_flt label {
130 margin-right: .45em;
131}
132.dir-rtl.path-calendar .cal_courses_flt label {
133 margin-left: .45em;
134 margin-right: 0;
135}
136.block .minicalendar th,
137.block .minicalendar td {
138 padding: 2px;
139 font-size: 0.8em;
140}
141.block .minicalendar {
142 max-width: 280px;
143 margin-left: auto;
144 margin-right: auto;
145}
146.block .minicalendar td.weekend {
147 color: #A00;
148}
149.block .calendar-controls .previous {
150 text-align: left;
151 display: block;
152 float: left;
153 width: 12%;
154}
155.block .calendar-controls .current {
156 float: left;
157 text-align: center;
158 display: block;
159 width: 76%;
160}
161.block .calendar-controls .next {
162 text-align: right;
163 display: block;
164 float: left;
165 width: 12%;
166}
167.block .calendar_filters ul {
168 list-style: none;
169 margin: 0;
170}
171.block .calendar_filters li {
172 margin-bottom: .2em;
173}
174.block .calendar_filters li span img {
175 padding: 0 .2em;
176}
177.block .calendar_filters .eventname {
178 padding-left: .2em;
179}
180.dir-rtl .block .calendar_filters .eventname {
181 padding-right: .2em;
182 padding-left: 0;
183}
184.block .content h3.eventskey {
185 margin-top: 0.5em;
186}
310845b9 187@media (min-width: 768px) {
3e9406bc
SH
188 #page-calender-view .container fluid {
189 min-width: 1024px;
190 }
310845b9 191}