Skip to content
Browse files

Improve styles: red circle indicating today, box shadow for popup

  • Loading branch information...
1 parent 95695ec commit e3276bc9a94baa31ff74d2e67ec2a205b9599cb4 @eeroan committed
Showing with 4 additions and 3 deletions.
  1. +3 −2 src/main/jquery.continuous-calendar.css
  2. +1 −1 src/main/jquery.continuous-calendar.js
View
5 src/main/jquery.continuous-calendar.css
@@ -17,7 +17,7 @@
*/
.continuousCalendarContainer { position:relative; }
.continuousCalendarContainer a.calendarIcon { font-size: 7pt; color: #000; text-decoration: none; display: block; background: #eee; border: 1px solid #666; border-top: 4px solid #a00; float: left; padding: 1px 3px; line-height: 1; text-align: center; width: 10px; }
-.continuousCalendarContainer .popup { position: absolute; z-index:10000 !important; }
+.continuousCalendarContainer .popup { position: absolute; z-index:10000 !important; box-shadow: 5px 5px 5px -5px #999999;}
.continuousCalendarContainer .popup .calendarHeader { width: 220px; }
.continuousCalendarContainer input.endDate,
.continuousCalendarContainer input.startDate { display: none; }
@@ -51,7 +51,8 @@
.continuousCalendar .calendarBody .month { text-align: left; }
.continuousCalendar td:hover { font-weight: bold; color: blue; }
.continuousCalendar table .odd { background-color: #e8e8e8; }
-.continuousCalendar td.today { border: 1px solid red; }
+.continuousCalendar td.today { position: relative; }
+.continuousCalendar td.today div { border: 2px solid red;margin-right: -6px; *margin-right:-3px; padding-right: 3px;margin-left: -1px; border-radius: 10px;position: relative;z-index: 99999999;}
.continuousCalendar td.selected { background: #0041c4; color: white; }
.continuousCalendar td.disabled { color: gray; }
.continuousCalendar .freeRange .week,
View
2 src/main/jquery.continuous-calendar.js
@@ -189,7 +189,7 @@
function highlightToday() {
var todayKey = Date.NOW.dateFormat('Ymd')
if(dateCellMap[todayKey]) {
- getDateCell(dateCellMap[todayKey]).addClass('today')
+ getDateCell(dateCellMap[todayKey]).addClass('today').wrapInner('<div>')
}
}

0 comments on commit e3276bc

Please sign in to comment.
Something went wrong with that request. Please try again.