mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
36 lines
773 B
TypeScript
36 lines
773 B
TypeScript
import styled from 'styled-components';
|
|
|
|
export const ContainerNodeBorderStyle = styled.div`
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
background-color: transparent;
|
|
border: 1px solid var(--coz-stroke-plus, rgba(6, 7, 9, 15%));
|
|
border-color: var(--coz-bg-plus, rgb(249, 249, 249));
|
|
border-style: solid;
|
|
border-width: 8px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 4%), 0 4px 12px 0 rgba(0, 0, 0, 2%);
|
|
|
|
&::before {
|
|
content: '';
|
|
|
|
position: absolute;
|
|
z-index: 0;
|
|
inset: -4px;
|
|
|
|
background-color: transparent;
|
|
border-color: var(--coz-bg-plus, rgb(249, 249, 249));
|
|
border-style: solid;
|
|
border-width: 4px;
|
|
border-radius: 8px;
|
|
}
|
|
`;
|