Server IP : 104.21.14.103 / Your IP : 3.15.26.145 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/privilege/entries/profile/components/create-escalation/ |
Upload File : |
/** * External dependencies */ import styled from '@emotion/styled'; /** * WordPress dependencies */ import { TextControl } from '@wordpress/components'; /** * SolidWP dependencies */ import { Button, Text } from '@ithemes/ui'; export const StyledForm = styled.form` display: grid; grid-template-columns: 0.75fr 0.25fr; gap: 1.25rem 0.5rem; grid-auto-flow: row; grid-template-areas: "title ." "description ." "label ." "role days" "error ." "button ."; align-items: center; @media screen and (min-width: ${ ( { theme } ) => theme.breaks.small }px) { grid-template-columns: 1fr 1fr 0.5fr 0.5fr; gap: 0.5rem 1rem; grid-template-areas: "title role days button" "description role days button" ". error . ."; } `; export const StyledTitle = styled( Text )` grid-area: title `; export const StyledLabel = styled( Text )` grid-area: label; `; export const StyledRoles = styled.div` grid-area: role; & label { text-transform: none !important; font-family: 'SF Pro Text', sans-serif; font-size: 0.813rem !important; color: ${ ( { theme } ) => theme.colors.text.dark } } `; export const StyledDays = styled( TextControl )` grid-area: days; & label { text-transform: none !important; font-family: 'SF Pro Text', sans-serif; font-size: 0.813rem !important; color: ${ ( { theme } ) => theme.colors.text.dark } } `; export const StyledDescription = styled( Text )` grid-area: description; `; export const StyledUpdateButton = styled( Button )` grid-area: button; border-color: ${ ( { theme } ) => theme.colors.primary.base }; `; export const StyledError = styled( Text )` grid-area: error; color: #D63638; `;