forked from community/product-iots
parent
62467ac564
commit
e2eafa1320
@ -1,232 +1,331 @@
|
|||||||
.date-picker
|
.date-picker {
|
||||||
{
|
width: 170px;
|
||||||
width:170px;
|
height: 25px;
|
||||||
height:25px;
|
padding: 0;
|
||||||
padding:0;
|
border: 0;
|
||||||
border:0;
|
line-height: 25px;
|
||||||
line-height:25px;
|
padding-left: 10px;
|
||||||
padding-left:10px;
|
font-size: 12px;
|
||||||
font-size:12px;
|
font-family: Arial;
|
||||||
font-family:Arial;
|
font-weight: bold;
|
||||||
font-weight:bold;
|
cursor: pointer;
|
||||||
cursor:pointer;
|
color: #303030;
|
||||||
color:#303030;
|
position: relative;
|
||||||
position:relative;
|
z-index: 2;
|
||||||
z-index:2;
|
}
|
||||||
}
|
|
||||||
.date-picker-wrapper
|
.date-picker-wrapper {
|
||||||
{
|
position: absolute;
|
||||||
position:absolute;
|
z-index: 1;
|
||||||
z-index:1;
|
border: 1px solid #bfbfbf;
|
||||||
border:1px solid #bfbfbf;
|
background-color: #efefef;
|
||||||
background-color:#efefef;
|
width: 448px;
|
||||||
width:428px;
|
padding: 5px 12px;
|
||||||
padding: 5px 12px;
|
font-size: 12px;
|
||||||
font-size:12px;
|
line-height: 20px;
|
||||||
line-height:20px;
|
color: #aaa;
|
||||||
color:#aaa;
|
font-family: Arial;
|
||||||
font-family:Arial;
|
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
|
||||||
box-shadow:3px 3px 10px rgba(0,0,0,0.5);
|
}
|
||||||
}
|
|
||||||
.date-picker-wrapper.single-date {
|
.date-picker-wrapper.single-date {
|
||||||
width:auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper.no-shortcuts { padding-bottom:12px;}
|
|
||||||
.date-picker-wrapper .footer
|
.date-picker-wrapper.no-shortcuts {
|
||||||
{
|
padding-bottom: 12px;
|
||||||
font-size:11px;
|
}
|
||||||
padding-top: 3px;
|
|
||||||
}
|
.date-picker-wrapper .footer {
|
||||||
.date-picker-wrapper b
|
display: none;
|
||||||
{
|
font-size: 11px;
|
||||||
color:#666;
|
padding-top: 3px;
|
||||||
font-weight:700;
|
}
|
||||||
}
|
|
||||||
.date-picker-wrapper a
|
.date-picker-wrapper b {
|
||||||
{
|
color: #666;
|
||||||
color: rgb(107, 180, 214);
|
font-weight: 700;
|
||||||
text-decoration:underline;
|
}
|
||||||
}
|
|
||||||
.date-picker-wrapper .month-name
|
.date-picker-wrapper a {
|
||||||
{
|
color: rgb(107, 180, 214);
|
||||||
text-transform: uppercase;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper {
|
||||||
border:1px solid #bfbfbf;
|
border: 1px solid #bfbfbf;
|
||||||
border-radius:3px;
|
border-radius: 3px;
|
||||||
background-color:#fff;
|
background-color: #fff;
|
||||||
padding:5px;
|
padding: 5px;
|
||||||
cursor:default;
|
cursor: default;
|
||||||
position:relative;
|
position: relative;
|
||||||
_overflow:hidden;
|
_overflow: hidden;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table {
|
||||||
width:190px;
|
width: 190px;
|
||||||
float:left;
|
float: left;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table.month2
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table.month2 {
|
||||||
width:190px;
|
width: 190px;
|
||||||
float:right;
|
float: right;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table th,
|
|
||||||
.date-picker-wrapper .month-wrapper table td
|
.date-picker-wrapper .month-wrapper table th,
|
||||||
{
|
.date-picker-wrapper .month-wrapper table td {
|
||||||
vertical-align:middle;
|
vertical-align: middle;
|
||||||
text-align:center;
|
text-align: center;
|
||||||
line-height:14px;
|
line-height: 14px;
|
||||||
margin : 0px;
|
margin: 0px;
|
||||||
padding : 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table .day
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table .day {
|
||||||
height:19px;
|
height: 19px;
|
||||||
line-height:19px;
|
line-height: 19px;
|
||||||
font-size:12px;
|
font-size: 12px;
|
||||||
margin-bottom:1px;
|
margin-bottom: 1px;
|
||||||
color:#999;
|
color: #999;
|
||||||
cursor:default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table div.day.lastMonth,
|
|
||||||
.date-picker-wrapper .month-wrapper table div.day.nextMonth
|
.date-picker-wrapper .month-wrapper table div.day.lastMonth,
|
||||||
{
|
.date-picker-wrapper .month-wrapper table div.day.nextMonth {
|
||||||
color:#999;
|
color: #999;
|
||||||
cursor:default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table .day.checked
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table .day.checked {
|
||||||
background-color: rgba(156, 219, 247, 0.5);
|
background-color: rgb(156, 219, 247);
|
||||||
}
|
}
|
||||||
.date-picker-wrapper .month-wrapper table .week-name
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table .week-name {
|
||||||
height:20px;
|
height: 20px;
|
||||||
line-height:20px;
|
line-height: 20px;
|
||||||
font-weight:100;
|
font-weight: 100;
|
||||||
text-transform: uppercase;
|
}
|
||||||
}
|
|
||||||
|
.date-picker-wrapper .month-wrapper table .day.has-tooltip {
|
||||||
.date-picker-wrapper .month-wrapper table .day.has-tooltip { cursor:help !important;}
|
cursor: help !important;
|
||||||
|
}
|
||||||
.date-picker-wrapper .month-wrapper table .day.toMonth.valid
|
|
||||||
{
|
.date-picker-wrapper .month-wrapper table .day.toMonth.valid {
|
||||||
color:#333;
|
color: #333;
|
||||||
cursor:pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-picker-wrapper .month-wrapper table .day.real-today { background-color: rgb(255, 230, 132); }
|
.date-picker-wrapper .month-wrapper table .day.real-today {
|
||||||
.date-picker-wrapper .month-wrapper table .day.real-today.checked { background-color: rgb(112, 204, 213); }
|
background-color: rgb(255, 230, 132);
|
||||||
|
}
|
||||||
|
|
||||||
.date-picker-wrapper table .caption
|
.date-picker-wrapper .month-wrapper table .day.real-today.checked {
|
||||||
{
|
background-color: rgb(112, 204, 213);
|
||||||
height:40px;
|
}
|
||||||
}
|
|
||||||
.date-picker-wrapper table .caption .next,
|
.date-picker-wrapper table .caption {
|
||||||
.date-picker-wrapper table .caption .prev
|
height: 40px;
|
||||||
{
|
}
|
||||||
padding:0 5px;
|
|
||||||
cursor:pointer;
|
.date-picker-wrapper table .caption .next,
|
||||||
}
|
.date-picker-wrapper table .caption .prev {
|
||||||
.date-picker-wrapper table .caption .next:hover,
|
padding: 0 5px;
|
||||||
.date-picker-wrapper table .caption .prev:hover
|
cursor: pointer;
|
||||||
{
|
}
|
||||||
background-color:#ccc;
|
|
||||||
color:white;
|
.date-picker-wrapper table .caption .next:hover,
|
||||||
}
|
.date-picker-wrapper table .caption .prev:hover {
|
||||||
.date-picker-wrapper .gap
|
background-color: #ccc;
|
||||||
{
|
color: white;
|
||||||
position:absolute;
|
}
|
||||||
display:none;
|
|
||||||
top:0px;
|
.date-picker-wrapper .gap {
|
||||||
left:204px;
|
position: absolute;
|
||||||
z-index: 1;
|
display: none;
|
||||||
width:15px;
|
top: 0px;
|
||||||
height: 100%;
|
left: 204px;
|
||||||
background-color:red;
|
z-index: 1;
|
||||||
font-size:0;
|
width: 15px;
|
||||||
line-height:0;
|
height: 100%;
|
||||||
}
|
background-color: red;
|
||||||
.date-picker-wrapper .gap .gap-lines { height: 100%; overflow:hidden; }
|
font-size: 0;
|
||||||
.date-picker-wrapper .gap .gap-line { height:15px;width:15px; position:relative; }
|
line-height: 0;
|
||||||
.date-picker-wrapper .gap .gap-line .gap-1 { z-index:1; height:0; border-left:8px solid white; border-top:8px solid #eee;border-bottom:8px solid #eee; }
|
}
|
||||||
.date-picker-wrapper .gap .gap-line .gap-2 { position:absolute; right:0; top:0px; z-index:2; height:0; border-left:8px solid transparent; border-top:8px solid white; }
|
|
||||||
.date-picker-wrapper .gap .gap-line .gap-3 { position:absolute; right:0; top:8px; z-index:2; height:0; border-left:8px solid transparent; border-bottom:8px solid white; }
|
.date-picker-wrapper .gap .gap-lines {
|
||||||
.date-picker-wrapper .gap .gap-top-mask { width: 6px; height:1px; position:absolute; top: -1px; left: 1px; background-color: #eee; z-index:3; }
|
height: 100%;
|
||||||
.date-picker-wrapper .gap .gap-bottom-mask { width: 6px; height:1px; position:absolute; bottom: -1px; left: 7px; background-color: #eee; z-index:3; }
|
overflow: hidden;
|
||||||
|
}
|
||||||
.date-picker-wrapper .selected-days
|
|
||||||
{
|
.date-picker-wrapper .gap .gap-line {
|
||||||
display:none;
|
height: 15px;
|
||||||
}
|
width: 15px;
|
||||||
.date-picker-wrapper .drp_top-bar
|
position: relative;
|
||||||
{
|
}
|
||||||
line-height:40px;
|
|
||||||
height:40px;
|
.date-picker-wrapper .gap .gap-line .gap-1 {
|
||||||
position:relative;
|
z-index: 1;
|
||||||
}
|
height: 0;
|
||||||
.date-picker-wrapper .drp_top-bar .error-top { display:none; }
|
border-left: 8px solid white;
|
||||||
.date-picker-wrapper .drp_top-bar .normal-top { display:none; }
|
border-top: 8px solid #eee;
|
||||||
.date-picker-wrapper .drp_top-bar .default-top { display:block; }
|
border-bottom: 8px solid #eee;
|
||||||
|
}
|
||||||
.date-picker-wrapper .drp_top-bar.error .default-top { display:none; }
|
|
||||||
.date-picker-wrapper .drp_top-bar.error .error-top { display:block; color:red; }
|
.date-picker-wrapper .gap .gap-line .gap-2 {
|
||||||
|
position: absolute;
|
||||||
.date-picker-wrapper .drp_top-bar.normal .default-top { display:none; }
|
right: 0;
|
||||||
.date-picker-wrapper .drp_top-bar.normal .normal-top { display:block; }
|
top: 0px;
|
||||||
|
z-index: 2;
|
||||||
.date-picker-wrapper .drp_top-bar .apply-btn
|
height: 0;
|
||||||
{
|
border-left: 8px solid transparent;
|
||||||
position:absolute;
|
border-top: 8px solid white;
|
||||||
right: 0px;
|
}
|
||||||
top: 6px;
|
|
||||||
padding:3px 5px;
|
.date-picker-wrapper .gap .gap-line .gap-3 {
|
||||||
margin:0;
|
position: absolute;
|
||||||
font-size:12px;
|
right: 0;
|
||||||
border-radius:4px;
|
top: 8px;
|
||||||
cursor:pointer;
|
z-index: 2;
|
||||||
|
height: 0;
|
||||||
color: #d9eef7;
|
border-left: 8px solid transparent;
|
||||||
border: solid 1px #0076a3;
|
border-bottom: 8px solid white;
|
||||||
background: #0095cd;
|
}
|
||||||
background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
|
|
||||||
background: -moz-linear-gradient(top, #00adee, #0078a5);
|
.date-picker-wrapper .gap .gap-top-mask {
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
|
width: 6px;
|
||||||
color:white;
|
height: 1px;
|
||||||
}
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
.date-picker-wrapper .drp_top-bar .apply-btn.disabled
|
left: 1px;
|
||||||
{
|
background-color: #eee;
|
||||||
cursor: pointer;
|
z-index: 3;
|
||||||
color: #606060;
|
}
|
||||||
border: solid 1px #b7b7b7;
|
|
||||||
background: #fff;
|
.date-picker-wrapper .gap .gap-bottom-mask {
|
||||||
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
|
width: 6px;
|
||||||
background: -moz-linear-gradient(top, #fff, #ededed);
|
height: 1px;
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
|
position: absolute;
|
||||||
}
|
bottom: -1px;
|
||||||
/*time styling*/
|
left: 7px;
|
||||||
.time {
|
background-color: #eee;
|
||||||
position: relative;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
.time input[type=range] {
|
|
||||||
vertical-align: middle;
|
.date-picker-wrapper .selected-days {
|
||||||
}
|
display: none;
|
||||||
.time1, .time2 {
|
}
|
||||||
width: 180px;
|
|
||||||
padding: 0 5px;
|
.date-picker-wrapper .drp_top-bar {
|
||||||
text-align: center;
|
line-height: 40px;
|
||||||
}
|
height: 40px;
|
||||||
.time1 {
|
position: relative;
|
||||||
float: left;
|
}
|
||||||
}
|
|
||||||
.time2 {
|
.date-picker-wrapper .drp_top-bar .error-top {
|
||||||
float: right;
|
display: none;
|
||||||
}
|
}
|
||||||
.hour, .minute {
|
|
||||||
text-align: right;
|
.date-picker-wrapper .drp_top-bar .normal-top {
|
||||||
}
|
display: none;
|
||||||
.hide {
|
}
|
||||||
display: none;
|
|
||||||
}
|
.date-picker-wrapper .drp_top-bar .default-top {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar.error .default-top {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar.error .error-top {
|
||||||
|
display: block;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar.normal .default-top {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar.normal .normal-top {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar .apply-btn {
|
||||||
|
position: absolute;
|
||||||
|
right: 0px;
|
||||||
|
top: 6px;
|
||||||
|
padding: 3px 5px;
|
||||||
|
margin: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
color: #d9eef7;
|
||||||
|
border: solid 1px #0076a3;
|
||||||
|
background: #0095cd;
|
||||||
|
background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
|
||||||
|
background: -moz-linear-gradient(top, #00adee, #0078a5);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-picker-wrapper .drp_top-bar .apply-btn.disabled {
|
||||||
|
pointer-events: none;
|
||||||
|
color: #606060;
|
||||||
|
border: solid 1px #b7b7b7;
|
||||||
|
background: #fff;
|
||||||
|
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
|
||||||
|
background: -moz-linear-gradient(top, #fff, #ededed);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
|
||||||
|
}
|
||||||
|
|
||||||
|
/*time styling*/
|
||||||
|
.time {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time input[type=range] {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time1, .time2 {
|
||||||
|
width: 180px;
|
||||||
|
padding: 0 5px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time1 {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time2 {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hour, .minute {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input.hour-range, input.minute-range {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dateRangePickerContainer .date-range, #dateRangePickerContainer .input-append {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#date-range{
|
||||||
|
padding-right:30px;
|
||||||
|
width:300px;
|
||||||
|
height:100%;
|
||||||
|
display:inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dateRangePickerContainer{
|
||||||
|
float:right;
|
||||||
|
margin-top:-6px;
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue