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/List/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
*
* List
*
*/
import styled from 'styled-components';
import colors from '../../assets/styles/colors';
import sizes from '../../assets/styles/sizes';
const List = styled.div`
width: 100%;
position: relative;
overflow-x: scroll;
border-radius: ${sizes.borderRadius};
background: white;
table {
border-collapse: collapse;
width: 100%;
min-width: 500px;
font-family: 'Lato';
}
thead {
tr {
height: 3rem;
line-height: 0.1rem;
font-weight: ${sizes.fontWeight.bold};
text-transform: capitalize;
td {
background-color: ${colors.greyHeader};
}
}
}
tbody {
color: ${colors.blueTxt};
tr {
height: 5.4rem;
&::before {
content: '-';
display: inline-block;
line-height: 1.1em;
color: transparent;
background-color: transparent;
position: absolute;
left: 3rem;
width: calc(100% - 6rem);
height: 1px;
margin-top: -${sizes.margin * 0.1}px;
}
&:not(:first-of-type)::before {
background-color: rgba(14, 22, 34, 0.04);
}
}
td {
padding: 0.75em;
vertical-align: middle;
font-size: 1.3rem;
line-height: 1.8rem;
&:first-of-type:not(:last-of-type) {
padding-left: 3rem;
}
&:last-of-type:not(:first-of-type) {
padding-right: 3rem;
}
}
}
@media (min-width: ${sizes.tablet}) {
width: 100%;
overflow-x: auto;
}
`;
export default List;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0235 ]-- |