summaryrefslogtreecommitdiff
path: root/doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-07-06 17:39:19 +0200
committerXavier Morel <xmo@odoo.com>2015-07-07 11:22:50 +0200
commit95e56a109d5abc97ab7db1ee1c9b9efb66a7e362 (patch)
treeeed458208184022af42b119d9c26219716c67fab /doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less
parentb4efb4eeb3e0e7b27a113ad914d5a18e50f8718d (diff)
[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
Diffstat (limited to 'doc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less')
-rwxr-xr-xdoc/_extensions/odoo/static/bootstrap-3.3.4/less/responsive-embed.less35
1 files changed, 35 insertions, 0 deletions
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%;
+}