123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- * {
- margin: 0;
- padding: 0;
- }
- body {
- font-family: "Microsoft Yahei";
- font-size: 12px;
- color: #888;
- }
- a,
- a:hover {
- color: #888;
- text-decoration: none;
- }
- ul,
- li {
- list-style: none;
- }
- .calendarbox {
- position: relative;
- }
- #calendarboxes {
- display: none;
- }
- #calendar {
- top: -30px;
- position: absolute;
- width: 219px;
- padding: 10px;
- margin: 30px auto 0;
- border: 1px solid #fff;
- background-color: #393c4c;
- border-radius: 6px;
- z-index: 200;
- }
- .calendar-title {
- position: relative;
- height: 30px;
- line-height: 30px;
- padding: 10px 0;
- }
- .calendar-title a.title {
- display: inline-block;
- font-size: 18px;
- text-indent: 10px;
- }
- #backToday {
- display: none;
- position: absolute;
- left: 65%;
- top: 16px;
- width: 20px;
- height: 20px;
- line-height: 20px;
- text-align: center;
- border-radius: 50%;
- color: #fff;
- background-color: #337ab7;
- font-size: 18px;
- }
- .calendar-title .arrow {
- position: absolute;
- top: 10px;
- right: 0;
- width: 50px;
- }
- .calendar-title .arrow span {
- color: #ddd;
- font-size: 18px;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- }
- .calendar-title .arrow span:hover {
- color: #888;
- }
- .calendar-title .arrow-prev {
- float: left;
- }
- .calendar-title .arrow-next {
- float: right;
- }
- .calendar-week,
- .calendar-date {
- overflow: hidden;
- }
- .calendar-week .item,
- .calendar-date .item {
- float: left;
- width: 30px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- }
- .calendar-week {
- padding-bottom: 6px;
- border-bottom: 1px solid #337ab7;
- font-weight: bold;
- font-size: 16px;
- }
- .calendar-date {
- width: 220px;
- }
- .calendar-date .item {
- border-radius: 50%;
- cursor: pointer;
- font-size: 14px;
- }
- .calendar-date .item:hover,
- .calendar-date .item-curMonth:hover {
- background-color: #2b2c39;
- }
- .calendar-date .item-curMonth {
- color: #fff;
- font-weight: bold;
- }
- .calendar-date .item-curDay,
- .calendar-date .item-curDay:hover {
- color: #fff;
- background-color: #337ab7;
- }
- .calendar-date .item-selected,
- .calendar-date .item-selected:hover {
- color: #337ab7;
- background: #cde9d9;
- }
- .calendar-today {
- display: none;
- position: absolute;
- right: 20px;
- top: 20px;
- width: 90px;
- height: 48px;
- padding: 6px 10px;
- background-color: #337ab7;
- border-radius: 5px;
- }
- .calendar-today .triangle {
- position: absolute;
- top: 50%;
- left: -16px;
- margin-top: -8px;
- border-width: 8px;
- border-style: solid;
- border-color: transparent #337ab7 transparent transparent;
- }
- .calendar-today p {
- color: #fff;
- font-size: 14px;
- line-height: 24px;
- }
|