2017-06-23 21:00:42 +00:00
|
|
|
<template>
|
2017-06-29 21:26:57 +00:00
|
|
|
<div class="main library pusher">
|
2017-12-17 18:42:58 +00:00
|
|
|
<router-view :key="$route.fullPath"></router-view>
|
2017-06-23 21:00:42 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2018-05-24 20:39:32 +00:00
|
|
|
computed: {
|
2018-11-19 22:33:22 +00:00
|
|
|
showImports() {
|
|
|
|
return (
|
|
|
|
this.$store.state.auth.availablePermissions["upload"] ||
|
|
|
|
this.$store.state.auth.availablePermissions["library"]
|
|
|
|
)
|
|
|
|
},
|
|
|
|
labels() {
|
|
|
|
return {
|
2019-02-14 09:40:20 +00:00
|
|
|
secondaryMenu: this.$pgettext('Menu/*/Hidden text', "Secondary menu")
|
2018-11-19 22:33:22 +00:00
|
|
|
}
|
2018-05-24 20:39:32 +00:00
|
|
|
}
|
|
|
|
}
|
2017-06-23 21:00:42 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
|
<style lang="scss">
|
2018-11-19 22:33:22 +00:00
|
|
|
@import "../../style/vendor/media";
|
2018-02-15 21:34:14 +00:00
|
|
|
|
2017-06-29 21:26:57 +00:00
|
|
|
.library {
|
2017-06-23 21:00:42 +00:00
|
|
|
.ui.segment.head {
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
padding: 0;
|
|
|
|
.segment-content {
|
|
|
|
margin: 0 auto;
|
2018-02-15 21:34:14 +00:00
|
|
|
padding: 2em;
|
|
|
|
@include media(">tablet") {
|
|
|
|
padding: 4em;
|
|
|
|
}
|
2017-06-23 21:00:42 +00:00
|
|
|
}
|
|
|
|
&.with-background {
|
|
|
|
.header {
|
2018-11-19 22:33:22 +00:00
|
|
|
&,
|
|
|
|
.sub {
|
2017-06-23 21:00:42 +00:00
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.segment-content {
|
2018-11-19 22:33:22 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
2017-06-23 21:00:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 20:16:23 +00:00
|
|
|
}
|
2017-06-23 21:00:42 +00:00
|
|
|
</style>
|