Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/@buffetjs/styles/src/components/InputWrapper/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
*
* InputWrapper
*
*/
import styled from 'styled-components';
import colors from '../../assets/styles/colors';
import sizes from '../../assets/styles/sizes';
const InputWrapper = styled.div`
position: relative;
background-color: ${colors.white};
border-radius: ${sizes.borderRadius};
button[type='button'] {
width: ${sizes.input.height};
height: ${sizes.input.height};
position: absolute;
top: 0;
right: 0;
z-index: 2;
cursor: pointer;
outline: 0;
border: 0;
background: transparent;
&:hover {
span::before {
color: ${colors.black};
}
}
&.shown {
span::before {
color: ${colors.black};
}
& + input[type='text'] {
padding-right: calc(${sizes.input.height} + ${sizes.input.padding});
}
}
}
span {
border-top-left-radius: ${sizes.borderRadius};
border-bottom-left-radius: ${sizes.borderRadius};
}
input {
position: relative;
z-index: 1;
}
`;
export default InputWrapper;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0046 ]-- |