Files
CartoAssets/src/components/shapes/add.css
T
2017-12-22 18:29:36 +01:00

80 lines
1.1 KiB
CSS

.CDB-Shape {
width: 16px;
height: 16px;
text-align: center;
&:hover {
cursor: pointer;
}
}
.CDB-Shape--medium {
width: 24px;
height: 24px;
}
.CDB-Shape-add {
position: relative;
height: 100%;
&::before {
content: '';
display: block;
position: absolute;
right: 1px;
bottom: 7px;
left: 0;
height: 1px;
background: var(--color-black);
}
&::after {
content: '';
display: block;
position: absolute;
top: 1;
bottom: 0;
left: 7px;
width: 1px;
background: var(--color-black);
}
}
.CDB-Shape-add.is-small {
&::before {
content: '';
display: block;
position: absolute;
right: 3px;
bottom: 7px;
left: 4px;
height: 1px;
background: var(--color-black);
}
&::after {
content: '';
display: block;
position: absolute;
top: 4px;
bottom: 3px;
left: 8px;
width: 1px;
background: var(--color-black);
}
}
.CDB-Shape-add.is-blue {
&::before,
&::after {
background: var(--color-blue);
}
}
.CDB-Shape-add.is-white {
&::before,
&::after {
background: white;
}
}