devdaily home | career | drupal | java | mac | mysql | perl | php | uml | unix
[an error occurred while processing this directive]

Drupal example source code file (calendar.css)

This example Drupal source code file (calendar.css) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

background, calendar, calendar_links, color, display, eee, fff, float, have, important, left, must, padding, width

The calendar.css Drupal example source code

/* Main Style Sheet for jQuery Calendar */
#calendar_div, .calendar_inline {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	padding: 0;
	margin: 0;
	background: #fff;
}
#calendar_div {
	display: none;
	border: 1px solid #999;
	z-index: 10; /*must have*/
}
#calendar_div, .calendar_control, .calendar_links, .calendar_header, .calendar {
	width: 185px;
}
.calendar_inline {
	float: left;
	display: block;
	border: 0;
}
.calendar_dialog {
	padding: 5px !important;
	border: 4px ridge #ddd !important;
}
button.calendar_trigger {
	width: 25px;
}
img.calendar_trigger {
	margin: 2px;
	vertical-align: middle;
}
.calendar_prompt {
	float: left;
	width: 181px;
	padding: 2px;
	background: #ddd;
	color: #000;
}
* html .calendar_prompt {
	width: 185px;
}
.calendar_control, .calendar_links, .calendar_header, .calendar {
	clear: both;
	float: left;
	color: #000;
}
.calendar_control, .calendar_header {
	background: #eee;
}
.calendar_links {
	background: #fff;
}
.calendar_control, .calendar_links {
	font-size: 80%;
	letter-spacing: 1px;
	background: #eee;
}
.calendar_links label { /* disabled links */
	padding: 2px 5px;
	color: #666;
}
.calendar_clear, .calendar_prev {
	float: left;
	width: 35px;
}
.calendar_current {
	float: left;
	width: 80px;
	text-align: center;
}
.calendar_close, .calendar_next {
	float: right;
	width: 35px;
}
.calendar_header {
	background: #ddd;
	text-align: center;
}
.calendar_header select {
	background: #ddd;
	color: #000;
	border: 0px;
}
.calendar {
	background: #fff;
	text-align: center;
	font-size: 100%;
}
.calendar a {
	display: block;
	width: 100%;
}
.calendar .calendar_titleRow {
	background: #eee;
}
.calendar .calendar_daysRow {
	background: #fff;
	color: #666;
}
.calendar .calendar_daysCell {
	color: #000;
	border: 1px solid #fff;
}
#calendar .calendar_daysCell a{
	display: block;
}
.calendar .calendar_weekEndCell {
	background: #fff;
}
.calendar .calendar_daysCellOver {
	background: #fff;
	border: 1px solid #777;
}
.calendar .calendar_unselectable {
	color: #333;
}
.calendar_today {
	background: #eee !important;
}
.calendar_currentDay {
	background: #ddd !important;
}

/* ________ CALENDAR LINKS _______

** Reset link properties and then override them with !important */
#calendar_div a, .calendar_inline a {
	cursor: pointer;
	margin: 0;
	padding: 0;
	background: none;
	color: #000;
}
.calendar_inline .calendar_links a {
	padding: 0 5px !important;
}
.calendar_control a, .calendar_links a {
	padding: 2px 5px !important;
	color: #333 !important;
}
.calendar_titleRow a {
	color: #333 !important;
}
.calendar_control a:hover {
	background: #eee !important;
	color: #333 !important;
}
.calendar_links a:hover, .calendar_titleRow a:hover {
	background: #eee !important;
	color: #333 !important;
}

/* ___________ IE6 IFRAME FIX ________ */

.calendar_cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 193px; /*must have to match width and borders*/
    height: 200px; /*must have to match maximum height*/
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal calendar.css source code file:

new blog posts


 


"Drupal" is a registered trademark of Dries Buytaert.

our drupal tutorials and examples  
 
Sponsored by:
Mat-Su Valley Programming (Wasilla and Palmer, Alaska)

Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.