mirror of
https://github.com/strapi/strapi.git
synced 2025-11-19 03:29:47 +00:00
43 lines
772 B
JavaScript
43 lines
772 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const Label = styled.div`
|
|
padding: 9px 20px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
position: relative;
|
|
min-height: 64px;
|
|
&:after {
|
|
content: '•';
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 21.5px;
|
|
font-size: 15px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: #aed4fb;
|
|
color: transparent;
|
|
border-radius: 4px;
|
|
border: 1px solid white;
|
|
}
|
|
&:before {
|
|
content: '&';
|
|
position: absolute;
|
|
top: 22px;
|
|
left: 24.5px;
|
|
height: 100%;
|
|
width: 2px;
|
|
background-color: #e6f0fb;
|
|
color: transparent;
|
|
}
|
|
p {
|
|
padding-left: 18px;
|
|
margin-bottom: 0;
|
|
}
|
|
p:last-of-type:not(:first-of-type) {
|
|
color: #9ea7b8;
|
|
font-weight: 400;
|
|
}
|
|
`;
|
|
|
|
export default Label;
|