cartodb/lib/assets/javascripts/new-dashboard/components/Dataset/DatasetCardFake.vue

86 lines
1.7 KiB
Vue
Raw Normal View History

2020-06-15 10:58:47 +08:00
<template>
<div class="dataset-fake-row">
<div class="viz-column--main-info">
<div class="cell-placeholder thumbnail">
<div class="icon-placeholder"/>
</div>
<div class="cell-placeholder cell--main">
<div class="text-placeholder"/>
</div>
</div>
<div class="viz-column--extra-info">
<div class="viz-column--status">
<div class="cell-placeholder cell--large">
<div class="text-placeholder"/>
</div>
<div class="cell-placeholder cell--xsmall">
<div class="text-placeholder"/>
</div>
<div class="cell-placeholder cell--small">
<div class="text-placeholder"/>
</div>
</div>
<div class="viz-column--share">
<div class="cell-placeholder cell--small">
<div class="text-placeholder"/>
</div>
<div class="cell-placeholder cell--small">
<div class="text-placeholder"/>
</div>
<div class="cell-placeholder cell--quick-actions">
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'DatasetCardFake'
};
</script>
<style scoped lang="scss">
@import 'new-dashboard/styles/variables';
.dataset-fake-row {
display: flex;
align-items: center;
width: 100%;
height: 81px;
padding: 22px 14px;
background-color: $white;
}
.icon-placeholder {
width: 36px;
height: 36px;
border-radius: 2px;
background-color: $softblue;
}
.text-placeholder {
height: 24px;
background-color: $softblue;
}
.cell-placeholder {
padding: 0 10px;
}
.cell--main {
flex-grow: 1;
flex-shrink: 1;
min-width: 200px;
}
.cell--quick-actions {
padding: 0 16px;
}
.thumbnail {
padding-right: 16px;
padding-left: 6px;
}
</style>