dh-c
Version:
The front-end development engineers jimberton gulp react component
60 lines (59 loc) • 1.5 kB
CSS
.dh-calendar-picker {
position: relative;
display: inline-block;
outline: none;
font-size: 12px;
transition: opacity .3s;
position: relative;
width: 100%; }
.dh-calendar-picker:hover .dh-calendar-picker-clear {
opacity: 1; }
.dh-calendar-picker-clear, .dh-calendar-picker-icon {
position: absolute;
width: 14px;
height: 14px;
right: 8px;
top: 50%;
margin-top: -7px;
line-height: 14px;
font-size: 12px;
transition: all .3s;
user-select: none; }
.dh-calendar-picker-clear {
opacity: 0;
z-index: 1;
color: rgba(0, 0, 0, 0.25);
background: #fff;
cursor: pointer; }
.dh-calendar-picker-clear:after {
content: "\e63f";
font-family: dhfont;
font-size: 12px;
color: rgba(0, 0, 0, 0.43);
display: inline-block;
line-height: 1; }
.dh-calendar-picker-icon {
color: rgba(0, 0, 0, 0.43); }
.dh-calendar-picker-icon:after {
content: "\e7a7";
font-family: dhfont;
font-size: 12px;
color: rgba(0, 0, 0, 0.43);
display: inline-block;
line-height: 1; }
.dh-calendar-picker-container {
position: absolute;
z-index: 1050; }
.dh-calendar-picker-input {
position: relative;
display: inline-block;
width: 100%;
height: 28px;
padding: 4px 7px;
font-size: 12px;
background-color: #fff;
border-radius: 4px;
transform: all .3s;
color: #333333;
border: 1px solid #e6e6e6;
line-height: 15px; }