mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
first sync
This commit is contained in:
@@ -0,0 +1,244 @@
|
||||
/* ==========================================================================
|
||||
$BASE-DATE-PICKER
|
||||
========================================================================== */
|
||||
/**
|
||||
* The picker box.
|
||||
*/
|
||||
.picker__box {
|
||||
|
||||
}
|
||||
/**
|
||||
* The header containing the month and year stuff.
|
||||
*/
|
||||
.picker__header {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-top: .75em;
|
||||
border-radius: 2px 2px 0 0;
|
||||
padding: 15px 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
/**
|
||||
* The month and year labels.
|
||||
*/
|
||||
.picker__month,
|
||||
.picker__year {
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.picker__year {
|
||||
|
||||
}
|
||||
/**
|
||||
* The month and year selectors.
|
||||
*/
|
||||
.picker__select--month,
|
||||
.picker__select--year {
|
||||
margin-left: .25em;
|
||||
margin-right: .25em;
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
background: #fff !important;
|
||||
outline: 0 !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
@media (min-width: 24.5em) {
|
||||
.picker__select--month,
|
||||
.picker__select--year {
|
||||
margin-top: -0.5em;
|
||||
}
|
||||
}
|
||||
.picker__select--month {
|
||||
width: 35%;
|
||||
}
|
||||
.picker__select--year {
|
||||
width: 22.5%;
|
||||
}
|
||||
.picker__select--month:focus,
|
||||
.picker__select--year:focus {
|
||||
|
||||
}
|
||||
/**
|
||||
* The month navigation buttons.
|
||||
*/
|
||||
.picker__nav--prev,
|
||||
.picker__nav--next {
|
||||
position: absolute;
|
||||
padding: .5em 1.25em;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
box-sizing: content-box !important;
|
||||
top: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
@media (min-width: 24.5em) {
|
||||
.picker__nav--prev,
|
||||
.picker__nav--next {
|
||||
|
||||
}
|
||||
}
|
||||
.picker__nav--prev {
|
||||
left: 0;
|
||||
padding-right: 1.25em;
|
||||
}
|
||||
@media (min-width: 24.5em) {
|
||||
.picker__nav--prev {
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
}
|
||||
.picker__nav--next {
|
||||
right: 0;
|
||||
padding-left: 1.25em;
|
||||
}
|
||||
@media (min-width: 24.5em) {
|
||||
.picker__nav--next {
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
}
|
||||
.picker__nav--prev:before,
|
||||
.picker__nav--next:before {
|
||||
content: " ";
|
||||
border-top: .5em solid transparent;
|
||||
border-bottom: .5em solid transparent;
|
||||
|
||||
border-right: 0.5em solid #fff;
|
||||
|
||||
width: 0;
|
||||
height: 0;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.picker__nav--next:before {
|
||||
border-right: 0;
|
||||
|
||||
border-left: 0.5em solid #fff;
|
||||
|
||||
}
|
||||
.picker__nav--prev:hover,
|
||||
.picker__nav--next:hover {
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
}
|
||||
.picker__nav--disabled,
|
||||
.picker__nav--disabled:hover,
|
||||
.picker__nav--disabled:before,
|
||||
.picker__nav--disabled:before:hover {
|
||||
cursor: default;
|
||||
background: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* The calendar table of dates
|
||||
*/
|
||||
.picker__table {
|
||||
text-align: center;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
font-size: inherit;
|
||||
width: 100%;
|
||||
margin-top: 5px;
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media (min-height: 33.875em) {
|
||||
.picker__table {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.picker__table th {
|
||||
|
||||
}
|
||||
|
||||
.picker__table td {
|
||||
margin: 0;
|
||||
padding: 0px 10px;
|
||||
text-align: center;
|
||||
border: 0;
|
||||
}
|
||||
/**
|
||||
* The weekday labels
|
||||
*/
|
||||
.picker__weekday {
|
||||
width: 14.285714286%;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 5px 0 !important;
|
||||
/* Increase the spacing a tad */
|
||||
}
|
||||
@media (min-height: 33.875em) {
|
||||
.picker__weekday {
|
||||
|
||||
}
|
||||
}
|
||||
/**
|
||||
* The days on the calendar
|
||||
*/
|
||||
.picker__day {
|
||||
padding: 10px 0;
|
||||
line-height: 1em !important;
|
||||
}
|
||||
.picker__day--today {
|
||||
position: relative;
|
||||
}
|
||||
.picker__day--outfocus {
|
||||
opacity: 0.75;
|
||||
}
|
||||
.picker__day--infocus:hover,
|
||||
.picker__day--outfocus:hover {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.picker__day--highlighted {
|
||||
|
||||
}
|
||||
.picker__day--highlighted:hover,
|
||||
.picker--focused .picker__day--highlighted {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.picker__day--selected,
|
||||
.picker__day--selected:hover,
|
||||
.picker--focused .picker__day--selected {
|
||||
|
||||
}
|
||||
.picker__day--disabled,
|
||||
.picker__day--disabled:hover {
|
||||
cursor: default;
|
||||
background: transparent !important;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.picker__day--highlighted.picker__day--disabled,
|
||||
.picker__day--highlighted.picker__day--disabled:hover {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* The footer containing the "today" and "clear" buttons.
|
||||
*/
|
||||
.picker__footer {
|
||||
text-align: center;
|
||||
height: 50px !important;
|
||||
line-height: 50px !important;
|
||||
margin-top: 5px;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
.picker__button--today,
|
||||
.picker__button--clear {
|
||||
width: 50%;
|
||||
display: inline-block;
|
||||
background: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 0!important;
|
||||
outline: 0 !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
.picker__button--today:hover,
|
||||
.picker__button--clear:hover,
|
||||
.picker__button--today:focus,
|
||||
.picker__button--clear:focus {
|
||||
cursor: pointer;
|
||||
}
|
||||
Reference in New Issue
Block a user