107 lines
2.7 KiB
SCSS
107 lines
2.7 KiB
SCSS
/* SG
|
|
# Shapes/Three Points
|
|
|
|
Description
|
|
|
|
```
|
|
<h2>16px</h2>
|
|
<div style="padding: 20px;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
|
|
<div class="CDB-Shape-threePoints">
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
<div style="padding: 20px;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
|
|
<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>
|
|
</button>
|
|
</div>
|
|
<div style="padding: 20px; background: #2E3C43;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
|
|
<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>
|
|
</button>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<h2>12px</h2>
|
|
<div style="padding: 20px;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
|
|
<div class="CDB-Shape-threePoints is-small">
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
<div style="padding: 20px;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
|
|
<div class="CDB-Shape-threePoints is-blue is-small js-actions">
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
<div style="padding: 20px; background: #2E3C43;">
|
|
<button class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
|
|
<div class="CDB-Shape-threePoints is-white is-small js-actions">
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
<div class="CDB-Shape-threePointsItem"></div>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
```
|
|
*/
|
|
|
|
@import '../../cdb-variables/colors';
|
|
|
|
.CDB-Shape-threePoints {
|
|
display: inline-block;
|
|
}
|
|
|
|
.CDB-Shape-threePointsItem {
|
|
width: 2px;
|
|
height: 2px;
|
|
margin-bottom: 5px;
|
|
background: $cMainDark;
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.CDB-Shape-threePoints.is-small {
|
|
padding-top: 2px;
|
|
|
|
.CDB-Shape-threePointsItem {
|
|
width: 2px;
|
|
height: 2px;
|
|
margin-bottom: 3px;
|
|
}
|
|
}
|
|
|
|
.CDB-Shape-threePoints.is-blue {
|
|
.CDB-Shape-threePointsItem {
|
|
background: $cBlue;
|
|
}
|
|
}
|
|
|
|
.CDB-Shape-threePoints.is-white {
|
|
.CDB-Shape-threePointsItem {
|
|
background: $cWhite;
|
|
}
|
|
}
|