feat: moved some card.scss styles to the card.vue component

This commit is contained in:
Dominik Pschenitschni 2021-10-18 14:18:49 +02:00
parent ad1f69a817
commit 57c3a79ccc
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
4 changed files with 27 additions and 28 deletions

View File

@ -54,3 +54,25 @@ export default {
emits: ['close'],
}
</script>
<style lang="scss" scoped>
.card {
background-color: $white;
border-radius: $radius;
margin-bottom: 1rem;
border: 1px solid $grey-200;
box-shadow: $shadow-sm;
}
.card-header {
box-shadow: none;
border-bottom: 1px solid $grey-200;
border-radius: $radius $radius 0 0;
}
// FIXME: should maybe be merged somehow with modal
::v-deep.modal-card-foot {
background-color: $grey-50;
border-top: 0;
}
</style>

View File

@ -1,4 +1,3 @@
@import 'card';
@import 'fancycheckbox';
@import 'multiselect';
@import 'scrollbars';

View File

@ -1,27 +0,0 @@
.card {
background-color: $white;
border-radius: $radius;
margin-bottom: 1rem;
.card-image {
img {
border-radius: $radius $radius 0 0;
}
}
.card-header {
box-shadow: none;
border-bottom: 1px solid $grey-200;
border-radius: $radius $radius 0 0;
}
.modal-card-foot {
background: $grey-50;
border-top: 0;
}
}
.box, .card {
border: 1px solid $grey-200;
box-shadow: $shadow-sm;
}

View File

@ -147,3 +147,8 @@ button.table {
.dragging-disabled .handle {
opacity: 0 !important;
}
.box {
border: 1px solid $grey-200;
box-shadow: $shadow-sm;
}