add first shapes - #12
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
/* SG
|
||||
# Shapes/Three Points
|
||||
|
||||
Description
|
||||
|
||||
```
|
||||
<div style="padding: 20px;">
|
||||
<div class="CDB-Shape-threePoints">
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding: 20px;">
|
||||
<div class="CDB-Shape-threePoints is-blue">
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background: #2E3C43; padding: 20px;">
|
||||
<div class="CDB-Shape-threePoints is-white">
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
<div class="CDB-Shape-threePointsItem"></div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
*/
|
||||
|
||||
@import '../../cdb-variables/colors';
|
||||
|
||||
.CDB-Shape-threePoints {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 3px;
|
||||
height: 15px;
|
||||
padding: 0 12;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.CDB-Shape-threePointsItem {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
margin-bottom: 3px;
|
||||
border-radius: 50%;
|
||||
background: $cMainDark;
|
||||
}
|
||||
|
||||
.CDB-Shape-threePoints.is-blue {
|
||||
.CDB-Shape-threePointsItem {
|
||||
background: $cBlue;
|
||||
}
|
||||
}
|
||||
|
||||
.CDB-Shape-threePoints.is-white {
|
||||
.CDB-Shape-threePointsItem {
|
||||
background: $cWhite;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user