Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-11-17 23:32:12 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-11-17 23:32:12 +0300
commita84203da4d49a63819f7d00b40f123d8e4d318c2 (patch)
tree1383f468116b63178d0cc43bc6ea9b3fccf9abbc /plugins/CoreHome
parentc64e7b87f823d839bd8cad5f4b259a8de4fa5803 (diff)
remove styling on today's date
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r--plugins/CoreHome/templates/calendar.js4
-rw-r--r--plugins/CoreHome/templates/date.js4
-rw-r--r--plugins/CoreHome/templates/styles.css1
3 files changed, 7 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/calendar.js b/plugins/CoreHome/templates/calendar.js
index 5410620b3d..8318555110 100644
--- a/plugins/CoreHome/templates/calendar.js
+++ b/plugins/CoreHome/templates/calendar.js
@@ -17,7 +17,7 @@ var todayDay = todayDate.getDate();
function updateDate(dateText, inst)
{
var date = dateText;
- // Let broadcast do it job:
+ // Let broadcast do its job:
// It will replace date value to both search query and hash and load the new page.
broadcast.propagateNewPage('date=' + date);
}
@@ -36,7 +36,7 @@ $(document).ready(function(){
defaultDate: currentDate,
changeMonth: true,
changeYear: true,
- // jquery-ui 1.7.2 lacks some Piwik translations (e.g., "be", "et", and "gl")
+ // jquery-ui-i18n 1.7.2 lacks some translations, so we use our own
dayNamesMin: [
_pk_translate('CoreHome_DaySu_js'),
_pk_translate('CoreHome_DayMo_js'),
diff --git a/plugins/CoreHome/templates/date.js b/plugins/CoreHome/templates/date.js
index f1cb40c80c..7745434e7b 100644
--- a/plugins/CoreHome/templates/date.js
+++ b/plugins/CoreHome/templates/date.js
@@ -84,5 +84,9 @@ $(document).ready(function(){
})
.click(function(){
$("#datepicker").toggle();
+ if($("#datepicker").is(":visible"))
+ {
+ $("#datepicker .ui-state-highlight").removeClass('ui-state-highlight');
+ }
});
} );
diff --git a/plugins/CoreHome/templates/styles.css b/plugins/CoreHome/templates/styles.css
index 34df70158d..df3eb30bf0 100644
--- a/plugins/CoreHome/templates/styles.css
+++ b/plugins/CoreHome/templates/styles.css
@@ -45,6 +45,7 @@ p {
padding-left:10px;
}
+/* Calendar*/
div.ui-datepicker {
font-size: 62.5%;
}