subscribe link there, eg front page news, social forum */
.headingblockcontent {}
+
+
+
+================================
+Changes to 1.3 since 1.2
+--------------------------------
+
+
+/* Many styles for calendar! */
+
+TABLE.calendarmini { }
+
+TABLE.calendarmonth { }
+
+TABLE.calendarmini TBODY TD { }
+
+TABLE.calendarmonth TBODY TD { }
+
+.cal_event_global { }
+
+.cal_event_course { }
+
+.cal_event_group { }
+
+.cal_event_user { }
+
+.cal_duration_global { }
+
+.cal_duration_course { }
+
+.cal_duration_user { }
+
+.cal_duration_group { }
+
+.cal_weekend { }
+
+.cal_today { }
+
+TABLE.calendarmonth TBODY TD TABLE { }
+
+TABLE.calendarmonth TBODY TD TABLE TD { }
+
+TABLE.calendarmonth TBODY TD DIV { }
+
+TABLE.calendarmini THEAD TD { }
+
+TABLE.calendarmonth THEAD TD { }
+
+.sideblockmain .cal_event { }
+
+.sideblockmain .cal_event_date { }
+
+.mycalendar { }
+
+.mycalendar .cal_event { }
+
+.mycalendar .cal_event_date { }
+
+.mycalendar TABLE.cal_filters { }
+
+.mycalendar .cal_filters THEAD TD { }
+
+.mycalendar .cal_event_table { }
+
+.mycalendar .cal_event_table THEAD { }
+
+.sideblockmain HR { }
+
+.mycalendar HR { }
+
+.calendarreferer { }
+
+TD.cal_event_description { }
+
+.cal_popup_fg { }
+
+.cal_popup_bg { }
+
+.cal_popup_caption { }
+
+.cal_popup_close { }
+
+.sideblock .cal_controls { }
+
+A IMG { }
+
+TABLE.formtable TD { }
/// We use PHP so we can do value substitutions into the styles
+ if (!isset($themename)) {
+ $themename = NULL;
+ }
+
$nomoodlecookie = true;
require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
font-weight: bold;
}
+.categorynumber {
+ font-size: larger;
+ font-weight: bold;
+}
+
.coursename {
}
}
TABLE.calendarmini {
- width: 100%;
+ width: 100%;
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
TABLE.calendarmonth {
- width: 100%;
+ width: 100%;
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
TABLE.calendarmini TBODY TD {
text-align: center;
vertical-align: center;
- width: 14%;
border-width: 2px;
border-color: <?PHP echo $THEME->cellcontent2?>;
border-style: solid;
}
.cal_event_global {
- background-color: #99cc99;
- border: 2px #99cc99 solid !important;
+ background-color: #2EBA0E;
+ border: 2px #2EBA0E solid !important;
}
.cal_event_course {
}
.cal_event_group {
- background-color: orange;
- border: 2px orange solid !important;
+ background-color: #FBBB23;
+ border: 2px #FBBB23 solid !important;
}
.cal_event_user {
- background-color: #ffcc99;
- border: 2px #ffcc99 solid !important;
+ background-color: #A1BECB;
+ border: 2px #A1BECB solid !important;
}
.cal_duration_global {
- border-top: 2px #99cc99 solid !important;
- border-bottom: 2px #99cc99 solid !important;
+ border-top: 2px #2EBA0E solid !important;
+ border-bottom: 2px #2EBA0E solid !important;
}
.cal_duration_course {
}
.cal_duration_user {
- border-top: 2px #ffcc99 solid !important;
- border-bottom: 2px #ffcc99 solid !important;
+ border-top: 2px #A1BECB solid !important;
+ border-bottom: 2px #A1BECB solid !important;
}
.cal_duration_group {
- border-top: 2px orange solid !important;
- border-bottom: 2px orange solid !important;
+ border-top: 2px #FBBB23 solid !important;
+ border-bottom: 2px #FBBB23 solid !important;
}
.cal_weekend {
}
TABLE.calendarmonth THEAD TD {
- text-align: center;
+ text-align: center;
vertical-align: center;
padding-bottom: 3px;
border-bottom: 2px <?PHP echo $THEME->borders?> solid;
}
.sideblockmain .cal_event {
- font-size: 0.8em;
- font-weight: bold;
+ font-size: 0.8em;
+ font-weight: bold;
}
+
.sideblockmain .cal_event_date {
font-size: 0.6em;
}
.mycalendar {
- -moz-border-radius-bottomleft: 20px;
+ -moz-border-radius-bottomleft: 20px;
-moz-border-radius-bottomright: 20px;
}
}
.mycalendar TABLE.cal_filters {
- width: 100%;
+ width: 100%;
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.mycalendar .cal_filters THEAD TD {
- border-bottom: 2px <?PHP echo $THEME->borders?> solid;
+ border-bottom: 2px <?PHP echo $THEME->borders?> solid;
margin: 0px;
padding: 2px;
}
.mycalendar .cal_event_table {
- width: 100%;
+ width: 100%;
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
margin-bottom: 4px;
}
-.calendarexpired {
- color: red;
- font-weight: bold;
-}
-
.calendarreferer {
font-weight: bold;
}
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background: <?php echo $THEME->cellheading2 ?>;
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
\r
.cal_popup_fg {\r
background-color: <?php echo $THEME->cellcontent?>;\r
- font-size: 11px;\r
- padding: 0px;\r
- margin: 0px;\r
}\r
\r
.cal_popup_bg {\r
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\r
font-size: 10px;\r
font-weight: bold;\r
- margin: 5px;\r
}\r
\r
+\r
.cal_popup_close {\r
- background-color: #E3DFD4;\r
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\r
- font-size: 10px;\r
+ font-size: 75%;\r
font-weight: bold;\r
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\r
margin-right: 5px;\r
}\r
\r
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
font-size: 75%;
font-weight: bold;
- font-family: Tahoma, Helvetica, sans-serif;
+ font-family: sans-serif;
margin-right: 5px;
}
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
font-size: 75%;
font-weight: bold;
- font-family: Tahoma, Helvetica, sans-serif;
+ font-family: sans-serif;
margin-right: 5px;
}
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
font-size: 75%;
font-weight: bold;
- font-family: Tahoma, Helvetica, sans-serif;
+ font-family: sans-serif;
margin-right: 5px;
}
}
.cal_popup_fg {
- background-color: <?php echo $THEME->cellcontent?>;
- font-size: 75%;
- font-family: Courier;
- padding: 0px;
- margin: 0px;
+ background-color: <?php echo $THEME->cellcontent?>;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
-border-bottom: 2px #663300 solid;
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
- padding: 0px;
- margin: 0px;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
+ background-image: url(<?PHP echo "$themeurl"?>/images/gradient.jpg);
+ padding: 0px;
+ margin: 0px;
}
.cal_popup_caption {
- font-size: 75%;
- font-weight: bold;
- font-family: sans-serif;
- margin: 5px;
+ font-size: 75%;
+ font-weight: bold;
+ font-family: sans-serif;
}
.cal_popup_close {
font-size: 75%;
font-weight: bold;
- font-family: Tahoma, Helvetica, sans-serif;
+ font-family: sans-serif;
margin-right: 5px;
}
+
.sideblock .cal_controls {
text-align: center;
font-size: 9px;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;
.cal_popup_close {
font-size: 75%;
font-weight: bold;
- font-family: Tahoma, Helvetica, sans-serif;
+ font-family: sans-serif;
margin-right: 5px;
}
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;
}
.cal_popup_bg {
- border-top: 2px #ffcc66 solid;
- border-left: 2px #ffcc66 solid;
- border-right: 2px #663300 solid;
- border-bottom: 2px #663300 solid;
+ border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
+ border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
+ border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
padding: 0px;
margin: 0px;