summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/static/src/less/website_theme_install.less
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-01-05 15:51:49 +0100
committerChristophe Simonis <chs@odoo.com>2016-01-05 15:51:49 +0100
commit31ce19bd7c8ff90aa3a3f34ba13dfbbe00865b3b (patch)
tree4f24c985d7f4f7d08af1830f8199b120f35018f7 /addons/website_theme_install/static/src/less/website_theme_install.less
parent9b5311e0c94ea2b3ad6c36bc9a4ea63228779b66 (diff)
parent97e87a42cdfaed04a6f50d928d86ac6e3bec9f91 (diff)
[MERGE] forward port of branch 9.0 up to 97e87a4
Diffstat (limited to 'addons/website_theme_install/static/src/less/website_theme_install.less')
-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);
+ }
+ }
+ }
+}