add assets

This commit is contained in:
piensaenpixel 2016-01-29 13:30:23 +01:00
parent 340dad9dfe
commit ea8da9d88a
7 changed files with 517 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,126 @@
/* SG
# Shapes/Add
Description
```
<h2>16px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-add"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-add is-blue"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-add is-white"></div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>12px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-add is-small"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-add is-blue is-small"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-add is-white is-small"></div>
</div>
</div>
```
*/
@import '../../cdb-variables/colors';
.CDB-Shape {
width: 16px;
height: 16px;
text-align: center;
&:hover {
cursor: pointer;
}
}
.CDB-Shape-add {
position: relative;
height: 100%;
&::before {
display: block;
position: absolute;
right: 1px;
bottom: 7px;
left: 0;
height: 1px;
background: $cMainDark;
content: '';
}
&::after {
display: block;
position: absolute;
top: 1;
bottom: 0;
left: 7px;
width: 1px;
background: $cMainDark;
content: '';
}
}
.CDB-Shape-add.is-small {
&::before {
display: block;
position: absolute;
right: 3px;
bottom: 7px;
left: 4px;
height: 1px;
background: $cMainDark;
content: '';
}
&::after {
display: block;
position: absolute;
top: 4px;
bottom: 3px;
left: 8px;
width: 1px;
background: $cMainDark;
content: '';
}
}
.CDB-Shape-add.is-blue {
&::before,
&::after {
background: $cBlue;
}
}
.CDB-Shape-add.is-white {
&::before,
&::after {
background: $cWhite;
}
}

View File

@ -0,0 +1,140 @@
/* SG
# Shapes/Move
Description
```
<h2>16px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-Move">
<div class="CDB-Shape-MoveItem is-first"></div>
<div class="CDB-Shape-MoveItem is-second"></div>
<div class="CDB-Shape-MoveItem is-third"></div>
</div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-Move">
<div class="CDB-Shape-MoveItem is-blue is-first"></div>
<div class="CDB-Shape-MoveItem is-blue is-second"></div>
<div class="CDB-Shape-MoveItem is-blue is-third"></div>
</div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-Move">
<div class="CDB-Shape-MoveItem is-white is-first"></div>
<div class="CDB-Shape-MoveItem is-white is-second"></div>
<div class="CDB-Shape-MoveItem is-white is-third"></div>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>12px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-Move is-small">
<div class="CDB-Shape-MoveItem is-first"></div>
<div class="CDB-Shape-MoveItem is-second"></div>
<div class="CDB-Shape-MoveItem is-third"></div>
</div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-Move is-small">
<div class="CDB-Shape-MoveItem is-blue is-first"></div>
<div class="CDB-Shape-MoveItem is-blue is-second"></div>
<div class="CDB-Shape-MoveItem is-blue is-third"></div>
</div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-Move is-small">
<div class="CDB-Shape-MoveItem is-white is-first"></div>
<div class="CDB-Shape-MoveItem is-white is-second"></div>
<div class="CDB-Shape-MoveItem is-white is-third"></div>
</div>
</div>
</div>
```
*/
@import '../../cdb-variables/colors';
.CDB-Shape {
width: 16px;
height: 16px;
text-align: center;
&:hover {
cursor: pointer;
}
}
.CDB-Shape-Move {
padding: 1px 0 0;
}
.CDB-Shape-Move.is-small {
padding: 3px 0 0 1px;
.CDB-Shape-MoveItem {
margin-bottom: 2px;
&::before {
width: 2px;
height: 2px;
}
&::after {
width: 2px;
height: 2px;
margin-left: 1px;
}
}
}
.CDB-Shape-MoveItem {
margin-bottom: 3px;
&:last-child {
margin-bottom: 0;
}
&::before {
display: inline-block;
width: 3px;
height: 3px;
background: $cMainDark;
content: '';
}
&::after {
display: inline-block;
width: 3px;
height: 3px;
margin-left: 2px;
background: $cMainDark;
content: '';
}
}
.CDB-Shape-MoveItem.is-blue {
&::before,
&::after {
background: $cBlue;
}
}
.CDB-Shape-MoveItem.is-white {
&::before,
&::after {
background: $cWhite;
}
}

View File

@ -0,0 +1,94 @@
/* SG
# Shapes/Subtract
Description
```
<h2>16px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-subtract"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-subtract is-blue"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-subtract is-white"></div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>12px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-subtract is-small"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-Shape-subtract is-blue is-small"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-Shape-subtract is-white is-small"></div>
</div>
</div>
```
*/
@import '../../cdb-variables/colors';
.CDB-Shape {
width: 16px;
height: 16px;
text-align: center;
&:hover {
cursor: pointer;
}
}
.CDB-Shape-subtract {
position: relative;
height: 100%;
&::before {
display: block;
position: absolute;
right: 2px;
bottom: 7px;
left: 2px;
height: 1px;
background: $cMainDark;
content: '';
}
}
.CDB-Shape-subtract.is-small {
&::before {
right: 3px;
left: 3px;
}
}
.CDB-Shape-subtract.is-blue {
&::before {
background: $cBlue;
}
}
.CDB-Shape-subtract.is-white {
&::before {
background: $cWhite;
}
}

View File

@ -0,0 +1,157 @@
/* SG
# Shapes/Toogle Arrows
Description
```
<h2>16px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-blue"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-ArrowToogle is-white"></div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>12px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-small"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-blue is-small"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-ArrowToogle is-white is-small"></div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>16px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-down"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-blue is-down"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-ArrowToogle is-white is-down"></div>
</div>
</div>
<br>
<br>
<br>
<br>
<h2>12px</h2>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-small is-down"></div>
</div>
</div>
<div style="padding: 20px;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .02);">
<div class="CDB-ArrowToogle is-blue is-small is-down"></div>
</div>
</div>
<div style="padding: 20px; background: #2E3C43;">
<div class="CDB-Shape" style="background: rgba(0, 0, 0, .08);">
<div class="CDB-ArrowToogle is-white is-small is-down"></div>
</div>
</div>
```
*/
@import '../../cdb-variables/colors';
.CDB-Shape {
width: 16px;
height: 16px;
text-align: center;
&:hover {
cursor: pointer;
}
}
.CDB-ArrowToogle {
position: relative;
height: 100%;
&::before {
display: block;
position: absolute;
top: 8px;
left: 0;
width: 10px;
height: 1px;
transform: rotate(-45deg);
background: $cMainDark;
content: '';
}
&::after {
display: block;
position: absolute;
top: 8px;
right: -1px;
width: 10px;
height: 1px;
transform: rotate(45deg);
background: $cMainDark;
content: '';
}
}
.CDB-ArrowToogle.is-down {
transform: rotate(180deg);
}
.CDB-ArrowToogle.is-small {
&::before {
left: 2px;
width: 8px;
}
&::after {
right: 1px;
width: 8px;
}
}
.CDB-ArrowToogle.is-blue {
&::before {
background: $cBlue;
}
&::after {
background: $cBlue;
}
}
.CDB-ArrowToogle.is-white {
&::before {
background: $cWhite;
}
&::after {
background: $cWhite;
}
}