::selection { color: #fff; background: #664AFF; } .rhsearch-box { position: relative; height: 25px; width: 25px; border-radius: 50%; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); font-size: 12px!important; } .rhsearch-box.active { width: 350px; } .rhsearch-box input { width: 100%; height: 24px; font-size: 12px!important; padding: 0.275rem 0.75rem; font-family: @primary-Font; color: @topnav-font-color; vertical-align: middle; border: none; border-radius: 50px; background: @topnav-background-color; outline: none; padding: 2px 25px 0 20px; font-size: 18px; opacity: 0; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .rhsearch-box input.active { opacity: 1; border: solid fade(@topnav-font-color, 30%); border-width: 1px; } .rhsearch-box input::placeholder { color: #a6a6a6; } .rhsearch-box .rhsearch-icon { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); height: 24px; width: 24px; font-size: 15px !important; background: @topnav-font-color; border-radius: 50%; text-align: center; line-height: 25px; font-size: 20px; color: @topnav-background-color; cursor: pointer; z-index: 1; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); &:hover { background: @sidenav-font-hover !important; } } .rhsearch-box .rhsearch-icon.active { right: 5px; height: 21px; line-height: 21px; width: 21px; font-size: 4px; background: @topnav-font-color; color: @topnav-background-color; transform: translateY(-50%) rotate(360deg); } .rhsearch-box .rhSearchcancel-icon { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); font-size: 15px; color: @topnav-font-color; cursor: pointer; transition: all 0.5s 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55); display: none; } .rhsearch-box .rhSearchcancel-icon.active { right: -15px; transform: translateY(-50%) rotate(360deg); } .rhsearch-box .rhsearch-data { text-align: center; padding-top: 7px; background-color: @sidenav-background-color !important; //font-size: 18px; word-wrap: break-word; display: none; margin-left: 20px; width: 310px; .searchDropdownLink { color: @sidenav-link-color !important; &:hover { color: @sidenav-font-hover !important; } } } .searchDataColor { color: inve } .rhsearch-box .rhsearch-data.inactive { display: none; } .rhsearch-box .rhsearch-data.active { display: none; } .rotatecontroleffact { transition-duration: 1s; transform: rotate(360deg); }