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/TimePicker/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
*
* TimePicker
*
*/
import styled from 'styled-components';
import PropTypes from 'prop-types';
import colors from '../../assets/styles/colors';
import sizes from '../../assets/styles/sizes';
const TimePicker = styled.input`
width: 100%;
height: ${sizes.input.height};
padding: 0 ${sizes.input.padding};
font-family: 'Lato';
font-weight: ${sizes.fontWeight.regular};
font-size: ${sizes.input.fontSize};
cursor: pointer;
outline: 0;
border: 1px solid ${colors.lightGrey};
border-radius: ${sizes.borderRadius};
color: ${colors.blueTxt};
background-color: transparent;
padding-left: calc(${sizes.input.height} + ${sizes.input.padding});
&::-webkit-input-placeholder {
color: ${colors.greyPlaceholder};
}
&:focus {
border-color: ${colors.blueBorder};
}
&:disabled {
cursor: not-allowed;
color: ${colors.brightGrey};
}
`;
TimePicker.defaultProps = {
type: 'text',
};
TimePicker.propTypes = {
type: PropTypes.string,
};
export default TimePicker;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0041 ]-- |