[ADD] theme saas-12.3
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
'name': 'Avantgarde Theme Blog Plugin',
|
||||
'description': 'Avantgarde Theme Blog Plugin',
|
||||
'category': 'Theme/Hidden',
|
||||
'sequence': 151,
|
||||
'version': '1.1.0',
|
||||
'data': [
|
||||
'views/templates.xml'
|
||||
],
|
||||
'depends': ['theme_avantgarde', 'website_blog'],
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
# Ermin Trevisan <trevi@twanda.com>, 2019
|
||||
# dd5cd5bab88c61e9dedf84f5ea59b147, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: dd5cd5bab88c61e9dedf84f5ea59b147, 2019\n"
|
||||
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr "<i class=\"fa fa-cogs\"/>Optionen"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr "<i class=\"fa fa-paint-brush\"/>Listenstil"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr "Dexter"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr "First is bigger"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr "Lonely Steve"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr "Marley"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr "Silly-Chico"
|
||||
@@ -0,0 +1,60 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,60 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Par défaut"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,61 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
# Yenthe Van Ginneken <yenthespam@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Yenthe Van Ginneken <yenthespam@gmail.com>, 2019\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr "<i class=\"fa fa-cogs\"/>Opties"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr "<i class=\"fa fa-paint-brush\"/>Lijst stijl"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Standaard"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr "Dexter"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr "Eerst is groter"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr "Eenzame Steve"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr "Marley"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr "Gekke-Chico"
|
||||
@@ -0,0 +1,57 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 08:59+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr ""
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_avantgarde_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 08:59+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_avantgarde_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_avantgarde_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr ""
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,185 @@
|
||||
|
||||
@mixin s-latest-posts-js-get-posts-hook {
|
||||
.s_latest_posts_post > div:not(.o_blog_cover_container):not(.js-loading) p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&.effect-dexter .s_latest_posts_post {
|
||||
&::before {
|
||||
content: "";
|
||||
@include o-position-absolute(0, $grid-gutter-width/2, 0, $grid-gutter-width/2);
|
||||
background: linear-gradient(to bottom, darken(theme-color('beta'), 10%) 0%,darken(theme-color('beta'), 30%) 100%);
|
||||
}
|
||||
.thumb {
|
||||
transition: opacity 0.35s;
|
||||
}
|
||||
> div:not(.o_blog_cover_container):not(.js-loading) {
|
||||
padding: 3em;
|
||||
text-align: left;
|
||||
&:after {
|
||||
@include o-position-absolute(auto, 2em, 2em, 2em);
|
||||
height: calc(50% - 2em);
|
||||
border: 2px solid #fff;
|
||||
content: "";
|
||||
transition: transform 0.35s;
|
||||
transform: translate3d(0, -100%, 0);
|
||||
}
|
||||
}
|
||||
p {
|
||||
@include o-position-absolute(auto, 60px, 60px, 60px);
|
||||
opacity: 0;
|
||||
transition: e( "opacity 0.35s linear 0s, transform 0.35s linear 0s");
|
||||
-webkit-transform: translate3d(0,-100px,0);
|
||||
transform: translate3d(0,-100px,0);
|
||||
}
|
||||
&:hover {
|
||||
.thumb {
|
||||
opacity: 0.4!important;
|
||||
}
|
||||
> div:not(.o_blog_cover_container):not(.js-loading)::after {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
p {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.effect-chico {
|
||||
.o_blog_cover_image {
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
transform: scale(1.12);
|
||||
}
|
||||
.s_latest_posts_post > div:not(.o_blog_cover_container):not(.js-loading) {
|
||||
padding: 3em;
|
||||
&::before {
|
||||
@include o-position-absolute(7%, 7%, 7%, 7%);
|
||||
border: 1px solid #fff;
|
||||
content: "";
|
||||
transform: scale(1.1);
|
||||
opacity: 0;
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
}
|
||||
}
|
||||
p {
|
||||
opacity: 0;
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
margin: 10% auto 0 !important;
|
||||
max-width: 200px;
|
||||
transform: scale(1.5);
|
||||
}
|
||||
h2 {
|
||||
padding: 0;
|
||||
}
|
||||
.s_latest_posts_post:hover {
|
||||
.o_blog_cover_image {
|
||||
transform: scale(1);
|
||||
}
|
||||
> div:not(.o_blog_cover_container):not(.js-loading)::before, p {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.effect-marley {
|
||||
.s_latest_posts_post > div:not(.o_blog_cover_container):not(.js-loading) {
|
||||
text-align: right;
|
||||
h2, p {
|
||||
@include o-position-absolute(auto, 30px, auto, 30px);
|
||||
padding: 10px 0;
|
||||
}
|
||||
p {
|
||||
bottom: 30px;
|
||||
line-height: 1.5;
|
||||
-webkit-transform: translate3d(0,100%,0);
|
||||
transform: translate3d(0,100%,0);
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
}
|
||||
h2 {
|
||||
top: 30px;
|
||||
-webkit-transition: -webkit-transform 0.35s;
|
||||
transition: transform 0.35s;
|
||||
-webkit-transform: translate3d(0,20px,0);
|
||||
transform: translate3d(0,20px,0);
|
||||
&:after {
|
||||
@include o-position-absolute(100%, auto, auto, 0);
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
background: #fff;
|
||||
content: "";
|
||||
-webkit-transform: translate3d(0,40px,0);
|
||||
transform: translate3d(0,40px,0);
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
}
|
||||
}
|
||||
}
|
||||
.s_latest_posts_post:hover > div:not(.o_blog_cover_container):not(.js-loading) {
|
||||
h2 {
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
h2::after, p {
|
||||
opacity: 1;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.effect-steve .s_latest_posts_post {
|
||||
z-index: auto;
|
||||
&::before {
|
||||
content: "";
|
||||
@include o-position-absolute(0, $grid-gutter-width/2, 0, $grid-gutter-width/2);
|
||||
background: #000;
|
||||
}
|
||||
> div:not(.o_blog_cover_container):not(.js-loading) {
|
||||
z-index: 1;
|
||||
}
|
||||
.thumb {
|
||||
opacity: 1;
|
||||
transition: transform 0.35s;
|
||||
transform: perspective(1000px) translate3d(0,0,0);
|
||||
}
|
||||
h2, p {
|
||||
background: #fff;
|
||||
color: #2d434e;
|
||||
}
|
||||
h2 {
|
||||
position: relative;
|
||||
margin-top: 0.1em;
|
||||
padding: 0.25em;
|
||||
&:before {
|
||||
box-shadow: 0 1px 10px rgba(0,0,0,0.5);
|
||||
}
|
||||
}
|
||||
p {
|
||||
margin-top: 1em !important;
|
||||
padding: 0.5em;
|
||||
font-weight: 800;
|
||||
opacity: 0;
|
||||
transition: opacity 0.35s, transform 0.35s;
|
||||
transform: scale3d(0.9,0.9,1);
|
||||
}
|
||||
&:hover {
|
||||
h2:before {
|
||||
opacity: 0;
|
||||
}
|
||||
.thumb {
|
||||
transform: perspective(1000px) translate3d(0,0,21px);
|
||||
}
|
||||
p {
|
||||
opacity: 1;
|
||||
transform: scale3d(1,1,1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.first_is_big .s_latest_posts_post:first-child {
|
||||
flex: 0 0 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
// =============================
|
||||
// s_latest_posts_big_orizontal
|
||||
// =============================
|
||||
|
||||
.s_latest_posts_big_orizontal {
|
||||
.o_blog_cover_container {
|
||||
position: relative;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
|
||||
> .o_blog_cover_component {
|
||||
@include o-position-absolute(0, 0, 0, 0);
|
||||
}
|
||||
> .o_blog_cover_image {
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
.js_get_posts {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
text-align: left;
|
||||
.s_latest_posts_post {
|
||||
//display: table-cell;
|
||||
flex-grow: 1;
|
||||
position: relative;
|
||||
figcaption:after {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
h4 {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
padding-right: 5%;
|
||||
&:before {
|
||||
content: "";
|
||||
z-index: 0;
|
||||
display: inline;
|
||||
float: left;
|
||||
width: 20%;
|
||||
position: absolute;
|
||||
top: 49%;
|
||||
left: 0;
|
||||
border-bottom: 1px solid $body-color;
|
||||
}
|
||||
a {
|
||||
z-index: 1;
|
||||
display: block;
|
||||
line-height: 1;
|
||||
padding-left: 25%;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
h5 {
|
||||
padding-left: 24%;
|
||||
}
|
||||
> a {
|
||||
bottom: 0;
|
||||
display: block;
|
||||
background: theme-color('alpha');
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
> div {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
transform-origin: 50%;
|
||||
transition: all 400ms;
|
||||
backface-visibility: hidden;
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(sm) {
|
||||
display: inline-block;
|
||||
margin-bottom: 2em;
|
||||
width: 50%;
|
||||
}
|
||||
@media only screen and (max-width : 480px) { // FIXME
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(sm) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_primary_variables" inherit_id="website_blog._assets_primary_variables">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_avantgarde_blog/static/src/scss/primary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_frontend" inherit_id="theme_avantgarde.assets_frontend">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_avantgarde_blog/static/src/scss/s_latest_posts.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Snippet's Options -->
|
||||
<template id="s_latest_posts_big_picture_options" inherit_id="website_blog.s_latest_posts_options">
|
||||
<xpath expr="//div[@data-js='js_get_posts_selectBlog']" position="before">
|
||||
<div data-js='s_latest_posts_style' data-selector=".s_latest_posts_big_picture .js_get_posts">
|
||||
<div class="dropdown-submenu">
|
||||
<a tabindex="-1" href="#" class="dropdown-item"><i class="fa fa-paint-brush"/>List Style</a>
|
||||
<div class="dropdown-menu">
|
||||
<a href="#" class="dropdown-item" data-select-class="">Default</a>
|
||||
<a href="#" class="dropdown-item" data-select-class="effect-marley">Marley</a>
|
||||
<a href="#" class="dropdown-item" data-select-class="effect-dexter">Dexter</a>
|
||||
<a href="#" class="dropdown-item" data-select-class="effect-chico">Silly-Chico</a>
|
||||
<a href="#" class="dropdown-item" data-select-class="effect-steve">Lonely Steve</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div data-js='s_latest_posts_options' data-selector=".s_latest_posts_big_picture .js_get_posts">
|
||||
<div class="dropdown-submenu">
|
||||
<a tabindex="-1" href="#" class="dropdown-item"><i class="fa fa-cogs"/>Options</a>
|
||||
<div class="dropdown-menu">
|
||||
<a href="#" class="dropdown-item" data-toggle-class="first_is_big">First is bigger</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Latest posts's Orizzontal big images Template -->
|
||||
|
||||
<!-- Snippet's Body -->
|
||||
<template id="s_latest_posts_big_orizontal" name="Latest Posts Horizontal">
|
||||
<section class="s_latest_posts_big_orizontal">
|
||||
<div class="js_get_posts container-fluid" data-loading="true" data-template="theme_avantgarde_blog.s_latest_posts_big_orizontal_template"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<!-- Latest posts's Template -->
|
||||
<template id="s_latest_posts_big_orizontal_template">
|
||||
<t t-foreach="posts" t-as="p">
|
||||
<t t-set="properties" t-value="json.loads(p.cover_properties)"/>
|
||||
<figure class="post s_latest_posts_post">
|
||||
<figcaption>
|
||||
<h4 class="mb0"><a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)"><t t-esc="p.name"/></a></h4>
|
||||
<h5 class="mt0 mb4" t-field="p.write_date" t-options='{"format": "dd/MM"}' />
|
||||
</figcaption>
|
||||
<a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)">
|
||||
<t t-call="website_blog.blog_cover">
|
||||
<t t-set="cover_properties" t-value="properties"/>
|
||||
<t t-set="additionnal_classes" t-value="'loading_container thumb'"/>
|
||||
</t>
|
||||
</a>
|
||||
</figure>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="s_latest_posts_place_in_tab" inherit_id="website_blog.website_blog">
|
||||
<xpath expr="//t[@t-snippet='website_blog.s_latest_posts']" position="before">
|
||||
<t t-snippet="theme_avantgarde_blog.s_latest_posts_big_orizontal" t-thumbnail="/theme_avantgarde_blog/static/src/img/ui/s_latest_posts_horizontal.jpg"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user