From 95e56a109d5abc97ab7db1ee1c9b9efb66a7e362 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 6 Jul 2015 17:39:19 +0200 Subject: [ADD] doc: new theme Pretty much completely rewritten theme with custom HTML translator and a few parts of the old theme extracted to their own extensions. Banner images thought not to be that huge after all, and not worth the hassle of them living in a different repository. co-authored with @stefanorigano --- .../bootstrap-3.3.4/less/responsive-embed.less | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less (limited to 'doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less') diff --git a/doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less b/doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less new file mode 100755 index 00000000000..080a5118fe9 --- /dev/null +++ b/doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less @@ -0,0 +1,35 @@ +// Embeds responsive +// +// Credit: Nicolas Gallagher and SUIT CSS. + +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; + + .embed-responsive-item, + iframe, + embed, + object, + video { + position: absolute; + top: 0; + left: 0; + bottom: 0; + height: 100%; + width: 100%; + border: 0; + } +} + +// Modifier class for 16:9 aspect ratio +.embed-responsive-16by9 { + padding-bottom: 56.25%; +} + +// Modifier class for 4:3 aspect ratio +.embed-responsive-4by3 { + padding-bottom: 75%; +} -- cgit v1.2.3