[ADD] theme 12.0
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
'name': 'Graphene Theme Blog Plugin',
|
||||
'description': 'Graphene Theme Blog Plugin',
|
||||
'category': 'Theme/Hidden',
|
||||
'sequence': 111,
|
||||
'version': '1.1.0',
|
||||
'data': [
|
||||
'views/templates.xml'
|
||||
],
|
||||
'depends': ['theme_graphene', 'website_blog'],
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_graphene_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 09:02+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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr "<i class=\"fa fa-cogs\"/>Optionen"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr "Dexter"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr "First is bigger"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr "Lonely Steve"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr "Marley"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr "Silly-Chico"
|
||||
@@ -0,0 +1,61 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_graphene_blog
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
# Alejandro Pérez Torregrosa <alejandropereztorregrosa@gmail.com>, 2020
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:02+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Alejandro Pérez Torregrosa <alejandropereztorregrosa@gmail.com>, 2020\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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr "<i class=\"fa fa-cogs\"/>Opciones"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr "<i class=\"fa fa-paint-brush\"/>Estilo de Lista"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_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 09:02+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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Par défaut"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_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 09:02+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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr "<i class=\"fa fa-cogs\"/>Opties"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "Standaard"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr "Dexter"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr "Eerst is groter"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr "Eenzame Steve"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr "Marley"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_blog
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:02+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 09:02+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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_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_graphene_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 09:02+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_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-cogs\"/>Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "<i class=\"fa fa-paint-brush\"/>List Style"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Dexter"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "First is bigger"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Lonely Steve"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Marley"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_graphene_blog
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_graphene_blog.s_latest_posts_big_picture_options
|
||||
msgid "Silly-Chico"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,31 @@
|
||||
odoo.define("theme_graphene_blog.editor", function (require) {
|
||||
"use strict";
|
||||
|
||||
var s_options = require('web_editor.snippets.options');
|
||||
require("website_blog.editor");
|
||||
require("web_editor.base");
|
||||
|
||||
var $wrapwrap = $("#wrapwrap");
|
||||
var $wrap = $("#wrap");
|
||||
|
||||
// Preview blog post's cover layouts
|
||||
s_options.registry.blog_cover.include({
|
||||
clear: function (previewMode, value, $li) {
|
||||
this._super.apply(this, arguments);
|
||||
this._preview_layout();
|
||||
},
|
||||
selectClass: function () {
|
||||
this._super.apply(this, arguments);
|
||||
this._preview_layout();
|
||||
},
|
||||
_preview_layout: function () {
|
||||
if (this.$target.hasClass("cover_full")) {
|
||||
$wrapwrap.addClass("o_header_overlay");
|
||||
$wrap.css("margin-top", this.$target.outerHeight() * 0.8);
|
||||
} else {
|
||||
$wrapwrap.removeClass("o_header_overlay");
|
||||
$wrap.css("margin-top", "");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
#wrapwrap.o_header_overlay #wrap {
|
||||
> div#title.blog_header {
|
||||
@include graphene-top-content;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#title.blog_header {
|
||||
.cover.cover_full {
|
||||
height: 75vh;
|
||||
@include graphene-top-content;
|
||||
}
|
||||
.blog_title {
|
||||
min-height: 300px;
|
||||
top: 0;
|
||||
margin-top: 15%;
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
margin-top: 25%;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
margin-top: 30%;
|
||||
}
|
||||
}
|
||||
> .container:not(.cover) {
|
||||
z-index: 2;
|
||||
|
||||
#change_cover, .js_publish_management {
|
||||
top: -150px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#blog_content {
|
||||
background: #FEFEFE;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
margin-top: 0 !important;
|
||||
padding: $grid-gutter-width/2;
|
||||
}
|
||||
|
||||
.readable {
|
||||
@include media-breakpoint-down(sm) {
|
||||
font-size: 110%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#title.blog_header {
|
||||
.cover.cover_narrow {
|
||||
width: 100%;
|
||||
height: 350px;
|
||||
height: 35vh;
|
||||
|
||||
&.container-fluid {
|
||||
height: 450px;
|
||||
height: 45vh;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
|
||||
@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");
|
||||
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,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_secondary_variables" inherit_id="theme_graphene._assets_secondary_variables">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_graphene_blog/static/src/scss/secondary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_frontend" inherit_id="theme_graphene.assets_frontend">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_graphene_blog/static/src/scss/graphene.blog.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_editor" inherit_id="theme_graphene.assets_editor">
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/theme_graphene_blog/static/src/js/graphene.blog.editor.js"/>
|
||||
</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>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user