Files
ultimatemember/assets/css/pickadate/default.time.css
T

114 lines
2.4 KiB
CSS
Raw Normal View History

2014-12-15 22:38:07 +02:00
/* ==========================================================================
$BASE-TIME-PICKER
========================================================================== */
/**
* The list of times.
*/
2016-05-18 18:17:36 +08:00
.um .picker__list {
2014-12-15 22:38:07 +02:00
list-style: none;
2016-01-26 18:13:22 +08:00
list-style: none !important;
padding: 5px !important;
margin: 0px !important;
2014-12-15 22:38:07 +02:00
}
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
/**
* The times on the clock.
*/
2016-05-18 18:17:36 +08:00
.um .picker__list-item {
2014-12-15 22:38:07 +02:00
position: relative;
2016-01-26 18:13:22 +08:00
border-radius: 2px;
display: inline-block;
width: 25%;
text-align: center;
box-sizing: border-box;
padding: 6px 0px !important;
margin: 5px 0 !important;
}
2014-12-15 22:38:07 +02:00
@media (min-height: 46.75em) {
2016-05-18 18:17:36 +08:00
.um .picker__list-item {
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
}
}
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
/* Hovered time */
2016-05-18 18:17:36 +08:00
.um .picker__list-item:hover {
2014-12-15 22:38:07 +02:00
cursor: pointer;
z-index: 10;
}
/* Highlighted and hovered/focused time */
2016-05-18 18:17:36 +08:00
.um .picker__list-item--highlighted {
2014-12-15 22:38:07 +02:00
z-index: 10;
}
2016-01-26 18:13:22 +08:00
2016-05-18 18:17:36 +08:00
.um .picker__list-item--highlighted:hover,
.um .picker--focused .picker__list-item--highlighted {
2014-12-15 22:38:07 +02:00
cursor: pointer;
2016-01-26 18:13:22 +08:00
font-weight: bold;
2014-12-15 22:38:07 +02:00
}
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
/* Selected and hovered/focused time */
2016-05-18 18:17:36 +08:00
.um .picker__list-item--selected,
.um .picker__list-item--selected:hover,
.um .picker--focused .picker__list-item--selected {
2014-12-15 22:38:07 +02:00
z-index: 10;
}
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
/* Disabled time */
2016-05-18 18:17:36 +08:00
.um .picker__list-item--disabled,
.um .picker__list-item--disabled:hover,
.um .picker--focused .picker__list-item--disabled {
2016-01-26 18:13:22 +08:00
color: #a9e792;
2014-12-15 22:38:07 +02:00
cursor: default;
2016-01-26 18:13:22 +08:00
background: transparent;
2014-12-15 22:38:07 +02:00
z-index: auto;
}
2016-01-26 18:13:22 +08:00
2014-12-15 22:38:07 +02:00
/**
* The clear button
*/
2016-05-18 18:17:36 +08:00
.um .picker--time .picker__button--clear {
2016-01-26 18:13:22 +08:00
width: 100%;
display: inline-block;
2014-12-15 22:38:07 +02:00
background: none;
2016-01-26 18:13:22 +08:00
box-shadow: none !important;
border: 0!important;
outline: 0 !important;
background: none !important;
border-radius: 0 0 2px 2px;
color: #fff !important;
2014-12-15 22:38:07 +02:00
}
2016-05-18 18:17:36 +08:00
.um .picker--time .picker__button--clear:hover,
.um .picker--time .picker__button--clear:focus {
2016-01-26 18:13:22 +08:00
cursor: pointer;
2014-12-15 22:38:07 +02:00
}
/* ==========================================================================
$DEFAULT-TIME-PICKER
========================================================================== */
/**
* The frame the bounds the time picker.
*/
2016-05-18 18:17:36 +08:00
.um .picker--time .picker__frame {
2014-12-15 22:38:07 +02:00
min-width: 256px;
2016-01-26 18:13:22 +08:00
max-width: 400px;
2014-12-15 22:38:07 +02:00
}
/**
* The picker box.
*/
2016-05-18 18:17:36 +08:00
.um .picker--time .picker__box {
2016-01-26 18:13:22 +08:00
font-size: 15px;
2014-12-15 22:38:07 +02:00
padding: 0;
2016-01-26 18:13:22 +08:00
border-radius: 2px !important;
2014-12-15 22:38:07 +02:00
}
2019-11-21 01:24:10 +02:00
.um .picker__box ul li[role="presentation"] {
margin: 10px 0 0 0;
}
2014-12-15 22:38:07 +02:00
@media (min-height: 40.125em) {
2016-05-18 18:17:36 +08:00
.um .picker--time .picker__frame {
2016-01-26 18:13:22 +08:00
margin-bottom: 10% !important;
}
2014-12-15 22:38:07 +02:00
}