egroupware_official/calendar/templates/pixelegg/app.less

1284 lines
30 KiB
Plaintext
Raw Normal View History

2013-11-14 20:29:55 +01:00
/**
* EGroupware: CSS with less preprocessor
*
2014-01-10 12:07:08 +01:00
* CALENDAR
*
2013-11-14 20:29:55 +01:00
* Please do NOT change app.css directly, instead change app.less and compile it!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhardt <stefan.reinhardt@pixelegg.de>
* @package calendar
* @version $Id$
*/
2014-07-16 13:29:45 +02:00
@import (reference) "../../../pixelegg/less/definitions.less";
@import (less) "../default/app.css";
2013-11-14 20:29:55 +01:00
2014-01-10 06:26:20 +01:00
2014-02-03 11:05:44 +01:00
/*generell*/
// makes svg visible
.egw_fw_content_browser_iframe img[src$="svg"] {
.gradient_vertical (@gray_50, @gray_50) !important;
}
#calendar-list {
/* Keeps the scrollbar in the window in chrome */
margin-right: 10px
}
2013-11-14 20:29:55 +01:00
// ************************************************
// Seitenleiste
// Ansichten
#calendar_sidebox_content .egw_fw_ui_category_content{
2013-11-14 20:29:55 +01:00
padding-left: 0px !important;
2014-01-18 18:52:26 +01:00
// Icon before genrell hidden
img.egw_fw_ui_sidemenu_listitem_icon {
2014-01-18 18:52:26 +01:00
display: none;
}
2013-11-14 20:29:55 +01:00
}
2013-11-14 20:29:55 +01:00
img.sideboxstar {
2013-12-16 10:37:11 +01:00
.dimension_width_height_xs;
2013-11-14 20:29:55 +01:00
.Complete_Button_Icon_normal;
2013-12-20 10:35:46 +01:00
.rounded (3px);
2013-11-14 20:29:55 +01:00
padding: 3px;
margin: 1px;
2013-12-20 10:35:46 +01:00
&:hover{.Complete_Button_Icon_hover ;}
2014-01-10 06:26:20 +01:00
&:active{
2014-02-05 11:04:13 +01:00
.Complete_Button_Icon_active ;
2014-01-10 06:26:20 +01:00
background-color: @color_positive_action_active !important;}
2013-11-14 20:29:55 +01:00
}
2014-01-18 18:52:26 +01:00
2013-11-14 20:29:55 +01:00
.chzn-container {
max-width: 85% !important;
2013-11-14 20:29:55 +01:00
margin-top: 0em
}
// ************************************************
// ************************************************
// iframe
.egw_fw_content_browser_iframe {
margin-top: 0em;
border: none;
2014-01-18 18:52:26 +01:00
2013-11-14 20:29:55 +01:00
} // Ende Iframe
// Images
2013-12-12 21:27:35 +01:00
.calendar_calDayColHeader img {.dimension_width_height_s;}
.calendar_calWeekNavHeader img {.dimension_width_height_s;}
.calendar_calMonthNavHeader img{.dimension_width_height_s;}
2013-12-16 10:37:11 +01:00
.calendar_calEventBodySmall img {.dimension_width_height_s;}
2013-11-14 20:29:55 +01:00
2014-01-10 06:26:20 +01:00
.calendar_calEventBodySmall img[src$="svg"],
.calendar_calDayColHeader img[src$="svg"] {
2014-01-18 18:52:26 +01:00
.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
}
2014-01-10 06:26:20 +01:00
2013-11-14 20:29:55 +01:00
/* calender view*/
2013-11-14 20:29:55 +01:00
/*defind in layout_raster.less , because frame*/
// Dialog: Neu erstellen
span#start {margin-right: 1em;}
//########################################################################################################
// phpgwapi/js/jscalendar/calendar-blue.css
//########################################################################################################
/* The main calendar widget. DIV containing a table. */
div.calendar { position: relative; }
/* Header part -- contains navigation buttons and day names. */
.calendar{
.button { /* "<<", "<", ">", ">>" buttons have this class */
text-align: center; /* They are the navigation buttons */
padding: 2px; /* Make the buttons seem like they're pressing */
.background_table_cal_head;
2013-11-14 20:29:55 +01:00
}
.nav {
2014-02-19 09:21:01 +01:00
/*background: url(../images/menuarrow.png) no-repeat 100% 100%;*/
background-image: none;
2014-01-10 06:26:20 +01:00
.background_table_cal_head;
2013-11-14 20:29:55 +01:00
}
2014-01-18 18:52:26 +01:00
2013-11-14 20:29:55 +01:00
thead {
2014-04-01 11:23:56 +02:00
2013-11-14 20:29:55 +01:00
.title { /* This holds the current "month, year" */
font-weight: bold; /* Pressing it will take you to the current date */
2014-01-18 18:52:26 +01:00
/*text-align: center;*/
2014-01-17 09:10:46 +01:00
background-color: @egw_color_2_e;
2014-01-18 18:52:26 +01:00
2014-02-19 20:12:30 +01:00
&:hover {background-color: @gray_10 !important;}
2013-11-14 20:29:55 +01:00
}
.headrow { /* Row <TR> containing navigation buttons */
2014-01-10 06:26:20 +01:00
.background_table_cal_head;
2013-11-14 20:29:55 +01:00
color: #fff;
}
.daynames { /* Row <TR> containing the day names */
// background: #bdf;
2014-01-10 06:26:20 +01:00
.background_color_30_gray;
2013-11-14 20:29:55 +01:00
}
.name { /* Cells <TD> containing the day names */
2014-01-18 18:52:26 +01:00
/*border-bottom: 1px solid #556;*/
/*padding: 2px;*/
/*text-align: center;*/
/*color: #000;*/
2013-11-14 20:29:55 +01:00
}
.weekend { /* How a weekend day name shows in header */
color: #a66;
}
.hilite { /* How do the buttons in header appear when hover */
2014-01-10 06:26:20 +01:00
.background_color_0_gray;
2014-02-19 20:12:30 +01:00
border: none;
/*.box_shadow_standard_light_inset;*/
2014-01-18 18:52:26 +01:00
/*color: #000;*/
/*border: 0px solid;*/
2014-01-10 06:26:20 +01:00
border-color: @gray_50;
2014-01-18 18:52:26 +01:00
/*padding: 1px;*/
2013-11-14 20:29:55 +01:00
}
.active { /* Active (pressed) buttons in header */
2014-01-10 06:26:20 +01:00
background_color: @egw_color_2_d;
2014-01-17 09:10:46 +01:00
/*padding: 2px 0px 0px 2px;*/
2013-11-14 20:29:55 +01:00
}
} // thead
/* The body part -- contains all the days in month. */
tbody {
2014-01-18 18:52:26 +01:00
2014-01-18 09:12:05 +01:00
tr, td {border: 1px;}
2014-01-18 18:52:26 +01:00
2013-11-14 20:29:55 +01:00
.day { /* Cells <TD> containing month days dates */
2014-01-18 09:12:05 +01:00
/*width: 2em;*/
2014-01-18 18:52:26 +01:00
/*color: #456;*/
/*text-align: right;*/
/*padding: 2px 4px 2px 2px;*/
2014-01-18 09:12:05 +01:00
/*border: 1px;*/
2013-11-14 20:29:55 +01:00
}
.day.othermonth {
font-size: 80%;
color: #bbb;
}
.day.othermonth.oweekend {
color: #fbb;
}
.rowhilite td {
// background: #def;
2014-01-10 06:26:20 +01:00
.background_color_25_gray;
2013-11-14 20:29:55 +01:00
}
.rowhilite td.wn {
background: #eef;
}
td.hilite { /* Hovered cells <TD> */
2014-01-18 18:52:26 +01:00
/*background: #def;*/
/*padding: 1px 3px 1px 1px;*/
/*border: 1px solid #bbb;*/
2013-11-14 20:29:55 +01:00
}
td.active { /* Active (pressed) cells <TD> */
background: #cde;
2014-01-18 18:52:26 +01:00
/*padding: 2px 2px 0px 2px;*/
2013-11-14 20:29:55 +01:00
}
td.selected { /* Cell showing today date */
2014-02-19 20:12:30 +01:00
/*font-weight: normal;*/
/*border: 0px solid @gray_50;*/
2014-01-18 18:52:26 +01:00
/*padding: 1px 3px 1px 1px;*/
2014-02-19 20:12:30 +01:00
/*padding: 0px;*/
2014-04-01 11:23:56 +02:00
background-color: @egw_color_1_e;
2013-11-14 20:29:55 +01:00
color: #000;
2014-02-19 20:12:30 +01:00
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 1);
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 1);
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 1);
2013-11-14 20:29:55 +01:00
}
td.weekend { /* Cells showing weekend days */
color: #a66;
}
td.today { /* Cell showing selected date */
2014-01-18 09:12:05 +01:00
font-weight: normal;
2014-04-01 11:23:56 +02:00
color: @color_hint ;
background-color: @egw_color_1_a;
2013-11-14 20:29:55 +01:00
}
.disabled { color: #999; }
.emptycell { /* Empty cells (the best is to hide them) */
visibility: hidden;
}
.emptyrow { /* Empty row (some months need less than 6 rows) */
display: none;
}
} // tbody
table .wn {
2014-02-19 20:12:30 +01:00
/*padding: 2px 3px 2px 2px;*/
/*border-right: 1px solid #000;*/
2013-11-14 20:29:55 +01:00
// background: #bdf;
2014-01-10 06:26:20 +01:00
.background_color_30_gray;
2013-11-14 20:29:55 +01:00
}
/* The footer part -- status bar and "Close" button */
tfoot {
.footrow { /* The <TR> in footer (only one right now) */
text-align: center;
background: #556;
color: #fff;
}
.ttip { /* Tooltip (status bar) cell <TD> */
background: #fff;
color: #445;
border-top: 1px solid #556;
padding: 1px;
2014-01-17 09:10:46 +01:00
height: 30px;
2013-11-14 20:29:55 +01:00
}
.hilite { /* Hover style for buttons in footer */
background: #aaf;
border: 1px solid #04f;
color: #000;
padding: 1px;
}
.active { /* Active (pressed) style for buttons in footer */
background: #77c;
padding: 2px 0px 0px 2px;
}
} // tfoot
/* Combo boxes (menus that display months/years for direct selection) */
.combo {
position: absolute;
display: none;
top: 0px;
left: 0px;
width: 4em;
cursor: default;
border: 1px solid #655;
background: #def;
color: #000;
font-size: 90%;
.label,
.label-IEfix {
text-align: center;
padding: 1px;
}
.label-IEfix {
width: 4em;
}
.hilite {
background: #acf;
}
.active {
border-top: 1px solid #46a;
border-bottom: 1px solid #46a;
background: #eef;
font-weight: bold;
}
} // combo
td.time {
border-top: 1px solid #000;
padding: 1px 0px;
text-align: center;
background-color: #f4f0e8;
.hour,
.minute,
.ampm {
padding: 0px 3px 0px 4px;
border: 1px solid #889;
font-weight: bold;
background-color: #fff;
}
.ampm {
text-align: center;
}
.colon {
padding: 0px 2px 0px 3px;
font-weight: bold;
}
span.hilite {
border-color: #000;
// background-color: #667;
2014-01-10 06:26:20 +01:00
.background_color_30_gray;
2013-11-14 20:29:55 +01:00
color: #fff;
}
span.active {
border-color: #f00;
background-color: #000;
color: #0f0;
}
} // td.time
} // calendar
//###################################################################
//# Bearbeiten Formular
//###################################################################
#calendar-edit{
2013-11-14 20:29:55 +01:00
label.et2_label{
2013-11-25 04:19:58 +01:00
/*padding: 0 2px;*/
2013-11-14 20:29:55 +01:00
}
.chzn-container {
2013-12-16 10:37:11 +01:00
padding-top: 0;
2013-11-14 20:29:55 +01:00
}
.et2_tabheader{
background-color: transparent;
}
2014-02-06 18:36:03 +01:00
// ID
#calendar-edit_id{float: right;margin-right: 5px;}
2013-11-14 20:29:55 +01:00
2013-11-25 04:19:58 +01:00
/*###########################################*/
2014-02-06 18:36:03 +01:00
// Tab Details
#calendar-edit_calendar-edit-details{
2013-11-14 20:29:55 +01:00
display: block;
float: left;
width: 100%;
2013-11-14 20:29:55 +01:00
table.et2_grid{
2014-02-06 18:36:03 +01:00
/*background-color: yellow;*/
line-height: 20px;
width: 60%;
2013-12-16 10:37:11 +01:00
}
2014-02-05 11:04:13 +01:00
2014-01-30 19:55:35 +01:00
// Kategorien
.calendar_category_details{margin: 0 1em; width: 20em;}
.et2_hbox_right {overflow-y: auto;width:30%;}
.et2_selectbox .ui-multiselect-checkboxes {min-height: 229px;}
2014-01-30 19:55:35 +01:00
.et2_selectbox .ui-multiselect-checkboxes li {text-indent: -20px;}
2014-02-05 11:04:13 +01:00
2014-01-30 19:55:35 +01:00
//selectbox
2013-11-14 20:29:55 +01:00
#calendar-edit_category{
.border_radius_button_normal;
2014-02-06 18:36:03 +01:00
padding: 0 0.3em 0 0;
2014-02-05 11:04:13 +01:00
2014-01-18 18:52:26 +01:00
li{
.ui-state-hover{
font-weight: normal !important;
.box_shadow_standard_light_hover;
}
}
2013-11-14 20:29:55 +01:00
}
2014-02-05 11:04:13 +01:00
2014-02-06 18:36:03 +01:00
// Alarme
#calendar-edit_details_alarms{
background-color: @gray_20;
display: block !important;
2014-02-06 08:41:14 +01:00
}
2013-11-14 20:29:55 +01:00
}
2014-01-18 18:52:26 +01:00
/*###########################################*/
/*Tab Beschreibung*/
2014-02-06 18:36:03 +01:00
#calendar-edit_calendar-edit-description{
2014-02-06 18:36:03 +01:00
// Kategorien
#calendar-edit_details_category{margin: 0 1em; width: 20em;}
2014-02-06 18:36:03 +01:00
.et2_hbox_right {overflow-y: auto;}
2014-02-12 09:10:11 +01:00
.et2_selectbox .ui-multiselect-checkboxes {min-height: 218px;}
2014-02-06 18:36:03 +01:00
.et2_selectbox .ui-multiselect-checkboxes li {text-indent: -20px;}
//selectbox
#calendar-edit_category{
border: 1px solid;
border-color: @gray_30;
.border_radius_button_normal;
padding: 0 0.3em 0 0;
li{
.ui-state-hover{
font-weight: normal !important;
.box_shadow_standard_light_hover;
}
}
}
2014-02-06 18:36:03 +01:00
}
2013-12-16 10:37:11 +01:00
/*###########################################*/
2013-11-14 20:29:55 +01:00
// Teilnehmer
2013-12-16 10:37:11 +01:00
/*###########################################*/
2013-11-14 20:29:55 +01:00
// Wiederholung
#calendar-edit_calendar-edit-recurrence{
tbody{
display: table;
width: 100%;
line-height: 30px;
2013-11-14 20:29:55 +01:00
}
}
2013-12-16 10:37:11 +01:00
/*###########################################*/
2013-11-14 20:29:55 +01:00
// Benutzerdefiniert
#calendar-edit_calendar-edit-custom{
tbody{
display: table;
width: 100%;
}
}
2013-12-16 10:37:11 +01:00
/*###########################################*/
2013-11-14 20:29:55 +01:00
// Verknüpfungen
#calendar-edit_calendar-edit-links{
tbody{
display: table;
width: 100%;
2014-02-03 11:05:44 +01:00
.et2_link_to {width: auto !important; margin: 1em;}
2013-11-14 20:29:55 +01:00
}
2014-02-05 11:04:13 +01:00
2014-01-18 18:52:26 +01:00
span.et2_label {padding: 1em;}
2013-11-14 20:29:55 +01:00
}
2013-12-16 10:37:11 +01:00
/*###########################################*/
2013-11-14 20:29:55 +01:00
// Alarme
#calendar-edit_calendar-edit-alarms{
tbody{
display: table;
width: 100%;
2013-12-16 10:37:11 +01:00
label.et2_label {white-space: nowrap; padding: 0 5px;}
2014-01-10 06:26:20 +01:00
tr.add_alarm_action {background-color: @color_optional; margin-bottom: 1em;}
2013-11-14 20:29:55 +01:00
}
}
2014-01-18 18:52:26 +01:00
/*###########################################*/
/*// Historie*/
2013-11-14 20:29:55 +01:00
#calendar-edit_calendar-edit-history{
tbody{
display: table-row-group;
width: 100%;
}
}
2014-02-05 11:04:13 +01:00
2014-01-18 18:52:26 +01:00
/*###########################################*/
/*// Toolbar*/
2014-02-05 11:04:13 +01:00
tr.dialogFooterToolbar{
2014-02-05 11:04:13 +01:00
2014-01-18 18:52:26 +01:00
label.et2_label {top: 0px !important;}
2014-02-05 11:04:13 +01:00
2014-01-18 18:52:26 +01:00
}
2014-02-05 11:04:13 +01:00
2014-02-06 08:41:14 +01:00
// actions
#calendar-edit_action {
margin-left: 5px;
padding-left: 10px;
width: 10em;
2014-02-06 18:36:03 +01:00
padding: 3px 0 5px 10px;
2014-02-06 08:41:14 +01:00
}
2014-02-05 11:04:13 +01:00
2013-11-14 20:29:55 +01:00
}
//###################################################################
//# generell
//###################################################################
/******************************************************************
* 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 calendar_calTimeGrid is generated by the timeGridWidget method of uiviews.
+++ calendar_calTimeGrid +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ #### calendar_calDayCols[12h|NoGrip] ###########################################################
+ #... calendar_calDayCol ............................. ... calendar_calDayCol ..........................
+ #.+- calendar_calDayColHeader ---------------------+. .+- calendar_calDayColHeader ------------------+.
+ #.| |. .| |.
+ #.+---------------------------------------+. .+------------------------------------+.
+.calendar_calTimeRowTime.#.** calendar_calEventCol ***** ** calendar_calEventCol *****. .** calendar_calEventCol ***********************.
+. .#.* * * *. .* *.
+. .#.* * * *. .* *.
+................#.*+- calendar_calEvent -----+* * *. .* *.
+.calendar_calTimeRowTime.#.*| |* * *. .*+- calendar_calEvent[Private] --------------+*.
+. .#.*| |* *+- calendar_calEvent -----+*. .*| |*.
+. .#.*+----------------+* *| |*. .*| |*.
+................#.* * *| |*. .*| |*.
+.calendar_calTimeRowTime.#.* * *+----------------+*. .*| |*.
+. .#.* * * *. .*+----------------------------------+*.
*/
/* custom ui-tooltip style for calendar
*/
.calendar_uitooltip {
2014-01-18 18:52:26 +01:00
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-14 20:29:55 +01:00
.calendar_size120b { font-size: 120%; font-weight: bold; }
/* marks a day in the colum-header as today
*/
.calendar_calToday{
// background: #ffffcc;
2014-01-10 06:26:20 +01:00
.background_table_cal_head;
2013-11-14 20:29:55 +01:00
}
.calendar_calWeek{
// background: #ffffcc;
background-color : @gray_0;
width:auto;
margin:0 auto;
text-align:center;
border: none;
}
.calendar_calMonth{
// background: #ffffcc;
/*.background_table_cal_head;*/
background-color : @gray_0;
width:auto;
margin:0 auto;
text-align:center;
border: none;
}
2013-11-14 20:29:55 +01:00
/* marks a day in the colum-header as holiday
*/
.calendar_calHoliday{
a {
font-size: 0.9em;
}
2013-11-14 20:29:55 +01:00
}
/* marks a day in the column-header additionaly as birthday of some contact,
* it should work together with the backgrounds of calendar_calToday, calendar_calHoliday, th, row_on and row_off
*/
.calendar_calBirthday,.calendar_calBirthday a{
}
2013-11-14 20:29:55 +01:00
/* timeGridWidget, contains timeRow's and dayCol's
*/
.calendar_calTimeGrid{
/* set via inline style on runtime:
* height:
*/
}
.calendar_calTimeRow{
/* background-color: silver; */
2014-01-10 06:26:20 +01:00
.background_color_5_gray;
2013-11-14 20:29:55 +01:00
}
/* time in a timeRow
*/
.calendar_calTimeRowTime{
padding-left: 5px;
height: 100%;
line-height: 14px;
font-size:8pt;
text-align: left;
}
/* Calendar Id #
*/
2014-02-06 18:36:03 +01:00
#calendar-edit_id:before { content:"#"}
2013-11-14 20:29:55 +01:00
/* header for the dayCol
*/
.calendar_calDayColHeader,.calendar_calGridHeader{
2014-04-01 11:23:56 +02:00
a {
img {
position: relative;
top: 0px;
}
}
2013-11-14 20:29:55 +01:00
}
2014-04-01 11:23:56 +02:00
/*header for the weekCol*/
2014-02-25 15:50:35 +01:00
.calendar_calWeekNavHeader,.calendar_calMonthNavHeader{
top: 3px;
2014-02-25 15:50:35 +01:00
left: 0px;
width: auto;
2014-02-25 15:50:35 +01:00
right: 0px; /* does not work in IE, but looks better in other browsers then width:100% */
text-align: center;
2014-04-01 11:23:56 +02:00
font-size: 100%;
2014-02-25 15:50:35 +01:00
white-space: nowrap;
border-bottom: 0px solid silver; // cleaned
border-right: 0px solid silver; // cleaned
.dimension_height_m;
line-height: 21px;
/*height: 24px;*/
2014-02-25 15:50:35 +01:00
z-index: 30;
2014-04-01 11:23:56 +02:00
a {
2014-04-01 11:23:56 +02:00
img {
position: relative;
top: 3px;
}
}
2014-02-25 15:50:35 +01:00
}
2014-04-01 11:23:56 +02:00
// little workaraound for Month view
.calendar_calMonthNavHeader{
a {
img {top: 0px;}
}
}
.calendar_calWeekNavHeader,.calendar_calMonthNavHeader img{
vertical-align: middle;
}
2013-11-14 20:29:55 +01:00
.calendar_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;
}
.calendar_calViewUserName {
font-weight: normal;
}
.calendar_calViewUserName:first-letter {
text-transform:uppercase;
}
.calendar_calViewUserNameFirst {
}
.calendar_calViewUserNameFirst:after {
content: ", ";
}
/* contains one event: header-row & -body
*/
.calendar_calEvent {
2013-11-14 20:29:55 +01:00
/* set via inline style on runtime:
* top: depending on startime
* height: depending on length
* border-color: depending on category
* background: depending on category (shade)
*/
background-color: @egw_color_blue_lightest;
2013-11-14 20:29:55 +01:00
}
.calendar_calEvent:not([class*=" cat_"]) {
/* Defaults for no category, so we don't override it */
background-color: @egw_color_blue_lightest;
}
2013-11-14 20:29:55 +01:00
/**
* All participants accepted the invitation
*/
.calendar_calEventAllAccepted {
}
/**
* All participants answered the invitation, but not all accepted
*/
.calendar_calEventAllAnswered {
}
/**
* Some participants did NOT answer the invitation
*/
.calendar_calEventSomeUnknown {
}
.calendar_calEventTooltip{
max-height: 400px;
overflow: auto;
}
.calendar_calAddEvent:hover{
// .background-color-50-gray;
background-color: @egw_color_1_e;
cursor: pointer;
2014-01-10 06:26:20 +01:00
.color_0_gray;
2013-11-14 20:29:55 +01:00
}
/* header-row of the event
*/
.calendar_calEventHeader,.calendar_calEventHeaderSmall{
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;
*/
}
.calendar_calEventHeaderSmall{
font-size: 8pt;
line-height: 10pt;
}
.calendar_calEventIcons{
position: absolute;
right: 0px;
top: 0px;
2014-01-10 06:26:20 +01:00
background-color: @gray_10;
2013-12-16 10:37:11 +01:00
.rounded (2px);
2014-02-05 11:04:13 +01:00
2014-02-03 11:05:44 +01:00
img[src$="svg"] {
.gradient_vertical (@gray_50, @gray_50) !important;
}
2014-02-05 11:04:13 +01:00
2013-11-14 20:29:55 +01:00
}
.calendar_calEventHeaderSmall .calendar_calEventIcons img{
height: 13px;
}
.calendar_calTimeGridList .calendar_calEventBody {
}
.calendar_calTimeGridList .calendar_calDayCol .hiddenEventAfter:before {
}
.calendar_calTimeGridList .calendar_calDayCol .hiddenEventAfter:hover {
}
2013-11-14 20:29:55 +01:00
/* table of the dayView containing 2 cols: 1) day-view, 2) todos
*/
.calendar_calDayView{
width: 100%;
}
/* calDayTods is the day-view's todo column, containing the calDayTodoHeader and the calDayTodoTable
*/
.calendar_calDayTodos .calendar_calDayTodosHeader {
margin: 0px;
padding: 2px;
font-weight: bold;
a {
2014-01-10 06:26:20 +01:00
img[src$="svg"] {
.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
}
2014-01-18 18:52:26 +01:00
2013-11-14 20:29:55 +01:00
img {
.Complete_Button_normal;
2013-12-16 10:37:11 +01:00
.dimension_width_height_s;
2013-11-14 20:29:55 +01:00
&:hover{.Complete_Button_hover;}
}
}
}
.calendar_calDayTodos .calendar_calDayTodosTable {
2013-12-16 10:37:11 +01:00
table {
2014-01-18 18:52:26 +01:00
// Listendarstellung
2013-12-16 10:37:11 +01:00
// Reihen ohne Border left und right
2014-01-10 06:26:20 +01:00
tr:nth-child(even) {background: @color_even;}
tr:nth_child(odd) {background: @color_odd;}
2013-12-16 10:37:11 +01:00
td {
padding: 3px;
2014-01-18 18:52:26 +01:00
2014-01-10 06:26:20 +01:00
img[src$="svg"] {
2014-01-18 18:52:26 +01:00
.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
}
2013-12-16 10:37:11 +01:00
img {
.dimension_width_height_xs;
.Complete_Button_Icon_normal;
2013-12-16 10:37:11 +01:00
&:hover {.Complete_Button_Icon_hover;}
&:active {
.Complete_Button_Icon_active;
2014-01-10 06:26:20 +01:00
background-color: @color_positive_action !important;
2013-12-16 10:37:11 +01:00
}
}
}
2013-12-16 10:37:11 +01:00
}
2013-11-14 20:29:55 +01:00
}
.calendar_calDayTodos {
width: 98%;
2013-11-14 20:29:55 +01:00
margin-left: 10px;
border: 1px solid silver;
}
.calendar_calDayTodosHeader {
text-align: center;
}
/******************************************************
* CSS settings for the planner views (calendar_plannerWidget) *
******************************************************/
/* calendar_plannerWidget represents the whole planner, consiting of the calendar_plannerHeader and multiple plannerRowWidgets
*/
.calendar_plannerWidget {
width: 99.5%;
2014-02-05 11:04:13 +01:00
2014-01-21 18:30:52 +01:00
img{.dimension_height_s;}
2013-11-14 20:29:55 +01:00
}
/* calendar_plannerScale represents a scale-row of the calendar_plannerHeader, containing multiple planner{Day|Week|Month}Scales
*/
.calendar_plannerScaleDay {
height: 28px;
line-height: 14px;
}
.calendar_plannerDayScale,.calendar_plannerMonthScale,.calendar_plannerWeekScale,.calendar_plannerHourScale,.calendar_plannerDayOfMonthScale {
/* left+width: is set by the code on runtime */
text-align: center;
height: 100%;
/* set via inline style on runtime:
* left:
* width:
*/
}
.calendar_plannerHourScale {
font-size: 90%;
}
.calendar_plannerDayScale {
font-size: 90%;
}
.calendar_plannerWeekScale {
line-height: 20px;
}
.calendar_plannerMonthScale {
font-weight: bold;
2013-12-16 10:37:11 +01:00
a img {.dimension_width_height_s;}
2013-11-14 20:29:55 +01:00
}
.calendar_plannerDayScale img,.calendar_plannerWeekScale img,.calendar_plannerMonthScale img,.calendar_plannerDayOfMonthScale img {
2013-12-16 10:37:11 +01:00
vertical-align: text-top;
2013-11-14 20:29:55 +01:00
}
/* calendar_plannerRowHeader contains the user or category name of the calendar_plannerRowWidget
*/
.calendar_plannerRowHeader, .calendar_plannerHeaderTitle {
line-height: 20px;
}
/**
* Filler for month with less then 31 days in yearly planner
*/
.calendar_eventRowsFiller {
height: 93%;
background-color: white;
border: 1px dashed gray;
border-right: none;
}
/* calendar_eventRowWidget contains non-overlapping events
*/
.calendar_eventRowWidget {
border: 1px solid white;
}
/* Special colors for the year view */
.calendar_cal_year_legend_weekend {
background-color: #CCCCCC;
}
.calendar_cal_year_legend {
background-color: #EFEFEF;
}
.calendar_cal_year_legend {
background-color: #FFFFCC;
z-index: 0;
}
.calendar_cal_year_weekend {
background-color: #F9F9CC;
z-index: 0;
}
.calendar_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
*/
2013-11-14 20:29:55 +01:00
#dialog-content {
display:block;
height:100px;
padding:6px;
color:#666666;
font-size:13px;
margin: -2px -1px 0px -2px;
width:410px;
}
/** #####################################################################################
* @package preferences
* ######################################################################################
*/
table.prefTable {
width: 100%;
}
tr.prefRow {
position: relative;
}
td.prefName {
width: 50%;
}
tr.prefRow > td {
vertical-align: bottom; /* otherwise help will cover bigger prefValue */
}
.prefHelp {
position: absolute;
right: 55%;
display: none;
width: 33%;
2014-01-18 09:12:05 +01:00
background-color: @color_tooltip;
2013-11-14 20:29:55 +01:00
}
tr.prefRow:hover .prefHelp {
display: block;
z-index: 10; /* FF: displays it under next prefName without */
}
.prefDefault, .prefValue {
float: left;
}
.prefValue {
margin-right: 5px;
}
.prefValue textarea, textarea.prefValue {
width: 99%;
height: 5em;
}
.prefType, .prefApp {
font-size: 150%;
display: inline-block;
padding-bottom: 5px;
}
2014-02-17 09:27:57 +01:00
/* ###########################################################################################################################################
* Calendar specfic
/* ###########################################################################################################################################
*/
/*ui-widget*/
/*edit series*/
button#series {
background-image:url('../images/edit.png') !important;
.Complete_Button_text_icon_before;
.Complete_Button_save_apply_copy;
&:hover {background-image:url('../images/edit.png') !important; background-color: @color_positive_action_active !important;}
&:active {background-color: @color_positive_action_active !important;}
}
/*edit exception*/
button#exception {
background-image:url('../images/edit.png') !important;
.Complete_Button_text_icon_before;
.Complete_Button_save_apply_copy;
&:hover {background-image:url('../images/edit.png') !important;background-color: @color_positive_action_active !important;}
&:active {background-color: @color_positive_action_active !important;}
}
/*calendar series add*/
#calendar-edit_add {
&:active {background-color: @color_positive_action_active !important;}
padding-left:24px;
background-size:16px;
background-position: center;
2014-02-17 09:27:57 +01:00
}
/*calendar search freetime*/
#calendar-edit_freetime{
&:active {background-color: @color_positive_action_active !important;}
}
/*calendar search freetime*/
button[id*="edit_button[add_alarm]"]{
&:active {background-color: @color_positive_action_active !important;}
}
/*SIDEMENU */
/*extended for calender app*/
2014-04-01 11:23:56 +02:00
2014-02-17 09:27:57 +01:00
/*distance between picture and select*/
select#calendar_view{margin-top: 8px;}
/*searchfield*/
input#calendar_keywords{
margin: 10px 0 10px 2px;
font-size: 1.3em;
;
}
2014-02-17 09:27:57 +01:00
div#calendar-container {
margin-left: 0px;
/*distance to cal widget*/
/*margin-top: 10px;*/
2014-04-01 11:23:56 +02:00
select,
input,
2014-02-19 20:12:30 +01:00
option {font-size: 11px;}
2014-02-17 09:27:57 +01:00
div.calendar{
background-color: inherit;
padding: 0px;
table {
.background_color_5_gray;
.basefontfamily;
thead {
2014-04-01 11:23:56 +02:00
// first row
// Help
.button {background-color: @egw_color_1_e;}
// Month
.title {
border: none;
box-shadow: none;
-webkit-box-shadow: none;
background-color: @egw_color_1_e;
}
// second row
// << today >>
.headrow {
color: @gray_90;
// nav + today
td {background-color: @egw_color_1_a;}
}
2014-02-17 09:27:57 +01:00
// daynames
.daynames {
background-color: @egw_color_2_e;
}
}
tbody {
tr.daysrow {
&:hover {background-color: @egw_color_1_a;}
// fields
.name {}
.day {}
.weekend {}
}
// hover tr
tr.rowhilite td{background-color: @egw_color_1_a;}
}
} // table
}
}
/* Sidebox calendar */
#calendar-sidebox_date {
2014-02-17 09:27:57 +01:00
.ui-widget-header {
background-color: transparent;
}
.ui-widget-content, .ui-state-default, #calendar-sidebox_date .ui-state-hover {
border: none;
padding: 2px;
text-align: center;
}
.ui-datepicker td {
padding: 0px
}
.ui-datepicker-header .ui-state-hover {
background-color: transparent;
border: none;
top: 2px;
box-shadow: none;
}
.ui-datepicker-today {
background-color: @egw_color_1;
}
.ui-datepicker-calendar .ui-state-hover {
background-color: @color_hover_row;
}
.ui-datepicker-header .ui-datepicker-next.ui-state-hover {
right: 2px;
}
.ui-datepicker-year {
padding-right: 0px !important;
min-width: 65px;
}
.ui-datepicker-month {
min-width: 60px;
padding-right: 0px !important;
}
.ui-datepicker-header a span {
2016-03-22 17:39:52 +01:00
width: 20px;
height: 20px;
}
.ui-datepicker-header a.ui-state-hover {
top: 3px;
span {
transition: none;
}
}
}
2016-03-22 17:39:52 +01:00
#calendar-sidebox_header_go {
width: 20px;
height: 20px;
background-image: url('../../../pixelegg/images/check.svg');
2016-03-22 17:39:52 +01:00
text-indent: 140%;
border: none;
border-radius: 0px;
background-size: contain;
background-color: transparent;
&:hover {
background-color: transparent;
}
}
#calendar-sidebox_header_today {
width: 20px;
height: 20px;
background-image: url('../../../pixelegg/images/bullet.svg');
2016-03-22 17:39:52 +01:00
text-indent: 140%;
border: none;
border-radius: 0px;
margin-left: 7px;
background-size: contain;
background-color: transparent;
&:hover {
background-color: transparent;
}
}
2014-02-19 20:12:30 +01:00
// Select Fields in Sidemenu
#calendar_cat_id,
#calendar_filter,
2014-04-01 11:23:56 +02:00
#uical_select_owner,
#calendar_merge{
font-size: 11px;
}
// Owner
#uical_select_owner {margin: 9px 0 9px;}
2014-02-19 20:12:30 +01:00
2014-04-01 11:23:56 +02:00
// insert a document
#calendar_merge {margin: 9px 0 0 0;}
2014-02-19 20:12:30 +01:00
2014-02-17 09:27:57 +01:00
/* ########################################################################################
2014-04-01 11:23:56 +02:00
/* * Calendar END */
2014-02-17 09:27:57 +01:00