cartodb-4.42/lib/assets/javascripts/new-dashboard/components/Dataset/DatasetCardFake.vue
2024-04-06 05:25:13 +00:00

86 lines
1.7 KiB
Vue

<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--xsmall">
<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>