123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- div,ul,li {
- margin: 0;
- padding: 0;
- }
- ul,li {
- list-style: none;
- }
- a {
- text-decoration: none;
- color: #000;
- }
- .calendar {
- width: 100%;
- }
- .calendar-header {
- width: 100%;
- text-align: center;
- padding: 13px 0;
- line-height: 14px;
- border-bottom: 1px solid #ddd;
- }
- .calendar-header>i{
- display: inline-block;
- width: 14px;
- height: 14px;
- vertical-align: -2px;
- position: relative;
- }
- .calendar-header>span {
- margin: 0 5%;
- }
- .calendar-header>.icon-left:before,
- .calendar-header>.icon-left:after,
- .calendar-header>.icon-right:before,
- .calendar-header>.icon-right:after
- {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- }
- .calendar-header>.icon-left:before {
- border: 7px solid red;
- border-color: transparent #666 transparent transparent;
- -webkit-transform: translateX(-50%);
- -moz-transform: translateX(-50%);
- -ms-transform: translateX(-50%);
- -o-transform: translateX(-50%);
- transform: translateX(-50%);
- }
- .calendar-header>.icon-left:after {
- border: 7px solid #fff;
- border-color: transparent #fff transparent transparent;
- -webkit-transform: translateX(-40%);
- -moz-transform: translateX(-40%);
- -ms-transform: translateX(-40%);
- -o-transform: translateX(-40%);
- transform: translateX(-40%);
- }
- .calendar-header>.icon-right:before {
- border: 7px solid red;
- border-color: transparent transparent transparent #666;
- -webkit-transform: translateX(50%);
- -moz-transform: translateX(50%);
- -ms-transform: translateX(50%);
- -o-transform: translateX(50%);
- transform: translateX(50%);
- }
- .calendar-header>.icon-right:after {
- border: 7px solid #fff;
- border-color: transparent transparent transparent #fff;
- -webkit-transform: translateX(40%);
- -moz-transform: translateX(40%);
- -ms-transform: translateX(40%);
- -o-transform: translateX(40%);
- transform: translateX(40%);
- }
- .calendar-body>.c-body-head {
- width: 100%;
- display: flex;
- }
- .calendar-body>.c-body-head>li {
- flex : 1;
- text-align: center;
- padding: 10px 0;
- }
- .calendar-body>.c-body-content {
- width: 100%;
- }
- .calendar-body>.c-body-content>ul {
- display: flex;
- }
- .calendar-body>.c-body-content>ul>li {
- flex: 1;
- text-align: center;
- padding: 5px 0;
- }
- .content-row>.item-gray>a {
- color: #ccc;
- }
- .content-row>.item-tag>a {
- position: relative;
- }
- .content-row>.item-tag>a:after{
- content: '';
- width: 8px;
- height: 8px;
- position: absolute;
- bottom: -3px;
- left: 50%;
- -webkit-transform: translate3D(-50%, 70%, 0);
- -moz-transform: translate3D(-50%, 70%, 0);
- -ms-transform: translate3D(-50%, 70%, 0);
- -o-transform: translate3D(-50%, 70%, 0);
- transform: translate3D(-50%, 70%, 0);
- background-color: #b0ceee;
- border-radius: 50%;
- }
- .content-row>li>a {
- width: 30px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- display: inline-block;
- }
- .content-row>.item-current, .content-row>.item-active {
- text-align: center;
- }
- .content-row>.item-current>a {
- background-color: #1a85ff;
- color: #fff;
- border-radius: 50%;
- }
- .content-row>.item-active>a {
- background-color: #31a0c6;
- color: #fff;
- border-radius: 50%;
- }
|