2013-11-18 20:57:38 +01:00
/* $Id$ */
2014-11-04 16:34:51 +01:00
/*Media print classes*/
@ media print {
. th td , . row_on td , . row_off td {
border : none ! important ;
}
img . calendar_print_button {
display : none ! important ;
}
tr . calendar_print_cat {
border-bottom : 1px solid gray ;
}
}
2015-06-10 23:51:28 +02:00
/ * *
* Sidebox
* /
# calendar-sidebox_owner {
2015-10-14 16:32:33 +02:00
width : 90 % ;
2015-06-10 23:51:28 +02:00
}
2015-11-23 23:44:16 +01:00
# calendar-sidebox_owner ~ * {
vertical-align : top ;
display : inline-block ;
}
2015-06-10 23:51:28 +02:00
# calendar-sidebox_cat_id {
2015-10-14 16:32:33 +02:00
width : 90 % ;
2015-06-10 23:51:28 +02:00
}
2015-11-23 23:44:16 +01:00
# calendar-sidebox_cat_id ~ * {
vertical-align : top ;
display : inline-block ;
}
2015-06-10 23:51:28 +02:00
# calendar-sidebox_buttons tbody {
width : 100 % ;
}
2015-12-02 00:49:14 +01:00
# calendar-sidebox_date_header > button {
width : 45 % ;
}
2015-11-06 01:37:23 +01:00
# calendar-sidebox_weekend {
/* Special css styling goes here */
}
2015-08-24 19:28:19 +02:00
# calendar-sidebox_date td . ui-datepicker-week-col {
cursor : pointer ;
}
# calendar-sidebox_date . calendar_calHoliday {
background : inherit ;
}
# calendar-sidebox_date . calendar_calHoliday a {
background-color : # dac0c0 ;
}
2015-06-10 23:51:28 +02:00
# calendar-todo {
2015-10-21 21:53:19 +02:00
position : absolute ;
2015-06-10 23:51:28 +02:00
width : 30 % ;
2015-10-21 21:53:19 +02:00
/* Nice transition when changing days in a week */
transition : 1s ease-in-out ;
}
# calendar-view {
width : 100 % ;
transition : width 1s ease-in-out ;
2015-06-10 23:51:28 +02:00
}
2014-03-12 14:42:34 +01:00
/* Header classes */
2014-03-11 11:45:02 +01:00
tr . dialogHeader td , tr . dialogHeader2 td , tr . dialogHeader3 td , tr . dialogHeader4 td ,
tr . dialogOperators td , . dialogFooterToolbar {
padding : 5px 0 5px 0 ;
vertical-align : middle ;
}
2013-11-18 20:57:38 +01:00
. calendar_inputFullWidth input { width : 100 % ; }
2005-11-09 00:15:14 +01:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* CSS settings for the day , week and month view ( timeGridWidget ) *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2013-11-18 20:57:38 +01:00
2006-05-31 02:33:27 +02:00
/ *
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 :
2013-11-11 15:02:08 +01:00
e . g . the div with class calendar_calTimeGrid is generated by the timeGridWidget method of uiviews .
2006-05-31 02:33:27 +02:00
2013-11-11 15:02:08 +01:00
+ + + calendar_calTimeGrid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ # # # # calendar_calDayCols [ 12h | NoGrip ] # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+ # . . . calendar_calDayCol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . calendar_calDayCol . . . . . . . . . . . . . . . . . . . . . . . . . .
+ # . + - calendar_calDayColHeader --------------------- + . . + - calendar_calDayColHeader ------------------ + .
2006-05-31 02:33:27 +02:00
+ # . | | . . | | .
+ # . + --------------------------------------- + . . + ------------------------------------ + .
2013-11-11 15:02:08 +01:00
+ . calendar_calTimeRowTime . # . * * calendar_calEventCol * * * * * * * calendar_calEventCol * * * * * . . * * calendar_calEventCol * * * * * * * * * * * * * * * * * * * * * * * .
2006-05-31 02:33:27 +02:00
+ . . # . * * * * . . * * .
+ . . # . * * * * . . * * .
2013-11-11 15:02:08 +01:00
+ . . . . . . . . . . . . . . . . # . * + - calendar_calEvent ----- + * * * . . * * .
+ . calendar_calTimeRowTime . # . * | | * * * . . * + - calendar_calEvent [ Private ] -------------- + * .
+ . . # . * | | * * + - calendar_calEvent ----- + * . . * | | * .
2006-05-31 02:33:27 +02:00
+ . . # . * + ---------------- + * * | | * . . * | | * .
+ . . . . . . . . . . . . . . . . # . * * * | | * . . * | | * .
2013-11-11 15:02:08 +01:00
+ . calendar_calTimeRowTime . # . * * * + ---------------- + * . . * | | * .
2006-05-31 02:33:27 +02:00
+ . . # . * * * * . . * + ---------------------------------- + * .
* /
2013-11-18 20:57:38 +01:00
2014-01-07 11:34:11 +01:00
/ * custom ui-tooltip style for calendar
* /
. calendar_uitooltip {
padding : 0px ;
position : absolute ;
border : none ;
max-height : 400px ;
z-index : 9999 ;
max-width : 300px ;
-webkit-box-shadow : 0 0 5px ;
-moz-box-shadow : 0 0 5px ;
box-shadow : 0 0 5px ;
}
2013-11-18 20:57:38 +01:00
. calendar_size120b { font-size : 120 % ; font-weight : bold ; }
2005-11-09 00:15:14 +01:00
/ * marks a day in the colum-header as today
* /
2013-11-18 20:57:38 +01:00
. calendar_calToday {
background : # ffffcc ;
2005-11-09 00:15:14 +01:00
}
2014-02-25 15:20:27 +01:00
. calendar_calWeek {
background : # ffffcc ;
width : auto ;
margin : 0 auto ;
text-align : center ;
}
. calendar_calMonth {
background : # ffffcc ;
width : auto ;
margin : 0 auto ;
text-align : center ;
}
2005-11-09 00:15:14 +01:00
/ * marks a day in the colum-header as holiday
* /
2013-11-18 20:57:38 +01:00
. calendar_calHoliday {
background : # dac0c0 ;
2005-11-09 00:15:14 +01:00
}
/ * marks a day in the column-header additionaly as birthday of some contact ,
2013-11-11 15:02:08 +01:00
* it should work together with the backgrounds of calendar_calToday , calendar_calHoliday , th , row_on and row_off
2005-11-09 00:15:14 +01:00
* /
2013-11-18 20:57:38 +01:00
. calendar_calBirthday , . calendar_calBirthday a {
color : black ;
font-weight : bold ;
font-style : italic ;
2005-11-09 00:15:14 +01:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * timeGridWidget , contains timeRow 's and dayCol' s
* /
2013-11-18 20:57:38 +01:00
. calendar_calTimeGrid {
position : relative ;
top : 0px ;
left : 0px ;
2015-07-02 21:31:52 +02:00
-webkit-touch-callout : none ;
-webkit-user-select : none ;
-khtml-user-select : none ;
-moz-user-select : none ;
-ms-user-select : none ;
user-select : none ;
2015-10-06 01:45:51 +02:00
overflow : hidden ;
2015-11-12 02:01:21 +01:00
display : flex ;
flex-direction : column ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2015-10-06 01:45:51 +02:00
. calendar_calTimeGrid . calendar_calTimeGridScroll {
2015-10-28 16:55:10 +01:00
position : relative ;
2015-10-06 01:45:51 +02:00
bottom : 0px ;
width : 100 % ;
overflow-y : auto ;
overflow-x : hidden ;
}
2015-08-25 02:00:45 +02:00
2015-10-06 01:45:51 +02:00
/ * single row in the time-line you dont need to set a bgcolor , but you can
2004-08-01 17:36:04 +02:00
* /
2015-05-06 21:03:45 +02:00
. calendar_calTimeRow {
2013-11-18 20:57:38 +01:00
width : 100 % ;
/ * set via inline style on runtime :
2004-08-01 17:36:04 +02:00
* height :
2005-11-09 00:15:14 +01:00
* top :
2004-08-01 17:36:04 +02:00
* /
}
2015-05-06 21:03:45 +02:00
. calendar_calTimeRow : nth-child ( odd ) {
background-color : rgba ( 0 , 0 , 0 , 0 . 01 ) ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * time in a timeRow
* /
2013-11-18 20:57:38 +01:00
. calendar_calTimeRowTime {
padding-left : 5px ;
height : 100 % ;
line-height : 14px ;
font-size : 8pt ;
text-align : left ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * contains ( multiple ) dayCol ' s
* /
2013-11-18 20:57:38 +01:00
. calendar_calDayCols , . calendar_calDayCols12h , . calendar_calDayColsNoGrid {
position : absolute ;
2015-10-06 01:45:51 +02:00
top : 0px ;
/* bottom: 0px; does NOT work in IE, IE needs height: 100%! */
2013-11-18 20:57:38 +01:00
height : 100 % ;
2015-11-17 21:19:47 +01:00
left : 58px ;
2013-11-18 20:57:38 +01:00
right : 0px ;
2015-10-21 21:53:19 +02:00
white-space : nowrap ;
2006-03-07 09:42:06 +01:00
}
/ * 12h timeformat with am / pm
2004-08-01 17:36:04 +02:00
* /
2013-11-18 20:57:38 +01:00
. calendar_calDayCols12h {
left : 65px ;
2004-08-01 17:36:04 +02:00
}
2006-05-31 02:33:27 +02:00
/ * no time grid -- > no time column
* /
2013-11-18 20:57:38 +01:00
. calendar_calDayColsNoTime {
left : 0px ;
2006-05-31 02:33:27 +02:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * contains ( multiple ) eventCol ' s
* /
2013-11-18 20:57:38 +01:00
. calendar_calDayCol {
position : absolute ;
top : 0px ;
2015-10-06 01:45:51 +02:00
height : 100 % ; / * set via inline style on runtime :
2004-08-01 17:36:04 +02:00
* left :
* width :
* /
2015-10-06 01:45:51 +02:00
border-left : 1px solid silver ; /* Nice transition when changing days in a week */
2015-05-06 21:03:45 +02:00
-webkit-transition : 0 . 1s ease-in-out ;
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
/ * Calendar Id #
* /
2014-02-06 18:36:03 +01:00
. calendar_calId : before { }
# calendar-edit_id : before { content : "#" }
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * header for the dayCol
* /
2015-10-06 01:45:51 +02:00
. calendar_calDayColHeader , . calendar_calGridHeader , . calendar_calGridHeader > div {
2013-11-18 20:57:38 +01:00
font-size : 100 % ;
line-height : 16px ;
2015-09-03 00:40:38 +02:00
}
. calendar_calDayColHeader {
2015-11-12 17:27:39 +01:00
display : inline-block ;
2015-10-28 16:55:10 +01:00
position : relative ;
2015-10-21 21:53:19 +02:00
vertical-align : top ;
2015-10-28 16:55:10 +01:00
border-right : 1px solid silver ;
height : initial ;
2015-11-16 19:31:09 +01:00
min-height : 2em ;
2015-10-21 21:53:19 +02:00
/* Nice transition when changing days in a week */
transition : width 1s ease-in-out ;
2015-09-03 00:40:38 +02:00
z-index : 30 ;
2015-10-28 16:55:10 +01:00
white-space : initial ;
2015-11-13 00:10:16 +01:00
padding-bottom : 2ex ;
2006-06-24 19:11:35 +02:00
}
2015-10-21 21:53:19 +02:00
. calendar_calDayColHeader > div [ data-date ] {
height : 16px ;
2015-10-28 16:55:10 +01:00
text-align : center ;
border-bottom : 1px solid silver ;
}
2015-11-04 22:47:52 +01:00
/* Indicators for offscreen events */
. calendar_calDayColHeader . hiddenEventBefore , . calendar_calDayCol . hiddenEventAfter {
width : 80 % ;
left : 10 % ;
position : absolute ;
border-radius : 5px ;
2015-11-05 23:31:47 +01:00
border : 6px solid ;
border-left : 0px ;
border-right : 0px ;
overflow : hidden ;
2015-11-04 22:47:52 +01:00
z-index : 40 ;
}
. calendar_calDayColHeader . hiddenEventBefore {
2015-12-17 21:12:10 +01:00
height : 2px ;
bottom : -6px ;
2015-11-04 22:47:52 +01:00
border-top : none ;
}
2015-11-05 00:05:22 +01:00
. calendar_calDayColHeader . hiddenEventBefore : hover {
2015-11-05 23:31:47 +01:00
bottom : -20px ;
height : 16px ;
border-left : 1px ;
border-right : 1px ;
border-top-left-radius : 0px ;
2015-12-16 19:39:05 +01:00
border-top-right-radius : 0px ;
2015-11-05 23:31:47 +01:00
background-color : white ;
2015-11-05 00:05:22 +01:00
}
2015-11-04 22:47:52 +01:00
. calendar_calDayCol . hiddenEventAfter {
border-bottom : none ;
2015-11-05 23:31:47 +01:00
height : 6px ;
2015-11-04 22:47:52 +01:00
}
2015-11-05 00:05:22 +01:00
. calendar_calDayCol . hiddenEventAfter : hover {
2015-11-05 23:31:47 +01:00
margin-top : -20px ;
height : 20px ;
background-color : white ;
2015-11-05 00:05:22 +01:00
}
2015-11-04 22:47:52 +01:00
2015-10-28 16:55:10 +01:00
. calendar_calDayColAllDay {
display : flex ;
flex-wrap : wrap ;
2015-11-12 02:01:21 +01:00
flex-direction : row ;
align-items : flex-start ;
2015-10-28 16:55:10 +01:00
width : 100 % ;
2015-11-12 02:01:21 +01:00
}
. calendar_calDayColAllDay > . calendar_calEventBodySmall {
white-space : nowrap ;
2015-10-21 21:53:19 +02:00
}
2015-10-06 01:45:51 +02:00
. calendar_calGridHeader > div {
2015-10-28 16:55:10 +01:00
position : relative ;
height : 100 % ;
2015-11-17 21:19:47 +01:00
margin-left : 55px ;
2015-10-06 01:45:51 +02:00
width : initial ;
2015-10-21 21:53:19 +02:00
white-space : nowrap ;
2015-11-06 01:41:08 +01:00
border-left : 1px solid silver ;
2015-11-12 17:27:39 +01:00
display : flex ;
align-items : stretch ;
2015-10-06 01:45:51 +02:00
}
2015-10-28 16:55:10 +01:00
. calendar_calGridHeader > label {
float : left ;
}
. calendar_TimeGridNoLabel > . calendar_calGridHeader > ul {
display : none ;
}
2013-11-11 15:02:08 +01:00
. calendar_calDayColHeader img {
2013-11-18 20:57:38 +01:00
vertical-align : middle ;
2004-08-01 17:36:04 +02:00
}
2014-02-25 15:50:35 +01:00
. calendar_calWeekNavHeader , . calendar_calMonthNavHeader {
top : 0px ;
left : 0px ;
width : 100 % ;
right : 0px ;
}
. calendar_calWeekNavHeader , . calendar_calMonthNavHeader img {
vertical-align : middle ;
}
2013-11-11 15:02:08 +01:00
. calendar_calViewUserNameBox {
2013-11-18 20:57:38 +01:00
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 ;
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_calViewUserName {
2013-11-18 20:57:38 +01:00
font-weight : normal ;
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_calViewUserName : first-letter {
2013-11-18 20:57:38 +01:00
text-transform : uppercase ;
}
. calendar_calViewUserNameFirst {
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_calViewUserNameFirst : after {
2013-11-18 20:57:38 +01:00
content : ", " ;
2004-08-01 17:36:04 +02:00
}
2014-05-27 17:02:56 +02:00
/ * alarm_date widget disabled class
* /
. calendar_alarm_date_display {
display : none ;
}
2014-06-04 09:32:17 +02:00
/*overwirte margin applied by egwGridView*/
. calendar_alarm_grid {
margin-left : 0 ! important ;
}
2004-08-01 17:36:04 +02:00
/ * header of the time-grid , eg . for the weeks in the month-view ( leftmost of the day-col-headers )
* /
2013-11-18 20:57:38 +01:00
. calendar_calGridHeader {
text-align : left ;
padding-left : 3px ;
2015-09-03 00:40:38 +02:00
z-index : 29 ;
2015-10-28 16:55:10 +01:00
border-bottom : 1px solid silver ;
2015-11-16 19:31:09 +01:00
min-height : 2ex ;
2015-11-12 02:01:21 +01:00
flex : 0 0 auto ;
2015-09-03 00:40:38 +02:00
}
# calendar-view_view tbody . ui-sortable {
cursor : default ;
}
# calendar-view_view tbody . ui-sortable . calendar_calGridHeader {
cursor : ns-resize ;
}
# calendar-view_view tbody . ui-sortable-disabled . calendar_calGridHeader {
cursor : pointer ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * contains ( multiple ) events ' s
* /
2013-11-18 20:57:38 +01:00
. calendar_calEventCol {
position : absolute ;
top : 0px ;
/* bottom: 0px; does NOT work in IE, IE needs height: 100%! */
height : 100 % ;
/ * set via inline style on runtime :
2004-08-01 17:36:04 +02:00
* left :
* width :
* /
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * contains one event : header-row & -body
* /
2013-11-18 20:57:38 +01:00
. calendar_calEvent , . calendar_calEventPrivate {
position : absolute ;
left : 0px ;
right : 0px ;
overflow : hidden ;
z-index : 20 ;
border-width : 1px ;
border-radius : 6px ;
2015-05-06 21:03:45 +02:00
border-style : solid ;
2015-09-14 17:31:58 +02:00
min-height : 1 . 2em ;
min-width : 5px ;
2013-11-18 20:57:38 +01:00
-moz-border-radius : 6px ;
-webkit-border-radius : 6px ;
2015-06-10 23:51:28 +02:00
/* It is important there are no CSS transitions, it breaks resize */
-webkit-transition : none ;
-moz-transition : none ! important ;
-o-transition : none ! important ;
-ms-transition : none ! important ;
transition : none ! important ;
2013-11-18 20:57:38 +01:00
/ * set via inline style on runtime :
2004-08-01 17:36:04 +02:00
* top : depending on startime
2005-11-09 00:15:14 +01:00
* height : depending on length
2006-06-02 21:38:08 +02:00
* border-color : depending on category
* background : depending on category ( shade )
2015-05-06 21:03:45 +02:00
*
2004-08-01 17:36:04 +02:00
* /
2015-10-09 18:33:34 +02:00
border-color : # 808080 ;
2015-10-07 00:47:45 +02:00
}
2015-11-12 19:22:48 +01:00
2013-11-18 20:57:38 +01:00
. calendar_calEvent : hover {
cursor : pointer ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2015-05-06 21:03:45 +02:00
/ * *
* User has not accepted the invitation
* /
. calendar_calEventUnknown {
2015-11-13 16:51:41 +01:00
border-color : white ;
}
. calendar_calEventUnknown . calendar_calEventBody ,
. calendar_calEventUnknown . calendar_calEventBodySmall {
2015-05-06 21:03:45 +02:00
background-color : white ! important ;
}
2009-11-18 14:58:01 +01:00
/ * *
* All participants accepted the invitation
* /
2013-11-11 15:02:08 +01:00
. calendar_calEventAllAccepted {
2013-11-18 20:57:38 +01:00
border-style : solid ;
border-width : 1px ;
2009-11-18 14:58:01 +01:00
}
2013-11-18 20:57:38 +01:00
2009-11-18 14:58:01 +01:00
/ * *
* All participants answered the invitation , but not all accepted
* /
2013-11-11 15:02:08 +01:00
. calendar_calEventAllAnswered {
2013-11-18 20:57:38 +01:00
border-style : dotted ;
border-width : 2px ;
2015-11-12 19:22:48 +01:00
border-color : white ;
2009-11-18 14:58:01 +01:00
}
2013-11-18 20:57:38 +01:00
2009-11-18 14:58:01 +01:00
/ * *
* Some participants did NOT answer the invitation
* /
2015-11-12 19:22:48 +01:00
. calendar_calEventSomeUnknown : not ( . calendar_calEventUnknown ) {
2013-11-18 20:57:38 +01:00
border-style : dashed ;
border-width : 1px ;
2015-11-12 19:22:48 +01:00
border-color : white ;
}
. calendar_calEvent : not ( [ class * = "cat_" ] ) {
/* Defaults for no category, so we don't override it */
background-color : # 808080 ;
2013-11-18 20:57:38 +01:00
}
2015-10-21 21:53:19 +02:00
/ * *
* Events in the header ( all day )
* /
. calendar_calDayColHeader . calendar_calEvent {
position : static ;
display : inline-block ;
2015-10-28 16:55:10 +01:00
white-space : nowrap ;
/* This determines how many per line */
2015-11-12 22:02:24 +01:00
flex : 1 1 auto ;
2015-10-21 21:53:19 +02:00
}
2015-11-12 02:01:21 +01:00
. calendar_calDayColHeader . calendar_calEvent . calendar_calEventBody {
white-space : nowrap ;
}
2013-11-18 20:57:38 +01:00
. calendar_calEventTooltip {
border-radius : 6px ;
-moz-border-radius : 6px ;
-webkit-border-radius : 6px ;
max-height : 400px ;
2015-11-24 21:05:45 +01:00
min-width : 25ex ;
2013-11-18 20:57:38 +01:00
overflow : auto ;
}
2015-10-15 23:34:07 +02:00
. calendar_calEventTooltip . calendar_calEventBodySmall {
padding-bottom : 1em ;
}
2013-11-18 20:57:38 +01:00
. calendar_calAddEvent {
width : 100 % ;
z-index : 10 ;
2006-06-02 21:38:08 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calAddEvent : hover {
background-color : # D2D7FF ;
cursor : pointer ;
}
2004-08-01 17:36:04 +02:00
/ * header-row of the event
* /
2013-11-18 20:57:38 +01:00
. calendar_calEventHeader , . calendar_calEventHeaderSmall {
position : relative ; /* as the calendar_calEventIcons use postion: absolute! */
font-weight : bold ;
text-align : left ;
left : 0px ;
right : 0px ;
padding-left : 2px ;
2015-09-14 17:31:58 +02:00
min-height : 1em ;
2015-11-12 02:01:21 +01:00
overflow : hidden ;
2013-11-18 20:57:38 +01:00
/ * set via inline style on runtime
2006-06-02 21:38:08 +02:00
* background-color : depending on category
2008-09-13 14:43:14 +02:00
* color : white | | black depending on cat ;
2006-06-02 21:38:08 +02:00
* /
2015-07-01 18:02:20 +02:00
background-color : # 808080 ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventHeaderSmall {
font-size : 8pt ;
line-height : 10pt ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventIcons {
position : absolute ;
right : 0px ;
top : 0px ;
2006-06-02 21:38:08 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventIcons img {
2015-11-24 21:05:45 +01:00
height : 13px ;
2010-01-21 04:00:53 +01:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventHeaderSmall . calendar_calEventIcons img {
height : 13px ;
2006-06-24 19:11:35 +02:00
}
2013-11-18 20:57:38 +01:00
2004-08-01 17:36:04 +02:00
/ * body of the event
* /
2013-11-18 20:57:38 +01:00
. calendar_calEventBody , . calendar_calEventBodySmall {
padding : 0px 3px 0px ;
left : 2px ;
right : 2px ;
height : 99 % ;
2015-11-11 19:48:41 +01:00
white-space : normal ;
2015-05-06 21:03:45 +02:00
/* Gradient */
background-image : -webkit-linear-gradient ( 0deg , rgba ( 255 , 255 , 255 , 0 ) 0 , rgba ( 255 , 255 , 255 , 0 . 85 ) 60 % ) ;
background-image : -moz-linear-gradient ( 90deg , rgba ( 255 , 255 , 255 , 0 ) 0 , rgba ( 255 , 255 , 255 , 0 . 85 ) 60 % ) ;
background-image : linear-gradient ( 90deg , rgba ( 255 , 255 , 255 , 0 ) 0 , rgba ( 255 , 255 , 255 , 0 . 85 ) 60 % ) ;
background-position : 50 % 50 % ;
-webkit-background-origin : padding-box ;
background-origin : padding-box ;
-webkit-background-clip : border-box ;
background-clip : border-box ;
-webkit-background-size : auto auto ;
background-size : auto auto ;
2004-08-01 17:36:04 +02:00
}
2015-11-11 19:48:41 +01:00
. calendar_calEventBody > p , . calendar_calEventBodySmall > p {
white-space : pre-wrap ;
}
2013-11-18 20:57:38 +01:00
. calendar_calEventBodySmall {
font-size : 95 % ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventLabel {
font-weight : bold ;
font-size : 90 % ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
. calendar_calEventTitle {
font-weight : bold ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2005-11-09 00:15:14 +01:00
/ * table of the dayView containing 2 cols : 1 ) day-view , 2 ) todos
2004-08-01 17:36:04 +02:00
* /
2013-11-18 20:57:38 +01:00
. calendar_calDayView {
width : 100 % ;
2005-11-09 00:15:14 +01:00
}
/ * calDayTods is the day-view ' s todo column , containing the calDayTodoHeader and the calDayTodoTable
* /
2013-11-11 15:02:08 +01:00
. calendar_calDayTodos . calendar_calDayTodosHeader {
2013-11-18 20:57:38 +01:00
margin : 0px ;
padding : 2px ;
font-weight : bold ;
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_calDayTodos . calendar_calDayTodosTable {
2013-11-18 20:57:38 +01:00
overflow : auto ;
2015-12-02 17:17:04 +01:00
position : absolute ;
top : 2em ;
bottom : 8px ;
2004-08-01 17:36:04 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_calDayTodos {
2014-08-21 14:20:44 +02:00
width : 98 % ;
2013-11-18 20:57:38 +01:00
margin-left : 10px ;
border : 1px solid silver ;
2004-03-13 00:43:25 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_calDayTodosHeader {
2013-11-18 20:57:38 +01:00
text-align : center ;
2005-11-19 20:07:53 +01:00
}
2013-11-18 20:57:38 +01:00
2005-11-09 00:15:14 +01:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2013-11-11 15:02:08 +01:00
* CSS settings for the planner views ( calendar_plannerWidget ) *
2005-11-09 00:15:14 +01:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2013-11-18 20:57:38 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_plannerWidget represents the whole planner , consiting of the calendar_plannerHeader and multiple plannerRowWidgets
2005-11-09 00:15:14 +01:00
* /
2013-11-11 15:02:08 +01:00
. calendar_plannerWidget {
2013-11-18 20:57:38 +01:00
position : relative ;
top : 0px ;
left : 0px ;
width : 99 . 5 % ;
border : 1px solid gray ;
padding-right : 3px ;
2004-03-14 23:30:50 +01:00
}
2015-10-27 20:08:33 +01:00
. calendar_plannerWidget > div : not ( . calendar_plannerHeader ) {
overflow-y : auto ;
overflow-x : hidden ;
2015-06-25 19:44:28 +02:00
}
2013-11-11 15:02:08 +01:00
/ * calendar_plannerHeader contains a calendar_plannerHeaderTitle and multiple calendar_plannerHeaderRows
2005-11-09 00:15:14 +01:00
* /
2013-11-11 15:02:08 +01:00
. calendar_plannerHeader {
2013-11-18 20:57:38 +01:00
position : relative ;
top : 0px ;
left : 0px ;
2015-06-25 19:44:28 +02:00
background-color : # e0e0e0 ;
2004-03-14 23:30:50 +01:00
}
2013-11-18 20:57:38 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_plannerRowWidget contains a calendar_plannerRowHeader and multiple eventRowWidgets in an calendar_eventRows
2005-11-09 00:15:14 +01:00
* /
2013-11-11 15:02:08 +01:00
. calendar_plannerRowWidget {
2013-11-18 20:57:38 +01:00
position : relative ;
top : 0px ;
left : 0px ;
width : 100 % ;
2015-06-25 19:44:28 +02:00
min-height : 20px ;
2004-03-14 23:30:50 +01:00
}
2015-10-27 20:08:33 +01:00
. calendar_plannerRowWidget : nth-child ( odd ) {
background-color : # ffffff ;
}
. calendar_plannerRowWidget : nth-child ( even ) {
background-color : # f2f2f2 ;
}
2015-11-05 23:31:47 +01:00
. calendar_plannerRowWidget : hover {
background-color : rgba ( 103 , 159 , 210 , 0 . 2 ) ;
}
2013-11-18 20:57:38 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_plannerScale represents a scale-row of the calendar_plannerHeader , containing multiple planner { D a y | W e e k | M o n t h } Scales
2005-11-09 00:15:14 +01:00
* /
2013-11-18 20:57:38 +01:00
. calendar_plannerScale , . calendar_plannerScaleDay {
position : relative ;
top : 0px ;
left : 0 % ;
width : 100 % ;
height : 20px ;
line-height : 20px ;
2004-03-14 23:30:50 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_plannerScaleDay {
2013-11-18 20:57:38 +01:00
height : 28px ;
line-height : 14px ;
}
. calendar_plannerDayScale , . calendar_plannerMonthScale , . calendar_plannerWeekScale , . calendar_plannerHourScale , . calendar_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 :
2008-09-13 14:43:14 +02:00
* left :
* width :
2005-11-09 00:15:14 +01:00
* /
2004-03-10 01:15:12 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_plannerHourScale {
2013-11-18 20:57:38 +01:00
font-size : 90 % ;
2004-03-13 00:43:25 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_plannerDayScale {
2013-11-18 20:57:38 +01:00
font-size : 90 % ;
2004-03-13 00:43:25 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_plannerWeekScale {
2013-11-18 20:57:38 +01:00
line-height : 20px ;
2004-03-13 00:43:25 +01:00
}
2013-11-11 15:02:08 +01:00
. calendar_plannerMonthScale {
2013-11-18 20:57:38 +01:00
font-weight : bold ;
2004-03-13 00:43:25 +01:00
}
2013-11-18 20:57:38 +01:00
. calendar_plannerDayScale img , . calendar_plannerWeekScale img , . calendar_plannerMonthScale img , . calendar_plannerDayOfMonthScale img {
vertical-align : middle ;
2004-03-13 00:43:25 +01:00
}
2013-11-18 20:57:38 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_plannerRowHeader contains the user or category name of the calendar_plannerRowWidget
2005-11-09 00:15:14 +01:00
* /
2013-11-18 20:57:38 +01:00
. calendar_plannerRowHeader , . calendar_plannerHeaderTitle {
position : absolute ;
top : 0px ;
left : 0 % ;
2015-11-05 23:31:47 +01:00
width : 100 % ;
2013-11-18 20:57:38 +01:00
height : 100 % ;
line-height : 20px ;
2015-11-05 23:31:47 +01:00
border-right : 1px solid white ;
2015-11-23 21:51:07 +01:00
text-overflow : ellipsis ;
white-space : nowrap ;
overflow : hidden ;
}
. calendar_plannerRowHeader : hover {
width : initial ! important ;
overflow : visible ;
z-index : 30 ;
background-color : white ;
2004-03-13 00:43:25 +01:00
}
2015-11-23 21:51:07 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_eventRows contain multiple eventRowWidgets
2005-11-09 00:15:14 +01:00
* /
2013-11-18 20:57:38 +01:00
. calendar_eventRows , . calendar_plannerHeaderRows {
position : relative ;
top : 0px ;
left : 15 % ; /* need to be identical for calendar_eventRows and calendar_plannerHeaderRows and match width of calendar_plannerRowHeader/calendar_plannerHeaderTitle */
width : 85 % ;
2015-06-25 19:44:28 +02:00
min-height : 20px ;
height : 100 % ;
2004-03-13 00:43:25 +01:00
}
2015-11-06 23:57:27 +01:00
. calendar_eventRows {
margin-left : 2px ;
}
2015-11-05 23:31:47 +01:00
. calendar_plannerWidget . verticalBar {
2015-11-06 23:57:27 +01:00
width : 8ex ;
2015-11-05 23:31:47 +01:00
height : 100 % ;
position : absolute ;
top : 0px ;
border-right : 1px dotted ;
pointer-events : none ;
z-index : 40 ;
2015-12-16 23:58:26 +01:00
display : none ;
2015-11-05 23:31:47 +01:00
}
2015-11-06 23:57:27 +01:00
. calendar_plannerWidget . verticalBar > span {
position : absolute ;
bottom : 0px ;
right : 0px ;
background-color : rgba ( 255 , 255 , 255 , . 8 ) ;
}
2013-11-18 20:57:38 +01:00
2010-01-17 03:03:11 +01:00
/ * *
* Filler for month with less then 31 days in yearly planner
* /
2013-11-11 15:02:08 +01:00
. calendar_eventRowsFiller {
2013-11-18 20:57:38 +01:00
position : absolute ;
top : 0px ;
height : 93 % ;
background-color : white ;
border : 1px dashed gray ;
border-right : none ;
2010-01-17 03:03:11 +01:00
}
2013-11-18 20:57:38 +01:00
2010-01-17 03:03:11 +01:00
/ * *
* Weekend or other special days in yearly planner
* /
2013-11-11 15:02:08 +01:00
. calendar_eventRowsMarkedDay {
2013-11-18 20:57:38 +01:00
position : absolute ;
top : 0px ;
height : 100 % ;
z-index : 10 ;
2010-01-17 03:03:11 +01:00
}
2015-06-25 19:44:28 +02:00
. calendar_eventRowsMarkedDay . calendar_weekend {
background-color : # e0e0e0 ;
}
2013-11-18 20:57:38 +01:00
2013-11-11 15:02:08 +01:00
/ * calendar_eventRowWidget contains non-overlapping events
2005-11-09 00:15:14 +01:00
* /
2013-11-11 15:02:08 +01:00
. calendar_eventRowWidget {
2013-11-18 20:57:38 +01:00
position : relative ;
top : 0px ;
left : 0px ;
width : 100 % ;
height : 20px ;
border : 1px solid white ;
}
. calendar_plannerEvent , . calendar_plannerEventPrivate {
position : absolute ;
top : 0px ;
height : 100 % ;
overflow : hidden ;
z-index : 20 ;
border : 1px solid black ;
2015-09-14 17:31:58 +02:00
min-width : 5px ;
2013-11-18 20:57:38 +01:00
/ * set via inline style on runtime :
2005-11-09 00:15:14 +01:00
* left : depending on startime
* width : depending on length
* background-color : depending on category
* /
2004-03-13 00:43:25 +01:00
}
2013-11-18 20:57:38 +01:00
. calendar_plannerEvent img , . calendar_plannerEventPrivate img {
padding-top : 2px ;
2004-03-14 23:30:50 +01:00
}
2013-11-18 20:57:38 +01:00
. calendar_plannerEvent : hover {
cursor : pointer ;
2004-08-01 17:36:04 +02:00
}
2013-11-18 20:57:38 +01:00
2010-07-31 09:51:52 +02:00
/* Special colors for the year view */
2013-11-11 15:02:08 +01:00
. calendar_cal_year_legend_weekend {
2013-11-18 20:57:38 +01:00
background-color : # CCCCCC ;
2010-07-31 09:51:52 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_cal_year_legend {
2013-11-18 20:57:38 +01:00
background-color : # EFEFEF ;
2010-07-31 09:51:52 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_cal_year_legend {
2013-11-18 20:57:38 +01:00
background-color : # FFFFCC ;
z-index : 0 ;
2010-07-31 09:51:52 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_cal_year_weekend {
2013-11-18 20:57:38 +01:00
background-color : # F9F9CC ;
z-index : 0 ;
2010-07-31 09:51:52 +02:00
}
2013-11-11 15:02:08 +01:00
. calendar_cal_year_today {
2013-11-18 20:57:38 +01:00
border-color : # EE0000 ;
border-width : 2px ;
2010-07-31 09:51:52 +02:00
}
2013-11-18 20:57:38 +01:00
2010-05-20 11:19:15 +02:00
/ * *
* edit series or exception popup used in eventWidget and
* delete series and exceptions popup used in edit event
* /
2014-06-16 18:49:45 +02:00
2010-05-20 11:19:15 +02:00
# dialog-content {
2013-11-18 20:57:38 +01:00
display : block ;
height : 100px ;
padding : 6px ;
color : # 666666 ;
font-size : 13px ;
margin : -2px -1px 0px -2px ;
width : 410px ;
2010-05-20 11:19:15 +02:00
}
2014-01-24 17:04:11 +01:00
/ * *
* Calendar Drag and Drop
2014-03-12 14:42:34 +01:00
* Class for div to show forbiden drop
2014-01-24 17:04:11 +01:00
* /
2014-02-10 09:53:42 +01:00
. calendar_d-n-d_timeCounter > span {
position : absolute ;
background-color : # 808080 ;
color : white ;
left : 0 ;
width : 100 % ! important ;
align : center ;
border : dashed white 1px ;
border-radius : 1px ;
}
2015-08-11 17:35:54 +02:00
2014-02-10 09:53:42 +01:00
. calendar_timeDemo {
position : absolute ;
bottom : 0 ;
left : 0 ;
background-color : # 808080 ;
color : white ;
width : 100 % ;
2015-08-11 17:35:54 +02:00
min-width : 5em ;
2014-02-10 09:53:42 +01:00
align : center ;
border : dashed white 1px ;
border-radius : 1px ;
}
2014-01-24 17:04:11 +01:00
. calendar_d-n-d_forbiden
{
background-color : red ;
height : 100 % ;
width : 100 % ;
text-align : center ;
}
2014-03-12 14:42:34 +01:00
/*Class for div to demonstrate dragging time*/
2014-01-24 17:04:11 +01:00
. calendar_d-n-d_timeCounter
{
font-size : 1 . 1em ;
font-weight : bold ;
text-align : center ;
}
2015-08-06 19:14:20 +02:00
. calendar_d-n-d_timeCounter . loading
{
width : 16px ;
height : 16px ;
position : absolute ;
bottom : 0px ;
right : 0px ;
}
2014-02-05 11:04:13 +01:00
# calendar-edit_action {
width : 10em ;
padding-left : 10px ;
margin-left : 5px ;
}
2014-07-01 14:03:39 +02:00
# calendar-list_undelete_popup , # calendar-list_delete_popup {
display : none ;
2014-09-04 15:37:46 +02:00
}
. calendar_freetime_header { font-size : 120 % ; font-weight : bold ; }
. calendar_freetime_timeframe { position : relative ; }
. calendar_freetime_dow { position : absolute ; }
2014-11-04 16:34:51 +01:00
img . calendar_print_button , img . calendar_print_appicon {
height : 24px ;
width : 24px ;
2014-11-05 17:13:26 +01:00
}
/*Sortable views*/
. srotable_cal_wk_ph {
border : 2px dashed gray ;
height : 230px ;
width : 99 % ;
background-color : # ece2f7 ;
}
. srotable_cal_day_ph {
position : relative ;
width : 33 . 333333 % ;
height : 99 % ;
border : 2px dashed gray ;
background-color : # ece2f7 ;
display : inline-block ;
2014-12-03 01:20:57 +01:00
}
2015-10-21 21:53:19 +02:00
/ * *
* View animation stuff
* /
. calendar_slide {
2015-10-27 17:45:37 +01:00
/* There is a cleanup timeout in calendar app.js line 563 that must match */
transition-duration : 2s ;
transition-delay : 50ms ;
2015-10-21 21:53:19 +02:00
}
2014-12-03 01:20:57 +01:00
/ * *
* Home page portlets
* /
2014-12-09 18:55:00 +01:00
. calendar_favorite_portlet . calendar_calMonthNavHeader a img ,
2014-12-03 01:33:35 +01:00
. calendar_favorite_portlet . calendar_calWeekNavHeader a img ,
. calendar_favorite_portlet . calendar_calDayColHeader a img ,
. calendar_favorite_portlet . calendar_plannerScale a img {
2014-12-03 01:20:57 +01:00
display : none ;
2015-04-07 15:15:33 +02:00
}
# calendar-edit select # calendar-edit_duration {
width : 133px ;
2015-06-23 14:32:55 +02:00
}
2015-12-15 19:58:52 +01:00
# calendar-edit_account + . chzn-container . chzn-results {
max-height : 195px ;
}
2015-06-23 14:32:55 +02:00
# calendar-edit_category {
2015-06-23 16:17:18 +02:00
max-width : 230px ;
2015-09-07 19:13:20 +02:00
}
# calendar_sidebox_content . ui-datepicker div . ui-datepicker-buttonpane {
border-top : 0 ;
margin : 0 ;
padding-right : 3px ;
2015-10-21 21:53:19 +02:00
}
2015-11-19 11:53:46 +01:00
# calendar-sidebox_buttons . sideboxstar . slideSwitch_container {
width : 36px ;
height : 13px ;
}