2020-11-25 13:31:34 +01:00
|
|
|
<template>
|
2021-11-19 11:36:12 +01:00
|
|
|
<div v-size="{ max: [400] }" class="rbusrurv" :class="{ wide: forceWide }">
|
2020-11-25 13:31:34 +01:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from 'vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
props: {
|
|
|
|
forceWide: {
|
|
|
|
type: Boolean,
|
|
|
|
required: false,
|
|
|
|
default: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.rbusrurv {
|
2021-04-11 14:09:35 +02:00
|
|
|
// 他のCSSからも参照されるので消さないように
|
2021-09-29 17:50:45 +02:00
|
|
|
--debobigegoXPadding: 32px;
|
|
|
|
--debobigegoYPadding: 32px;
|
2021-04-11 14:09:35 +02:00
|
|
|
|
2021-09-29 17:50:45 +02:00
|
|
|
--debobigegoContentHMargin: 16px;
|
2021-04-22 15:29:33 +02:00
|
|
|
|
2021-04-16 16:26:01 +02:00
|
|
|
font-size: 95%;
|
2021-04-12 16:13:58 +02:00
|
|
|
line-height: 1.3em;
|
2020-11-25 13:31:34 +01:00
|
|
|
background: var(--bg);
|
2021-09-29 17:50:45 +02:00
|
|
|
padding: var(--debobigegoYPadding) var(--debobigegoXPadding);
|
2021-04-16 16:26:01 +02:00
|
|
|
max-width: 750px;
|
|
|
|
margin: 0 auto;
|
2020-11-25 13:31:34 +01:00
|
|
|
|
|
|
|
&:not(.wide).max-width_400px {
|
2021-09-29 17:50:45 +02:00
|
|
|
--debobigegoXPadding: 0px;
|
2020-11-25 13:31:34 +01:00
|
|
|
|
|
|
|
> ::v-deep(*) {
|
2021-09-29 17:50:45 +02:00
|
|
|
._debobigegoPanel {
|
2020-11-25 13:31:34 +01:00
|
|
|
border: solid 0.5px var(--divider);
|
|
|
|
border-radius: 0;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2021-09-29 17:50:45 +02:00
|
|
|
._debobigego_group {
|
|
|
|
> *:not(._debobigegoNoConcat) {
|
|
|
|
&:not(:last-child):not(._debobigegoNoConcatPrev) {
|
|
|
|
&._debobigegoPanel, ._debobigegoPanel {
|
2021-04-16 10:34:06 +02:00
|
|
|
border-bottom: solid 0.5px var(--divider);
|
2020-11-25 13:31:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-29 17:50:45 +02:00
|
|
|
&:not(:first-child):not(._debobigegoNoConcatNext) {
|
|
|
|
&._debobigegoPanel, ._debobigegoPanel {
|
2021-04-16 10:34:06 +02:00
|
|
|
border-top: none;
|
2020-11-25 13:31:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|