summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/static/src
diff options
context:
space:
mode:
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);
+ }
+ }
+ }
+}