Server IP : 104.21.14.103 / Your IP : 13.58.96.83 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/fingerprinting/entries/profile/components/device/ |
Upload File : |
/** * External dependencies */ import styled from '@emotion/styled'; /** * SolidWP dependencies */ import { Surface, Text } from '@ithemes/ui'; export const StyledDeviceSurface = styled( Surface )` padding: 1rem; border: 1px solid ${ ( { theme, hasError } ) => hasError ? '#B32D2E' : theme.colors.border.normal }; @media screen and (min-width: ${ ( { theme } ) => theme.breaks.medium }px) { max-width: 350px; } `; export const StyledDeviceDetails = styled.div` display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: ${ ( { hasGeolocation } ) => hasGeolocation ? `"location created" "ip platform" "browser last-seen" "status ."` : `"location created" "browser platform" "status last-seen"` }; gap: 0.75rem 1.25rem; `; export const StyledDeviceSection = styled.div` display: flex; flex-direction: column; gap: 0.25rem 0; `; export const StyledSectionLabel = styled( Text )` font-size: 0.75rem; `; export const StyledLocation = styled( StyledDeviceSection )` grid-area: location; `; export const StyledCreated = styled( StyledDeviceSection )` grid-area: created; `; export const StyledIP = styled( StyledDeviceSection )` grid-area: ip; `; export const StyledPlatform = styled( StyledDeviceSection )` grid-area: platform; `; export const StyledBrowser = styled( StyledDeviceSection )` grid-area: browser; `; export const StyledLastSeen = styled( StyledDeviceSection )` grid-area: last-seen; `; export const StyledStatus = styled( StyledDeviceSection )` grid-area: status; `; export const StyledError = styled( Text )` color: #B32D2E; margin-bottom: 0.75rem; `;