UNPKG

avalon2

Version:

an elegant efficient express mvvm framework

126 lines (111 loc) 2.23 kB
.calendar { /* font-family: Tahoma; background: #fff; float: left; border-style: solid; border-width: 1px; border-color: #85BEE5 #3485C0 #3485C0 #85BEE5; position: relative; padding: 10px;*/ background:#ffffff; border:1px solid #e4ebf6; width:372px; height:338px; } .calendar dl, .calendar dd { margin: 0; padding: 0; font-size: 16px; line-height: 22px; } .calendar dt.title-date { display: block; border-bottom: 1px solid #a8bbd2; font-weight: 700; position: relative; padding-top: 26px; padding-bottom: 26px; font-size: 14px; color:#3f4959; height: auto; line-height: inherit; } .calendar dt { float: left; width: 14.2%; text-align: center; font-size:12px; color:#a8bbd2; border-bottom: 1px solid #a8bbd2; height: 30px; line-height: 30px; } .calendar dt.title-date { width: 100%; } .calendar dd { clear: both; height: 139px; font-weight: 700; width: 100%; margin: 0; } .prevyear, .nextyear, .prevmonth, .nextmonth { cursor: pointer; height: 9px; background: url('http://img.58cdn.com.cn/m58/jianzhi/img/smalljz/zuo.png') no-repeat; overflow: hidden; position: absolute; top: 31px; text-indent: -999px; } .prevyear { left: 4px; width: 9px; } .prevmonth { width: 6px; left: 20px; } .nextyear { width: 9px; background-position: -19px 0; right: 5px; } .nextmonth { width: 6px; right: 20px; background-image: url('http://img.58cdn.com.cn/m58/jianzhi/img/smalljz/you.png'); } .calendar dd a { float: left; width: 14.2%; height: 40px; line-height: 40px; color: blue; overflow: hidden; text-decoration: none; text-align: center; } .question{ cursor: pointer; } .calendar dd a.disabled { color: #999; } .calendar dd a.tody { color: red; } .calendar dd a.on { background: blue; color: #fff; } .calendar dd a.live { cursor: pointer } .calendar dd a.this { color: #ffff00 } .prevyear, .nextyear{ display: none; }