mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
review alina add
This commit is contained in:
parent
5ae6b3c954
commit
e737a3cd82
@ -7,6 +7,15 @@
|
|||||||
@submit="submit"
|
@submit="submit"
|
||||||
>
|
>
|
||||||
<template slot-scope="{ errors }">
|
<template slot-scope="{ errors }">
|
||||||
|
<ds-text v-show="blurImage" class="blur-box" align="right" >
|
||||||
|
<div
|
||||||
|
v-if="contribution && contribution.blurImage"
|
||||||
|
@click.stop.prevent="blurImage = !blurImage"
|
||||||
|
>
|
||||||
|
<img :src="contribution.image | proxyApiUrl" class="blur-img-preview"/>
|
||||||
|
<ds-button class="bluricon-post" icon="ban" primary></ds-button>
|
||||||
|
</div>
|
||||||
|
</ds-text>
|
||||||
<hc-teaser-image
|
<hc-teaser-image
|
||||||
:contribution="contribution"
|
:contribution="contribution"
|
||||||
@addTeaserImage="addTeaserImage"
|
@addTeaserImage="addTeaserImage"
|
||||||
@ -19,15 +28,7 @@
|
|||||||
:src="contribution.image | proxyApiUrl"
|
:src="contribution.image | proxyApiUrl"
|
||||||
/>
|
/>
|
||||||
</hc-teaser-image>
|
</hc-teaser-image>
|
||||||
<ds-text align="right" class="blur-box">
|
|
||||||
<div
|
|
||||||
v-if="contribution && contribution.blurImage"
|
|
||||||
@click.stop.prevent="blurImage = !blurImage"
|
|
||||||
>
|
|
||||||
<img :src="contribution.image | proxyApiUrl" class="blur-img-preview" />
|
|
||||||
<ds-button class="bluricon-post" icon="ban" primary></ds-button>
|
|
||||||
</div>
|
|
||||||
</ds-text>
|
|
||||||
<div style="clear: both" />
|
<div style="clear: both" />
|
||||||
<ds-card>
|
<ds-card>
|
||||||
<ds-text align="right">
|
<ds-text align="right">
|
||||||
@ -40,7 +41,7 @@
|
|||||||
v-model="blurImage"
|
v-model="blurImage"
|
||||||
@change="form.checkbox = blurImage"
|
@change="form.checkbox = blurImage"
|
||||||
/>
|
/>
|
||||||
<label for="blur-img"><span class=""></span></label>
|
|
||||||
<div>
|
<div>
|
||||||
<a href="https://faq.human-connection.org/" target="_blank">
|
<a href="https://faq.human-connection.org/" target="_blank">
|
||||||
<small>
|
<small>
|
||||||
@ -320,7 +321,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.images-set-blur img {
|
|
||||||
|
.images-set-blur.ds-card-image img{
|
||||||
-webkit-filter: blur(32px);
|
-webkit-filter: blur(32px);
|
||||||
-moz-filter: blur(32px);
|
-moz-filter: blur(32px);
|
||||||
-ms-filter: blur(32px);
|
-ms-filter: blur(32px);
|
||||||
@ -332,11 +334,13 @@ export default {
|
|||||||
-o-transition: all ease 0.2s;
|
-o-transition: all ease 0.2s;
|
||||||
transition: all ease 0.2s;
|
transition: all ease 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blur-box {
|
.blur-box {
|
||||||
text-align: right;
|
position: absolute;
|
||||||
position: relative;
|
/* top: -70px; */
|
||||||
top: -70px;
|
/* float: right; */
|
||||||
float: right;
|
z-index: 1000;
|
||||||
|
padding: 20px;
|
||||||
}
|
}
|
||||||
.blur-img-preview {
|
.blur-img-preview {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
|||||||
@ -159,7 +159,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.images-set-blur .ds-card-image img {
|
/*
|
||||||
|
.images-set-blur ~.ds-card-image img {
|
||||||
-webkit-filter: blur(32px);
|
-webkit-filter: blur(32px);
|
||||||
-moz-filter: blur(32px);
|
-moz-filter: blur(32px);
|
||||||
-ms-filter: blur(32px);
|
-ms-filter: blur(32px);
|
||||||
@ -171,6 +172,7 @@ export default {
|
|||||||
-o-transition: all ease 0.2s;
|
-o-transition: all ease 0.2s;
|
||||||
transition: all ease 0.2s;
|
transition: all ease 0.2s;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@ -235,7 +235,8 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.images-set-blur .ds-card-image img {
|
|
||||||
|
.images-set-blur .ds-card-image {
|
||||||
-webkit-filter: blur(22px);
|
-webkit-filter: blur(22px);
|
||||||
-moz-filter: blur(22px);
|
-moz-filter: blur(22px);
|
||||||
-ms-filter: blur(22px);
|
-ms-filter: blur(22px);
|
||||||
@ -247,6 +248,7 @@ export default {
|
|||||||
-o-transition: all ease 0.2s;
|
-o-transition: all ease 0.2s;
|
||||||
transition: all ease 0.2s;
|
transition: all ease 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.blurBox {
|
.blurBox {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user