2018-11-20 21:11:00 +01:00
|
|
|
<template>
|
2019-07-05 14:47:18 +02:00
|
|
|
<mfm-core v-bind="$attrs" class="havbbuyv" :class="{ plain: $attrs['plain-text'] }" v-once/>
|
2018-11-20 21:11:00 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2019-01-19 00:45:12 +01:00
|
|
|
import MfmCore from './mfm';
|
2018-11-20 21:11:00 +01:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
components: {
|
2019-01-19 00:45:12 +01:00
|
|
|
MfmCore
|
2018-11-20 21:11:00 +01:00
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
|
|
.havbbuyv
|
2019-07-02 13:52:37 +02:00
|
|
|
white-space pre-wrap
|
|
|
|
|
2019-07-05 14:47:18 +02:00
|
|
|
&.plain
|
|
|
|
white-space pre
|
|
|
|
|
2018-11-20 21:11:00 +01:00
|
|
|
>>> .title
|
|
|
|
display block
|
|
|
|
margin-bottom 4px
|
|
|
|
padding 4px
|
|
|
|
font-size 90%
|
|
|
|
text-align center
|
|
|
|
background var(--mfmTitleBg)
|
|
|
|
border-radius 4px
|
|
|
|
|
|
|
|
>>> .quote
|
|
|
|
margin 8px
|
2018-11-25 05:47:42 +01:00
|
|
|
padding 6px 0 6px 12px
|
2018-11-20 21:11:00 +01:00
|
|
|
color var(--mfmQuote)
|
|
|
|
border-left solid 3px var(--mfmQuoteLine)
|
|
|
|
|
2019-01-27 12:03:58 +01:00
|
|
|
>>> pre code
|
|
|
|
font-size 80%
|
|
|
|
|
2018-11-20 21:11:00 +01:00
|
|
|
</style>
|