From c308960751bda99a32f29d311103a36420dc81dd Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 6 Sep 2011 13:43:44 +0000 Subject: [PATCH] 2011-09-06 Miguel de Dios * include/styles/pandora.css, images/skin/skin_default/include/styles/pandora.css: added items to set the style of calendar tooltip. * include/calendar.js, include/javascript/calendar.js: erased the styles for the calendar. Fixes: #3371449 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 11 ++++++++ .../skin_default/include/styles/pandora.css | 27 +++++++++++++++++++ pandora_console/include/calendar.js | 9 ------- .../include/javascript/calendar.js | 9 ------- pandora_console/include/styles/pandora.css | 27 +++++++++++++++++++ 5 files changed, 65 insertions(+), 18 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f52a6ccdea..f95a0c7648 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,14 @@ +2011-09-06 Miguel de Dios + + * include/styles/pandora.css, + images/skin/skin_default/include/styles/pandora.css: added items to set the + style of calendar tooltip. + + * include/calendar.js, include/javascript/calendar.js: erased the styles + for the calendar. + + Fixes: #3371449 + 2011-09-06 Miguel de Dios * include/functions_graph.php: hidden the legend of datas with 0 value. diff --git a/pandora_console/images/skin/skin_default/include/styles/pandora.css b/pandora_console/images/skin/skin_default/include/styles/pandora.css index e1ba9b09ba..5c67aac3fa 100644 --- a/pandora_console/images/skin/skin_default/include/styles/pandora.css +++ b/pandora_console/images/skin/skin_default/include/styles/pandora.css @@ -1975,3 +1975,30 @@ div#logo_text3 { margin-left: 4px; padding-top: 0px; } + +/*CALENDAR TOOLTIP STYLE*/ + +/* Calendar background */ +table.scw { + background-color: #000; +} + +/* Week number heading */ +td.scwWeekNumberHead { + color: #000; +} + +/* Today selector */ + +td.scwFoot { + background-color: #000; + color: #FFFFFF; +} + +td.scwFootDisabled { + background-color: #000; + color: #FFFFFF; +} + +tfoot.scwFoot { + color: #FFFFFF; +} diff --git a/pandora_console/include/calendar.js b/pandora_console/include/calendar.js index 76fa971e2a..5528c44167 100644 --- a/pandora_console/include/calendar.js +++ b/pandora_console/include/calendar.js @@ -490,13 +490,9 @@ 'font-weight: bold;' + 'vertical-align: middle;}' + '/* Blend the colours into your page here... */' + - '/* Calendar background */' + - 'table.scw {background-color: #6666CC;}' + '/* Drag Handle */' + 'td.scwDrag {background-color: #9999CC;' + 'color: #CCCCFF;}' + - '/* Week number heading */' + - 'td.scwWeekNumberHead {color: #6666CC;}' + '/* Week day headings */' + 'td.scwWeek {color: #CCCCCC;}' + '/* Week numbers */' + @@ -515,9 +511,6 @@ '/* Day outside the current month */' + 'td.scwCellsExMonth {background-color: #CCCCCC;' + 'color: #666666;}' + - '/* Today selector */' + - 'td.scwFoot {background-color: #6666CC;' + - 'color: #FFFFFF;}' + '/* MouseOver/Hover formatting ' + ' If you want to "turn off" any of the formatting ' + ' then just set to the same as the standard format' + @@ -573,8 +566,6 @@ '/* Day outside the current month */' + 'td.scwCellsExMonthDisabled {background-color: #999999;' + 'color: #666666;}' + - 'td.scwFootDisabled {background-color: #6666CC;' + - 'color: #FFFFFF;}' + '' ); diff --git a/pandora_console/include/javascript/calendar.js b/pandora_console/include/javascript/calendar.js index 76fa971e2a..5528c44167 100644 --- a/pandora_console/include/javascript/calendar.js +++ b/pandora_console/include/javascript/calendar.js @@ -490,13 +490,9 @@ 'font-weight: bold;' + 'vertical-align: middle;}' + '/* Blend the colours into your page here... */' + - '/* Calendar background */' + - 'table.scw {background-color: #6666CC;}' + '/* Drag Handle */' + 'td.scwDrag {background-color: #9999CC;' + 'color: #CCCCFF;}' + - '/* Week number heading */' + - 'td.scwWeekNumberHead {color: #6666CC;}' + '/* Week day headings */' + 'td.scwWeek {color: #CCCCCC;}' + '/* Week numbers */' + @@ -515,9 +511,6 @@ '/* Day outside the current month */' + 'td.scwCellsExMonth {background-color: #CCCCCC;' + 'color: #666666;}' + - '/* Today selector */' + - 'td.scwFoot {background-color: #6666CC;' + - 'color: #FFFFFF;}' + '/* MouseOver/Hover formatting ' + ' If you want to "turn off" any of the formatting ' + ' then just set to the same as the standard format' + @@ -573,8 +566,6 @@ '/* Day outside the current month */' + 'td.scwCellsExMonthDisabled {background-color: #999999;' + 'color: #666666;}' + - 'td.scwFootDisabled {background-color: #6666CC;' + - 'color: #FFFFFF;}' + '' ); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index f6288f7588..4f07e7f7d4 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -1278,3 +1278,30 @@ div#logo_text3 { .pagination { margin-top: 4px; } + +/*CALENDAR TOOLTIP STYLE*/ + +/* Calendar background */ +table.scw { + background-color: #000; +} + +/* Week number heading */ +td.scwWeekNumberHead { + color: #000; +} + +/* Today selector */ + +td.scwFoot { + background-color: #000; + color: #FFFFFF; +} + +td.scwFootDisabled { + background-color: #000; + color: #FFFFFF; +} + +tfoot.scwFoot { + color: #FFFFFF; +} \ No newline at end of file