censa_front_end_library
Version:
React components library project for censa Design System
178 lines (164 loc) • 3.26 kB
CSS
.DateRangePicker {
display: flex;
}
.DateRangePicker--left {
flex-direction: row;
}
.DateRangePicker--right {
flex-direction: row-reverse;
}
.DateRangePicker-input {
box-sizing: border-box;
}
.DateRangePicker-input--startDate {
padding-right: var(--spacing-m);
}
.DateRangePicker-input--endDate {
padding-left: var(--spacing-m);
}
@media (max-width: 576px) {
.DateRangePicker-input {
padding: 0;
}
.DateRangePicker-input--endDate {
padding-top: var(--spacing);
}
}
.resetfilter label {
float: left;
width: 100%;
color: #9b9a9d;
font-size: 12px;
margin-bottom: 8px;
}
.deliver-btn {
border-radius: 6px;
border: 1px solid #59565c;
color: #0a080c;
border-radius: 6px;
padding: 6px;
background-color: #fff;
font-size: 12px;
}
.creat-by {
padding: 6px;
font-size: 12px;
background-color: #e7e7e8;
border: 1px solid #f9f9fa;
color: #0a080c;
border-radius: 6px;
}
.filter-label {
color: #9b9a9d;
font-size: 12px;
width: 100%;
float: left;
}
.filter-btns {
width: 100%;
float: left;
}
.filter-btns button {
width: 80%;
margin-bottom: 10px;
}
.filter-datrpicker {
float: left;
}
.time-picker-container {
position: relative;
}
.time-picker-input {
padding: 8px;
padding-left: 30px ;
border: 1px solid #ced4da;
border-radius: 4px;
cursor: pointer;
}
.time-picker-input {
border-color: #9b9a9d;
}
.time-picker-input:focus-visible {
outline: none;
}
.time-picker-input:focus-within {
background: var(--white);
border-color: var(--input-primary);
box-shadow: var(--shadow-spread) var(--primary-shadow);
}
.time-picker-dropdown {
position: absolute;
top: calc(100% + 10px);
left: 0;
width: 230px;
background-color: #fff;
border: 1px solid #ced4da;
border-radius: 4px;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 999;
}
.time-picker-selectors {
height: 250px;
padding: 10px;
gap: 4px;
border-radius: 12px;
border: 1px solid #f4f3f5;
background: #fff;
/* box-shadow: 0px 12px 10px 0px rgba(0, 0, 0, 0.04); */
box-shadow:
rgba(0, 0, 0, 0.2) 0px 5px 5px -3px,
rgba(0, 0, 0, 0.14) 0px 8px 10px 1px,
rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
}
.timelist ul::-webkit-scrollbar {
width: 8px;
}
.time-picker-selectors span {
margin-right: 5px;
}
.timelist ul {
overflow: scroll;
height: 185px;
margin: 0px;
width: 45px;
border-right: 1px solid #e7e7e8;
margin: 2px;
}
.timelist ul:last-child {
overflow: hidden;
border-right: none;
}
.timelist ul li {
cursor: pointer;
padding: 5px;
color: #59565c;
font-size: 12px;
text-align: center;
}
.timelist ul li:hover {
background-color: #f4f3f5;
border-radius: 4px;
}
.timelist ul li.selected {
background-color: #e7d0ff;
border-radius: 4px;
}
.timelist ul li.disabled {
color: #cbcacb;
}
.btn-now {
color: #5a05b8;
border: none;
background-color: transparent;
}
/* styles.css */
.icon-clock {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
}
.prev-disabled {
color: #cbcacb ;
}