From f6411aaf96867da883172c7cb83e7489da12fdc6 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 11:16:35 +0200 Subject: [PATCH 1/9] [ADD] Added style for web_calendar bzr revid: ahu@openerp.com-20111027091635-tu23j73zm03a7rkk --- addons/web_calendar/__openerp__.py | 3 ++- addons/web_calendar/static/src/css/web_calendar.css | 0 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 addons/web_calendar/static/src/css/web_calendar.css diff --git a/addons/web_calendar/__openerp__.py b/addons/web_calendar/__openerp__.py index 1eba26065f5..39e2557de75 100644 --- a/addons/web_calendar/__openerp__.py +++ b/addons/web_calendar/__openerp__.py @@ -9,7 +9,8 @@ 'static/src/js/calendar.js' ], "css": ['static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.css', - 'static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_ext.css' + 'static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_ext.css', + 'static/src/css/web_calendar.css' ], 'active': True } diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css new file mode 100644 index 00000000000..e69de29bb2d From 42417d16f77cdf7d7532bb9b2c70a118a274f89b Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 13:12:00 +0200 Subject: [PATCH 2/9] [IMP] Modifications on minical and month calendar model bzr revid: ahu@openerp.com-20111027111200-s9goagu6i0kihrub --- .../static/src/css/web_calendar.css | 952 ++++++++++++++++++ addons/web_calendar/static/src/js/calendar.js | 3 + 2 files changed, 955 insertions(+) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index e69de29bb2d..656f6c92946 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -0,0 +1,952 @@ +#openerp_scheduler { + background-color:white; +} +.openerp .dhx_mini_calendar { + -moz-box-shadow: none; + -khtml-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.dhx_cal_container{ + background-position:0 24px; + background-repeat:repeat-x; + background-color:white; + font-family: Ubuntu, Helvetica, sans-serif; + position:relative; + overflow:hidden; +} + +.dhx_cal_container div{ + -moz-user-select:none; + -moz-user-select:-moz-none; +} + +.dhx_cal_navline{ + height:20px; position:absolute;z-index:3;width:750px;color:#2F3A48; +} +.dhx_cal_navline div{ + top:2px; + white-space:nowrap; +} + +.dhx_cal_navline * { + vertical-align:middle; +} +.dhx_cal_navline .dhx_cal_date{ + font-weight:bold; + float:left; + font-size:1em; + margin:2px 0px 0px 10px; +} + +.dhx_cal_button .dhx_left_bg{width:1px;overflow:hidden;height:17px;z-index:20;top:0;} + +.dhx_cal_today_button, .dhx_cal_prev_button, .dhx_cal_next_button { + color:white; + height:17px; + font-weight:bold; + cursor:pointer; + font-size:90%; + text-decoration:none; + float:left; + + margin:0px 3px; + padding:2px 2px; + border:1px solid black; + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +.dhx_cal_today_button { + background: #ccc; /* Old browsers */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#999999'); /* IE6-9 */ + background: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); /* Chrome,Safari4+ */ + background: -moz-linear-gradient(top, #c9c9c9, #999999); /* FF3.6+ */ + background: -webkit-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* IE10+ */ + background: linear-gradient(top, #c9c9c9 0%,#999999 60%); /* W3C */ + padding-left:5px; + padding-right:5px; +} + +.dhx_cal_prev_button{ + background: #bbb; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#999999'); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -moz-linear-gradient(top, #c9c9c9, #999999); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-linear-gradient(top, #c9c9c9 0%,#999999 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -o-linear-gradient(top, #c9c9c9 0%,#999999 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -ms-linear-gradient(top, #c9c9c9 0%,#999999 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, linear-gradient(top, #c9c9c9 0%,#999999 60%); + background-repeat:no-repeat; + width:20px; +} + +.dhx_cal_next_button { + background: #ccc; /* Old browsers */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); /* IE6-9 */ + background: url("/web_calendar/src/img/cal_right.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); /* Chrome,Safari4+ */ + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -moz-linear-gradient(top, #c9c9c9, #999999); /* FF3.6+ */ + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -webkit-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* Chrome10+,Safari5.1+ */ + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -o-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* Opera11.10+ */ + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -ms-linear-gradient(top, #c9c9c9 0%,#999999 60%); /* IE10+ */ + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, linear-gradient(top, #c9c9c9 0%,#999999 60%); /* W3C */ + background-repeat:no-repeat; + width:20px; +} + +.dhx_cal_prev_button:hover, .dhx_cal_prev_button:active { + background: #bbb; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -moz-linear-gradient(top, #888, #888); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -o-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -ms-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, linear-gradient(top, #888 0%,#888 60%); + background-repeat:no-repeat; +} + +.dhx_cal_next_button:hover, .dhx_cal_next_button:active { + background: #bbb; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); + background:-webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -moz-linear-gradient(top, #888, #888); + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -webkit-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -o-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, -ms-linear-gradient(top, #888 0%,#888 60%); + background: url("/web_calendar/static/src/img/cal_right.png") 5px 3px, linear-gradient(top, #888 0%,#888 60%); + background-repeat:no-repeat; +} + +.dhx_cal_today_button:hover, .dhx_cal_today_button:active { + background: #bbb; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#bbb'); + background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); + background: -moz-linear-gradient(top, #888, #888); + background: -webkit-linear-gradient(top, #888 0%,#888 60%); + background: -o-linear-gradient(top, #888 0%,#888 60%); + background: -ms-linear-gradient(top, #888 0%,#888 60%); + background: linear-gradient(top, #888 0%,#888 60%); + background-repeat:no-repeat; +} + +.dhx_mini_calendar .dhx_cal_prev_button, .dhx_mini_calendar .dhx_cal_next_button, .dhx_mini_calendar .dhx_cal_today_button { + background:none; + border:0px; +} + + +.dhx_mini_calendar .dhx_cal_prev_button, .dhx_mini_calendar .dhx_cal_next_button { + width:16px; + height:18px; +} +.dhx_mini_calendar .dhx_cal_prev_button { + background :url("/web_calendar/static/src/img/minical_left.png") no-repeat 5px 6px; +} + +.dhx_mini_calendar .dhx_cal_next_button { + background:url("/web_calendar/static/src/img/minical_right.png") no-repeat 8px 6px; +} + +.dhx_mini_calendar .dhx_month_head { + font-size:0.9em; + color:#888 +} +.dhx_mini_calendar .dhx_month_head:hover { + background-color:#bbb; + color:white; + text-shadow:none; +} +.dhx_mini_calendar .dhx_scale_bar { + border-width:0px; + padding:2px 0px; +} + +.dhx_cal_tab { + width:59px; + height:18px; + text-align:center; + text-transform:uppercase; + text-decoration:none; + font-weight:bold; + font-size:0.8em; + color:#555; + margin:2px 1px 0px 1px; + cursor:pointer; + float:right; + background-color:#bbb; + -webkit-border-top-left-radius:4px; + -webkit-border-top-right-radius:4px; + -moz-border-radius-topleft:4px; + -moz-border-radius-topright:4px; + border-top-left-radius:4px; + border-top-right-radius:4px; + vertical-align:50% !important; +} +.dhx_cal_tab[name="month_tab"] { right:0px; } +.dhx_cal_tab[name="week_tab"] { right:62px; } +.dhx_cal_tab[name="day_tab"] { right:107px; } + +.dhx_cal_tab:hover { + background-color:#ddd; +} + +.dhx_cal_tab.active{ + text-decoration:none; + cursor:default; + border-bottom:0; + background-color:white /*#F4F4F4;*/ +} + +.dhx_cal_tab[name="day_tab"] { + margin-right:18px; +} + +.dhx_cal_header{ + position:absolute; + left:10px; + top:23px; + width:750px; + text-transform:uppercase; + font-size:0.8em; + font-weight:bold; + color:#1F1F1F; + border-bottom:1px dotted #8894A3; + /*border-right:1px dotted #8894A3;z-index:2;*/ + overflow:hidden; + background-color: white; /*#F4F4F4;*/ + text-shadow: 0 1px 0 white; +} + +.dhx_cal_data{ + position:absolute; + top:44px; + width:600px; + overflow-y:auto;overflow-x:hidden; +} + +.dhx_cal_data tr td { + border-width:0px; +} + +.dhx_scale_bar{ + position:absolute; + text-align:center; + text-shadow: 0 1px 0 white; + background-color:#C2D5FC; + padding-top:3px; + border-left:1px dotted #586A7E; +} + +.dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url(imgs/databg.png);}.dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url(imgs/databg_now.png);}.dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} + +.dhx_month_head{ + background-color:#F4F4F4; + color:#2F3A48; + text-shadow: 0 1px 0 white; + font-weight:bold; + text-align:center; + border-right:1px dotted #586A7E; + height:18px;padding-right:5px; + padding-top:3px;text-align:right; + font-size:0.9em; +} + +.dhx_month_body{ + border-right:1px dotted #586A7E; + border-bottom:1px dotted #586A7E; + background-color:#FFF; +} + +.dhx_now .dhx_month_body{ + background-color:#cccccc; +} + +.dhx_after .dhx_month_body,.dhx_before .dhx_month_body{background-color:#ECECEC;} + +.dhx_after .dhx_month_head,.dhx_before .dhx_month_head{background-color:#F4F4F4;color:#94A6BB;} + +.dhx_now .dhx_month_head{ + background-color:#ddd; +} + +.dhx_cal_drag{position:absolute;z-index:9999;background-color:#FFE763;border:1px solid #B7A543;opacity:.5;filter:alpha(opacity=50);} + +.dhx_loading{position:absolute;width:128px;height:15px;background-image:url(imgs/loading.gif);z-index:9999;} + +.dhx_multi_day_icon,.dhx_multi_day{background-color:#E1E6FF;background-repeat:no-repeat;border-right:1px dotted #8894A3;}.dhx_multi_day{position:absolute;border-top:1px dotted #8894A3;}. + +dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon_small{background-image:url(imgs/clock_small.gif);} + +.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-position:center center;background-color:#E1E6FF;background-repeat:no-repeat;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} + +.dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} + +.dhx_cal_event div{ + background-color:#FFE763;border:1px solid #B7A543;color:#887A2E;overflow:hidden;width:100%;font-size:8pt; +} + +.dhx_move_denied .dhx_cal_event .dhx_header,.dhx_move_denied .dhx_cal_event .dhx_title{cursor:default;} + +.dhx_cal_event .dhx_header{ + height:0px; + margin-left:1px; + /*border-width:1px 1px 0 1px;*/ + cursor:pointer; +} + +.dhx_cal_event .dhx_title{ + height:16px; + border-bottom-style:dotted;font-size:7pt; + font-weight:bold; + text-align:center; + background-position:right; + background-repeat:no-repeat; + cursor:pointer; + font-size: 0.8em; + -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; +} + +.dhx_cal_event .dhx_body{ + border-width:0 1px 1px 1px; + padding:5px; + -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px +} + +.dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} + +.dhx_cal_event .dhx_footer{height:1px;margin-left:2px;border-width:0 1px 1px 1px;cursor:s-resize;}.dhx_cal_event_line{background-color:#FFE763;border:1px solid #B7A543;border-radius:3px; + font-size:8pt;height:13px;padding-left:10px;color:#887A2E;cursor:pointer;overflow:hidden;} + +.dhx_cal_event_clear{ + font-size:8pt; + height:15px; + padding-left:2px; + color:#887A2E; + white-space:nowrap; + overflow:hidden; + cursor:pointer; + vertical-align:middle; +} + +.dhx_in_move{background-color:#FFFF80;}div.dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.dhx_menu_head{background-image:url(imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;}div.dhx_menu_icon{background-image:url(imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;}div.icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;}div.icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;}div.dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;}div.dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} + +.dhx_unselectable,.dhx_unselectable div{-webkit-user-select:none;-moz-user-select:none;-moz-user-select:-moz-none;} + +.dhx_cal_light{background-color:#FFE763;border-radius:5px; + font-size:8pt;border:1px solid #B7A64B;color:#887A2E;position:absolute;z-index:10001;width:580px;height:300px;box-shadow:5px 5px 5px #888;} + +.dhx_cal_light_wide{width:650px;}.dhx_mark{position:relative;top:3px;background-image:url('./imgs/controls.gif');background-position:0 -43px;padding-left:10px;} + +.dhx_ie6 .dhx_mark{background-position:6px -41px;} + +.dhx_cal_light select{font-size:8pt;color:#887A2E;padding:2px;margin:0;}.dhx_cal_ltitle{padding:2px 0 2px 5px;overflow:hidden;white-space:nowrap;} + +.dhx_cal_ltitle span{white-space:nowrap;} + +.dhx_cal_lsection{background-color:#DBCF8C;color:#FFF4B5;font-weight:bold;padding:5px 0 3px 10px;}.dhx_section_time{background-color:#DBCF8C;} + +.dhx_cal_lsection .dhx_fullday{float:right;margin-right:5px;color:#887A2E;font-size:12px;font-weight:normal;line-height:20px;vertical-align:top;cursor:pointer;} + +.dhx_cal_lsection{font-size:18px;} + +.dhx_cal_ltext{padding:2px 0 2px 10px;overflow:hidden;}.dhx_cal_ltext textarea{background-color:#FFF4B5;overflow:auto;border:none;color:#887A2E;height:100%;width:100%;outline:none!important;}.dhx_time{font-weight:bold;} + +.dhx_cal_light .dhx_title{padding-left:10px;} + +.dhx_cal_larea{border:1px solid #DCC43E;background-color:#FFF4B5;overflow:hidden;margin-left:3px;width:572px;height:1px;}.dhx_btn_set{padding:5px 10px 0 10px;float:left;}.dhx_btn_set div{float:left;height:21px;line-height:21px;vertical-align:middle;cursor:pointer;}.dhx_save_btn{background-image:url('./imgs/controls.gif');background-position:-84px 0;width:21px;}.dhx_cancel_btn{background-image:url('./imgs/controls.gif');background-position:-63px 0;width:20px;}.dhx_delete_btn{background-image:url('./imgs/controls.gif');background-position:-42px 0;width:20px;}.dhx_cal_cover{width:100%;height:100%;position:absolute;z-index:10000;top:0;left:0;background-color:black;opacity:.1;filter:alpha(opacity=10);}.dhx_custom_button{padding:0 3px 0 3px;color:#887A2E;font-size:8pt;background-color:#FFE763;font-weight:normal;margin-right:5px;margin-top:0;cursor:pointer;}.dhx_custom_button div{cursor:pointer;float:left;height:21px;line-height:21px;vertical-align:middle;} + +.dhx_cal_light_wide .dhx_cal_larea{border-top-width:0;}.dhx_cal_light_wide .dhx_cal_lsection{border:0;float:left;text-align:right;width:100px;height:20px;font-size:16px;padding:5px 0 0 10px;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #DBCF8C;position:relative;background-color:#DBCF8C;overflow:hidden;}.dhx_cal_light_wide .dhx_section_time{padding-top:2px!important;height:20px!important;}.dhx_section_time{text-align:center;}.dhx_cal_light_wide .dhx_cal_larea{width:730px;}.dhx_cal_light_wide{width:738px;}.dhx_cal_light_wide .dhx_section_time{background:transparent;}.dhx_cal_light_wide .dhx_cal_checkbox label{padding-left:0;}.dhx_cal_wide_checkbox input{margin-top:8px;margin-left:14px;}.dhx_cal_light input{;font-size:8pt;color:#887A2E;} + +.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday{float:none;margin-right:0;color:#FFF4B5;font-weight:bold;font-size:16px;cursor:pointer;} + +.dhx_custom_button{float:right;height:21px;width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_cal_light_wide .dhx_custom_button{position:absolute;top:0;right:0;margin-top:2px;}.dhx_cal_light_wide .dhx_repeat_right{margin-right:55px;}.dhx_cal_light_wide .dhx_repeat_divider{border-color:#FFE763;} + +.dhx_scale_bar_header{position:absolute;border-bottom:1px dotted #8894A3;width:100%;} + +.dhx_expand_icon{position:absolute;top:0;right:0;background-image:url(./imgs/colapce-expand-icon.gif);width:18px;height:18px;cursor:pointer;background-position:0 18px;z-index:16;}.dhx_agenda_area{width:100%;height:100%;overflow-y:auto;background-image:url(./imgs/databg.png);}.dhx_agenda_line{height:21px;clear:both;overflow:hidden;}.dhx_agenda_line div{float:left;width:188px;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_agenda_area .dhx_agenda_line div{border-right:0 dotted #8894A3;}.dhx_v_border{position:absolute;left:186px;top:0;border-right:1px dotted #8894A3;width:1px;height:100%;}.dhx_agenda_line .dhx_event_icon{width:20px;border-width:0;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_agenda_line span{padding-left:5px;line-height:21px;} + + +.dhx_year_week{ + position:relative; + font-weight:bold; + font-size:1em; + color:#aaa; + vertical-align:middle; + border-top:1px solid #ccc; + border-bottom:1px solid #ccc; +} + +.dhx_scale_bar_last{border-right:1px dotted #586A7E;} + +.dhx_year_month{ + height:18px; + padding-top:3px; + text-align:center; + vertical-align:middle; + text-transform:uppercase; + font-weight:bold; + font-size:0.9em; + text-shadow: 0 1px 0 white; + border:0px; +} +/*.dhx_mini_calendar .dhx_year_month{ + padding-top:0px; +} */ + +.dhx_mini_calendar .dhx_year_body { + border:0px; +} + +.dhx_year_body .dhx_before .dhx_month_head,.dhx_year_body .dhx_after .dhx_month_head,.dhx_year_body .dhx_before .dhx_month_head a,.dhx_year_body .dhx_after .dhx_month_head a {color:#bbb;} + +.dhx_year_body .dhx_month_body{height:0;overflow:hidden;} + +.dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head{cursor:default;} + +.dhx_tooltip{border:1px solid #BBB;background-image:url(./imgs/databg.png);position:absolute;z-index:9998;width:300px;height:auto; +font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;overflow:hidden;}.dhx_tooltip_line .dhx_event_icon{width:20px;height:20px;padding-right:10px;float:left;border-width:0;position:relative;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_tooltip_date{float:left;width:auto;padding-left:5px;text-align:center;} + +.dhx_text_disabled{color:#887A2E;font-size:8pt;}.dhx_mini_calendar{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;} + +.dhx_mini_calendar .dhx_month_head{cursor:pointer;} + +.dhx_mini_calendar .dhx_calendar_click{background-color:#C2D5FC;} + +.dhx_cal_navline div.dhx_minical_icon{width:18px;height:18px;left:190px;top:1px;cursor:pointer;background-image:url(./imgs/calendar.gif);} + +.dhx_matrix_scell{height:100%;}.dhx_matrix_cell,.dhx_matrix_scell{overflow:hidden;text-align:center;vertical-align:middle;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;}.dhx_matrix_cell{background-color:white;}.dhx_matrix_line{overflow:hidden;}.dhx_matrix_cell div,.dhx_matrix_scell div{overflow:hidden;text-align:center;height:auto;}.dhx_cal_lsection .dhx_readonly{font-size:9pt;font-size:8pt;padding:2px;color:#887A2E;} + +.dhx_matrix_scell.folder,.dhx_data_table.folder .dhx_matrix_cell{background-color:#969394;cursor:pointer;}.dhx_matrix_scell .dhx_scell_level0{padding-left:5px;}.dhx_matrix_scell .dhx_scell_level1{padding-left:20px;}.dhx_matrix_scell .dhx_scell_level2{padding-left:35px;}.dhx_matrix_scell .dhx_scell_level3{padding-left:50px;}.dhx_matrix_scell .dhx_scell_level4{padding-left:65px;}.dhx_matrix_scell.folder{font-weight:bold;text-align:left;}.dhx_matrix_scell.folder .dhx_scell_expand{float:left;width:10px;padding-right:3px;}.dhx_matrix_scell.folder .dhx_scell_name{float:left;width:auto;}.dhx_matrix_scell.item .dhx_scell_name{padding-left:15px;text-align:left;} + +.dhx_data_table.folder .dhx_matrix_cell{border-right:0;}.dhx_section_timeline{overflow:hidden;padding:4px 0 2px 10px;}.dhx_section_timeline select{width:552px;}.dhx_map_area{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;background-image:url(./imgs/databg.png);}.dhx_map_line .dhx_event_icon{width:20px;border-width:0;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_map_line{height:21px;clear:both;overflow:hidden;}.dhx_map{position:absolute;}.dhx_map_line div{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .headline_description{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .dhx_map_description{float:left;border-right:0 dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} + +.dhx_map_line .line_description{float:left;border-right:1px dotted #8894A3;text-align:left;padding-left:5px;line-height:21px;overflow:hidden;}.dhx_map_line.highlight{background-color:#C4C5CC;}.dhx_map_area .dhx_map_line div{border-right:0 dotted #8894A3;}.dhtmlXTooltip.tooltip{-moz-box-shadow:3px 3px 3px #888;-webkit-box-shadow:3px 3px 3px #888;-o-box-shadow:3px 3px 3px #888;box-shadow:3px 3px 3px #888;filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=5);background-color:white;border-left:1px dotted #887A2E;border-top:1px dotted #887A2E;color:#887A2E;cursor:default;padding:10px;position:absolute;z-index:500;}.dhx_cal_checkbox label{padding-left:5px;}.dhx_cal_light .radio{padding:2px 0 2px 10px;}.dhx_cal_light .radio input,.dhx_cal_light .radio label{line-height:15px;}.dhx_cal_light .radio input{vertical-align:middle;margin:0;padding:0;}.dhx_cal_light .radio label{vertical-align:middle;padding-right:10px;}.dhx_cal_light .combo{padding:4px;}.dhx_wa_column{float:left;}.dhx_wa_column_last .dhx_wa_day_cont{border-left:1px dotted #8894A3;} + +.dhx_wa_scale_bar{padding-left:10px;font-size:11px;border-top:1px dotted #8894A3;border-bottom:1px dotted #8894A3;}.dhx_wa_day_data{background-color:#FCFEFC;overflow-y:auto;}.dhx_wa_ev_body{border-bottom:1px dotted #789;font-size:12px;padding:5px 0 5px 7px;} + +.dhx_wa_dnd{position:absolute;padding-right:7px;color:#887AE2!important;background-color:#FFE763!important;border:1px solid #B7A543;}.dhx_cal_event_selected{background-color:#9cc1db;color:white;}.dhx_second_scale_bar{border-bottom:1px dotted #586A7E;padding-top:2px;}div.dhx_form_repeat input.radio{margin:-4px 0 0 -4px!ie;}div.dhx_form_repeat input.checkbox{margin:0 0 0 -4px!ie;} + +.dhx_form_repeat,.dhx_form_repeat input{padding:0;margin:0;padding-left:5px; +font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;background-color:#FFF4B5;}.dhx_cal_light_wide .dhx_form_repeat{background-color:transparent;}.dhx_repeat_center,.dhx_repeat_left{height:115px;padding:10px 0 10px 10px;float:left;}.dhx_repeat_left{width:95px;}.dhx_repeat_center{width:335px;margin-top:12px;}.dhx_repeat_divider{float:left;height:115px;border-left:1px dotted #DCC43E;width:1px;}.dhx_repeat_right{float:right;height:115px;width:160px;padding:10px 3px 10px 10px;margin-top:7px;}input.dhx_repeat_text{height:16px;width:27px;margin:0 4px 0 4px;line-height:18px;padding:0 0 0 2px;}.dhx_form_repeat select{height:20px;width:87px;padding:0 0 0 2px;margin:0 4px 0 4px;}input.dhx_repeat_date{height:18px;width:80px;padding:0 0 0 2px;margin:0 4px 0 4px;background-repeat:no-repeat;background-position:64px 0;border:1px #7f9db9 solid;line-height:18px;}input.dhx_repeat_radio{margin-right:4px;}input.dhx_repeat_checkbox{margin:4px 4px 0 0;}.dhx_repeat_days td{padding-right:5px;}.dhx_repeat_days label{font-size:10px;}.dhx_custom_button{width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_custom_button_recurring{background-image:url(./imgs/but_repeat.gif);background-position:-5px 20px;width:20px;margin-right:10px;}.dhx_cal_light_rec{width:640px;}.dhx_cal_light_rec .dhx_cal_larea{width:632px;}.dhx_cal_light_rec.dhx_cal_light_wide{width:816px;}.dhx_cal_light_rec.dhx_cal_light_wide .dhx_cal_larea{width:808px;} + +.dhx_multi_day{border:none;border-top:1px solid #A4BED4;} + +.dhx_multi_day_icon,.dhx_multi_day_icon_small{border-right:none;} + + + +.dhx_cal_navline{background-color:none;height:23px!important;} + + + + +.dhx_scale_bar{/*background-image:url(imgs/top-separator.gif);background-position:0 0;background-repeat:no-repeat; */background-color:transparent;padding-top:3px;border-left:0;} + +.dhx_scale_holder{border-right:1px solid #A4BED4;} + +.dhx_scale_holder_now{border-right:1px solid #A4BED4;}.dhx_scale_hour{background-image:url(imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} + +.dhx_multi_day{background-image:url(imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} + +.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-image:url(imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} + +.dhx_month_head{background-color:#F4F4F4;} + +.dhx_after .dhx_month_head,.dhx_before .dhx_month_head{background-color:#F4F4F4;} + +.dhx_after .dhx_month_body,.dhx_before .dhx_month_body{background-color:#EFEDE2;} + +.dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;}.dhx_cal_event_clear{color:#000;}.dhx_cal_event_line{background-image:url(imgs/event-bg.png);border:1px solid #FFBD51;color:#000;}.dhx_in_move{background-image:url(imgs/move.png);}.dhx_cal_event .dhx_body{background-color:#FFE4AB;} + +.dhx_cal_event .dhx_title{background-color:#FFE4AB;} + +.dhx_cal_light{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;background-color:#EBEBEB;border:2px solid #A4BED4;color:#000;}.dhx_cal_larea{border:1px solid #A4BED4;border-width:0 1px 1px;background-color:#FFF;}.dhx_cal_lsection{background-image:url(imgs/lightbox.png);font-size:14px;padding:5px 0 5px 10px;color:#000;}.dhx_cal_light_wide .dhx_cal_lsection{background-image:url(imgs/multi-days-bg.png);}.dhx_cal_ltext textarea{background-color:#fff;color:#000;}.dhx_cal_light select,.dhx_cal_light input{color:#000;}.dhx_save_btn{background-image:url(imgs/controlls5.png);}.dhx_cancel_btn{background-image:url(imgs/controlls5.png);}.dhx_delete_btn{background-image:url(imgs/controlls5.png);}div.dhx_menu_head{background-image:url(imgs/controlls5.png);border:1px solid #FFE4AB;}div.dhx_menu_icon{background-image:url(imgs/controlls5.png);border:medium none;}.dhx_section_time{height:20px!important;padding:7px 0!important;text-align:center;background:white;}div.dhx_cal_editor{background-color:#FFE4AB;} + +.dhx_month_head{border-right:1px solid #E9E9E9;} + +.dhx_month_body{ + border-right:1px solid #E9E9E9; + border-bottom:1px solid #E9E9E9; +} + + .dhx_scale_bar_last{border-right:none;} + +.dhx_month_head.dhx_year_event{background-color:#ddd;} + +.dhx_year_body .dhx_before .dhx_month_head,.dhx_year_body .dhx_after .dhx_month_head,.dhx_year_body .dhx_before .dhx_month_head a,.dhx_year_body .dhx_after .dhx_month_head a{color:#EFEDE2 ;} + +.dhx_cal_lsection .dhx_readonly{color:#000;}.dhx_tooltip{-moz-box-shadow:2px 2px 2px #888;-khtml-box-shadow:2px 2px 2px #888;}.dhx_custom_button{margin-top:-2px;}.dhx_cal_lsection .dhx_fullday{color:#000;}.dhx_cal_lsection.dhx_cal_checkbox{height:16px;line-height:18px;}.dhx_cal_light_wide .dhx_cal_lsection.dhx_cal_checkbox{height:20px;}.dhx_cal_checkbox label{vertical-align:top;}.dhx_cal_light_wide .dhx_cal_lsection{color:black;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #A4BED4;background-image:url(imgs/multi-days-bg.png);}.dhx_cal_light_wide .dhx_cal_ltext{border-left:1px solid #A4BED4;}.dhx_cal_light_wide .dhx_cal_ltext{background-color:white;}.dhx_custom_button{background:white;color:black;}.dhx_form_repeat{background:white;}.dhx_repeat_divider{border-left:1px solid #A4BED4;} + +.dhx_cal_header.dhx_second_cal_header{background-image:url("imgs/second-top-days-bg.png");padding-right:20px;} + +.dhx_scale_bar{padding-top:4px;} + +.dhx_second_scale_bar{border-bottom:0;padding-top:4px;}.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday,.dhx_cal_lsection .dhx_fullday{color:#000;font-size:14px;} + +.dhx_cal_light_wide .dhx_cal_lsection{font-size:14px;padding-right:10px;} + + +.dhx_scale_bar { +/* background-color:#bac6cf; + border-left:1px dotted #7e7e7e; */ + } + +.dhx_scale_hour { + background-color:#bac6cf; + border-bottom:1px dotted #7e7e7e; + color: #020202; +} + +.dhx_cal_drag { + background-color:#ff8d8d; + border:1px solid #a73636; +} + +.dhx_cal_event div { + background-color:#ff8d8d; + color: #000102; + border:1px solid #a73636; +} + +.dhx_cal_event_line { + background-color:#ff8d8d; + color: #000102; + border:1px solid #a73636; +} + +.dhx_in_move{ + background-color:#f7ffb1; +} + + +.dhx_scale_holder { + background-image:url("./imgs/databg.png"); + border-right:1px dotted #7e7e7e; +} + +.dhx_scale_holder_now { + background-image:url("./imgs/databg_now.png"); + border-right:1px dotted #7e7e7e; +} + +.dhx_cal_event div.dhx_menu_icon { + border: medium none; +} + +.dhx_after .dhx_month_body, .dhx_before .dhx_month_body { + background-color:#e9e9e9; +} + + +.dhx_cal_light { + background-color:#ff8d8d; + color: #000102; + border:1px solid #b7a543; +} + +.dhx_cal_light select { + color: #000102; +} + +.dhx_cal_lsection { + background-color:#dbcf8c; + color: #fff4b5; +} + +.dhx_cal_larea { + background-color:#fff4b5; + border:1px solid #b7a543; +} + + +.dhx_agenda_area{ + background-image:url("./imgs/databg.png"); +} + +.dhx_agenda_line div { + border-right:1px dotted #7e7e7e; +} + +.dhx_agenda_area .dhx_agenda_line div { + border-right:0px dotted #7e7e7e; +} + + +.dhx_scale_bar_last { + border-right: none; +} + +.dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head, .dhx_year_body .dhx_before .dhx_month_head a, .dhx_year_body .dhx_after .dhx_month_head a { + color:#bbb; +} +.dhx_year_body .dhx_before .dhx_month_head:hover, .dhx_year_body .dhx_after .dhx_month_head:hover, .dhx_year_body .dhx_before .dhx_month_head a:hover, .dhx_year_body .dhx_after .dhx_month_head a:hover { + color:white; + text-shadow:none; +} + +.dhx_tooltip { + background-image:url("./imgs/databg.png"); +} + +.dhx_cal_event div.dhx_menu_head { + border:none; +} + +div.dhx_menu_head{ + border:1px solid #ff8d8d; +} + +.dhx_after .dhx_month_head, .dhx_before .dhx_month_head { + color:#8c9299; +} + +.dhx_cal_data .dhx_agenda_line { + color:#000102; +} + +.dhx_cal_header .dhx_agenda_line { + color: #020202; +} + +.dhx_tooltip_line { + color:#000102; +} + +.dhx_cal_light select { + background-color: #ffffff; +} + +.dhx_custom_button { + color: #000102; + background-color: #bac6cf; +} + +div.dhx_form_repeat { + background-color: #ffffff; +} + +div.dhx_repeat_divider { + border-left:1px dotted #dbcf8c; +} + + +.dhx_v_border { + border-right:1px dotted #8c9299; +} + + +.dhx_scale_bar_last { + border-right: none; +} + +.dhx_tooltip { + background-image:url("./imgs/databg.png"); +} + +.dhx_text_disabled { + color:#000102; +} + +.dhx_mini_calendar .dhx_calendar_click { + background-color:#bac6cf; +} + +.dhx_matrix_cell,.dhx_matrix_scell { + border-bottom:1px dotted #757575; + border-right:1px dotted #757575; +} + +.dhx_matrix_cell { + background-color: #ffffff; +} + + +/*=================================================================*/ +/* pro */ +/*=================================================================*/ + + +.dhx_cal_navline{ + background-color:none; +} + + +.dhx_scale_holder { + border-right:1px solid #757575; +} + +.dhx_scale_holder_now{ + border-right:1px solid #757575; +} + +.dhx_scale_hour{ + background-image:url("./imgs/left-time-bg.png"); + border-bottom:1px solid #757575; + color: #020202; +} + +.dhx_multi_day{ + background-image:url("./imgs/multi-days-bg.png"); + border-bottom:1px solid #757575; +} + +.dhx_multi_day_icon,.dhx_multi_day_icon_small{ + background-image:url("./imgs/multi-days-bg.png"); + border-bottom:1px solid #757575; + border-left:1px solid #FFFFFF; +} + +.dhx_cal_event div{ + border:1px solid #a73636; + background-color:#ff8d8d; + color:#000102; +} + +.dhx_cal_event_clear{ + color:#000102; +} + +.dhx_cal_event_line{ + background-image:url("./imgs/event-bg.png"); + border:1px solid #a73636; + color:#000102; +} + +.dhx_in_move{ + background-image:url("./imgs/move.png"); +} + +.dhx_cal_event .dhx_body{ + background-color:#ff8d8d; +} + +.dhx_cal_light{ + background-color:#bac6cf; + border:2px solid #757575; + color:#000102; +} + +.dhx_cal_larea{ + border:1px solid #757575; + background-color:#FFFFFF; +} + +.dhx_cal_lsection{ + background-image:url("./imgs/lightbox.png"); + color:#000102; +} + +.dhx_cal_ltext{ + background-color:#ffffff; +} + +.dhx_cal_ltext textarea{ + color:#000102; + background-color:#ffffff; +} + +.dhx_form_repeat input, .dhx_form_repeat select{ + background-color:white; + color:black; +} + +.dhx_cal_light select{ + color:#000102; + background-color:#ffffff; +} + +.dhx_section_time{ + background-image:none; + background-color:#ffffff; +} + +div.dhx_cal_editor{ + background-color:#ff8d8d; +} + +div.dhx_cal_editor textarea { + color: #000102; +} + + +/* .dhx_year_week{ + background-image:url("./imgs/top-days-bg.png"); +} + +.dhx_month_head.dhx_year_event{ + background-color:#ff8d8d; +} */ + +.dhx_cal_lsection .dhx_readonly{ + color:#000102; +} + +.dhx_after .dhx_month_head, .dhx_before .dhx_month_head { + background-color:#F4F4F4; +} + +.dhx_cal_event div{ + font-size: 11px; +} +.dhx_cal_event_line { + font-size: 11px; +} +.dhx_cal_event_clear{ + font-size: 11px; +} +.dhx_cal_light{ + font-size: 11px; +} +.dhx_cal_light select{ + font-size: 11px; +} +.dhx_custom_button{ + font-size: 11px; +} + +.dhx_cal_lsection{ + font-size: 14px; +} + +.dhx_cal_ltext textarea { + font-size: 11px; +} + + +/*Added in 2.3*/ + + +/* Tree view */ +.dhx_matrix_scell.folder, .dhx_data_table.folder .dhx_matrix_cell{ + background-color: #7e7e7e; +} +.dhtmlXTooltip.tooltip{ + border-left:1px dotted #7e7e7e; + border-top:1px dotted #7e7e7e; +} +.dhx_map_area{ + background-image:url("./imgs/databg_now.png"); +} +.dhx_map_line div{ + border-right:1px dotted #7e7e7e; +} +.dhx_map_line .headline_description{ + border-right:1px dotted #7e7e7e; +} +.dhx_map_line .dhx_map_description{ + border-right: 0px dotted #7e7e7e; +} +.dhx_map_line .line_description{ + border-right:1px dotted #7e7e7e; +} +.dhx_map_line.highlight{ + background-color: #bac6cf; +} +.dhx_map_area .dhx_map_line div{ + border-right:0px dotted #7e7e7e; +} + + + +/* Map view */ +.dhx_map_area{ + background-image:url("./imgs/databg.png"); +} +/* Map view end */ + + +/* Agenda week start */ +.dhx_wa_column_last .dhx_wa_day_cont{ + border-left: 1px dotted #757575; +} +.dhx_wa_scale_bar { + border-top: 1px dotted #757575; + border-bottom: 1px dotted #757575; + color: #020202; +} +.dhx_wa_day_data { + background-color: #ffffff; +} +.dhx_wa_ev_body { + border-bottom: 1px dotted #757575; + color: #000102; +} +.dhx_wa_dnd { + color: #525253 !important; + background-color: #f7ffb1 !important; + border: 1px solid #757575; +} +.dhx_cal_event_selected{ + background-color: #757575; + color: ffffff; +} +/* Agenda week end */ + + + + +.dhx_scale_bar_header { + border-bottom: 1px dotted #8894A3; +} + +/*All*/ +/* increase width of lightbox */ +.dhx_cal_light_wide .dhx_cal_lsection{ + background-image:url(./imgs/multi-days-bg.png); +} +/*2.3*/ +.dhx_cal_lsection .dhx_fullday{ + color:#000000; +} +.dhx_cal_light_wide .dhx_cal_lsection{ + color:#000000; +} +.dhx_cal_light_wide .dhx_wrap_section{ + border-top:1px solid #757575; + background-image:url(./imgs/multi-days-bg.png); +} +.dhx_cal_light_wide .dhx_cal_ltext{ + border-left:1px solid #757575; +} +.dhx_cal_light_wide .dhx_cal_ltext { + background-color:#ffffff; +} +.dhx_custom_button{ + background:#ffffff; + color:#000000; +} +/* timeline second scale start */ +.dhx_cal_header.dhx_second_cal_header { + background-image: url("./imgs/second-top-days-bg.png"); +} +/* timeline second scale end */ +.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday, .dhx_cal_lsection .dhx_fullday{ + color:#000000; + font-size: 14px; +} +.dhx_cal_light_wide .dhx_cal_lsection { + font-size: 14px; +} + +.dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container { + background-color: #d0e5ff; +} + +div.dhx_cal_editor{ + border:1px solid #B7A543; +} + +.dhx_cal_light_wide .dhx_repeat_divider { + border-color: #757575; +} + +.dhx_cal_event .dhx_header, .dhx_cal_event .dhx_header { + display:none; +} +.dhx_scale_holder .dhx_cal_event .dhx_footer, .dhx_scale_holder_now .dhx_cal_event .dhx_footer { + display:none; +} diff --git a/addons/web_calendar/static/src/js/calendar.js b/addons/web_calendar/static/src/js/calendar.js index a5fd8bcac9c..d2e8828b1dc 100644 --- a/addons/web_calendar/static/src/js/calendar.js +++ b/addons/web_calendar/static/src/js/calendar.js @@ -113,6 +113,9 @@ openerp.web_calendar.CalendarView = openerp.web.View.extend({ scheduler.init('openerp_scheduler', null, this.mode || 'month'); + // Remove hard coded style attributes from dhtmlx scheduler + this.$element.find(".dhx_cal_navline div").removeAttr('style'); + scheduler.detachAllEvents(); scheduler.attachEvent('onEventAdded', this.do_create_event); scheduler.attachEvent('onEventDeleted', this.do_delete_event); From 7bfe9c55c97f30ade77459104bc198d87d2e9099 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 13:48:33 +0200 Subject: [PATCH 3/9] [IMP] Last changes in the web_calendar css bzr revid: ahu@openerp.com-20111027114833-hu2g70zlicypenuq --- .../static/src/css/web_calendar.css | 135 +++++++++--------- 1 file changed, 69 insertions(+), 66 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index 656f6c92946..ae3f944006c 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -7,7 +7,7 @@ -webkit-box-shadow: none; box-shadow: none; } -.dhx_cal_container{ +.dhx_cal_container, .dhx_cal_event { background-position:0 24px; background-repeat:repeat-x; background-color:white; @@ -144,7 +144,7 @@ height:18px; } .dhx_mini_calendar .dhx_cal_prev_button { - background :url("/web_calendar/static/src/img/minical_left.png") no-repeat 5px 6px; + background:url("/web_calendar/static/src/img/minical_left.png") no-repeat 5px 6px; } .dhx_mini_calendar .dhx_cal_next_button { @@ -241,7 +241,7 @@ border-left:1px dotted #586A7E; } -.dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url(imgs/databg.png);}.dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url(imgs/databg_now.png);}.dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} +.dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png");}.dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png");}.dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} .dhx_month_head{ background-color:#F4F4F4; @@ -275,18 +275,23 @@ .dhx_cal_drag{position:absolute;z-index:9999;background-color:#FFE763;border:1px solid #B7A543;opacity:.5;filter:alpha(opacity=50);} -.dhx_loading{position:absolute;width:128px;height:15px;background-image:url(imgs/loading.gif);z-index:9999;} +.dhx_loading{position:absolute;width:128px;height:15px;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/loading.gif);z-index:9999;} .dhx_multi_day_icon,.dhx_multi_day{background-color:#E1E6FF;background-repeat:no-repeat;border-right:1px dotted #8894A3;}.dhx_multi_day{position:absolute;border-top:1px dotted #8894A3;}. -dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon_small{background-image:url(imgs/clock_small.gif);} +dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_big.gif);}.dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_small.gif);} .dhx_multi_day_icon,.dhx_multi_day_icon_small{background-position:center center;background-color:#E1E6FF;background-repeat:no-repeat;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} .dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} .dhx_cal_event div{ - background-color:#FFE763;border:1px solid #B7A543;color:#887A2E;overflow:hidden;width:100%;font-size:8pt; + background-color:#FFE763; + border:1px solid #a73636; + color:#887A2E; + overflow:hidden; + width:100%; + font-size:100%; } .dhx_move_denied .dhx_cal_event .dhx_header,.dhx_move_denied .dhx_cal_event .dhx_title{cursor:default;} @@ -299,21 +304,25 @@ dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon } .dhx_cal_event .dhx_title{ - height:16px; - border-bottom-style:dotted;font-size:7pt; + height:18px; + border-bottom-style:solid; + border-top-style:solid; font-weight:bold; text-align:center; background-position:right; background-repeat:no-repeat; cursor:pointer; - font-size: 0.8em; + vertical-align:middle; + padding-top:2px; + font-size: 120%; -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; } .dhx_cal_event .dhx_body{ border-width:0 1px 1px 1px; padding:5px; - -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px + -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; + font-size:120%; } .dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} @@ -322,24 +331,24 @@ dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon font-size:8pt;height:13px;padding-left:10px;color:#887A2E;cursor:pointer;overflow:hidden;} .dhx_cal_event_clear{ - font-size:8pt; + font-size:130%; height:15px; padding-left:2px; - color:#887A2E; + color:white; white-space:nowrap; overflow:hidden; cursor:pointer; vertical-align:middle; } -.dhx_in_move{background-color:#FFFF80;}div.dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.dhx_menu_head{background-image:url(imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;}div.dhx_menu_icon{background-image:url(imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;}div.icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;}div.icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;}div.dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;}div.dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} +.dhx_in_move{background-color:#FFFF80;}div.dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;}div.dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;}div.icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;}div.icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;}div.dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;}div.dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} .dhx_unselectable,.dhx_unselectable div{-webkit-user-select:none;-moz-user-select:none;-moz-user-select:-moz-none;} .dhx_cal_light{background-color:#FFE763;border-radius:5px; font-size:8pt;border:1px solid #B7A64B;color:#887A2E;position:absolute;z-index:10001;width:580px;height:300px;box-shadow:5px 5px 5px #888;} -.dhx_cal_light_wide{width:650px;}.dhx_mark{position:relative;top:3px;background-image:url('./imgs/controls.gif');background-position:0 -43px;padding-left:10px;} +.dhx_cal_light_wide{width:650px;}.dhx_mark{position:relative;top:3px;background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:0 -43px;padding-left:10px;} .dhx_ie6 .dhx_mark{background-position:6px -41px;} @@ -357,7 +366,7 @@ dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon .dhx_cal_light .dhx_title{padding-left:10px;} -.dhx_cal_larea{border:1px solid #DCC43E;background-color:#FFF4B5;overflow:hidden;margin-left:3px;width:572px;height:1px;}.dhx_btn_set{padding:5px 10px 0 10px;float:left;}.dhx_btn_set div{float:left;height:21px;line-height:21px;vertical-align:middle;cursor:pointer;}.dhx_save_btn{background-image:url('./imgs/controls.gif');background-position:-84px 0;width:21px;}.dhx_cancel_btn{background-image:url('./imgs/controls.gif');background-position:-63px 0;width:20px;}.dhx_delete_btn{background-image:url('./imgs/controls.gif');background-position:-42px 0;width:20px;}.dhx_cal_cover{width:100%;height:100%;position:absolute;z-index:10000;top:0;left:0;background-color:black;opacity:.1;filter:alpha(opacity=10);}.dhx_custom_button{padding:0 3px 0 3px;color:#887A2E;font-size:8pt;background-color:#FFE763;font-weight:normal;margin-right:5px;margin-top:0;cursor:pointer;}.dhx_custom_button div{cursor:pointer;float:left;height:21px;line-height:21px;vertical-align:middle;} +.dhx_cal_larea{border:1px solid #DCC43E;background-color:#FFF4B5;overflow:hidden;margin-left:3px;width:572px;height:1px;}.dhx_btn_set{padding:5px 10px 0 10px;float:left;}.dhx_btn_set div{float:left;height:21px;line-height:21px;vertical-align:middle;cursor:pointer;}.dhx_save_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-84px 0;width:21px;}.dhx_cancel_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-63px 0;width:20px;}.dhx_delete_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-42px 0;width:20px;}.dhx_cal_cover{width:100%;height:100%;position:absolute;z-index:10000;top:0;left:0;background-color:black;opacity:.1;filter:alpha(opacity=10);}.dhx_custom_button{padding:0 3px 0 3px;color:#887A2E;font-size:8pt;background-color:#FFE763;font-weight:normal;margin-right:5px;margin-top:0;cursor:pointer;}.dhx_custom_button div{cursor:pointer;float:left;height:21px;line-height:21px;vertical-align:middle;} .dhx_cal_light_wide .dhx_cal_larea{border-top-width:0;}.dhx_cal_light_wide .dhx_cal_lsection{border:0;float:left;text-align:right;width:100px;height:20px;font-size:16px;padding:5px 0 0 10px;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #DBCF8C;position:relative;background-color:#DBCF8C;overflow:hidden;}.dhx_cal_light_wide .dhx_section_time{padding-top:2px!important;height:20px!important;}.dhx_section_time{text-align:center;}.dhx_cal_light_wide .dhx_cal_larea{width:730px;}.dhx_cal_light_wide{width:738px;}.dhx_cal_light_wide .dhx_section_time{background:transparent;}.dhx_cal_light_wide .dhx_cal_checkbox label{padding-left:0;}.dhx_cal_wide_checkbox input{margin-top:8px;margin-left:14px;}.dhx_cal_light input{;font-size:8pt;color:#887A2E;} @@ -367,7 +376,7 @@ dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon .dhx_scale_bar_header{position:absolute;border-bottom:1px dotted #8894A3;width:100%;} -.dhx_expand_icon{position:absolute;top:0;right:0;background-image:url(./imgs/colapce-expand-icon.gif);width:18px;height:18px;cursor:pointer;background-position:0 18px;z-index:16;}.dhx_agenda_area{width:100%;height:100%;overflow-y:auto;background-image:url(./imgs/databg.png);}.dhx_agenda_line{height:21px;clear:both;overflow:hidden;}.dhx_agenda_line div{float:left;width:188px;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_agenda_area .dhx_agenda_line div{border-right:0 dotted #8894A3;}.dhx_v_border{position:absolute;left:186px;top:0;border-right:1px dotted #8894A3;width:1px;height:100%;}.dhx_agenda_line .dhx_event_icon{width:20px;border-width:0;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_agenda_line span{padding-left:5px;line-height:21px;} +.dhx_expand_icon{position:absolute;top:0;right:0;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/colapce-expand-icon.gif);width:18px;height:18px;cursor:pointer;background-position:0 18px;z-index:16;}.dhx_agenda_area{width:100%;height:100%;overflow-y:auto;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);}.dhx_agenda_line{height:21px;clear:both;overflow:hidden;}.dhx_agenda_line div{float:left;width:188px;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_agenda_area .dhx_agenda_line div{border-right:0 dotted #8894A3;}.dhx_v_border{position:absolute;left:186px;top:0;border-right:1px dotted #8894A3;width:1px;height:100%;}.dhx_agenda_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_agenda_line span{padding-left:5px;line-height:21px;} .dhx_year_week{ @@ -407,8 +416,8 @@ dhx_multi_day_icon{background-image:url(imgs/clock_big.gif);}.dhx_multi_day_icon .dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head{cursor:default;} -.dhx_tooltip{border:1px solid #BBB;background-image:url(./imgs/databg.png);position:absolute;z-index:9998;width:300px;height:auto; -font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;overflow:hidden;}.dhx_tooltip_line .dhx_event_icon{width:20px;height:20px;padding-right:10px;float:left;border-width:0;position:relative;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_tooltip_date{float:left;width:auto;padding-left:5px;text-align:center;} +.dhx_tooltip{border:1px solid #BBB;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);position:absolute;z-index:9998;width:300px;height:auto; +font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;overflow:hidden;}.dhx_tooltip_line .dhx_event_icon{width:20px;height:20px;padding-right:10px;float:left;border-width:0;position:relative;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_tooltip_date{float:left;width:auto;padding-left:5px;text-align:center;} .dhx_text_disabled{color:#887A2E;font-size:8pt;}.dhx_mini_calendar{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;} @@ -416,13 +425,13 @@ font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;ov .dhx_mini_calendar .dhx_calendar_click{background-color:#C2D5FC;} -.dhx_cal_navline div.dhx_minical_icon{width:18px;height:18px;left:190px;top:1px;cursor:pointer;background-image:url(./imgs/calendar.gif);} +.dhx_cal_navline div.dhx_minical_icon{width:18px;height:18px;left:190px;top:1px;cursor:pointer;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/calendar.gif);} .dhx_matrix_scell{height:100%;}.dhx_matrix_cell,.dhx_matrix_scell{overflow:hidden;text-align:center;vertical-align:middle;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;}.dhx_matrix_cell{background-color:white;}.dhx_matrix_line{overflow:hidden;}.dhx_matrix_cell div,.dhx_matrix_scell div{overflow:hidden;text-align:center;height:auto;}.dhx_cal_lsection .dhx_readonly{font-size:9pt;font-size:8pt;padding:2px;color:#887A2E;} .dhx_matrix_scell.folder,.dhx_data_table.folder .dhx_matrix_cell{background-color:#969394;cursor:pointer;}.dhx_matrix_scell .dhx_scell_level0{padding-left:5px;}.dhx_matrix_scell .dhx_scell_level1{padding-left:20px;}.dhx_matrix_scell .dhx_scell_level2{padding-left:35px;}.dhx_matrix_scell .dhx_scell_level3{padding-left:50px;}.dhx_matrix_scell .dhx_scell_level4{padding-left:65px;}.dhx_matrix_scell.folder{font-weight:bold;text-align:left;}.dhx_matrix_scell.folder .dhx_scell_expand{float:left;width:10px;padding-right:3px;}.dhx_matrix_scell.folder .dhx_scell_name{float:left;width:auto;}.dhx_matrix_scell.item .dhx_scell_name{padding-left:15px;text-align:left;} -.dhx_data_table.folder .dhx_matrix_cell{border-right:0;}.dhx_section_timeline{overflow:hidden;padding:4px 0 2px 10px;}.dhx_section_timeline select{width:552px;}.dhx_map_area{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;background-image:url(./imgs/databg.png);}.dhx_map_line .dhx_event_icon{width:20px;border-width:0;background:url(./imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_map_line{height:21px;clear:both;overflow:hidden;}.dhx_map{position:absolute;}.dhx_map_line div{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .headline_description{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .dhx_map_description{float:left;border-right:0 dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} +.dhx_data_table.folder .dhx_matrix_cell{border-right:0;}.dhx_section_timeline{overflow:hidden;padding:4px 0 2px 10px;}.dhx_section_timeline select{width:552px;}.dhx_map_area{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);}.dhx_map_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_map_line{height:21px;clear:both;overflow:hidden;}.dhx_map{position:absolute;}.dhx_map_line div{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .headline_description{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .dhx_map_description{float:left;border-right:0 dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} .dhx_map_line .line_description{float:left;border-right:1px dotted #8894A3;text-align:left;padding-left:5px;line-height:21px;overflow:hidden;}.dhx_map_line.highlight{background-color:#C4C5CC;}.dhx_map_area .dhx_map_line div{border-right:0 dotted #8894A3;}.dhtmlXTooltip.tooltip{-moz-box-shadow:3px 3px 3px #888;-webkit-box-shadow:3px 3px 3px #888;-o-box-shadow:3px 3px 3px #888;box-shadow:3px 3px 3px #888;filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=5);background-color:white;border-left:1px dotted #887A2E;border-top:1px dotted #887A2E;color:#887A2E;cursor:default;padding:10px;position:absolute;z-index:500;}.dhx_cal_checkbox label{padding-left:5px;}.dhx_cal_light .radio{padding:2px 0 2px 10px;}.dhx_cal_light .radio input,.dhx_cal_light .radio label{line-height:15px;}.dhx_cal_light .radio input{vertical-align:middle;margin:0;padding:0;}.dhx_cal_light .radio label{vertical-align:middle;padding-right:10px;}.dhx_cal_light .combo{padding:4px;}.dhx_wa_column{float:left;}.dhx_wa_column_last .dhx_wa_day_cont{border-left:1px dotted #8894A3;} @@ -431,7 +440,7 @@ font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;ov .dhx_wa_dnd{position:absolute;padding-right:7px;color:#887AE2!important;background-color:#FFE763!important;border:1px solid #B7A543;}.dhx_cal_event_selected{background-color:#9cc1db;color:white;}.dhx_second_scale_bar{border-bottom:1px dotted #586A7E;padding-top:2px;}div.dhx_form_repeat input.radio{margin:-4px 0 0 -4px!ie;}div.dhx_form_repeat input.checkbox{margin:0 0 0 -4px!ie;} .dhx_form_repeat,.dhx_form_repeat input{padding:0;margin:0;padding-left:5px; -font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;background-color:#FFF4B5;}.dhx_cal_light_wide .dhx_form_repeat{background-color:transparent;}.dhx_repeat_center,.dhx_repeat_left{height:115px;padding:10px 0 10px 10px;float:left;}.dhx_repeat_left{width:95px;}.dhx_repeat_center{width:335px;margin-top:12px;}.dhx_repeat_divider{float:left;height:115px;border-left:1px dotted #DCC43E;width:1px;}.dhx_repeat_right{float:right;height:115px;width:160px;padding:10px 3px 10px 10px;margin-top:7px;}input.dhx_repeat_text{height:16px;width:27px;margin:0 4px 0 4px;line-height:18px;padding:0 0 0 2px;}.dhx_form_repeat select{height:20px;width:87px;padding:0 0 0 2px;margin:0 4px 0 4px;}input.dhx_repeat_date{height:18px;width:80px;padding:0 0 0 2px;margin:0 4px 0 4px;background-repeat:no-repeat;background-position:64px 0;border:1px #7f9db9 solid;line-height:18px;}input.dhx_repeat_radio{margin-right:4px;}input.dhx_repeat_checkbox{margin:4px 4px 0 0;}.dhx_repeat_days td{padding-right:5px;}.dhx_repeat_days label{font-size:10px;}.dhx_custom_button{width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_custom_button_recurring{background-image:url(./imgs/but_repeat.gif);background-position:-5px 20px;width:20px;margin-right:10px;}.dhx_cal_light_rec{width:640px;}.dhx_cal_light_rec .dhx_cal_larea{width:632px;}.dhx_cal_light_rec.dhx_cal_light_wide{width:816px;}.dhx_cal_light_rec.dhx_cal_light_wide .dhx_cal_larea{width:808px;} +font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;background-color:#FFF4B5;}.dhx_cal_light_wide .dhx_form_repeat{background-color:transparent;}.dhx_repeat_center,.dhx_repeat_left{height:115px;padding:10px 0 10px 10px;float:left;}.dhx_repeat_left{width:95px;}.dhx_repeat_center{width:335px;margin-top:12px;}.dhx_repeat_divider{float:left;height:115px;border-left:1px dotted #DCC43E;width:1px;}.dhx_repeat_right{float:right;height:115px;width:160px;padding:10px 3px 10px 10px;margin-top:7px;}input.dhx_repeat_text{height:16px;width:27px;margin:0 4px 0 4px;line-height:18px;padding:0 0 0 2px;}.dhx_form_repeat select{height:20px;width:87px;padding:0 0 0 2px;margin:0 4px 0 4px;}input.dhx_repeat_date{height:18px;width:80px;padding:0 0 0 2px;margin:0 4px 0 4px;background-repeat:no-repeat;background-position:64px 0;border:1px #7f9db9 solid;line-height:18px;}input.dhx_repeat_radio{margin-right:4px;}input.dhx_repeat_checkbox{margin:4px 4px 0 0;}.dhx_repeat_days td{padding-right:5px;}.dhx_repeat_days label{font-size:10px;}.dhx_custom_button{width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_custom_button_recurring{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/but_repeat.gif);background-position:-5px 20px;width:20px;margin-right:10px;}.dhx_cal_light_rec{width:640px;}.dhx_cal_light_rec .dhx_cal_larea{width:632px;}.dhx_cal_light_rec.dhx_cal_light_wide{width:816px;}.dhx_cal_light_rec.dhx_cal_light_wide .dhx_cal_larea{width:808px;} .dhx_multi_day{border:none;border-top:1px solid #A4BED4;} @@ -448,11 +457,11 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg .dhx_scale_holder{border-right:1px solid #A4BED4;} -.dhx_scale_holder_now{border-right:1px solid #A4BED4;}.dhx_scale_hour{background-image:url(imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} +.dhx_scale_holder_now{border-right:1px solid #A4BED4;}.dhx_scale_hour{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} -.dhx_multi_day{background-image:url(imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} +.dhx_multi_day{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} -.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-image:url(imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} +.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} .dhx_month_head{background-color:#F4F4F4;} @@ -460,11 +469,27 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg .dhx_after .dhx_month_body,.dhx_before .dhx_month_body{background-color:#EFEDE2;} -.dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;}.dhx_cal_event_clear{color:#000;}.dhx_cal_event_line{background-image:url(imgs/event-bg.png);border:1px solid #FFBD51;color:#000;}.dhx_in_move{background-image:url(imgs/move.png);}.dhx_cal_event .dhx_body{background-color:#FFE4AB;} +.dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;}.dhx_cal_event_line{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png);border:1px solid #FFBD51;color:#000;}.dhx_in_move{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png);} .dhx_cal_event .dhx_title{background-color:#FFE4AB;} -.dhx_cal_light{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;background-color:#EBEBEB;border:2px solid #A4BED4;color:#000;}.dhx_cal_larea{border:1px solid #A4BED4;border-width:0 1px 1px;background-color:#FFF;}.dhx_cal_lsection{background-image:url(imgs/lightbox.png);font-size:14px;padding:5px 0 5px 10px;color:#000;}.dhx_cal_light_wide .dhx_cal_lsection{background-image:url(imgs/multi-days-bg.png);}.dhx_cal_ltext textarea{background-color:#fff;color:#000;}.dhx_cal_light select,.dhx_cal_light input{color:#000;}.dhx_save_btn{background-image:url(imgs/controlls5.png);}.dhx_cancel_btn{background-image:url(imgs/controlls5.png);}.dhx_delete_btn{background-image:url(imgs/controlls5.png);}div.dhx_menu_head{background-image:url(imgs/controlls5.png);border:1px solid #FFE4AB;}div.dhx_menu_icon{background-image:url(imgs/controlls5.png);border:medium none;}.dhx_section_time{height:20px!important;padding:7px 0!important;text-align:center;background:white;}div.dhx_cal_editor{background-color:#FFE4AB;} +.dhx_cal_light{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;background-color:#EBEBEB;border:2px solid #A4BED4;color:#000;}.dhx_cal_larea{border:1px solid #A4BED4;border-width:0 1px 1px;background-color:#FFF;} + +.dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/lightbox.png);font-size:14px;padding:5px 0 5px 10px;color:#000;} + +.dhx_cal_light_wide .dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);}.dhx_cal_ltext textarea{background-color:#fff;color:#000;} + +.dhx_cal_light select,.dhx_cal_light input{color:#000;}.dhx_save_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} + +.dhx_cancel_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);}.dhx_delete_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} + +.div.dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:1px solid #FFE4AB;} + +.div.dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:medium none;} + +.dhx_section_time{height:20px!important;padding:7px 0!important;text-align:center;background:white;} + +.div.dhx_cal_editor{background-color:#FFE4AB;} .dhx_month_head{border-right:1px solid #E9E9E9;} @@ -479,9 +504,9 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg .dhx_year_body .dhx_before .dhx_month_head,.dhx_year_body .dhx_after .dhx_month_head,.dhx_year_body .dhx_before .dhx_month_head a,.dhx_year_body .dhx_after .dhx_month_head a{color:#EFEDE2 ;} -.dhx_cal_lsection .dhx_readonly{color:#000;}.dhx_tooltip{-moz-box-shadow:2px 2px 2px #888;-khtml-box-shadow:2px 2px 2px #888;}.dhx_custom_button{margin-top:-2px;}.dhx_cal_lsection .dhx_fullday{color:#000;}.dhx_cal_lsection.dhx_cal_checkbox{height:16px;line-height:18px;}.dhx_cal_light_wide .dhx_cal_lsection.dhx_cal_checkbox{height:20px;}.dhx_cal_checkbox label{vertical-align:top;}.dhx_cal_light_wide .dhx_cal_lsection{color:black;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #A4BED4;background-image:url(imgs/multi-days-bg.png);}.dhx_cal_light_wide .dhx_cal_ltext{border-left:1px solid #A4BED4;}.dhx_cal_light_wide .dhx_cal_ltext{background-color:white;}.dhx_custom_button{background:white;color:black;}.dhx_form_repeat{background:white;}.dhx_repeat_divider{border-left:1px solid #A4BED4;} +.dhx_cal_lsection .dhx_readonly{color:#000;}.dhx_tooltip{-moz-box-shadow:2px 2px 2px #888;-khtml-box-shadow:2px 2px 2px #888;}.dhx_custom_button{margin-top:-2px;}.dhx_cal_lsection .dhx_fullday{color:#000;}.dhx_cal_lsection.dhx_cal_checkbox{height:16px;line-height:18px;}.dhx_cal_light_wide .dhx_cal_lsection.dhx_cal_checkbox{height:20px;}.dhx_cal_checkbox label{vertical-align:top;}.dhx_cal_light_wide .dhx_cal_lsection{color:black;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #A4BED4;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);}.dhx_cal_light_wide .dhx_cal_ltext{border-left:1px solid #A4BED4;}.dhx_cal_light_wide .dhx_cal_ltext{background-color:white;}.dhx_custom_button{background:white;color:black;}.dhx_form_repeat{background:white;}.dhx_repeat_divider{border-left:1px solid #A4BED4;} -.dhx_cal_header.dhx_second_cal_header{background-image:url("imgs/second-top-days-bg.png");padding-right:20px;} +.dhx_cal_header.dhx_second_cal_header{background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/second-top-days-bg.png");padding-right:20px;} .dhx_scale_bar{padding-top:4px;} @@ -506,11 +531,6 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg border:1px solid #a73636; } -.dhx_cal_event div { - background-color:#ff8d8d; - color: #000102; - border:1px solid #a73636; -} .dhx_cal_event_line { background-color:#ff8d8d; @@ -524,12 +544,12 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg .dhx_scale_holder { - background-image:url("./imgs/databg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); border-right:1px dotted #7e7e7e; } .dhx_scale_holder_now { - background-image:url("./imgs/databg_now.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); border-right:1px dotted #7e7e7e; } @@ -564,7 +584,7 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg .dhx_agenda_area{ - background-image:url("./imgs/databg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } .dhx_agenda_line div { @@ -589,7 +609,7 @@ font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;backg } .dhx_tooltip { - background-image:url("./imgs/databg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } .dhx_cal_event div.dhx_menu_head { @@ -644,7 +664,7 @@ div.dhx_repeat_divider { } .dhx_tooltip { - background-image:url("./imgs/databg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } .dhx_text_disabled { @@ -684,46 +704,32 @@ div.dhx_repeat_divider { } .dhx_scale_hour{ - background-image:url("./imgs/left-time-bg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png"); border-bottom:1px solid #757575; color: #020202; } .dhx_multi_day{ - background-image:url("./imgs/multi-days-bg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); border-bottom:1px solid #757575; } .dhx_multi_day_icon,.dhx_multi_day_icon_small{ - background-image:url("./imgs/multi-days-bg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); border-bottom:1px solid #757575; border-left:1px solid #FFFFFF; } -.dhx_cal_event div{ - border:1px solid #a73636; - background-color:#ff8d8d; - color:#000102; -} - -.dhx_cal_event_clear{ - color:#000102; -} .dhx_cal_event_line{ - background-image:url("./imgs/event-bg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png"); border:1px solid #a73636; color:#000102; } .dhx_in_move{ - background-image:url("./imgs/move.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png"); } - -.dhx_cal_event .dhx_body{ - background-color:#ff8d8d; -} - .dhx_cal_light{ background-color:#bac6cf; border:2px solid #757575; @@ -736,7 +742,7 @@ div.dhx_repeat_divider { } .dhx_cal_lsection{ - background-image:url("./imgs/lightbox.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/lightbox.png"); color:#000102; } @@ -795,9 +801,6 @@ div.dhx_cal_editor textarea { .dhx_cal_event_line { font-size: 11px; } -.dhx_cal_event_clear{ - font-size: 11px; -} .dhx_cal_light{ font-size: 11px; } @@ -829,7 +832,7 @@ div.dhx_cal_editor textarea { border-top:1px dotted #7e7e7e; } .dhx_map_area{ - background-image:url("./imgs/databg_now.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); } .dhx_map_line div{ border-right:1px dotted #7e7e7e; @@ -854,7 +857,7 @@ div.dhx_cal_editor textarea { /* Map view */ .dhx_map_area{ - background-image:url("./imgs/databg.png"); + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } /* Map view end */ @@ -896,7 +899,7 @@ div.dhx_cal_editor textarea { /*All*/ /* increase width of lightbox */ .dhx_cal_light_wide .dhx_cal_lsection{ - background-image:url(./imgs/multi-days-bg.png); + background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png); } /*2.3*/ .dhx_cal_lsection .dhx_fullday{ @@ -907,7 +910,7 @@ div.dhx_cal_editor textarea { } .dhx_cal_light_wide .dhx_wrap_section{ border-top:1px solid #757575; - background-image:url(./imgs/multi-days-bg.png); + background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png); } .dhx_cal_light_wide .dhx_cal_ltext{ border-left:1px solid #757575; @@ -921,7 +924,7 @@ div.dhx_cal_editor textarea { } /* timeline second scale start */ .dhx_cal_header.dhx_second_cal_header { - background-image: url("./imgs/second-top-days-bg.png"); + background-image: url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/second-top-days-bg.png"); } /* timeline second scale end */ .dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday, .dhx_cal_lsection .dhx_fullday{ From 8ef20b08812691e632d8ef50662f9b821e77df2c Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 14:52:57 +0200 Subject: [PATCH 4/9] [IMP] .openerp before each class bzr revid: ahu@openerp.com-20111027125257-gifygo815jy1xbi0 --- .../static/src/css/web_calendar.css | 586 +++++++++++------- 1 file changed, 345 insertions(+), 241 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index ae3f944006c..05a5b0df4c1 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -7,7 +7,7 @@ -webkit-box-shadow: none; box-shadow: none; } -.dhx_cal_container, .dhx_cal_event { +.openerp .dhx_cal_container, .openerp .dhx_cal_event { background-position:0 24px; background-repeat:repeat-x; background-color:white; @@ -16,32 +16,32 @@ overflow:hidden; } -.dhx_cal_container div{ +.openerp .dhx_cal_container div{ -moz-user-select:none; -moz-user-select:-moz-none; } -.dhx_cal_navline{ +.openerp .dhx_cal_navline{ height:20px; position:absolute;z-index:3;width:750px;color:#2F3A48; } -.dhx_cal_navline div{ +.openerp .dhx_cal_navline div{ top:2px; white-space:nowrap; } -.dhx_cal_navline * { +.openerp .dhx_cal_navline * { vertical-align:middle; } -.dhx_cal_navline .dhx_cal_date{ +.openerp .dhx_cal_navline .dhx_cal_date{ font-weight:bold; float:left; font-size:1em; margin:2px 0px 0px 10px; } -.dhx_cal_button .dhx_left_bg{width:1px;overflow:hidden;height:17px;z-index:20;top:0;} +.openerp .dhx_cal_button .dhx_left_bg{width:1px;overflow:hidden;height:17px;z-index:20;top:0;} -.dhx_cal_today_button, .dhx_cal_prev_button, .dhx_cal_next_button { +.openerp .dhx_cal_today_button, .openerp .dhx_cal_prev_button, .openerp .dhx_cal_next_button { color:white; height:17px; font-weight:bold; @@ -58,7 +58,7 @@ -webkit-border-radius: 3px; } -.dhx_cal_today_button { +.openerp .dhx_cal_today_button { background: #ccc; /* Old browsers */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#999999'); /* IE6-9 */ background: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); /* Chrome,Safari4+ */ @@ -71,7 +71,7 @@ padding-right:5px; } -.dhx_cal_prev_button{ +.openerp .dhx_cal_prev_button{ background: #bbb; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#999999'); background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); @@ -84,7 +84,7 @@ width:20px; } -.dhx_cal_next_button { +.openerp .dhx_cal_next_button { background: #ccc; /* Old browsers */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); /* IE6-9 */ background: url("/web_calendar/src/img/cal_right.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#999999)); /* Chrome,Safari4+ */ @@ -97,7 +97,7 @@ width:20px; } -.dhx_cal_prev_button:hover, .dhx_cal_prev_button:active { +.openerp .dhx_cal_prev_button:hover, .openerp .dhx_cal_prev_button:active { background: #bbb; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); background: url("/web_calendar/static/src/img/cal_left.png") 5px 3px, -webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); @@ -109,7 +109,7 @@ background-repeat:no-repeat; } -.dhx_cal_next_button:hover, .dhx_cal_next_button:active { +.openerp .dhx_cal_next_button:hover, .openerp .dhx_cal_next_button:active { background: #bbb; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888', endColorstr='#888'); background:-webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); @@ -121,7 +121,7 @@ background-repeat:no-repeat; } -.dhx_cal_today_button:hover, .dhx_cal_today_button:active { +.openerp .dhx_cal_today_button:hover, .openerp .dhx_cal_today_button:active { background: #bbb; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#bbb'); background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#888)); @@ -133,39 +133,37 @@ background-repeat:no-repeat; } -.dhx_mini_calendar .dhx_cal_prev_button, .dhx_mini_calendar .dhx_cal_next_button, .dhx_mini_calendar .dhx_cal_today_button { +.openerp .dhx_mini_calendar .dhx_cal_prev_button, .openerp .dhx_mini_calendar .dhx_cal_next_button, .openerp .dhx_mini_calendar .dhx_cal_today_button { background:none; border:0px; } - - -.dhx_mini_calendar .dhx_cal_prev_button, .dhx_mini_calendar .dhx_cal_next_button { +.openerp .dhx_mini_calendar .dhx_cal_prev_button, .openerp .dhx_mini_calendar .dhx_cal_next_button { width:16px; height:18px; } -.dhx_mini_calendar .dhx_cal_prev_button { +.openerp .dhx_mini_calendar .dhx_cal_prev_button { background:url("/web_calendar/static/src/img/minical_left.png") no-repeat 5px 6px; } -.dhx_mini_calendar .dhx_cal_next_button { +.openerp .dhx_mini_calendar .dhx_cal_next_button { background:url("/web_calendar/static/src/img/minical_right.png") no-repeat 8px 6px; } -.dhx_mini_calendar .dhx_month_head { +.openerp .dhx_mini_calendar .dhx_month_head { font-size:0.9em; color:#888 } -.dhx_mini_calendar .dhx_month_head:hover { +.openerp .dhx_mini_calendar .dhx_month_head:hover { background-color:#bbb; color:white; text-shadow:none; } -.dhx_mini_calendar .dhx_scale_bar { +.openerp .dhx_mini_calendar .dhx_scale_bar { border-width:0px; padding:2px 0px; } -.dhx_cal_tab { +.openerp .dhx_cal_tab { width:59px; height:18px; text-align:center; @@ -186,26 +184,26 @@ border-top-right-radius:4px; vertical-align:50% !important; } -.dhx_cal_tab[name="month_tab"] { right:0px; } -.dhx_cal_tab[name="week_tab"] { right:62px; } -.dhx_cal_tab[name="day_tab"] { right:107px; } +.openerp .dhx_cal_tab[name="month_tab"] { right:0px; } +.openerp .dhx_cal_tab[name="week_tab"] { right:62px; } +.openerp .dhx_cal_tab[name="day_tab"] { right:107px; } -.dhx_cal_tab:hover { +.openerp .dhx_cal_tab:hover { background-color:#ddd; } -.dhx_cal_tab.active{ +.openerp .dhx_cal_tab.active{ text-decoration:none; cursor:default; border-bottom:0; background-color:white /*#F4F4F4;*/ } -.dhx_cal_tab[name="day_tab"] { +.openerp .dhx_cal_tab[name="day_tab"] { margin-right:18px; } -.dhx_cal_header{ +.openerp .dhx_cal_header{ position:absolute; left:10px; top:23px; @@ -221,18 +219,18 @@ text-shadow: 0 1px 0 white; } -.dhx_cal_data{ +.openerp .dhx_cal_data{ position:absolute; top:44px; width:600px; overflow-y:auto;overflow-x:hidden; } -.dhx_cal_data tr td { +.openerp .dhx_cal_data tr td { border-width:0px; } -.dhx_scale_bar{ +.openerp .dhx_scale_bar{ position:absolute; text-align:center; text-shadow: 0 1px 0 white; @@ -241,9 +239,11 @@ border-left:1px dotted #586A7E; } -.dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png");}.dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png");}.dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} +.openerp .dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png");} +.openerp .dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png");}. +openerp .dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} -.dhx_month_head{ +.openerp .dhx_month_head{ background-color:#F4F4F4; color:#2F3A48; text-shadow: 0 1px 0 white; @@ -255,55 +255,54 @@ font-size:0.9em; } -.dhx_month_body{ +.openerp .dhx_month_body{ border-right:1px dotted #586A7E; border-bottom:1px dotted #586A7E; background-color:#FFF; } -.dhx_now .dhx_month_body{ +.openerp .dhx_now .openerp .dhx_month_body{ background-color:#cccccc; } -.dhx_after .dhx_month_body,.dhx_before .dhx_month_body{background-color:#ECECEC;} +.openerp .dhx_after .dhx_month_body,.openerp .dhx_before .dhx_month_body{background-color:#ECECEC;} -.dhx_after .dhx_month_head,.dhx_before .dhx_month_head{background-color:#F4F4F4;color:#94A6BB;} +.openerp .dhx_after .dhx_month_head,.openerp .dhx_before .dhx_month_head{background-color:#F4F4F4;color:#94A6BB;} -.dhx_now .dhx_month_head{ +.openerp .dhx_now .dhx_month_head{ background-color:#ddd; } -.dhx_cal_drag{position:absolute;z-index:9999;background-color:#FFE763;border:1px solid #B7A543;opacity:.5;filter:alpha(opacity=50);} +.openerp .dhx_cal_drag{position:absolute;z-index:9999;background-color:#FFE763;border:1px solid #B7A543;opacity:.5;filter:alpha(opacity=50);} -.dhx_loading{position:absolute;width:128px;height:15px;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/loading.gif);z-index:9999;} +.openerp .dhx_loading{position:absolute;width:128px;height:15px;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/loading.gif);z-index:9999;} -.dhx_multi_day_icon,.dhx_multi_day{background-color:#E1E6FF;background-repeat:no-repeat;border-right:1px dotted #8894A3;}.dhx_multi_day{position:absolute;border-top:1px dotted #8894A3;}. +.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day{background-color:#E1E6FF;background-repeat:no-repeat;border-right:1px dotted #8894A3;}.openerp .dhx_multi_day{position:absolute;border-top:1px dotted #8894A3;}. -dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_big.gif);}.dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_small.gif);} +dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_big.gif);}.openerp .dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_small.gif);} -.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-position:center center;background-color:#E1E6FF;background-repeat:no-repeat;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} +.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day_icon_small{background-position:center center;background-color:#E1E6FF;background-repeat:no-repeat;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} -.dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} +.openerp .dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} -.dhx_cal_event div{ +.openerp .dhx_cal_event div{ background-color:#FFE763; border:1px solid #a73636; color:#887A2E; overflow:hidden; - width:100%; font-size:100%; } -.dhx_move_denied .dhx_cal_event .dhx_header,.dhx_move_denied .dhx_cal_event .dhx_title{cursor:default;} +.openerp .dhx_move_denied .dhx_cal_event .dhx_header, .openerp .dhx_move_denied .dhx_cal_event .dhx_title{cursor:default;} -.dhx_cal_event .dhx_header{ +.openerp .dhx_cal_event .dhx_header{ height:0px; margin-left:1px; /*border-width:1px 1px 0 1px;*/ cursor:pointer; } -.dhx_cal_event .dhx_title{ +.openerp .dhx_cal_event .dhx_title{ height:18px; border-bottom-style:solid; border-top-style:solid; @@ -318,19 +317,21 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; } -.dhx_cal_event .dhx_body{ +.openerp .dhx_cal_event .dhx_body{ border-width:0 1px 1px 1px; padding:5px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; font-size:120%; } -.dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} +.openerp .dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} -.dhx_cal_event .dhx_footer{height:1px;margin-left:2px;border-width:0 1px 1px 1px;cursor:s-resize;}.dhx_cal_event_line{background-color:#FFE763;border:1px solid #B7A543;border-radius:3px; +.openerp .dhx_cal_event .dhx_footer{height:1px;margin-left:2px;border-width:0 1px 1px 1px;cursor:s-resize;} + +.openerp .dhx_cal_event_line{background-color:#FFE763;border:1px solid #B7A543;border-radius:3px; font-size:8pt;height:13px;padding-left:10px;color:#887A2E;cursor:pointer;overflow:hidden;} -.dhx_cal_event_clear{ +.openerp .dhx_cal_event_clear{ font-size:130%; height:15px; padding-left:2px; @@ -341,45 +342,82 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler vertical-align:middle; } -.dhx_in_move{background-color:#FFFF80;}div.dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;}div.dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;}div.icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;}div.icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;}div.dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;}div.dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} +.openerp .dhx_in_move{background-color:#FFFF80;}div.openerp .dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.openerp .dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.openerp .dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;} -.dhx_unselectable,.dhx_unselectable div{-webkit-user-select:none;-moz-user-select:none;-moz-user-select:-moz-none;} +div.openerp .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;} -.dhx_cal_light{background-color:#FFE763;border-radius:5px; +.openerp div .icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;} +.openerp div .icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;} +.openerp div .dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;} +.openerp div .dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} + +.openerp .dhx_unselectable, .dhx_unselectable div{-webkit-user-select:none;-moz-user-select:none;-moz-user-select:-moz-none;} + +.openerp .dhx_cal_light{background-color:#FFE763;border-radius:5px; font-size:8pt;border:1px solid #B7A64B;color:#887A2E;position:absolute;z-index:10001;width:580px;height:300px;box-shadow:5px 5px 5px #888;} -.dhx_cal_light_wide{width:650px;}.dhx_mark{position:relative;top:3px;background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:0 -43px;padding-left:10px;} +.openerp .dhx_cal_light_wide{width:650px;} +.openerp .dhx_mark{position:relative;top:3px;background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:0 -43px;padding-left:10px;} -.dhx_ie6 .dhx_mark{background-position:6px -41px;} +.openerp .dhx_ie6 .dhx_mark{background-position:6px -41px;} -.dhx_cal_light select{font-size:8pt;color:#887A2E;padding:2px;margin:0;}.dhx_cal_ltitle{padding:2px 0 2px 5px;overflow:hidden;white-space:nowrap;} +.openerp .dhx_cal_light select{font-size:8pt;color:#887A2E;padding:2px;margin:0;}.openerp .dhx_cal_ltitle{padding:2px 0 2px 5px;overflow:hidden;white-space:nowrap;} -.dhx_cal_ltitle span{white-space:nowrap;} +.openerp .dhx_cal_ltitle span{white-space:nowrap;} -.dhx_cal_lsection{background-color:#DBCF8C;color:#FFF4B5;font-weight:bold;padding:5px 0 3px 10px;}.dhx_section_time{background-color:#DBCF8C;} +.openerp .dhx_cal_lsection{background-color:#DBCF8C;color:#FFF4B5;font-weight:bold;padding:5px 0 3px 10px;}.openerp .dhx_section_time{background-color:#DBCF8C;} -.dhx_cal_lsection .dhx_fullday{float:right;margin-right:5px;color:#887A2E;font-size:12px;font-weight:normal;line-height:20px;vertical-align:top;cursor:pointer;} +.openerp .dhx_cal_lsection .dhx_fullday{float:right;margin-right:5px;color:#887A2E;font-size:12px;font-weight:normal;line-height:20px;vertical-align:top;cursor:pointer;} -.dhx_cal_lsection{font-size:18px;} +.openerp .dhx_cal_lsection{font-size:18px;} -.dhx_cal_ltext{padding:2px 0 2px 10px;overflow:hidden;}.dhx_cal_ltext textarea{background-color:#FFF4B5;overflow:auto;border:none;color:#887A2E;height:100%;width:100%;outline:none!important;}.dhx_time{font-weight:bold;} +.openerp .dhx_cal_ltext{padding:2px 0 2px 10px;overflow:hidden;} +.openerp .dhx_cal_ltext textarea{background-color:#FFF4B5;overflow:auto;border:none;color:#887A2E;height:100%;width:100%;outline:none!important;} +.openerp .dhx_time{font-weight:bold;} -.dhx_cal_light .dhx_title{padding-left:10px;} +.openerp .dhx_cal_light .openerp .dhx_title{padding-left:10px;} -.dhx_cal_larea{border:1px solid #DCC43E;background-color:#FFF4B5;overflow:hidden;margin-left:3px;width:572px;height:1px;}.dhx_btn_set{padding:5px 10px 0 10px;float:left;}.dhx_btn_set div{float:left;height:21px;line-height:21px;vertical-align:middle;cursor:pointer;}.dhx_save_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-84px 0;width:21px;}.dhx_cancel_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-63px 0;width:20px;}.dhx_delete_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-42px 0;width:20px;}.dhx_cal_cover{width:100%;height:100%;position:absolute;z-index:10000;top:0;left:0;background-color:black;opacity:.1;filter:alpha(opacity=10);}.dhx_custom_button{padding:0 3px 0 3px;color:#887A2E;font-size:8pt;background-color:#FFE763;font-weight:normal;margin-right:5px;margin-top:0;cursor:pointer;}.dhx_custom_button div{cursor:pointer;float:left;height:21px;line-height:21px;vertical-align:middle;} +.openerp .dhx_cal_larea{border:1px solid #DCC43E;background-color:#FFF4B5;overflow:hidden;margin-left:3px;width:572px;height:1px;} +.openerp .dhx_btn_set{padding:5px 10px 0 10px;float:left;}.openerp .dhx_btn_set div{float:left;height:21px;line-height:21px;vertical-align:middle;cursor:pointer;} +.openerp .dhx_save_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-84px 0;width:21px;} +.openerp .dhx_cancel_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-63px 0;width:20px;} +.openerp .dhx_delete_btn{background-image:url('/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif');background-position:-42px 0;width:20px;} +.openerp .dhx_cal_cover{width:100%;height:100%;position:absolute;z-index:10000;top:0;left:0;background-color:black;opacity:.1;filter:alpha(opacity=10);} +.openerp .dhx_custom_button{padding:0 3px 0 3px;color:#887A2E;font-size:8pt;background-color:#FFE763;font-weight:normal;margin-right:5px;margin-top:0;cursor:pointer;} +.openerp .dhx_custom_button div{cursor:pointer;float:left;height:21px;line-height:21px;vertical-align:middle;} -.dhx_cal_light_wide .dhx_cal_larea{border-top-width:0;}.dhx_cal_light_wide .dhx_cal_lsection{border:0;float:left;text-align:right;width:100px;height:20px;font-size:16px;padding:5px 0 0 10px;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #DBCF8C;position:relative;background-color:#DBCF8C;overflow:hidden;}.dhx_cal_light_wide .dhx_section_time{padding-top:2px!important;height:20px!important;}.dhx_section_time{text-align:center;}.dhx_cal_light_wide .dhx_cal_larea{width:730px;}.dhx_cal_light_wide{width:738px;}.dhx_cal_light_wide .dhx_section_time{background:transparent;}.dhx_cal_light_wide .dhx_cal_checkbox label{padding-left:0;}.dhx_cal_wide_checkbox input{margin-top:8px;margin-left:14px;}.dhx_cal_light input{;font-size:8pt;color:#887A2E;} +.openerp .dhx_cal_light_wide .dhx_cal_larea{border-top-width:0;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection{border:0;float:left;text-align:right;width:100px;height:20px;font-size:16px;padding:5px 0 0 10px;} +.openerp .dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #DBCF8C;position:relative;background-color:#DBCF8C;overflow:hidden;} +.openerp .dhx_cal_light_wide .dhx_section_time{padding-top:2px!important;height:20px!important;} +.openerp .dhx_section_time{text-align:center;} +.openerp .dhx_cal_light_wide .dhx_cal_larea{width:730px;} +.openerp .dhx_cal_light_wide{width:738px;} +.openerp .dhx_cal_light_wide .dhx_section_time{background:transparent;} +.openerp .dhx_cal_light_wide .dhx_cal_checkbox label{padding-left:0;} +.openerp .dhx_cal_wide_checkbox input{margin-top:8px;margin-left:14px;} +.openerp .dhx_cal_light input{;font-size:8pt;color:#887A2E;} -.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday{float:none;margin-right:0;color:#FFF4B5;font-weight:bold;font-size:16px;cursor:pointer;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday{float:none;margin-right:0;color:#FFF4B5;font-weight:bold;font-size:16px;cursor:pointer;} -.dhx_custom_button{float:right;height:21px;width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_cal_light_wide .dhx_custom_button{position:absolute;top:0;right:0;margin-top:2px;}.dhx_cal_light_wide .dhx_repeat_right{margin-right:55px;}.dhx_cal_light_wide .dhx_repeat_divider{border-color:#FFE763;} +.openerp .dhx_custom_button{float:right;height:21px;width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;} +.openerp .dhx_cal_light_wide .dhx_custom_button{position:absolute;top:0;right:0;margin-top:2px;} +.openerp .dhx_cal_light_wide .dhx_repeat_right{margin-right:55px;} +.openerp .dhx_cal_light_wide .dhx_repeat_divider{border-color:#FFE763;} -.dhx_scale_bar_header{position:absolute;border-bottom:1px dotted #8894A3;width:100%;} +.openerp .dhx_scale_bar_header{position:absolute;border-bottom:1px dotted #8894A3;width:100%;} -.dhx_expand_icon{position:absolute;top:0;right:0;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/colapce-expand-icon.gif);width:18px;height:18px;cursor:pointer;background-position:0 18px;z-index:16;}.dhx_agenda_area{width:100%;height:100%;overflow-y:auto;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);}.dhx_agenda_line{height:21px;clear:both;overflow:hidden;}.dhx_agenda_line div{float:left;width:188px;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_agenda_area .dhx_agenda_line div{border-right:0 dotted #8894A3;}.dhx_v_border{position:absolute;left:186px;top:0;border-right:1px dotted #8894A3;width:1px;height:100%;}.dhx_agenda_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_agenda_line span{padding-left:5px;line-height:21px;} +.openerp .dhx_expand_icon{position:absolute;top:0;right:0;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/colapce-expand-icon.gif);width:18px;height:18px;cursor:pointer;background-position:0 18px;z-index:16;} +.openerp .dhx_agenda_area{width:100%;height:100%;overflow-y:auto;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);} +.openerp .dhx_agenda_line{height:21px;clear:both;overflow:hidden;} +.openerp .dhx_agenda_line div{float:left;width:188px;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} +.openerp .dhx_agenda_area .dhx_agenda_line div{border-right:0 dotted #8894A3;} +.openerp .dhx_v_border{position:absolute;left:186px;top:0;border-right:1px dotted #8894A3;width:1px;height:100%;} +.openerp .dhx_agenda_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;} +.openerp .dhx_agenda_line span{padding-left:5px;line-height:21px;} -.dhx_year_week{ +.openerp .dhx_year_week{ position:relative; font-weight:bold; font-size:1em; @@ -389,9 +427,9 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler border-bottom:1px solid #ccc; } -.dhx_scale_bar_last{border-right:1px dotted #586A7E;} +.openerp .dhx_scale_bar_last{border-right:1px dotted #586A7E;} -.dhx_year_month{ +.openerp .dhx_year_month{ height:18px; padding-top:3px; text-align:center; @@ -402,285 +440,362 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler text-shadow: 0 1px 0 white; border:0px; } -/*.dhx_mini_calendar .dhx_year_month{ +/*.openerp .dhx_mini_calendar .openerp .dhx_year_month{ padding-top:0px; } */ -.dhx_mini_calendar .dhx_year_body { +.openerp .dhx_mini_calendar + .dhx_year_body { border:0px; } -.dhx_year_body .dhx_before .dhx_month_head,.dhx_year_body .dhx_after .dhx_month_head,.dhx_year_body .dhx_before .dhx_month_head a,.dhx_year_body .dhx_after .dhx_month_head a {color:#bbb;} +.openerp .dhx_year_body .dhx_before .dhx_month_head,.openerp .dhx_year_body .dhx_after .dhx_month_head, .openerp .dhx_year_body .dhx_before .dhx_month_head a,.openerp .dhx_year_body .dhx_after .dhx_month_head a {color:#bbb;} -.dhx_year_body .dhx_month_body{height:0;overflow:hidden;} +.openerp .dhx_year_body .dhx_month_body{height:0;overflow:hidden;} -.dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head{cursor:default;} +.openerp .dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head{cursor:default;} -.dhx_tooltip{border:1px solid #BBB;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);position:absolute;z-index:9998;width:300px;height:auto; -font-size:8pt;overflow:hidden;}.dhx_tooltip_line{line-height:20px;height:20px;overflow:hidden;}.dhx_tooltip_line .dhx_event_icon{width:20px;height:20px;padding-right:10px;float:left;border-width:0;position:relative;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_tooltip_date{float:left;width:auto;padding-left:5px;text-align:center;} +.openerp .dhx_tooltip{border:1px solid #BBB;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);position:absolute;z-index:9998;width:300px;height:auto; +font-size:8pt;overflow:hidden;} +.openerp .dhx_tooltip_line{line-height:20px;height:20px;overflow:hidden;} +.openerp .dhx_tooltip_line .dhx_event_icon{width:20px;height:20px;padding-right:10px;float:left;border-width:0;position:relative;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;} +.openerp .dhx_tooltip_date{float:left;width:auto;padding-left:5px;text-align:center;} -.dhx_text_disabled{color:#887A2E;font-size:8pt;}.dhx_mini_calendar{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;} +.openerp .dhx_text_disabled{color:#887A2E;font-size:8pt;} -.dhx_mini_calendar .dhx_month_head{cursor:pointer;} +.openerp .dhx_cal_navline div .dhx_minical_icon{width:18px;height:18px;left:190px;top:1px;cursor:pointer;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/calendar.gif);} -.dhx_mini_calendar .dhx_calendar_click{background-color:#C2D5FC;} +.openerp .dhx_matrix_scell{height:100%;} +.openerp .dhx_matrix_cell, +.openerp .dhx_matrix_scell{overflow:hidden;text-align:center;vertical-align:middle;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} +.openerp .dhx_matrix_cell{background-color:white;} +.openerp .dhx_matrix_line{overflow:hidden;} +.openerp .dhx_matrix_cell div, .openerp .dhx_matrix_scell div{overflow:hidden;text-align:center;height:auto;} +.openerp .dhx_cal_lsection .dhx_readonly{font-size:9pt;font-size:8pt;padding:2px;color:#887A2E;} -.dhx_cal_navline div.dhx_minical_icon{width:18px;height:18px;left:190px;top:1px;cursor:pointer;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/calendar.gif);} +.openerp .dhx_matrix_scell.folder,.openerp .dhx_data_table.folder .dhx_matrix_cell{background-color:#969394;cursor:pointer;} +.openerp .dhx_matrix_scell .dhx_scell_level0{padding-left:5px;} +.openerp .dhx_matrix_scell .dhx_scell_level1{padding-left:20px;} +.openerp .dhx_matrix_scell .dhx_scell_level2{padding-left:35px;} +.openerp .dhx_matrix_scell .dhx_scell_level3{padding-left:50px;} +.openerp .dhx_matrix_scell .dhx_scell_level4{padding-left:65px;} +.openerp .dhx_matrix_scell.folder{font-weight:bold;text-align:left;} +.openerp .dhx_matrix_scell.folder .dhx_scell_expand{float:left;width:10px;padding-right:3px;} +.openerp .dhx_matrix_scell.folder .dhx_scell_name{float:left;width:auto;} +.openerp .dhx_matrix_scell.item .dhx_scell_name{padding-left:15px;text-align:left;} -.dhx_matrix_scell{height:100%;}.dhx_matrix_cell,.dhx_matrix_scell{overflow:hidden;text-align:center;vertical-align:middle;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;}.dhx_matrix_cell{background-color:white;}.dhx_matrix_line{overflow:hidden;}.dhx_matrix_cell div,.dhx_matrix_scell div{overflow:hidden;text-align:center;height:auto;}.dhx_cal_lsection .dhx_readonly{font-size:9pt;font-size:8pt;padding:2px;color:#887A2E;} +.openerp .dhx_data_table.folder .dhx_matrix_cell{border-right:0;} +.openerp .dhx_section_timeline{overflow:hidden;padding:4px 0 2px 10px;} +.openerp .dhx_section_timeline select{width:552px;} +.openerp .dhx_map_area{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);} +.openerp .dhx_map_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;} +.openerp .dhx_map_line{height:21px;clear:both;overflow:hidden;} +.openerp .dhx_map{position:absolute;} +.openerp .dhx_map_line div{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} +.openerp .dhx_map_line .headline_description{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} +.openerp .dhx_map_line .dhx_map_description{float:left;border-right:0 dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} -.dhx_matrix_scell.folder,.dhx_data_table.folder .dhx_matrix_cell{background-color:#969394;cursor:pointer;}.dhx_matrix_scell .dhx_scell_level0{padding-left:5px;}.dhx_matrix_scell .dhx_scell_level1{padding-left:20px;}.dhx_matrix_scell .dhx_scell_level2{padding-left:35px;}.dhx_matrix_scell .dhx_scell_level3{padding-left:50px;}.dhx_matrix_scell .dhx_scell_level4{padding-left:65px;}.dhx_matrix_scell.folder{font-weight:bold;text-align:left;}.dhx_matrix_scell.folder .dhx_scell_expand{float:left;width:10px;padding-right:3px;}.dhx_matrix_scell.folder .dhx_scell_name{float:left;width:auto;}.dhx_matrix_scell.item .dhx_scell_name{padding-left:15px;text-align:left;} +.openerp .dhx_map_line .line_description{float:left;border-right:1px dotted #8894A3;text-align:left;padding-left:5px;line-height:21px;overflow:hidden;} +.openerp .dhx_map_line.highlight{background-color:#C4C5CC;} +.openerp .dhx_map_area .dhx_map_line div{border-right:0 dotted #8894A3;}.dhtmlXTooltip.tooltip{-moz-box-shadow:3px 3px 3px #888;-webkit-box-shadow:3px 3px 3px #888;-o-box-shadow:3px 3px 3px #888;box-shadow:3px 3px 3px #888;filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=5);background-color:white;border-left:1px dotted #887A2E;border-top:1px dotted #887A2E;color:#887A2E;cursor:default;padding:10px;position:absolute;z-index:500;} +.openerp .dhx_cal_checkbox label{padding-left:5px;} +.openerp .dhx_cal_light .radio{padding:2px 0 2px 10px;} +.openerp .dhx_cal_light .radio input,.openerp .dhx_cal_light .radio label{line-height:15px;} +.openerp .dhx_cal_light .radio input{vertical-align:middle;margin:0;padding:0;} +.openerp .dhx_cal_light .radio label{vertical-align:middle;padding-right:10px;} +.openerp .dhx_cal_light .combo{padding:4px;} +.openerp .dhx_wa_column{float:left;} +.openerp .dhx_wa_column_last .dhx_wa_day_cont{border-left:1px dotted #8894A3;} -.dhx_data_table.folder .dhx_matrix_cell{border-right:0;}.dhx_section_timeline{overflow:hidden;padding:4px 0 2px 10px;}.dhx_section_timeline select{width:552px;}.dhx_map_area{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png);}.dhx_map_line .dhx_event_icon{width:20px;border-width:0;background:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/icon.png) no-repeat;background-position:5px 4px;cursor:pointer;}.dhx_map_line{height:21px;clear:both;overflow:hidden;}.dhx_map{position:absolute;}.dhx_map_line div{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .headline_description{float:left;border-right:1px dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;}.dhx_map_line .dhx_map_description{float:left;border-right:0 dotted #8894A3;text-align:center;line-height:21px;overflow:hidden;} +.openerp .dhx_wa_scale_bar{padding-left:10px;font-size:11px;border-top:1px dotted #8894A3;border-bottom:1px dotted #8894A3;} +.openerp .dhx_wa_day_data{background-color:#FCFEFC;overflow-y:auto;} +.openerp .dhx_wa_ev_body{border-bottom:1px dotted #789;font-size:12px;padding:5px 0 5px 7px;} -.dhx_map_line .line_description{float:left;border-right:1px dotted #8894A3;text-align:left;padding-left:5px;line-height:21px;overflow:hidden;}.dhx_map_line.highlight{background-color:#C4C5CC;}.dhx_map_area .dhx_map_line div{border-right:0 dotted #8894A3;}.dhtmlXTooltip.tooltip{-moz-box-shadow:3px 3px 3px #888;-webkit-box-shadow:3px 3px 3px #888;-o-box-shadow:3px 3px 3px #888;box-shadow:3px 3px 3px #888;filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=5);background-color:white;border-left:1px dotted #887A2E;border-top:1px dotted #887A2E;color:#887A2E;cursor:default;padding:10px;position:absolute;z-index:500;}.dhx_cal_checkbox label{padding-left:5px;}.dhx_cal_light .radio{padding:2px 0 2px 10px;}.dhx_cal_light .radio input,.dhx_cal_light .radio label{line-height:15px;}.dhx_cal_light .radio input{vertical-align:middle;margin:0;padding:0;}.dhx_cal_light .radio label{vertical-align:middle;padding-right:10px;}.dhx_cal_light .combo{padding:4px;}.dhx_wa_column{float:left;}.dhx_wa_column_last .dhx_wa_day_cont{border-left:1px dotted #8894A3;} +.openerp .dhx_wa_dnd{position:absolute;padding-right:7px;color:#887AE2!important;background-color:#FFE763!important;border:1px solid #B7A543;} +.openerp .dhx_cal_event_selected{background-color:#9cc1db;color:white;} +.openerp .dhx_second_scale_bar{border-bottom:1px dotted #586A7E;padding-top:2px;} +.openerp div .dhx_form_repeat input.radio{margin:-4px 0 0 -4px!ie;} +.openerp div .dhx_form_repeat input.checkbox{margin:0 0 0 -4px!ie;} -.dhx_wa_scale_bar{padding-left:10px;font-size:11px;border-top:1px dotted #8894A3;border-bottom:1px dotted #8894A3;}.dhx_wa_day_data{background-color:#FCFEFC;overflow-y:auto;}.dhx_wa_ev_body{border-bottom:1px dotted #789;font-size:12px;padding:5px 0 5px 7px;} +.openerp .dhx_form_repeat,.openerp .dhx_form_repeat input{padding:0;margin:0;padding-left:5px; +font-size:11px;line-height:24px;} +.openerp .dhx_form_repeat{overflow:hidden;height:0;background-color:#FFF4B5;} +.openerp .dhx_cal_light_wide .dhx_form_repeat{background-color:transparent;} +.openerp .dhx_repeat_center,.openerp .dhx_repeat_left{height:115px;padding:10px 0 10px 10px;float:left;} +.openerp .dhx_repeat_left{width:95px;} +.openerp .dhx_repeat_center{width:335px;margin-top:12px;} +.openerp .dhx_repeat_divider{float:left;height:115px;border-left:1px dotted #DCC43E;width:1px;} +.openerp .dhx_repeat_right{float:right;height:115px;width:160px;padding:10px 3px 10px 10px;margin-top:7px;} +.openerp input .dhx_repeat_text{height:16px;width:27px;margin:0 4px 0 4px;line-height:18px;padding:0 0 0 2px;} +.openerp .dhx_form_repeat select{height:20px;width:87px;padding:0 0 0 2px;margin:0 4px 0 4px;} +.openerp input .dhx_repeat_date{height:18px;width:80px;padding:0 0 0 2px;margin:0 4px 0 4px;background-repeat:no-repeat;background-position:64px 0;border:1px #7f9db9 solid;line-height:18px;}input.openerp .dhx_repeat_radio{margin-right:4px;} +.openerp input .dhx_repeat_checkbox{margin:4px 4px 0 0;} +.openerp .dhx_repeat_days td{padding-right:5px;} +.openerp .dhx_repeat_days label{font-size:10px;} +.openerp .dhx_custom_button{width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;} +.openerp .dhx_custom_button_recurring{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/but_repeat.gif);background-position:-5px 20px;width:20px;margin-right:10px;} +.openerp .dhx_cal_light_rec{width:640px;} +.openerp .dhx_cal_light_rec .dhx_cal_larea{width:632px;} +.openerp .dhx_cal_light_rec .dhx_cal_light_wide{width:816px;} +.openerp .dhx_cal_light_rec .dhx_cal_light_wide .dhx_cal_larea{width:808px;} -.dhx_wa_dnd{position:absolute;padding-right:7px;color:#887AE2!important;background-color:#FFE763!important;border:1px solid #B7A543;}.dhx_cal_event_selected{background-color:#9cc1db;color:white;}.dhx_second_scale_bar{border-bottom:1px dotted #586A7E;padding-top:2px;}div.dhx_form_repeat input.radio{margin:-4px 0 0 -4px!ie;}div.dhx_form_repeat input.checkbox{margin:0 0 0 -4px!ie;} +.openerp .dhx_multi_day{border:none;border-top:1px solid #A4BED4;} -.dhx_form_repeat,.dhx_form_repeat input{padding:0;margin:0;padding-left:5px; -font-size:11px;line-height:24px;}.dhx_form_repeat{overflow:hidden;height:0;background-color:#FFF4B5;}.dhx_cal_light_wide .dhx_form_repeat{background-color:transparent;}.dhx_repeat_center,.dhx_repeat_left{height:115px;padding:10px 0 10px 10px;float:left;}.dhx_repeat_left{width:95px;}.dhx_repeat_center{width:335px;margin-top:12px;}.dhx_repeat_divider{float:left;height:115px;border-left:1px dotted #DCC43E;width:1px;}.dhx_repeat_right{float:right;height:115px;width:160px;padding:10px 3px 10px 10px;margin-top:7px;}input.dhx_repeat_text{height:16px;width:27px;margin:0 4px 0 4px;line-height:18px;padding:0 0 0 2px;}.dhx_form_repeat select{height:20px;width:87px;padding:0 0 0 2px;margin:0 4px 0 4px;}input.dhx_repeat_date{height:18px;width:80px;padding:0 0 0 2px;margin:0 4px 0 4px;background-repeat:no-repeat;background-position:64px 0;border:1px #7f9db9 solid;line-height:18px;}input.dhx_repeat_radio{margin-right:4px;}input.dhx_repeat_checkbox{margin:4px 4px 0 0;}.dhx_repeat_days td{padding-right:5px;}.dhx_repeat_days label{font-size:10px;}.dhx_custom_button{width:90px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}.dhx_custom_button_recurring{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/but_repeat.gif);background-position:-5px 20px;width:20px;margin-right:10px;}.dhx_cal_light_rec{width:640px;}.dhx_cal_light_rec .dhx_cal_larea{width:632px;}.dhx_cal_light_rec.dhx_cal_light_wide{width:816px;}.dhx_cal_light_rec.dhx_cal_light_wide .dhx_cal_larea{width:808px;} - -.dhx_multi_day{border:none;border-top:1px solid #A4BED4;} - -.dhx_multi_day_icon,.dhx_multi_day_icon_small{border-right:none;} +.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day_icon_small{border-right:none;} -.dhx_cal_navline{background-color:none;height:23px!important;} +.openerp .dhx_cal_navline{background-color:none;height:23px!important;} -.dhx_scale_bar{/*background-image:url(imgs/top-separator.gif);background-position:0 0;background-repeat:no-repeat; */background-color:transparent;padding-top:3px;border-left:0;} +.openerp .dhx_scale_bar{/*background-image:url(imgs/top-separator.gif);background-position:0 0;background-repeat:no-repeat; */background-color:transparent;padding-top:3px;border-left:0;} -.dhx_scale_holder{border-right:1px solid #A4BED4;} +.openerp .dhx_scale_holder{border-right:1px solid #A4BED4;} -.dhx_scale_holder_now{border-right:1px solid #A4BED4;}.dhx_scale_hour{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} +.openerp .dhx_scale_holder_now{border-right:1px solid #A4BED4;} +.openerp .dhx_scale_hour{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} -.dhx_multi_day{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} +.openerp .dhx_multi_day{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} -.dhx_multi_day_icon,.dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} +.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} -.dhx_month_head{background-color:#F4F4F4;} +.openerp .dhx_month_head{background-color:#F4F4F4;} -.dhx_after .dhx_month_head,.dhx_before .dhx_month_head{background-color:#F4F4F4;} +.openerp .dhx_after .dhx_month_head,.openerp .dhx_before .dhx_month_head{background-color:#F4F4F4;} -.dhx_after .dhx_month_body,.dhx_before .dhx_month_body{background-color:#EFEDE2;} +.openerp .dhx_after .dhx_month_body,.openerp .dhx_before .dhx_month_body{background-color:#EFEDE2;} -.dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;}.dhx_cal_event_line{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png);border:1px solid #FFBD51;color:#000;}.dhx_in_move{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png);} +.openerp .dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;} +.openerp .dhx_cal_event_line{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png);border:1px solid #FFBD51;color:#000;} +.openerp .dhx_in_move{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png);} -.dhx_cal_event .dhx_title{background-color:#FFE4AB;} +.openerp .dhx_cal_event .dhx_title{background-color:#FFE4AB;} -.dhx_cal_light{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;background-color:#EBEBEB;border:2px solid #A4BED4;color:#000;}.dhx_cal_larea{border:1px solid #A4BED4;border-width:0 1px 1px;background-color:#FFF;} +.openerp .dhx_cal_light{-moz-box-shadow:5px 5px 5px #888;-khtml-box-shadow:5px 5px 5px #888;background-color:#EBEBEB;border:2px solid #A4BED4;color:#000;} +.openerp .dhx_cal_larea{border:1px solid #A4BED4;border-width:0 1px 1px;background-color:#FFF;} -.dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/lightbox.png);font-size:14px;padding:5px 0 5px 10px;color:#000;} +.openerp .dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/lightbox.png);font-size:14px;padding:5px 0 5px 10px;color:#000;} -.dhx_cal_light_wide .dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);}.dhx_cal_ltext textarea{background-color:#fff;color:#000;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);}.openerp .dhx_cal_ltext textarea{background-color:#fff;color:#000;} -.dhx_cal_light select,.dhx_cal_light input{color:#000;}.dhx_save_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} +.openerp .dhx_cal_light select,.openerp .dhx_cal_light input{color:#000;} +.openerp .dhx_save_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} -.dhx_cancel_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);}.dhx_delete_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} +.openerp .dhx_cancel_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} +.openerp .dhx_delete_btn{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);} -.div.dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:1px solid #FFE4AB;} +.openerp .div .dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:1px solid #FFE4AB;} -.div.dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:medium none;} +.openerp .div .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controlls5.png);border:medium none;} -.dhx_section_time{height:20px!important;padding:7px 0!important;text-align:center;background:white;} +.openerp .dhx_section_time{height:20px!important;padding:7px 0!important;text-align:center;background:white;} -.div.dhx_cal_editor{background-color:#FFE4AB;} +.openerp .div .dhx_cal_editor{background-color:#FFE4AB;} -.dhx_month_head{border-right:1px solid #E9E9E9;} +.openerp .dhx_month_head{border-right:1px solid #E9E9E9;} -.dhx_month_body{ +.openerp .dhx_month_body{ border-right:1px solid #E9E9E9; border-bottom:1px solid #E9E9E9; } - .dhx_scale_bar_last{border-right:none;} +.openerp .dhx_scale_bar_last{border-right:none;} -.dhx_month_head.dhx_year_event{background-color:#ddd;} +.openerp .dhx_month_head .dhx_year_event{background-color:#ddd;} -.dhx_year_body .dhx_before .dhx_month_head,.dhx_year_body .dhx_after .dhx_month_head,.dhx_year_body .dhx_before .dhx_month_head a,.dhx_year_body .dhx_after .dhx_month_head a{color:#EFEDE2 ;} +.openerp .dhx_year_body .dhx_before .dhx_month_head,.openerp .dhx_year_body .dhx_after .dhx_month_head, .dhx_year_body .dhx_before .dhx_month_head a,.openerp .dhx_year_body .dhx_after .dhx_month_head a{color:#EFEDE2 ;} -.dhx_cal_lsection .dhx_readonly{color:#000;}.dhx_tooltip{-moz-box-shadow:2px 2px 2px #888;-khtml-box-shadow:2px 2px 2px #888;}.dhx_custom_button{margin-top:-2px;}.dhx_cal_lsection .dhx_fullday{color:#000;}.dhx_cal_lsection.dhx_cal_checkbox{height:16px;line-height:18px;}.dhx_cal_light_wide .dhx_cal_lsection.dhx_cal_checkbox{height:20px;}.dhx_cal_checkbox label{vertical-align:top;}.dhx_cal_light_wide .dhx_cal_lsection{color:black;}.dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #A4BED4;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);}.dhx_cal_light_wide .dhx_cal_ltext{border-left:1px solid #A4BED4;}.dhx_cal_light_wide .dhx_cal_ltext{background-color:white;}.dhx_custom_button{background:white;color:black;}.dhx_form_repeat{background:white;}.dhx_repeat_divider{border-left:1px solid #A4BED4;} +.openerp .dhx_cal_lsection .dhx_readonly{color:#000;} +.openerp .dhx_tooltip{-moz-box-shadow:2px 2px 2px #888;-khtml-box-shadow:2px 2px 2px #888;} +.openerp .dhx_custom_button{margin-top:-2px;} +.openerp .dhx_cal_lsection .dhx_fullday{color:#000;} +.openerp .dhx_cal_lsection .dhx_cal_checkbox{height:16px;line-height:18px;} +.openerp .dhx_cal_light_wide +.openerp .dhx_cal_lsection .dhx_cal_checkbox{height:20px;} +.openerp .dhx_cal_checkbox label{vertical-align:top;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection{color:black;} +.openerp .dhx_cal_light_wide .dhx_wrap_section{border-top:1px solid #A4BED4;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);} +.openerp .dhx_cal_light_wide .dhx_cal_ltext{border-left:1px solid #A4BED4;} +.openerp .dhx_cal_light_wide .dhx_cal_ltext{background-color:white;} +.openerp .dhx_custom_button{background:white;color:black;} +.openerp .dhx_form_repeat{background:white;} +.openerp .dhx_repeat_divider{border-left:1px solid #A4BED4;} +.openerp .dhx_cal_header .dhx_second_cal_header{background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/second-top-days-bg.png");padding-right:20px;} +.openerp .dhx_scale_bar{padding-top:4px;} -.dhx_cal_header.dhx_second_cal_header{background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/second-top-days-bg.png");padding-right:20px;} - -.dhx_scale_bar{padding-top:4px;} - -.dhx_second_scale_bar{border-bottom:0;padding-top:4px;}.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday,.dhx_cal_lsection .dhx_fullday{color:#000;font-size:14px;} - -.dhx_cal_light_wide .dhx_cal_lsection{font-size:14px;padding-right:10px;} +.openerp .dhx_second_scale_bar{border-bottom:0;padding-top:4px;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday,.openerp .dhx_cal_lsection .dhx_fullday{color:#000;font-size:14px;} +.openerp .dhx_cal_light_wide .dhx_cal_lsection{font-size:14px;padding-right:10px;} -.dhx_scale_bar { +.openerp .dhx_scale_bar { /* background-color:#bac6cf; border-left:1px dotted #7e7e7e; */ } -.dhx_scale_hour { +.openerp .dhx_scale_hour { background-color:#bac6cf; border-bottom:1px dotted #7e7e7e; color: #020202; } -.dhx_cal_drag { +.openerp .dhx_cal_drag { background-color:#ff8d8d; border:1px solid #a73636; } -.dhx_cal_event_line { +.openerp .dhx_cal_event_line { background-color:#ff8d8d; color: #000102; border:1px solid #a73636; } -.dhx_in_move{ +.openerp .dhx_in_move{ background-color:#f7ffb1; } -.dhx_scale_holder { +.openerp .dhx_scale_holder { background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); border-right:1px dotted #7e7e7e; } -.dhx_scale_holder_now { +.openerp .dhx_scale_holder_now { background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); border-right:1px dotted #7e7e7e; } -.dhx_cal_event div.dhx_menu_icon { +.openerp .dhx_cal_event div .dhx_menu_icon { border: medium none; } -.dhx_after .dhx_month_body, .dhx_before .dhx_month_body { +.openerp .dhx_after .dhx_month_body, .openerp .dhx_before .dhx_month_body { background-color:#e9e9e9; } -.dhx_cal_light { +.openerp .dhx_cal_light { background-color:#ff8d8d; color: #000102; border:1px solid #b7a543; } -.dhx_cal_light select { +.openerp .dhx_cal_light select { color: #000102; } -.dhx_cal_lsection { +.openerp .dhx_cal_lsection { background-color:#dbcf8c; color: #fff4b5; } -.dhx_cal_larea { +.openerp .dhx_cal_larea { background-color:#fff4b5; border:1px solid #b7a543; } -.dhx_agenda_area{ +.openerp .dhx_agenda_area{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } -.dhx_agenda_line div { +.openerp .dhx_agenda_line div { border-right:1px dotted #7e7e7e; } -.dhx_agenda_area .dhx_agenda_line div { +.openerp .dhx_agenda_area .dhx_agenda_line div { border-right:0px dotted #7e7e7e; } -.dhx_scale_bar_last { +.openerp .dhx_scale_bar_last { border-right: none; } -.dhx_year_body .dhx_before .dhx_month_head, .dhx_year_body .dhx_after .dhx_month_head, .dhx_year_body .dhx_before .dhx_month_head a, .dhx_year_body .dhx_after .dhx_month_head a { +.openerp .dhx_year_body .dhx_before .dhx_month_head, .openerp .dhx_year_body .dhx_after .dhx_month_head, .openerp .dhx_year_body .dhx_before .dhx_month_head a, .openerp .dhx_year_body .dhx_after .dhx_month_head a { color:#bbb; } -.dhx_year_body .dhx_before .dhx_month_head:hover, .dhx_year_body .dhx_after .dhx_month_head:hover, .dhx_year_body .dhx_before .dhx_month_head a:hover, .dhx_year_body .dhx_after .dhx_month_head a:hover { +.openerp .dhx_year_body .dhx_before .dhx_month_head:hover, .openerp .dhx_year_body .dhx_after .dhx_month_head:hover, .openerp .dhx_year_body .dhx_before .dhx_month_head a:hover, .openerp .dhx_year_body .dhx_after .dhx_month_head a:hover { color:white; text-shadow:none; } -.dhx_tooltip { +.openerp .dhx_tooltip { background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } -.dhx_cal_event div.dhx_menu_head { +.openerp .dhx_cal_event div .dhx_menu_head { border:none; } -div.dhx_menu_head{ +div.openerp .dhx_menu_head{ border:1px solid #ff8d8d; } -.dhx_after .dhx_month_head, .dhx_before .dhx_month_head { +.openerp .dhx_after .dhx_month_head, .openerp .dhx_before .dhx_month_head { color:#8c9299; } -.dhx_cal_data .dhx_agenda_line { +.openerp .dhx_cal_data .dhx_agenda_line { color:#000102; } -.dhx_cal_header .dhx_agenda_line { +.openerp .dhx_cal_header .dhx_agenda_line { color: #020202; } -.dhx_tooltip_line { +.openerp .dhx_tooltip_line { color:#000102; } -.dhx_cal_light select { +.openerp .dhx_cal_light select { background-color: #ffffff; } -.dhx_custom_button { +.openerp .dhx_custom_button { color: #000102; background-color: #bac6cf; } -div.dhx_form_repeat { +div.openerp .dhx_form_repeat { background-color: #ffffff; } -div.dhx_repeat_divider { +div.openerp .dhx_repeat_divider { border-left:1px dotted #dbcf8c; } -.dhx_v_border { +.openerp .dhx_v_border { border-right:1px dotted #8c9299; } -.dhx_scale_bar_last { +.openerp .dhx_scale_bar_last { border-right: none; } -.dhx_tooltip { +.openerp .dhx_tooltip { background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } -.dhx_text_disabled { +.openerp .dhx_text_disabled { color:#000102; } -.dhx_mini_calendar .dhx_calendar_click { +.openerp .dhx_mini_calendar .dhx_calendar_click { background-color:#bac6cf; } -.dhx_matrix_cell,.dhx_matrix_scell { +.openerp .dhx_matrix_cell, .openerp .dhx_matrix_scell { border-bottom:1px dotted #757575; border-right:1px dotted #757575; } -.dhx_matrix_cell { +.openerp .dhx_matrix_cell { background-color: #ffffff; } @@ -690,132 +805,132 @@ div.dhx_repeat_divider { /*=================================================================*/ -.dhx_cal_navline{ +.openerp .dhx_cal_navline{ background-color:none; } -.dhx_scale_holder { +.openerp .dhx_scale_holder { border-right:1px solid #757575; } -.dhx_scale_holder_now{ +.openerp .dhx_scale_holder_now{ border-right:1px solid #757575; } -.dhx_scale_hour{ +.openerp .dhx_scale_hour{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png"); border-bottom:1px solid #757575; color: #020202; } -.dhx_multi_day{ +.openerp .dhx_multi_day{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); border-bottom:1px solid #757575; } -.dhx_multi_day_icon,.dhx_multi_day_icon_small{ +.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day_icon_small{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); border-bottom:1px solid #757575; border-left:1px solid #FFFFFF; } -.dhx_cal_event_line{ +.openerp .dhx_cal_event_line{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png"); border:1px solid #a73636; color:#000102; } -.dhx_in_move{ +.openerp .dhx_in_move{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png"); } -.dhx_cal_light{ +.openerp .dhx_cal_light{ background-color:#bac6cf; border:2px solid #757575; color:#000102; } -.dhx_cal_larea{ +.openerp .dhx_cal_larea{ border:1px solid #757575; background-color:#FFFFFF; } -.dhx_cal_lsection{ +.openerp .dhx_cal_lsection{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/lightbox.png"); color:#000102; } -.dhx_cal_ltext{ +.openerp .dhx_cal_ltext{ background-color:#ffffff; } -.dhx_cal_ltext textarea{ +.openerp .dhx_cal_ltext textarea{ color:#000102; background-color:#ffffff; } -.dhx_form_repeat input, .dhx_form_repeat select{ +.openerp .dhx_form_repeat input, .openerp .dhx_form_repeat select{ background-color:white; color:black; } -.dhx_cal_light select{ +.openerp .dhx_cal_light select{ color:#000102; background-color:#ffffff; } -.dhx_section_time{ +.openerp .dhx_section_time{ background-image:none; background-color:#ffffff; } -div.dhx_cal_editor{ +div.openerp .dhx_cal_editor{ background-color:#ff8d8d; } -div.dhx_cal_editor textarea { +div.openerp .dhx_cal_editor textarea { color: #000102; } -/* .dhx_year_week{ +/* .openerp .dhx_year_week{ background-image:url("./imgs/top-days-bg.png"); } -.dhx_month_head.dhx_year_event{ +.openerp .dhx_month_head.openerp .dhx_year_event{ background-color:#ff8d8d; } */ -.dhx_cal_lsection .dhx_readonly{ +.openerp .dhx_cal_lsection .dhx_readonly{ color:#000102; } -.dhx_after .dhx_month_head, .dhx_before .dhx_month_head { +.openerp .dhx_after .dhx_month_head, .openerp .dhx_before .dhx_month_head { background-color:#F4F4F4; } -.dhx_cal_event div{ +.openerp .dhx_cal_event div{ font-size: 11px; } -.dhx_cal_event_line { +.openerp .dhx_cal_event_line { font-size: 11px; } -.dhx_cal_light{ +.openerp .dhx_cal_light{ font-size: 11px; } -.dhx_cal_light select{ +.openerp .dhx_cal_light select{ font-size: 11px; } -.dhx_custom_button{ +.openerp .dhx_custom_button{ font-size: 11px; } -.dhx_cal_lsection{ +.openerp .dhx_cal_lsection{ font-size: 14px; } -.dhx_cal_ltext textarea { +.openerp .dhx_cal_ltext textarea { font-size: 11px; } @@ -824,132 +939,121 @@ div.dhx_cal_editor textarea { /* Tree view */ -.dhx_matrix_scell.folder, .dhx_data_table.folder .dhx_matrix_cell{ +.openerp .dhx_matrix_scell.folder, .dhx_data_table.folder .dhx_matrix_cell{ background-color: #7e7e7e; } .dhtmlXTooltip.tooltip{ border-left:1px dotted #7e7e7e; border-top:1px dotted #7e7e7e; } -.dhx_map_area{ +.openerp .dhx_map_area{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); } -.dhx_map_line div{ +.openerp .dhx_map_line div{ border-right:1px dotted #7e7e7e; } -.dhx_map_line .headline_description{ +.openerp .dhx_map_line .headline_description{ border-right:1px dotted #7e7e7e; } -.dhx_map_line .dhx_map_description{ +.openerp .dhx_map_line .dhx_map_description{ border-right: 0px dotted #7e7e7e; } -.dhx_map_line .line_description{ +.openerp .dhx_map_line .line_description{ border-right:1px dotted #7e7e7e; } -.dhx_map_line.highlight{ +.openerp .dhx_map_line.highlight{ background-color: #bac6cf; } -.dhx_map_area .dhx_map_line div{ +.openerp .dhx_map_area .dhx_map_line div{ border-right:0px dotted #7e7e7e; } - - - /* Map view */ -.dhx_map_area{ +.openerp .dhx_map_area{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); } /* Map view end */ /* Agenda week start */ -.dhx_wa_column_last .dhx_wa_day_cont{ +.openerp .dhx_wa_column_last .dhx_wa_day_cont{ border-left: 1px dotted #757575; } -.dhx_wa_scale_bar { +.openerp .dhx_wa_scale_bar { border-top: 1px dotted #757575; border-bottom: 1px dotted #757575; color: #020202; } -.dhx_wa_day_data { +.openerp .dhx_wa_day_data { background-color: #ffffff; } -.dhx_wa_ev_body { +.openerp .dhx_wa_ev_body { border-bottom: 1px dotted #757575; color: #000102; } -.dhx_wa_dnd { +.openerp .dhx_wa_dnd { color: #525253 !important; background-color: #f7ffb1 !important; border: 1px solid #757575; } -.dhx_cal_event_selected{ +.openerp .dhx_cal_event_selected{ background-color: #757575; color: ffffff; } /* Agenda week end */ - - - - -.dhx_scale_bar_header { +.openerp .dhx_scale_bar_header { border-bottom: 1px dotted #8894A3; } /*All*/ /* increase width of lightbox */ -.dhx_cal_light_wide .dhx_cal_lsection{ +.openerp .dhx_cal_light_wide .dhx_cal_lsection{ background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png); } /*2.3*/ -.dhx_cal_lsection .dhx_fullday{ +.openerp .dhx_cal_lsection .dhx_fullday{ color:#000000; } -.dhx_cal_light_wide .dhx_cal_lsection{ +.openerp .dhx_cal_light_wide .dhx_cal_lsection{ color:#000000; } -.dhx_cal_light_wide .dhx_wrap_section{ +.openerp .dhx_cal_light_wide .dhx_wrap_section{ border-top:1px solid #757575; background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png); } -.dhx_cal_light_wide .dhx_cal_ltext{ +.openerp .dhx_cal_light_wide .dhx_cal_ltext{ border-left:1px solid #757575; } -.dhx_cal_light_wide .dhx_cal_ltext { +.openerp .dhx_cal_light_wide .dhx_cal_ltext { background-color:#ffffff; } -.dhx_custom_button{ +.openerp .dhx_custom_button{ background:#ffffff; color:#000000; } /* timeline second scale start */ -.dhx_cal_header.dhx_second_cal_header { +.openerp .dhx_cal_header.openerp .dhx_second_cal_header { background-image: url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/second-top-days-bg.png"); } /* timeline second scale end */ -.dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday, .dhx_cal_lsection .dhx_fullday{ +.openerp .dhx_cal_light_wide .dhx_cal_lsection .dhx_fullday, .openerp .dhx_cal_lsection .dhx_fullday{ color:#000000; font-size: 14px; } -.dhx_cal_light_wide .dhx_cal_lsection { +.openerp .dhx_cal_light_wide .dhx_cal_lsection { font-size: 14px; } - -.dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container { +.dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container { background-color: #d0e5ff; } - -div.dhx_cal_editor{ +.openerp div .dhx_cal_editor{ border:1px solid #B7A543; } - -.dhx_cal_light_wide .dhx_repeat_divider { +.openerp .dhx_cal_light_wide .dhx_repeat_divider { border-color: #757575; } - -.dhx_cal_event .dhx_header, .dhx_cal_event .dhx_header { +.openerp .dhx_cal_event .dhx_header, .openerp .dhx_cal_event .dhx_header { display:none; } -.dhx_scale_holder .dhx_cal_event .dhx_footer, .dhx_scale_holder_now .dhx_cal_event .dhx_footer { +.openerp .dhx_scale_holder .dhx_cal_event .dhx_footer, .openerp .dhx_scale_holder_now .dhx_cal_event .dhx_footer { display:none; } From cde02bb93b5f9bbe16900319f2323df1efc03e99 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 15:28:07 +0200 Subject: [PATCH 5/9] [IMP] text size and fonts bzr revid: ahu@openerp.com-20111027132807-n03orhrmg8izclpm --- addons/web_calendar/static/src/css/web_calendar.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index 05a5b0df4c1..80291a6cf5a 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -184,9 +184,9 @@ border-top-right-radius:4px; vertical-align:50% !important; } -.openerp .dhx_cal_tab[name="month_tab"] { right:0px; } -.openerp .dhx_cal_tab[name="week_tab"] { right:62px; } -.openerp .dhx_cal_tab[name="day_tab"] { right:107px; } +.openerp .dhx_cal_tab[name="month_tab"] { right:16px; } +.openerp .dhx_cal_tab[name="week_tab"] { right:78px; } +.openerp .dhx_cal_tab[name="day_tab"] { right:123px; } .openerp .dhx_cal_tab:hover { background-color:#ddd; @@ -286,6 +286,7 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler .openerp .dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} .openerp .dhx_cal_event div{ + font-family: Ubuntu, Helvetica, sans-serif; background-color:#FFE763; border:1px solid #a73636; color:#887A2E; @@ -332,7 +333,8 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler font-size:8pt;height:13px;padding-left:10px;color:#887A2E;cursor:pointer;overflow:hidden;} .openerp .dhx_cal_event_clear{ - font-size:130%; + font-family:Ubuntu, Helvetica, sans-serif; + font-size:100%; height:15px; padding-left:2px; color:white; From 3520579b62f244be49e5a1aacf32a7c93af07ba2 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 16:15:18 +0200 Subject: [PATCH 6/9] [ADD] Adding Images for the calendar bzr revid: ahu@openerp.com-20111027141518-mca9nrtf9f44xlno --- addons/web_calendar/static/src/img/cal_left.png | Bin 0 -> 347 bytes addons/web_calendar/static/src/img/cal_right.png | Bin 0 -> 356 bytes .../web_calendar/static/src/img/minical_left.png | Bin 0 -> 258 bytes .../web_calendar/static/src/img/minical_right.png | Bin 0 -> 260 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 addons/web_calendar/static/src/img/cal_left.png create mode 100644 addons/web_calendar/static/src/img/cal_right.png create mode 100644 addons/web_calendar/static/src/img/minical_left.png create mode 100644 addons/web_calendar/static/src/img/minical_right.png diff --git a/addons/web_calendar/static/src/img/cal_left.png b/addons/web_calendar/static/src/img/cal_left.png new file mode 100644 index 0000000000000000000000000000000000000000..b9b66aaeb633e0cb49662a68283986282f11f019 GIT binary patch literal 347 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa#^NA%Cx&(BWL^R}Y)RhkE)4%c zaKYZ?lYt_f1s;*b3=G`DAk4@xYmNj^kiEpy*OmPimnfeA*QfqJ3xGnmJzX3_G|tbx zWXRQQAj0-wPsD`=vBz<5RI3=)Ul6unopZ)ErsV7s&Z?Gg3`^AuCiOK<<8l)8SuVC! z$oc-S{r&9kZCn27B&)V-bY%#zEYau+zg~KuVYR^XJKJ?$t1aErmiVI2d5u%w;~0zQ z)lM95f6E=?l@{%Ke8b#VnBl>4&eap1S9WLcZN121bZnc%W8vf+cg@g6oFYy(?THp# zitl_cduT3|bKy8?;(K~qZnMtmQ@hqpt=K1%yQjommnVBZGei1e12zT=70*jA4xC@V lYg_JOoAdIap|$S&86#E|Zw$QgKosar22WQ%mvv4FO#l+_fLQen83dW1y zSAV;=U;p%{H+%ozYB|%h?)8pUt3Dg>^q<>l%)oa@mxW<__KM6|psp$y85}Sb4q9e0N6W>R{#J2 literal 0 HcmV?d00001 diff --git a/addons/web_calendar/static/src/img/minical_left.png b/addons/web_calendar/static/src/img/minical_left.png new file mode 100644 index 0000000000000000000000000000000000000000..b17118fcc67987d1254d7f1fff7271783ed6d914 GIT binary patch literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1p!3-q7SC-!aQjEnx?oJHr&dIz4a-0HuLR^9L z;e!X)ty!~Y_wM6IkN*4n_s^d{zkdGw@#Dw$@87RpzPx$k#y`J*pFMs0*pVZL4;^~^ z@Zrtt*Jn(h{`=Rjn>TLEoIbtr$NylE(Ir8C!3+-1Zlr-YN#5=*3>~bp9zYIffk$L9 z0|U1(2s1Lwnj--eWH0gbb!ETJDbB8L_-pz5gFqo2PZ!4!j_bUqwlXp(2rz7{zBBi4 xc&l0{!?L!8VQ%rNy|-L>?B?j-KK6zCsI7=E!TLEoIbtr$NylE(Ir8C!3+-1Zlr-YN#5=*3>~bp9zYIffk$L9 z0|U1(2s1Lwnj--eWH0gbb!ETJDbB90`k>Z&4^T+Y)5S4_<9c#}SPBDEo}wBf8=IY* zT3{NRn44Q&oPy?|gXaz$J*jo(z=31TAxsP+Ga0^!eSdKRsFT6d)z4*}Q$iB}&K73a literal 0 HcmV?d00001 From 0b1283ed1ce850fb30b9c39c83130a47be6ff551 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Thu, 27 Oct 2011 17:50:01 +0200 Subject: [PATCH 7/9] [IMP] font size improvements, removing old css file & vertical align adjustments bzr revid: ahu@openerp.com-20111027155001-v45n72ltb447vf97 --- addons/web_calendar/__openerp__.py | 2 +- .../static/src/css/web_calendar.css | 40 ++++++++++++------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/addons/web_calendar/__openerp__.py b/addons/web_calendar/__openerp__.py index 39e2557de75..e36e6655b82 100644 --- a/addons/web_calendar/__openerp__.py +++ b/addons/web_calendar/__openerp__.py @@ -8,7 +8,7 @@ 'static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_minical.js', 'static/src/js/calendar.js' ], - "css": ['static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.css', + "css": [ 'static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_ext.css', 'static/src/css/web_calendar.css' ], diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index 80291a6cf5a..82fa33d2fa5 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -15,7 +15,10 @@ position:relative; overflow:hidden; } - +.openerp .dhx_cal_container.dhx_mini_calendar { + background-color:#eee; +} + .openerp .dhx_cal_container div{ -moz-user-select:none; -moz-user-select:-moz-none; @@ -29,9 +32,6 @@ white-space:nowrap; } -.openerp .dhx_cal_navline * { - vertical-align:middle; -} .openerp .dhx_cal_navline .dhx_cal_date{ font-weight:bold; float:left; @@ -44,18 +44,19 @@ .openerp .dhx_cal_today_button, .openerp .dhx_cal_prev_button, .openerp .dhx_cal_next_button { color:white; height:17px; + line-height:17px; font-weight:bold; cursor:pointer; font-size:90%; text-decoration:none; float:left; - margin:0px 3px; padding:2px 2px; border:1px solid black; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; + vertical-align:0px; } .openerp .dhx_cal_today_button { @@ -165,14 +166,16 @@ .openerp .dhx_cal_tab { width:59px; - height:18px; + height:16px; + line-height:16px; text-align:center; text-transform:uppercase; text-decoration:none; font-weight:bold; - font-size:0.8em; + font-size:80%; color:#555; - margin:2px 1px 0px 1px; + margin:6px 1px 0px 1px; + padding-top:2px; cursor:pointer; float:right; background-color:#bbb; @@ -182,7 +185,6 @@ -moz-border-radius-topright:4px; border-top-left-radius:4px; border-top-right-radius:4px; - vertical-align:50% !important; } .openerp .dhx_cal_tab[name="month_tab"] { right:16px; } .openerp .dhx_cal_tab[name="week_tab"] { right:78px; } @@ -193,9 +195,12 @@ } .openerp .dhx_cal_tab.active{ + height:17px; + line-height:17px; text-decoration:none; cursor:default; - border-bottom:0; + border:1px dotted #8894A3; + border-bottom:0px; background-color:white /*#F4F4F4;*/ } @@ -213,6 +218,7 @@ font-weight:bold; color:#1F1F1F; border-bottom:1px dotted #8894A3; + border-top:1px dotted #8894A3; /*border-right:1px dotted #8894A3;z-index:2;*/ overflow:hidden; background-color: white; /*#F4F4F4;*/ @@ -250,8 +256,10 @@ openerp .dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3; font-weight:bold; text-align:center; border-right:1px dotted #586A7E; - height:18px;padding-right:5px; - padding-top:3px;text-align:right; + height:18px; + padding-right:6px; + padding-top:4px; + text-align:right; font-size:0.9em; } @@ -314,7 +322,7 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler cursor:pointer; vertical-align:middle; padding-top:2px; - font-size: 120%; + font-size: 90%; -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; } @@ -322,7 +330,7 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler border-width:0 1px 1px 1px; padding:5px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; - font-size:120%; + font-size:90%; } .openerp .dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} @@ -433,7 +441,8 @@ div.openerp .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxS .openerp .dhx_year_month{ height:18px; - padding-top:3px; + line-height:18px; + padding-top:2px; text-align:center; vertical-align:middle; text-transform:uppercase; @@ -441,6 +450,7 @@ div.openerp .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxS font-size:0.9em; text-shadow: 0 1px 0 white; border:0px; + color:#444; } /*.openerp .dhx_mini_calendar .openerp .dhx_year_month{ padding-top:0px; From e352440679d7f4f26d31b3d62b0333d50c7c6afb Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Fri, 28 Oct 2011 09:52:36 +0200 Subject: [PATCH 8/9] [IMP] .dhx_cal_event_line changes bzr revid: ahu@openerp.com-20111028075236-ta8g861zwxa9n42h --- .../static/src/css/web_calendar.css | 82 ++++++++----------- 1 file changed, 34 insertions(+), 48 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index 82fa33d2fa5..e7178f993ca 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -216,7 +216,7 @@ text-transform:uppercase; font-size:0.8em; font-weight:bold; - color:#1F1F1F; + color:#3F3F3F; border-bottom:1px dotted #8894A3; border-top:1px dotted #8894A3; /*border-right:1px dotted #8894A3;z-index:2;*/ @@ -337,26 +337,50 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler .openerp .dhx_cal_event .dhx_footer{height:1px;margin-left:2px;border-width:0 1px 1px 1px;cursor:s-resize;} -.openerp .dhx_cal_event_line{background-color:#FFE763;border:1px solid #B7A543;border-radius:3px; - font-size:8pt;height:13px;padding-left:10px;color:#887A2E;cursor:pointer;overflow:hidden;} +/* +The old one -.openerp .dhx_cal_event_clear{ +.openerp .dhx_cal_event_line{ + background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png); + background-color:#FFE763; + border:1px solid #FFBD51; + border-radius:3px; + height:13px; + padding-left:10px; + color:#000; + cursor:pointer; + overflow:hidden; +}*/ + +.openerp .dhx_cal_event_clear, .openerp .dhx_cal_event_line{ font-family:Ubuntu, Helvetica, sans-serif; - font-size:100%; + font-size:95%; height:15px; - padding-left:2px; + line-height:15px; + padding:0px 2px; color:white; white-space:nowrap; overflow:hidden; cursor:pointer; vertical-align:middle; } +.openerp .dhx_cal_event_clear:hover, .openerp .dhx_cal_event_line:hover{ + background-color:#ccc; +} -.openerp .dhx_in_move{background-color:#FFFF80;}div.openerp .dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;}textarea.openerp .dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;}div.openerp .dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;} +.openerp .dhx_in_move{background-color:#FFFF80;} -div.openerp .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;}div.icon_details{background-position:0 0;} +.openerp div .dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;} -.openerp div .icon_edit{background-position:-22px 0;}div.icon_save{background-position:-84px -1px;} +.openerp textarea .dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;} + +.openerp div .dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;} + +.openerp div .dhx_menu_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);width:20px;height:20px;margin-left:-5px;margin-top:0;border:none;cursor:pointer;} +.openerp div .icon_details{background-position:0 0;} + +.openerp div .icon_edit{background-position:-22px 0;} +.openerp div .icon_save{background-position:-84px -1px;} .openerp div .icon_cancel{background-position:-62px 0;}div.icon_delete{background-position:-42px 0;} .openerp div .dhx_now_time{position:absolute;width:100%;border-bottom:2px dotted red;z-index:1;} .openerp div .dhx_time_block{position:absolute;width:100%;background:silver;opacity:.4;filter:alpha(opacity=40);z-index:1;} @@ -580,7 +604,7 @@ font-size:11px;line-height:24px;} .openerp .dhx_after .dhx_month_body,.openerp .dhx_before .dhx_month_body{background-color:#EFEDE2;} .openerp .dhx_cal_event div{border:1px solid #FFBD51;background-color:#FFE4AB;color:#000;} -.openerp .dhx_cal_event_line{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png);border:1px solid #FFBD51;color:#000;} + .openerp .dhx_in_move{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png);} .openerp .dhx_cal_event .dhx_title{background-color:#FFE4AB;} @@ -659,11 +683,6 @@ font-size:11px;line-height:24px;} } -.openerp .dhx_cal_event_line { - background-color:#ff8d8d; - color: #000102; - border:1px solid #a73636; -} .openerp .dhx_in_move{ background-color:#f7ffb1; @@ -848,11 +867,6 @@ div.openerp .dhx_repeat_divider { } -.openerp .dhx_cal_event_line{ - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/event-bg.png"); - border:1px solid #a73636; - color:#000102; -} .openerp .dhx_in_move{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png"); @@ -922,34 +936,6 @@ div.openerp .dhx_cal_editor textarea { background-color:#F4F4F4; } -.openerp .dhx_cal_event div{ - font-size: 11px; -} -.openerp .dhx_cal_event_line { - font-size: 11px; -} -.openerp .dhx_cal_light{ - font-size: 11px; -} -.openerp .dhx_cal_light select{ - font-size: 11px; -} -.openerp .dhx_custom_button{ - font-size: 11px; -} - -.openerp .dhx_cal_lsection{ - font-size: 14px; -} - -.openerp .dhx_cal_ltext textarea { - font-size: 11px; -} - - -/*Added in 2.3*/ - - /* Tree view */ .openerp .dhx_matrix_scell.folder, .dhx_data_table.folder .dhx_matrix_cell{ background-color: #7e7e7e; From 017f591cd42a6ae8ce337ba3feacb89d7a9930f0 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Mon, 21 Nov 2011 16:50:11 +0100 Subject: [PATCH 9/9] [IMP] Taking review remarks into account bzr revid: ahu@openerp.com-20111121155011-h0oln1fdurkm941e --- .../static/src/css/web_calendar.css | 173 +++++++++--------- 1 file changed, 90 insertions(+), 83 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index e7178f993ca..3736a62b064 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -10,7 +10,6 @@ .openerp .dhx_cal_container, .openerp .dhx_cal_event { background-position:0 24px; background-repeat:repeat-x; - background-color:white; font-family: Ubuntu, Helvetica, sans-serif; position:relative; overflow:hidden; @@ -229,7 +228,8 @@ position:absolute; top:44px; width:600px; - overflow-y:auto;overflow-x:hidden; + overflow-y:auto; + overflow-x:hidden; } .openerp .dhx_cal_data tr td { @@ -245,9 +245,28 @@ border-left:1px dotted #586A7E; } -.openerp .dhx_scale_holder{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png");} -.openerp .dhx_scale_holder_now{position:absolute;border-right:1px dotted #586A7E;background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png");}. -openerp .dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3;background-color:#C2D5FC;text-align:center;line-height:40px;color:#586A7E;overflow:hidden;} +.openerp .dhx_scale_holder{ + position:absolute; + border-right:1px solid #ccc; + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); +} +.openerp .dhx_scale_holder_now{ + position:absolute; + border-right:1px solid #ccc; + background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); +} + +.openerp .dhx_scale_hour{ + height:41px; + width:50px; + border-bottom:1px dotted #8894A3; + border-right:1px dotted #8894A3; + background-color:#ddd; + text-align:center; + line-height:40px; + color:#586A7E; + overflow:hidden; +} .openerp .dhx_month_head{ background-color:#F4F4F4; @@ -255,20 +274,22 @@ openerp .dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3; text-shadow: 0 1px 0 white; font-weight:bold; text-align:center; - border-right:1px dotted #586A7E; + border-left:1px solid #E9E9E9; height:18px; - padding-right:6px; + padding-right:4px; padding-top:4px; text-align:right; font-size:0.9em; } - -.openerp .dhx_month_body{ - border-right:1px dotted #586A7E; - border-bottom:1px dotted #586A7E; - background-color:#FFF; +.openerp .dhx_mini_calendar .dhx_month_head{ + padding-right:6px; } +.openerp .dhx_cal_data table tbody tr td:nth-child(7) { + color:red; +} + + .openerp .dhx_now .openerp .dhx_month_body{ background-color:#cccccc; } @@ -285,11 +306,30 @@ openerp .dhx_scale_hour{height:41px;width:50px;border-bottom:1px dotted #8894A3; .openerp .dhx_loading{position:absolute;width:128px;height:15px;background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/loading.gif);z-index:9999;} -.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day{background-color:#E1E6FF;background-repeat:no-repeat;border-right:1px dotted #8894A3;}.openerp .dhx_multi_day{position:absolute;border-top:1px dotted #8894A3;}. +.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day{ + background-color:#ddd; + background-repeat:no-repeat; + /*border-right:1px dotted #8894A3;*/ +} +.openerp .dhx_multi_day{ + position:absolute; +/* border-top:1px dotted #8894A3;*/ +} -dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_big.gif);}.openerp .dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_small.gif);} +.openerp .dhx_multi_day_icon{ + background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_big.gif); +} -.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day_icon_small{background-position:center center;background-color:#E1E6FF;background-repeat:no-repeat;border-bottom:1px dotted #8894A3;border-right:1px dotted #8894A3;} +.openerp .dhx_multi_day_icon_small { + background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/clock_small.gif); +} + +.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day_icon_small{ + background-position:center center; + background-repeat:no-repeat; + border:1px dotted #8894A3; + border-left:0px; +} .openerp .dhtmlxLayoutPolyContainer_dhx_skyblue .dhx_cal_container{background-color:none;} @@ -328,14 +368,24 @@ dhx_multi_day_icon{background-image:url(/web_calendar/static/lib/dhtmlxScheduler .openerp .dhx_cal_event .dhx_body{ border-width:0 1px 1px 1px; - padding:5px; + padding:0px 5px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; font-size:90%; + line-height:9px; } -.openerp .dhx_resize_denied .dhx_cal_event .dhx_footer{cursor:default;} +.openerp .dhx_resize_denied .dhx_cal_event .dhx_footer{ + cursor:default; +} -.openerp .dhx_cal_event .dhx_footer{height:1px;margin-left:2px;border-width:0 1px 1px 1px;cursor:s-resize;} +.openerp .dhx_cal_event .dhx_footer{ + height:2px; + margin-left:2px; + border-width:0 1px 1px 1px; + cursor:s-resize; + overflow:auto; + background-color:red; +} /* The old one @@ -370,9 +420,27 @@ The old one .openerp .dhx_in_move{background-color:#FFFF80;} -.openerp div .dhx_cal_editor{background-color:#FFE763;border:1px solid #B7A543;border-top-style:dotted;z-index:999;position:absolute;overflow:hidden;} +.openerp div .dhx_cal_editor{ + background-color:white; + border:1px solid #B7A543; + width:100%; + /*min-height:40px;*/ + height:100%; + z-index:999; + position:absolute; + overflow:hidden; +} -.openerp textarea .dhx_cal_editor{width:100%;height:100%;border:0 solid black;margin:none;padding:none;overflow:auto;} +.openerp textarea .dhx_cal_editor{ + background-color:white; + width:100%; +/* min-height:40px;*/ + height:100%; + border:0 solid black; + margin:none; + padding:none; + overflow:auto; +} .openerp div .dhx_menu_head{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/controls.gif);background-position:0 -43px;width:10px;height:10px;margin-left:5px;margin-top:1px;border:none;cursor:default;} @@ -575,12 +643,6 @@ font-size:11px;line-height:24px;} .openerp .dhx_cal_light_rec .dhx_cal_light_wide{width:816px;} .openerp .dhx_cal_light_rec .dhx_cal_light_wide .dhx_cal_larea{width:808px;} -.openerp .dhx_multi_day{border:none;border-top:1px solid #A4BED4;} - -.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day_icon_small{border-right:none;} - - - .openerp .dhx_cal_navline{background-color:none;height:23px!important;} @@ -588,14 +650,7 @@ font-size:11px;line-height:24px;} .openerp .dhx_scale_bar{/*background-image:url(imgs/top-separator.gif);background-position:0 0;background-repeat:no-repeat; */background-color:transparent;padding-top:3px;border-left:0;} -.openerp .dhx_scale_holder{border-right:1px solid #A4BED4;} - -.openerp .dhx_scale_holder_now{border-right:1px solid #A4BED4;} -.openerp .dhx_scale_hour{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png);border-bottom:1px solid #A4BED4;color:#2F3A48;} - -.openerp .dhx_multi_day{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);background-repeat:repeat;border-bottom:1px solid #A4BED4;border-left:0;} - -.openerp .dhx_multi_day_icon,.openerp .dhx_multi_day_icon_small{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);border-bottom:1px solid #A4BED4;border-left:1px solid #fff;background-position:0 0;background-repeat:repeat;} +.openerp .dhx_multi_day{background-image:url(/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png);background-repeat:repeat;} .openerp .dhx_month_head{background-color:#F4F4F4;} @@ -630,10 +685,8 @@ font-size:11px;line-height:24px;} .openerp .div .dhx_cal_editor{background-color:#FFE4AB;} -.openerp .dhx_month_head{border-right:1px solid #E9E9E9;} - .openerp .dhx_month_body{ - border-right:1px solid #E9E9E9; + border-left:1px solid #E9E9E9; border-bottom:1px solid #E9E9E9; } @@ -671,11 +724,6 @@ font-size:11px;line-height:24px;} border-left:1px dotted #7e7e7e; */ } -.openerp .dhx_scale_hour { - background-color:#bac6cf; - border-bottom:1px dotted #7e7e7e; - color: #020202; -} .openerp .dhx_cal_drag { background-color:#ff8d8d; @@ -689,16 +737,6 @@ font-size:11px;line-height:24px;} } -.openerp .dhx_scale_holder { - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg.png"); - border-right:1px dotted #7e7e7e; -} - -.openerp .dhx_scale_holder_now { - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/databg_now.png"); - border-right:1px dotted #7e7e7e; -} - .openerp .dhx_cal_event div .dhx_menu_icon { border: medium none; } @@ -840,34 +878,6 @@ div.openerp .dhx_repeat_divider { background-color:none; } - -.openerp .dhx_scale_holder { - border-right:1px solid #757575; -} - -.openerp .dhx_scale_holder_now{ - border-right:1px solid #757575; -} - -.openerp .dhx_scale_hour{ - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/left-time-bg.png"); - border-bottom:1px solid #757575; - color: #020202; -} - -.openerp .dhx_multi_day{ - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); - border-bottom:1px solid #757575; -} - -.openerp .dhx_multi_day_icon, .openerp .dhx_multi_day_icon_small{ - background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/multi-days-bg.png"); - border-bottom:1px solid #757575; - border-left:1px solid #FFFFFF; -} - - - .openerp .dhx_in_move{ background-image:url("/web_calendar/static/lib/dhtmlxScheduler/codebase/imgs/move.png"); } @@ -1052,6 +1062,3 @@ div.openerp .dhx_cal_editor textarea { .openerp .dhx_cal_event .dhx_header, .openerp .dhx_cal_event .dhx_header { display:none; } -.openerp .dhx_scale_holder .dhx_cal_event .dhx_footer, .openerp .dhx_scale_holder_now .dhx_cal_event .dhx_footer { - display:none; -}