.date-input-control { position: relative; display: inline-block; cursor: pointer; } .date-input-control-input { width: 130px; padding-left: var(--controlHeight) !important; cursor: pointer; } .date-input-control-icon { position: absolute; top: 5px; left: 5px; } .date-input-control-icon path { fill: var(--gray80); transition: fill 0.3s ease; } .date-input-control-input:focus + .date-input-control-icon path { fill: var(--blue); } .date-input-control-reset { position: absolute; top: 4px; right: 4px; border: none; } .boolean-toggle { display: inline-block; vertical-align: middle; width: 48px; height: var(--controlHeight); padding: 1px; border: 1px solid var(--gray80); border-radius: var(--controlHeight); box-sizing: border-box; background-color: #fff; cursor: pointer; transition: all 0.3s ease; } .boolean-toggle:hover { background-color: #fff; } .boolean-toggle:focus { border-color: var(--blue); background-color: #f6f6f6; } .boolean-toggle-handle { width: 20px; height: 20px; border: 1px solid var(--gray80); border-radius: 22px; box-sizing: border-box; background-color: #f6f6f6; transition: transform 0.3s cubic-bezier(0.87, -0.41, 0.19, 1.44), border 0.3s ease; } .boolean-toggle-on { border-color: var(--darkBlue); background-color: var(--darkBlue); } .boolean-toggle-on:hover { background-color: var(--darkBlue); } .boolean-toggle-on:focus { background-color: var(--darkBlue); } .boolean-toggle-on .boolean-toggle-handle { border-color: #f6f6f6; transform: translateX(var(--controlHeight)); }