cartodb-4.42/lib/assets/javascripts/cdb/themes/css/map/cartodb-slider.css

187 lines
4.0 KiB
CSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
div.cartodb-timeslider .slider-wrapper {
display:inline-block;
zoom: 1;
*display: inline;
vertical-align:top;
width:253px;
height:4px;
_height:4px;
padding:18px 15px;
}
div.cartodb-timeslider .slider {
width:253px;
height:4px;
}
div.cartodb-timeslider .ui-helper-hidden {
display: none;
}
div.cartodb-timeslider .ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
div.cartodb-timeslider .ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
div.cartodb-timeslider .ui-helper-clearfix:before,
div.cartodb-timeslider .ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
div.cartodb-timeslider .ui-helper-clearfix:after {
clear: both;
}
div.cartodb-timeslider .ui-helper-clearfix {
min-height: 0;
}
div.cartodb-timeslider .ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0);
}
div.cartodb-timeslider .ui-front {
z-index: 100;
}
div.cartodb-timeslider .ui-state-disabled {
cursor: default !important;
}
div.cartodb-timeslider .ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
div.cartodb-timeslider .ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
div.cartodb-timeslider .ui-slider {
background-color: #E0E0E0;
position: relative;
text-align: left;
border-radius:2px;
-webkit-border-radius:2px;
-moz-border-radius:2px;
-o-border-radius:2px;
}
div.cartodb-timeslider .ui-slider .ui-slider-handle {
position: absolute;
z-index: 102;
width: 9px;
height: 10px;
cursor: default;
background:url('../img/slider.png') no-repeat -98px -18px white;
border:1px solid #555555;
border-radius:2px;
-webkit-border-radius:2px;
-moz-border-radius:2px;
-o-border-radius:2px;
outline:none;
}
div.cartodb-timeslider .ui-slider .ui-slider-handle:hover {
cursor:col-resize;
background-position:-112px -18px;
}
div.cartodb-timeslider .ui-slider .ui-slider-range {
position: absolute;
z-index: 100;
font-size: .7em;
display: block;
border: 0;
background-position: 0 0;
background-color:#397DBA;
border-radius:2px;
-webkit-border-radius:2px;
-moz-border-radius:2px;
-o-border-radius:2px;
}
div.cartodb-timeslider .ui-slider.ui-state-disabled .ui-slider-handle,
div.cartodb-timeslider .ui-slider.ui-state-disabled .ui-slider-range {
filter: inherit;
}
div.cartodb-timeslider .ui-slider-horizontal {
height: 4px;
cursor:pointer;
}
div.cartodb-timeslider .ui-slider-horizontal .ui-slider-handle {
top: -4px;
margin-left: -6px;
}
div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
cursor:pointer;
}
div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
div.cartodb-timeslider .ui-slider-vertical {
width: .8em;
height: 100px;
}
div.cartodb-timeslider .ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
div.cartodb-timeslider .ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-max {
top: 0;
}
/* Starting new media queries */
@media only screen and (min-width: 360px) and (max-width: 500px) {
div.cartodb-timeslider .slider-wrapper { width: 130px }
div.cartodb-timeslider .slider { width: 130px }
}
@media only screen and (min-width: 180px) and (max-width: 360px) {
div.cartodb-timeslider .slider-wrapper { width: 90px }
div.cartodb-timeslider .slider { width: 90px }
div.cartodb-timeslider p.value {
width: 90px;
font-size: 12px;
}
}