summaryrefslogtreecommitdiff
path: root/addons/website/static/src/less
diff options
context:
space:
mode:
authorSagar Ahirrao <sah@odoo.com>2017-02-28 18:50:20 +0530
committerqsm-odoo <qsm@odoo.com>2017-06-01 17:22:45 +0200
commit5d15bd76c67e72a0eb6fd5e1b99037a3ffa7c5c4 (patch)
treeb082b4dc6e602ff6a58f181676a3b82f55c5c737 /addons/website/static/src/less
parentd18346a103acb13987c104ec580ec86d7bc93f9d (diff)
[IMP] website: add "Company Team" snippet
Introduce a new snippet to show the company team. This commit also introduces a new classe "s_no_resize_cols" to put on a .row element to prevent the size and margins options to be used on the .col-* children. This allows to build some complex layout without having a deep hierarchy of snippet options.
Diffstat (limited to 'addons/website/static/src/less')
-rw-r--r--addons/website/static/src/less/website.snippets.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/website/static/src/less/website.snippets.less b/addons/website/static/src/less/website.snippets.less
index aa9704f2002..0171b7eb9c4 100644
--- a/addons/website/static/src/less/website.snippets.less
+++ b/addons/website/static/src/less/website.snippets.less
@@ -416,3 +416,13 @@ div.carousel {
.s_parallax {
min-height: 200px;
}
+
+// Company Team
+
+.s_company_team {
+ @media (max-width: @screen-sm-max) {
+ img {
+ max-width: 50%;
+ }
+ }
+}