egroupware_official/calendar/templates/default/app.css

536 lines
11 KiB
CSS
Raw Normal View History

/* $Id$ */
.inputFullWidth input { width: 100%; }
/******************************************************************
* CSS settings for the day, week and month view (timeGridWidget) *
******************************************************************/
/*
Names used in the "graphic" are the css classes from this file.
The function names in class uiviews have the leading cal removed and a trailing Widget added:
e.g. the div with class calTimeGrid is generated by the timeGridWidget method of uiviews.
+++ calTimeGrid +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ #### calDayCols[12h|NoGrip] ###########################################################
+ #... calDayCol ............................. ... calDayCol ..........................
+ #.+- calDayColHeader ---------------------+. .+- calDayColHeader ------------------+.
+ #.| |. .| |.
+ #.+---------------------------------------+. .+------------------------------------+.
+.calTimeRowTime.#.** calEventCol ***** ** calEventCol *****. .** calEventCol ***********************.
+. .#.* * * *. .* *.
+. .#.* * * *. .* *.
+................#.*+- calEvent -----+* * *. .* *.
+.calTimeRowTime.#.*| |* * *. .*+- calEvent[Private] --------------+*.
+. .#.*| |* *+- calEvent -----+*. .*| |*.
+. .#.*+----------------+* *| |*. .*| |*.
+................#.* * *| |*. .*| |*.
+.calTimeRowTime.#.* * *+----------------+*. .*| |*.
+. .#.* * * *. .*+----------------------------------+*.
*/
.redItalic { color: red; font-style: italic; }
.size120b { font-size: 120%; font-weight: bold; }
/* marks a day in the colum-header as today
*/
.calToday{
background: #ffffcc;
}
/* marks a day in the colum-header as holiday
*/
.calHoliday{
background: #dac0c0;
}
/* marks a day in the column-header additionaly as birthday of some contact,
* it should work together with the backgrounds of calToday, calHoliday, th, row_on and row_off
*/
.calBirthday,.calBirthday a{
color: black;
font-weight: bold;
font-style: italic;
}
/* timeGridWidget, contains timeRow's and dayCol's
*/
.calTimeGrid{
position: relative;
top: 0px;
left: 0px;
border:1px solid silver;
width: 99%;
/* set via inline style on runtime:
* height:
*/
}
/* single row in the time-line, always used in conjunction with row_{on|off}, you dont need to set a bgcolor, but you can
*/
.calTimeRow,.calTimeRowOff{
position: absolute;
width: 100%;
/* set via inline style on runtime:
* height:
* top:
*/
}
.calTimeRow{
/* background-color: silver; */
}
/* time in a timeRow
*/
.calTimeRowTime{
padding-left: 5px;
height: 100%;
line-height: 14px;
font-size:8pt;
text-align: left;
}
/* contains (multiple) dayCol's
*/
.calDayCols,.calDayCols12h,.calDayColsNoGrid{
position: absolute;
top: 0px;
/* bottom: 0px; does NOT work in IE, IE needs height: 100%! */
height: 100%;
left: 45px;
right: 0px;
}
/* 12h timeformat with am/pm
*/
.calDayCols12h{
left: 65px;
}
/* no time grid --> no time column
*/
.calDayColsNoTime{
left: 0px;
}
/* contains (multiple) eventCol's
*/
.calDayCol{
position: absolute;
top: 0px;
height: 100%;
/* set via inline style on runtime:
* left:
* width:
*/
border-left: 1px solid silver;
}
/* header for the dayCol
*/
.calDayColHeader,.calGridHeader{
position: absolute;
top: 0px;
2006-06-24 19:11:35 +02:00
left: 0px;
width: 100%;
2006-06-24 19:11:35 +02:00
right: 0px; /* does not work in IE, but looks better in other browsers then width:100% */
text-align: center;
font-size: 100%;
white-space: nowrap;
2006-06-24 19:11:35 +02:00
border-bottom: 1px solid silver;
border-right: 1px solid silver;
height: 16px;
line-height: 16px;
2006-07-20 09:59:02 +02:00
z-index: 30;
2006-06-24 19:11:35 +02:00
}
.calDayColHeader img {
vertical-align: middle;
}
.calViewUserNameBox {
position: absolute;
top: -1px;
width: 95%;
text-align: left;
font-size: 120%;
white-space: nowrap;
border: 1px solid gray;
height: 17px;
left: -1px;
padding-top: 0px;
padding-left: 10px;
background: #dac0c0;
}
.calViewUserName {
font-weight: normal;
}
.calViewUserName:first-letter {
text-transform:uppercase;
}
.calViewUserNameFirst {
}
.calViewUserNameFirst:after {
content: ", ";
}
/* header of the time-grid, eg. for the weeks in the month-view (leftmost of the day-col-headers)
*/
.calGridHeader{
text-align: left;
padding-left: 3px;
}
/* contains (multiple) events's
*/
.calEventCol{
position: absolute;
top: 0px;
/* bottom: 0px; does NOT work in IE, IE needs height: 100%! */
height: 100%;
/* set via inline style on runtime:
* left:
* width:
*/
}
/* contains one event: header-row & -body
*/
.calEvent,.calEventPrivate{
position: absolute;
left: 0px;
right: 0px;
overflow: hidden;
z-index: 20;
border-width: 1px;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
/* set via inline style on runtime:
* top: depending on startime
* height: depending on length
* border-color: depending on category
* background: depending on category (shade)
*/
}
.calEvent:hover{
cursor: pointer;
}
/**
* All participants accepted the invitation
*/
.calEventAllAccepted {
border-style: solid;
border-width: 1px;
}
/**
* All participants answered the invitation, but not all accepted
*/
.calEventAllAnswered {
border-style: dotted;
border-width: 2px;
}
/**
* Some participants did NOT answer the invitation
*/
.calEventSomeUnknown {
border-style: dashed;
border-width: 1px;
}
.calEventTooltip{
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
max-height: 400px;
overflow: auto;
}
.calAddEvent{
position: absolute;
width: 100%;
z-index: 10;
}
.calAddEvent:hover{
background-color: #D2D7FF;
cursor: pointer;
}
/* header-row of the event
*/
.calEventHeader,.calEventHeaderSmall{
position: relative; /* as the calEventIcons use postion: absolute! */
font-weight: bold;
font-size: 9pt;
text-align: left;
left: 0px;
right: 0px;
padding-left: 2px;
/* set via inline style on runtime
* background-color: depending on category
* color: white || black depending on cat;
*/
}
.calEventHeaderSmall{
font-size: 8pt;
line-height: 10pt;
}
.calEventIcons{
position: absolute;
right: 0px;
top: 0px;
}
.calEventIcons img{
height: 16px;
}
.calEventHeaderSmall .calEventIcons img{
2006-06-24 19:11:35 +02:00
height: 13px;
}
/* body of the event
*/
.calEventBody,.calEventBodySmall{
padding: 0px 3px 0px;
left: 2px;
right: 2px;
height: 99%;
}
.calEventBodySmall{
font-size: 95%;
}
2006-06-24 19:11:35 +02:00
.calEventLabel{
font-weight: bold;
font-size: 90%;
}
2006-06-24 19:11:35 +02:00
.calEventTitle{
font-weight: bold;
font-size: 110%;
}
/* table of the dayView containing 2 cols: 1) day-view, 2) todos
*/
.calDayView{
width: 100%;
}
/* calDayTods is the day-view's todo column, containing the calDayTodoHeader and the calDayTodoTable
*/
.calDayTodos .calDayTodosHeader {
margin: 0px;
padding: 2px;
font-weight: bold;
}
.calDayTodos .calDayTodosTable {
overflow: auto;
max-height: 400px;
}
.calDayTodos {
width: 250px;
margin-left: 10px;
border: 1px solid silver;
2004-03-13 00:43:25 +01:00
}
2005-11-19 20:07:53 +01:00
.calDayTodosHeader {
text-align: center;
}
/******************************************************
* CSS settings for the planner views (plannerWidget) *
******************************************************/
/* plannerWidget represents the whole planner, consiting of the plannerHeader and multiple plannerRowWidgets
*/
.plannerWidget {
position: relative;
top: 0px;
left: 0px;
width: 99.5%;
border: 1px solid gray;
padding-right: 3px;
}
/* plannerHeader contains a plannerHeaderTitle and multiple plannerHeaderRows
*/
.plannerHeader {
position: relative;
top: 0px;
left: 0px;
width: 100%;
}
/* plannerRowWidget contains a plannerRowHeader and multiple eventRowWidgets in an eventRows
*/
.plannerRowWidget {
position: relative;
top: 0px;
left: 0px;
width: 100%;
}
/* plannerScale represents a scale-row of the plannerHeader, containing multiple planner{Day|Week|Month}Scales
*/
2010-01-15 04:53:12 +01:00
.plannerScale,.plannerScaleDay {
position: relative;
top: 0px;
left: 0%;
width: 100%;
height: 20px;
line-height: 20px;
}
.plannerScaleDay {
height: 28px;
line-height: 14px;
2004-03-13 00:43:25 +01:00
}
2010-01-15 04:53:12 +01:00
.plannerDayScale,.plannerMonthScale,.plannerWeekScale,.plannerHourScale,.plannerDayOfMonthScale {
position: absolute;
top: 0px;
/* left+width: is set by the code on runtime */
text-align: center;
height: 100%;
border: 1px solid white;
/* set via inline style on runtime:
* left:
* width:
*/
}
.plannerHourScale {
font-size: 90%;
2004-03-13 00:43:25 +01:00
}
.plannerDayScale {
font-size: 90%;
2004-03-13 00:43:25 +01:00
}
.plannerWeekScale {
line-height: 20px;
2004-03-13 00:43:25 +01:00
}
.plannerMonthScale {
2004-03-13 00:43:25 +01:00
font-weight: bold;
}
2010-01-15 04:53:12 +01:00
.plannerDayScale img,.plannerWeekScale img,.plannerMonthScale img,.plannerDayOfMonthScale img {
vertical-align: middle;
2004-03-13 00:43:25 +01:00
}
/* plannerRowHeader contains the user or category name of the plannerRowWidget
*/
.plannerRowHeader, .plannerHeaderTitle {
position: absolute;
top: 0px;
left: 0%;
width: 15%; /* need to be identical for plannerRowHeader and plannerHeaderTitle and match left of eventRows/plannerHeaderRows */
2004-03-13 00:43:25 +01:00
height: 100%;
line-height: 20px;
border: 1px solid white;
2004-03-13 00:43:25 +01:00
}
/* eventRows contain multiple eventRowWidgets
*/
.eventRows, .plannerHeaderRows {
position: relative;
top: 0px;
left: 15%; /* need to be identical for eventRows and plannerHeaderRows and match width of plannerRowHeader/plannerHeaderTitle */
width: 85%;
2004-03-13 00:43:25 +01:00
}
/**
* Filler for month with less then 31 days in yearly planner
*/
.eventRowsFiller {
position: absolute;
top: 0px;
height: 93%;
background-color: white;
border: 1px dashed gray;
border-right: none;
}
/**
* Weekend or other special days in yearly planner
*/
.eventRowsMarkedDay {
position: absolute;
top: 0px;
height: 100%;
z-index: 10;
}
/* eventRowWidget contains non-overlapping events
*/
.eventRowWidget {
position: relative;
top: 0px;
left: 0px;
width: 100%;
height: 20px;
border: 1px solid white;
2004-03-13 00:43:25 +01:00
}
.plannerEvent,.plannerEventPrivate{
position: absolute;
top: 0px;
height: 100%;
overflow: hidden;
z-index: 20;
border: 1px solid black;
/* set via inline style on runtime:
* left: depending on startime
* width: depending on length
* background-color: depending on category
*/
2004-03-13 00:43:25 +01:00
}
.plannerEvent img,.plannerEventPrivate img {
padding-top: 2px;
}
.plannerEvent:hover{
cursor: pointer;
}
/* Special colors for the year view */
.cal_year_legend_weekend {
background-color: #CCCCCC;
}
.cal_year_legend {
background-color: #EFEFEF;
}
.cal_year_free {
background-color: #FFFFCC;
z-index: 0;
}
.cal_year_weekend {
background-color: #F9F9CC;
z-index: 0;
}
.cal_year_today {
border-color: #EE0000;
border-width: 2px;
}
/**
* edit series or exception popup used in eventWidget and
* delete series and exceptions popup used in edit event
*/
#delete_series,#edit_series {
position: fixed;
top: 200px;
left: 500px;
z-index: 20000;
display: none;
border-collapse:collapse;
border-spacing:0px
}
#delete_series {
top: 100px;
left: 200px;
}
#delete_series input,#edit_series input {
margin: 8px;
}
#dialog-content {
display:block;
height:100px;
padding:6px;
color:#666666;
font-size:13px;
margin: -2px -1px 0px -2px;
width:410px;
}