mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Upgrade with more intelligent CSS rules.
This commit is contained in:
parent
92668ad2e5
commit
496659193f
@ -459,9 +459,6 @@ a.autolink:hover {
|
||||
.headingblockcontent {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
TABLE.calendarmini {
|
||||
width: 100%;
|
||||
border-width: 1px;
|
||||
@ -483,11 +480,7 @@ TABLE.calendarmonth {
|
||||
-moz-border-radius: 10px;
|
||||
}
|
||||
|
||||
.calendarweekend {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.cal_day_mini {
|
||||
TABLE.calendarmini TBODY TD {
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
width: 14%;
|
||||
@ -497,7 +490,7 @@ TABLE.calendarmonth {
|
||||
-moz-border-radius: 4px;
|
||||
}
|
||||
|
||||
.calendardaymonth {
|
||||
TABLE.calendarmonth TBODY TD {
|
||||
width: 14%;
|
||||
border-width: 2px;
|
||||
border-color: <?PHP echo $THEME->cellcontent2?>;
|
||||
@ -505,27 +498,79 @@ TABLE.calendarmonth {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.calendardaymonth TABLE {
|
||||
.cal_event_global {
|
||||
background-color: #99cc99;
|
||||
border: 2px #99cc99 solid !important;
|
||||
}
|
||||
|
||||
.cal_event_course {
|
||||
background-color: #ff9966;
|
||||
border: 2px #ff9966 solid !important;
|
||||
}
|
||||
|
||||
.cal_event_group {
|
||||
background-color: orange;
|
||||
border: 2px orange solid !important;
|
||||
}
|
||||
|
||||
.cal_event_user {
|
||||
background-color: #ffcc99;
|
||||
border: 2px #ffcc99 solid !important;
|
||||
}
|
||||
|
||||
.cal_duration_global {
|
||||
border-top: 2px #99cc99 solid !important;
|
||||
border-bottom: 2px #99cc99 solid !important;
|
||||
}
|
||||
|
||||
.cal_duration_course {
|
||||
border-top: 2px #ff9966 solid !important;
|
||||
border-bottom: 2px #ff9966 solid !important;
|
||||
}
|
||||
|
||||
.cal_duration_user {
|
||||
border-top: 2px #ffcc99 solid !important;
|
||||
border-bottom: 2px #ffcc99 solid !important;
|
||||
}
|
||||
|
||||
.cal_duration_group {
|
||||
border-top: 2px orange solid !important;
|
||||
border-bottom: 2px orange solid !important;
|
||||
}
|
||||
|
||||
.cal_weekend {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.cal_today {
|
||||
border: 2px black solid !important;
|
||||
}
|
||||
|
||||
TABLE.calendarmonth TBODY TD TABLE {
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
font-size: 0.75em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
.calendardaymonth DIV {
|
||||
TABLE.calendarmonth TBODY TD TABLE TD {
|
||||
border: none;
|
||||
}
|
||||
|
||||
TABLE.calendarmonth TBODY TD DIV {
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
font-size: 0.75em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
.calendarmini .calendarheader {
|
||||
TABLE.calendarmini THEAD TD {
|
||||
font-size: .95em;
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
.calendarmonth .calendarheader {
|
||||
TABLE.calendarmonth THEAD TD {
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
padding-bottom: 3px;
|
||||
@ -540,46 +585,6 @@ TABLE.calendarmonth {
|
||||
font-size: 0.6em;
|
||||
}
|
||||
|
||||
.cal_event_global {
|
||||
background-color: #99cc99;
|
||||
border: 2px #99cc99 solid;
|
||||
}
|
||||
|
||||
.cal_event_course {
|
||||
background-color: #ff9966;
|
||||
border: 2px #ff9966 solid;
|
||||
}
|
||||
|
||||
.cal_event_group {
|
||||
background-color: orange;
|
||||
border: 2px orange solid;
|
||||
}
|
||||
|
||||
.cal_event_user {
|
||||
background-color: #ffcc99;
|
||||
border: 2px #ffcc99 solid;
|
||||
}
|
||||
|
||||
.cal_duration_global {
|
||||
border-top: 2px #99cc99 solid;
|
||||
border-bottom: 2px #99cc99 solid;
|
||||
}
|
||||
|
||||
.cal_duration_course {
|
||||
border-top: 2px #ff9966 solid;
|
||||
border-bottom: 2px #ff9966 solid;
|
||||
}
|
||||
|
||||
.cal_duration_user {
|
||||
border-top: 2px #ffcc99 solid;
|
||||
border-bottom: 2px #ffcc99 solid;
|
||||
}
|
||||
|
||||
.cal_duration_group {
|
||||
border-top: 2px orange solid;
|
||||
border-bottom: 2px orange solid;
|
||||
}
|
||||
|
||||
.mycalendar {
|
||||
-moz-border-radius-bottomleft: 20px;
|
||||
-moz-border-radius-bottomright: 20px;
|
||||
@ -641,10 +646,6 @@ TABLE.calendarmonth {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.cal_today {
|
||||
border: 2px black solid;
|
||||
}
|
||||
|
||||
.calendarexpired {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
@ -673,7 +674,7 @@ TD.cal_event_description {
|
||||
border-top: 2px #ffcc66 solid;
|
||||
border-left: 2px #ffcc66 solid;
|
||||
border-right: 2px #663300 solid;
|
||||
border-bottom: 2px #663300 solid;
|
||||
border-bottom: 2px #663300 solid;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@ -705,5 +706,3 @@ A IMG {
|
||||
TABLE.formtable TD {
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user