DateTimePicker.scss 2.4 KB
@import "../../../../scss/krhr/_mixins-component";  

.datepicker{
	.arrow_left,.arrow_right{
		width:18px; 
		height:18px; 
		line-height:18px; 
		display:inline-block; 
		border:1px 
		solid #c5c5c5; 
		border-radius:3px; 
		font-family:'iconfont';
		font-size:12px;
	}
	.arrow_left:before{content:'\e62d';}
	.arrow_right:before{content:'\e62e';}
} 
.timepicker{
	.arrow_up,
	.arrow_down{
		width:18px; 
		height:18px; 
		line-height:18px; 
		display:inline-block; 
		border:1px 
		solid #c5c5c5; 
		border-radius:3px; 
		font-family:'iconfont';
		font-size:12px;
	}
	.arrow_up:before{content:'\e62f';}
	.arrow_down:before{content:'\e630';}
	.arrow_up:hover,.arrow_down:hover,.arrow_up,.arrow_down{
	  	border-color:#0078f6; 
	  	color:#0078f6; 
	  	background:transparent !important;
	}
} 
  
.hover{
	background-color: #0078f6 !important;
	border-color: #0078f6 !important;
	color: #fff !important;
}  

.datetimepicker_widget.bottom{
	.datepicker{ 
		.day:hover,.today.active,.active{
			@extend .hover;
		}
		.today{
			background-color: #faeab9 !important;
    		border-color: #faeab9 !important;
    		color: #555459 !important;
		}
	}
	padding: 10px;
	background: #f0f0f0;
	&:after {
		border-bottom-color:#f0f0f0;
	}
	.datepicker_months{
		.month:hover,.active{
			@extend .hover;
		}
	}
	.datepicker_years{
		.year:hover,.active{
			@extend .hover;
		}
	}
}

.datetimepicker_widget.inline_date_time.bottom{
	width: 360px;
	padding: 10px;
	background: #f0f0f0;
	.timepicker{ 
		margin-left: 5px;
	    height: 180px;
	    width: 110px;
	    font-size: 12px;
	    .timepicker_hour:hover,.timepicker_minute:hover{
	    	@extend .hover;
	    }
	}
	.datepicker{
		tr > td{
			padding: 0;
			font-size: 12px;
		}
		.day:hover,.today.active,.active{
			@extend .hover;
		}
		.today{
			background-color: #faeab9 !important;
    		border-color: #faeab9 !important;
    		color: #555459 !important;
		}
	}
	.datepicker_months{
		.month:hover,.active{
			@extend .hover;
		}
	}
	.datepicker_years{
		.year:hover,.active{
			@extend .hover;
		}
	}
	.timepicker_hours{
		padding-top: 20px;
		padding-left: 20px;
		.hour{
			padding: 0;
			font-size: 12px;
		}
		.hour:hover{
			@extend .hover;
		}
	}
	.timepicker_minutes{
		padding-top: 20px;
		padding-left: 20px;
		.minute{
			padding: 0;
			font-size: 12px;
		}
		.minute:hover{
			@extend .hover;
		}
	}
	&:after {
		border-bottom-color:#f0f0f0;
	}
}
.date_time_picker_time_wrap,.date_time_picker_date_wrap{
	display: inline-block;
}