| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- .sc-calendar {
- width: 500px;
- height: 500px;
- text-align: center;
- font-family: "Microsoft Yahei";
- color: #4A4A4A;
- box-shadow: 2px 4px 5px #bdbdbd;
- border-width: 1px 0 0 1px;
- border-color: #E6E4E0;
- border-style: solid;
- float: left;
- margin-right: 20px;
- -moz-user-select: none;
- /*火狐*/
- -webkit-user-select: none;
- /*webkit浏览器*/
- -ms-user-select: none;
- /*IE10*/
- user-select: none;
- -webkit-text-size-adjust: none;
- font-size: 16px;
- }
- .sc-header {
- height: 35px;
- border-bottom: 0;
- }
- .sc-body {
- height: 93%;
- height: calc(100% - 35px);
- clear: both;
- box-shadow: 2px 4px 5px #bdbdbd;
- }
- .sc-week {
- height: 12%;
- font-weight: 400;
- font-size: 20px;
- color: #4A4A4A;
- margin-right: -8px;
- }
- .sc-days {
- height: 88%;
- margin-right: -8px;
- }
- .sc-item {
- position: relative;
- height: 20%;
- height: calc(20% + 1px);
- float: left;
- font-weight: 600;
- color: #565555;
- width: 14.285%;
- padding-top: 10px;
- background-color: #ffffff;
- border-width: 1px;
- border-color: #F1EBE4;
- border-style: solid;
- box-sizing: border-box;
- margin-top: -1px;
- margin-left: -1px;
- cursor: pointer;
- }
- .item-nolunar {
- padding-top: 20px;
- }
- .sc-item:nth-child(7n) .day,
- .sc-item:nth-child(7n+6) .day {
- /* color: rgba(224, 8, 8, 0.74); */
- color: rgba(225, 38, 38, 0.74);
- }
- .sc-mark {
- /* background-color: #7cc29e;
- color: #FFFFFF; */
- }
- .sc-mark:before {
- /* content: '班'; */
- content: '\73ed';
- display: block;
- position: absolute;
- right: 0;
- font-size: 0.7em;
- width: 1.2em;
- font-weight: 400;
- color: #5296eb;
- /* color: white;
- background-color: #E00808; */
- margin-top: -10px;
- }
- .sc-vocation {
- background-color: #FFEBEC;
- }
- .sc-vocation:before {
- /* content: '休'; */
- content: '\4f11';
- display: block;
- position: absolute;
- font-size: 0.7em;
- width: 1.2em;
- font-weight: 100;
- color: white;
- background-color: #E00808;
- margin-top: -10px;
- }
- .sc-othermenth {
- color: #C1C0C0 !important;
- }
- .sc-othermenth.sc-mark:before {
- color: #C1C1C1;
- }
- .sc-othermenth .day,
- .sc-othermenth .lunar-day {
- color: #C1C0C0 !important;
- }
- .sc-today {
- background-color: #fbed9d;
- /* color: white; */
- border: 1px solid transparent;
- }
- .sc-active-day,
- .sc-selected {
- border-color: #5296eb;
- z-index: 1;
- }
- .sc-item .day {
- font-size: 1.5em;
- }
- .sc-today .day {
- /* color: white !important; */
- }
- .sc-item .lunar-day {
- font-size: 10px;
- font-weight: normal;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .sc-festival .lunar-day {
- /* color: #E00808; */
- color: #f15b5b;
- }
- /*.sc-item:last-child, .sc-item:nth-child(7n) {
- border-width: 0 1px 1px 1px;
- }*/
- .sc-week-item {
- height: 100%;
- padding-top: 2%;
- float: left;
- width: 14.285%;
- background-color: #FBEC9C;
- border-width: 1px;
- border-color: #ECE3B1;
- margin-left: -1px;
- border-style: solid;
- box-sizing: border-box;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .sc-item-small {
- font-size: 10px !important;
- }
- .sc-week-item:last-child {
- border-width: 1px 1px 1px 1px;
- }
- .sc-week-item:nth-child(7n),
- .sc-week-item:nth-child(7n+6) {
- color: rgba(224, 8, 8, 0.74) !important;
- }
- .sc-actions {
- float: left;
- width: 25%;
- padding: 5px;
- height: 100%;
- box-sizing: border-box;
- }
- .sc-actions:last-child {
- float: right;
- }
- .sc-actions-big {
- width: 50%;
- }
- @media screen and (max-width : 500px) {
- .sc-actions {
- width: 50%;
- }
- }
- .sc-header select {
- border-color: rgba(0, 0, 0, 0);
- padding: 0.2em 2em;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- font-family: "Microsoft Yahei";
- color: #606060;
- font-size: 13px;
- }
- .sc-header input {
- border-color: rgba(0, 0, 0, 0);
- padding: 0.2em;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- font-family: "Microsoft Yahei";
- color: #606060;
- }
- .sc-actions div {
- display: inline-block;
- /*border: 1px solid #ccc;*/
- vertical-align: bottom;
- width: 20px;
- padding-bottom: 5px;
- font-size: 1.5em;
- line-height: 0.9em;
- cursor: pointer;
- }
- .sc-return-today {
- display: block;
- background-color: #F5F5F9;
- border-radius: 2px;
- /* border: 1px solid #ccc; */
- width: 60px;
- font-size: 0.8em;
- padding: 0.3em;
- margin: auto;
- cursor: pointer;
- }
- .sc-time {
- display: block;
- margin-top: 3px;
- font-size: 0.8em;
- }
|