Merge pull request #105 from CartoDB/remove-carousel
Remove carousel used for editor
This commit is contained in:
commit
f1c9e1bbd0
@ -1,51 +0,0 @@
|
||||
// Carousel styles
|
||||
// ----------------------------------------------
|
||||
|
||||
/* SG
|
||||
# Carousel
|
||||
|
||||
```
|
||||
<div>
|
||||
<ul class="CDB-Carousel">
|
||||
<li class="CDB-CarouselItem is-selected"></li>
|
||||
<li class="CDB-CarouselItem"></li>
|
||||
<li class="CDB-CarouselItem"></li>
|
||||
<li class="CDB-CarouselItem"></li>
|
||||
<li class="CDB-CarouselItem"></li>
|
||||
</ul>
|
||||
</div>
|
||||
```
|
||||
*/
|
||||
|
||||
@import '../cdb-utilities/mixins';
|
||||
@import '../cdb-variables/sizes';
|
||||
@import '../cdb-variables/colors';
|
||||
|
||||
.CDB-Carousel {
|
||||
@include display-flex();
|
||||
@include justify-content(flex-start);
|
||||
width: 100%;
|
||||
}
|
||||
.CDB-CarouselItem {
|
||||
@include display-flex();
|
||||
@include align-items(center);
|
||||
@include justify-content(center);
|
||||
width: $baseSize * 11;
|
||||
height: $baseSize * 7;
|
||||
margin-right: 8px;
|
||||
border: 1px solid $cSecondaryLine;
|
||||
border-radius: 4px;
|
||||
background: $cThirdBackground;
|
||||
box-sizing: border-box;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
&:hover {
|
||||
border: 1px solid $cMainLine;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.CDB-CarouselItem.is-selected {
|
||||
border: 2px solid $cBlue;
|
||||
}
|
Loading…
Reference in New Issue
Block a user