123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- /* Responsive Calendar for Foundation */
- .calendar {
- margin-left: 0;
- margin-bottom: 1.25rem;
- padding-bottom: 1px;
- border-bottom: 2px solid #ccc;
- }
- .calendar * {
- list-style: none;
- line-height: 1;
- }
- .calendar .title {
- text-align: center;
- font-size: 1.6875rem;
- }
- .calendar .week {
- padding: 0px;
- margin: 0px;
- }
- .calendar .week:before, .calendar .week:after {
- content: " ";
- display: table;
- }
- .calendar .week:after {
- clear: both;
- }
- .calendar .day,
- .calendar .days {
- position: relative;
- padding: 0.3rem 0.39375rem;
- width: 100%;
- min-height: 6rem;
- float: left;
- border:1px #eee solid;
- }
- .calendar .day-header {
- background-color: #ccc;
- }
- .calendar .day-header .day,
- .calendar .day-header .days {
- background-color: #ccc;
- color: black;
- text-align: center;
- min-height: 0.5rem;
- display: none;
- }
- .day:hover, .days:hover {
- background: #efefef;
- }
- .day.previous-month,
- .days.previous-month,
- .day.next-month,
- .days.next-month {
- background: #e9e9e9;
- color: #222222;
- display: none;
- }
- .day.today, .days.today {
- background: #76df9d;
- }
- .day.today:hover, .days.today:hover {
- background: #65ce8c;
- }
- @media only screen {
- .calendar .small-1 {
- position: relative;
- width: 14.28571%;
- }
- .calendar .day-header .small-1,
- .small-1.previous-month,
- .small-1.next-month {
- display: block;
- visibility: visible;
- }
- }
- @media only screen and (min-width: 40.063em) {
- .calendar .medium-1 {
- position: relative;
- width: 14.28571%;
- }
- .calendar .day-header .medium-1,
- .medium-1.previous-month,
- .medium-1.next-month {
- display: block;
- visibility: visible;
- }
- }
- @media only screen and (min-width: 64.063em) {
- .calendar .large-1 {
- position: relative;
- width: 14.28571%;
- }
- .calendar .day-header .large-1,
- .large-1.previous-month,
- .large-1.next-month {
- display: block;
- visibility: visible;
- }
- }
- @media only screen and (min-width: 90.063em) {
- .calendar .xlarge-1 {
- position: relative;
- width: 14.28571%;
- }
- .calendar .day-header .xlarge-1,
- .xlarge-1.previous-month,
- .xlarge-1.next-month {
- display: block;
- visibility: visible;
- }
- }
- @media only screen and (min-width: 120.063em) {
- .calendar .xxlarge-1 {
- position: relative;
- width: 14.28571%;
- }
- .calendar .day-header .xxlarge-1,
- .xxlarge-1.previous-month,
- .xxlarge-1.next-month {
- display: block;
- visibility: visible;
- }
- }
|