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/build/esm/components/Tab/ drwxr-xr-x | |
| Viewing file: Select action/file-type: var _templateObject;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
/**
*
* Tab
*
*/
import styled from 'styled-components';
import PropTypes from 'prop-types';
import sizes from '../../assets/styles/sizes';
import colors from '../../assets/styles/colors';
var Tab = styled.li(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n width: calc(100% / ", ");\n height: 3.6rem;\n &:first-of-type a {\n border-top-left-radius: 2px;\n }\n &:last-of-type a {\n border-top-right-radius: 2px;\n }\n button {\n width: 100%;\n height: 100%;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n }\n a {\n display: flex;\n width: 100%;\n height: 100%;\n padding: 0 ", "px;\n color: ", ";\n font-family: 'Lato';\n font-size: 1.3rem;\n text-align: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-decoration: none;\n cursor: pointer;\n background-color: ", ";\n border-top: 3px solid ", ";\n border-bottom: 3px solid ", ";\n p,\n span {\n margin: auto;\n }\n &.active {\n border-top: 3px solid ", ";\n border-bottom: 3px solid white;\n background-color: white;\n font-weight: ", ";\n }\n }\n"])), function (props) {
return props.count;
}, sizes.margin * 2, colors.blueTxt, function (props) {
return props.background;
}, function (props) {
return props.background;
}, function (props) {
return props.background;
}, colors.blueTabBorder, sizes.fontWeight.bold);
Tab.defaultProps = {
index: 1,
background: colors.greyTabBkgd
};
Tab.propTypes = {
background: PropTypes.string,
index: PropTypes.number
};
export default Tab; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0309 ]-- |