From c58bdf2e4a6f0b867f64e38788506850e1057af1 Mon Sep 17 00:00:00 2001 From: Thomas Jang Date: Fri, 8 Jul 2016 23:22:10 +0900 Subject: [PATCH] ax5calendar@0.8.3 --- bower.json | 2 +- dist/ax5calendar.css | 2 +- package.json | 2 +- src/ax5calendar.js | 2 +- src/scss/_ax5calendar.scss | 7 ++++--- test/index.html | 1 - 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 8588b79..ae39883 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ax5ui-calendar", - "version": "0.8.2", + "version": "0.8.3", "authors": [ "ThomasJ " ], diff --git a/dist/ax5calendar.css b/dist/ax5calendar.css index 484749f..263ad33 100644 --- a/dist/ax5calendar.css +++ b/dist/ax5calendar.css @@ -1 +1 @@ -@-webkit-keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@-moz-keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@-webkit-keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}@-moz-keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}@keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}.ax5-ui-calendar{box-sizing:border-box;position:relative}.ax5-ui-calendar .calendar-control{position:relative;box-sizing:content-box;background-color:#f5f5f5;background-image:-webkit-linear-gradient(bottom, #f5f5f5);background-image:linear-gradient(to top,#f5f5f5);border:1px solid #ddd;border-radius:5px;font-size:18px;margin-bottom:5px;color:#333}.ax5-ui-calendar .calendar-control .date-move-left,.ax5-ui-calendar .calendar-control .date-move-right{display:block;position:absolute;overflow:hidden;text-align:center;font-size:22px;cursor:pointer;text-decoration:none}.ax5-ui-calendar .calendar-control .date-move-left i,.ax5-ui-calendar .calendar-control .date-move-left span,.ax5-ui-calendar .calendar-control .date-move-right i,.ax5-ui-calendar .calendar-control .date-move-right span{line-height:inherit}.ax5-ui-calendar .calendar-control .date-move-left{left:0px;top:0px}.ax5-ui-calendar .calendar-control .date-move-right{right:0px;top:0px}.ax5-ui-calendar .calendar-control .date-display{text-align:center}.ax5-ui-calendar .calendar-control .date-display [data-calendar-display]{margin:0px 10px;cursor:pointer;text-decoration:underline}.ax5-ui-calendar .calendar-control a{color:#333}.ax5-ui-calendar .calendar-control a:hover{color:#337ab7}.ax5-ui-calendar .calendar-body.fadein{-webkit-animation:ax5-ui-calendar-fadein 0.3s ease-in-out;-moz-animation:ax5-ui-calendar-fadein 0.3s ease-in-out;animation:ax5-ui-calendar-fadein 0.3s ease-in-out;opacity:1.0}.ax5-ui-calendar .calendar-body.fadeout{-webkit-animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;-moz-animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;opacity:0.0}.ax5-ui-calendar .calendar-body table{box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0px;border:0px none}.ax5-ui-calendar .calendar-body table thead td,.ax5-ui-calendar .calendar-body table thead th{box-sizing:border-box;vertical-align:middle;line-height:1em;cursor:pointer;text-align:center;font-size:12px;padding:0px 2px;border:0px none;overflow:hidden;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#6D6E70}.ax5-ui-calendar .calendar-body table thead td.calendar-col-0,.ax5-ui-calendar .calendar-body table thead th.calendar-col-0{color:#C78B81}.ax5-ui-calendar .calendar-body table thead td.calendar-col-6,.ax5-ui-calendar .calendar-body table thead th.calendar-col-6{color:#32B4DC}.ax5-ui-calendar .calendar-body table tbody td,.ax5-ui-calendar .calendar-body table tbody th{box-sizing:border-box;vertical-align:middle;line-height:1em;cursor:pointer;text-align:center;font-size:14px;border:0px none;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);overflow:hidden}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day{position:relative;display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon{position:absolute;width:100%;text-align:center;line-height:10px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon.addon-header,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon.addon-header{left:0px;top:0px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon.addon-footer,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon.addon-footer{left:0px;bottom:0px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.live span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.live span.addon{color:#A1A1A1}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus.hover span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus.hover span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.period,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.period{background-color:#82d3fa;background-image:-webkit-linear-gradient(bottom, #82d3fa,#82d3fa);background-image:linear-gradient(to top,#82d3fa,#82d3fa);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.period span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.period span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.selected-day,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.selected-day{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.selected-day span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.selected-day span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month{display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month span.lunar,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month span.lunar{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year{display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year span.lunar,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year span.lunar{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-0 .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-0 .calendar-item-day.live{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-0 .calendar-item-day.live.holiday,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-0 .calendar-item-day.live.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-6 .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-6 .calendar-item-day.live{color:#32B4DC}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-6 .calendar-item-day.live.holiday,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-6 .calendar-item-day.live.holiday{color:#C78B81} +@-webkit-keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@-moz-keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@keyframes ax5-ui-calendar-fadeout{from{opacity:1.0}to{opacity:0.0}}@-webkit-keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}@-moz-keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}@keyframes ax5-ui-calendar-fadein{from{opacity:0.0}to{opacity:1.0}}.ax5-ui-calendar{box-sizing:border-box;position:relative}.ax5-ui-calendar .calendar-control{position:relative;box-sizing:content-box;background-color:#f5f5f5;background-image:-webkit-linear-gradient(bottom, #f5f5f5);background-image:linear-gradient(to top,#f5f5f5);border:1px solid #ddd;border-radius:5px;font-size:18px;margin-bottom:5px;color:#333}.ax5-ui-calendar .calendar-control .date-move-left,.ax5-ui-calendar .calendar-control .date-move-right{display:block;position:absolute;overflow:hidden;text-align:center;font-size:22px;cursor:pointer;text-decoration:none}.ax5-ui-calendar .calendar-control .date-move-left i,.ax5-ui-calendar .calendar-control .date-move-left span,.ax5-ui-calendar .calendar-control .date-move-right i,.ax5-ui-calendar .calendar-control .date-move-right span{line-height:inherit}.ax5-ui-calendar .calendar-control .date-move-left{left:0px;top:0px}.ax5-ui-calendar .calendar-control .date-move-right{right:0px;top:0px}.ax5-ui-calendar .calendar-control .date-display{text-align:center}.ax5-ui-calendar .calendar-control .date-display [data-calendar-display]{margin:0px 10px;cursor:pointer;text-decoration:underline}.ax5-ui-calendar .calendar-control a{color:#333}.ax5-ui-calendar .calendar-control a:hover{color:#337ab7}.ax5-ui-calendar .calendar-body.fadein{-webkit-animation:ax5-ui-calendar-fadein 0.3s ease-in-out;-moz-animation:ax5-ui-calendar-fadein 0.3s ease-in-out;animation:ax5-ui-calendar-fadein 0.3s ease-in-out;opacity:1.0}.ax5-ui-calendar .calendar-body.fadeout{-webkit-animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;-moz-animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;animation:ax5-ui-calendar-fadeout 0.3s ease-in-out;opacity:0.0}.ax5-ui-calendar .calendar-body table{box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0px;border:0px none}.ax5-ui-calendar .calendar-body table thead td,.ax5-ui-calendar .calendar-body table thead th{box-sizing:border-box;vertical-align:middle;line-height:1em;cursor:pointer;text-align:center;font-size:12px;padding:0px 2px;border:0px none;overflow:hidden;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#6D6E70}.ax5-ui-calendar .calendar-body table thead td.calendar-col-0,.ax5-ui-calendar .calendar-body table thead th.calendar-col-0{color:#C78B81}.ax5-ui-calendar .calendar-body table thead td.calendar-col-6,.ax5-ui-calendar .calendar-body table thead th.calendar-col-6{color:#32B4DC}.ax5-ui-calendar .calendar-body table tbody td,.ax5-ui-calendar .calendar-body table tbody th{box-sizing:border-box;vertical-align:middle;line-height:1em;cursor:pointer;text-align:center;font-size:14px;border:0px none;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);overflow:hidden}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day{position:relative;display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon{position:absolute;width:100%;text-align:center;line-height:11.2px;font-size:11.2px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon.addon-header,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon.addon-header{left:0px;top:1px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day span.addon.addon-footer,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day span.addon.addon-footer{left:0px;bottom:1px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.live span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.live span.addon{color:#A1A1A1}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.focus.hover span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.focus.hover span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.period,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.period{background-color:#82d3fa;background-image:-webkit-linear-gradient(bottom, #82d3fa,#82d3fa);background-image:linear-gradient(to top,#82d3fa,#82d3fa);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.period span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.period span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.selected-day,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.selected-day{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.selected-day span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.selected-day span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-day.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-day.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month{display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.selected-month span.lunar,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.selected-month span.lunar{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-month.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-month.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year{display:block;width:100%;height:100%;vertical-align:middle;border-radius:5px;overflow:hidden;line-height:inherit;background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#C3C4C6;font-size:14px}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.live,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.live{background-color:#F0F0F0;background-image:-webkit-linear-gradient(bottom, #F0F0F0,#F0F0F0);background-image:linear-gradient(to top,#F0F0F0,#F0F0F0);color:#6D6E70}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.hover,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.hover{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.focus,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.focus{background-color:#E67241;background-image:-webkit-linear-gradient(bottom, #E67241,#E67241);background-image:linear-gradient(to top,#E67241,#E67241);color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year{background-color:#32B4DC;background-image:-webkit-linear-gradient(bottom, #32B4DC,#32B4DC);background-image:linear-gradient(to top,#32B4DC,#32B4DC);color:#fff !important}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year span.addon,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year span.addon{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.selected-year span.lunar,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.selected-year span.lunar{color:#fff}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.disable,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.disable{background-color:#fff;background-image:-webkit-linear-gradient(bottom, #fff,#fff);background-image:linear-gradient(to top,#fff,#fff);color:#dddedf}.ax5-ui-calendar .calendar-body table tbody td .calendar-item-year.holiday,.ax5-ui-calendar .calendar-body table tbody th .calendar-item-year.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-0 .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-0 .calendar-item-day.live{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-0 .calendar-item-day.live.holiday,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-0 .calendar-item-day.live.holiday{color:#C78B81}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-6 .calendar-item-day.live,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-6 .calendar-item-day.live{color:#32B4DC}.ax5-ui-calendar .calendar-body table tbody td.calendar-col-6 .calendar-item-day.live.holiday,.ax5-ui-calendar .calendar-body table tbody th.calendar-col-6 .calendar-item-day.live.holiday{color:#C78B81} diff --git a/package.json b/package.json index 73ece04..65f6714 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ax5ui-calendar", - "version": "0.8.2", + "version": "0.8.3", "description": "A calendar plugin that works with Bootstrap & jQuery", "license": "LGPLv3", "repository": { diff --git a/src/ax5calendar.js b/src/ax5calendar.js index 3313b4b..2c33805 100755 --- a/src/ax5calendar.js +++ b/src/ax5calendar.js @@ -3,7 +3,7 @@ /** * @class ax5.ui.calendar * @classdesc - * @version 0.8.2 + * @version 0.8.3 * @author tom@axisj.com * @logs * 2014-06-21 tom : 시작 diff --git a/src/scss/_ax5calendar.scss b/src/scss/_ax5calendar.scss index 015b019..a4db41d 100644 --- a/src/scss/_ax5calendar.scss +++ b/src/scss/_ax5calendar.scss @@ -143,15 +143,16 @@ position: absolute; width: 100%; text-align: center; - line-height: 10px; + line-height: $ax5calendar-body-font-size * 0.8; + font-size: $ax5calendar-body-font-size * 0.8; &.addon-header { left: 0px; - top: 0px; + top: 1px; } &.addon-footer { left: 0px; - bottom: 0px; + bottom: 1px; } } diff --git a/test/index.html b/test/index.html index 623861e..6b5151c 100644 --- a/test/index.html +++ b/test/index.html @@ -65,7 +65,6 @@ displayDate: (new Date()), mode: "day", selectMode: "day", - coloringToSelection: true, // selectable: {range:[{from: '2016-02-01', to: '2016-02-20'}]}, marker: (function () {