summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2015-12-24 12:56:48 +0100
committerqsm-odoo <qsm@odoo.com>2016-01-04 15:49:15 +0100
commit113dad25764455ff9ef52bde51fa3516387a4bf2 (patch)
tree0bb53c631675a4de5d6f6090c6cbd3bd7903d443 /addons/website_theme_install/static/src
parentf731217a0d33f67e8553fb17ac4de14b31aca20f (diff)
[ADD] website_theme_install (+ base: remove comment)
New module to propose theme installation on website installation.
Diffstat (limited to 'addons/website_theme_install/static/src')
-rw-r--r--addons/website_theme_install/static/src/less/website_theme_install.less43
1 files changed, 43 insertions, 0 deletions
diff --git a/addons/website_theme_install/static/src/less/website_theme_install.less b/addons/website_theme_install/static/src/less/website_theme_install.less
new file mode 100644
index 00000000000..c780aa2abf9
--- /dev/null
+++ b/addons/website_theme_install/static/src/less/website_theme_install.less
@@ -0,0 +1,43 @@
+.o_kanban_view.o_theme_kanban {
+ &.o_kanban_ungrouped {
+ .o-justify-content(center);
+
+ .o_kanban_record {
+ .o-flex(0, 0, auto);
+ width: 100%;
+ @media (min-width: @screen-sm-min) {
+ width: 45%;
+ }
+ }
+ }
+
+ .o_kanban_record {
+ padding: 0;
+
+ position: relative;
+ overflow: hidden;
+ .o_button_area {
+ .o-position-absolute(@bottom: -100px, @right: 0);
+ .o-transition(bottom, 400ms, ease);
+ width: 100%;
+ padding: @odoo-horizontal-padding/2;
+ background-color: fade(@odoo-brand-secondary, 70%);
+ text-align: right;
+ }
+ &:hover .o_button_area {
+ bottom: 0;
+ }
+
+ > div {
+ width: 100%;
+ padding-bottom: 50%;
+ background-repeat: no-repeat;
+ background-position: center center;
+ .o-background-size(auto 90%);
+
+ &.o_screenshot {
+ .o-background-size(cover);
+ }
+ }
+ }
+}