sports-widget
Version:
Sports Widgets is available as an npm package and can be used across multiple sites to display data for different Sports events.
193 lines (162 loc) • 3.82 kB
CSS
.react-calendar {
width: 350px;
max-width: 100%;
background: white;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.125em;
padding: 22px;
}
.react-calendar--doubleView {
width: 700px;
}
.react-calendar--doubleView .react-calendar__viewContainer {
display: flex;
margin: -0.5em;
}
.react-calendar--doubleView .react-calendar__viewContainer > * {
width: 50%;
margin: 0.5em;
}
.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.react-calendar button {
margin: 0;
border: 0;
outline: none;
line-height: 2rem;
border-radius: 4px;
}
.react-calendar .react-calendar__tile {
height: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.react-calendar__navigation__label span {
font-size: 16px;
}
.react-calendar button:enabled:hover {
cursor: pointer;
}
.react-calendar__navigation {
display: flex;
height: 28px;
margin-bottom: 2rem;
}
.react-calendar__navigation button {
min-width: 44px;
background: none;
}
.react-calendar__navigation__prev-button::before {
content: "<";
background-color: #021d38;
color: #fff;
border-radius: 45px;
padding: 6px 9px;
}
.react-calendar__navigation__next-button::before {
content: ">";
background-color: #021d38;
color: #fff;
border-radius: 45px;
padding: 6px 9px;
}
.react-calendar__navigation__next-button,
.react-calendar__navigation__prev-button {
border-radius: 4px;
height: 2.8rem;
width: 2.8rem;
min-width: 2.8rem ;
align-self: center;
}
.react-calendar__navigation__next2-button,
.react-calendar__navigation__prev2-button {
display: none;
}
.react-calendar__navigation button[disabled] {
/* background-color: #f0f0f0; */
color: #6e6e84;
}
.react-calendar__month-view__weekdays {
text-align: center;
font-weight: bold;
font-size: 0.75em;
}
.react-calendar__month-view__weekdays__weekday {
width: 3.2rem;
opacity: 0.5;
color: #000000;
font-weight: normal;
font-size: 1rem;
height: 2.1rem;
max-width: 3.2rem ;
max-height: 3.2rem ;
display: flex;
justify-content: center;
}
.react-calendar__month-view__weekdays__weekday abbr {
text-decoration: none;
}
.react-calendar__month-view__weekNumbers .react-calendar__tile {
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75em;
font-weight: bold;
padding: calc(0.75em / 0.75) calc(0.5em / 0.75);
}
.react-calendar__month-view__days {
display: grid ;
grid-template-columns: repeat(7, 1fr);
row-gap: 0.2rem;
column-gap: 0.2rem;
}
.react-calendar__month-view__days__day--neighboringMonth {
color: #757575;
}
.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
padding: 2em 0.5em;
}
.react-calendar__tile {
max-width: 100%;
text-align: center;
background: none;
}
.react-calendar__tile:disabled {
color: #757575;
}
.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
box-sizing: border-box;
border: 1px solid #021d38;
}
.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
border: 1px solid #021d38;
}
.react-calendar__tile--hasActive {
background-color: #00f;
}
.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
border: 1px solid #021d38;
}
.react-calendar__tile--active {
background-color: #00f;
color: white;
}
.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
border: 1px solid #021d38;
}
.react-calendar--selectRange .react-calendar__tile--hover {
box-sizing: border-box;
}