summaryrefslogtreecommitdiff
path: root/addons/website/static/src/scss/website.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/scss/website.scss')
-rw-r--r--addons/website/static/src/scss/website.scss22
1 files changed, 21 insertions, 1 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss
index b5ce0126afb..e2866e56a89 100644
--- a/addons/website/static/src/scss/website.scss
+++ b/addons/website/static/src/scss/website.scss
@@ -14,7 +14,7 @@ $-font-numbers: (
$-seen: append($-seen, $-number);
$-theme-font: nth($o-theme-font-urls, $-number);
@if $-theme-font {
- @import url("https://fonts.googleapis.com/css?family=#{unquote($-theme-font)}");
+ @import url("https://fonts.googleapis.com/css?family=#{unquote($-theme-font)}&display=swap");
}
}
}
@@ -257,6 +257,26 @@ font[class*='bg-'] {
}
}
+// Background videos
+.o_background_video {
+ position: relative;
+
+ > * {
+ position: relative;
+ }
+}
+.o_bg_video_container {
+ @include o-position-absolute(0, 0 ,0 ,0);
+ overflow: hidden;
+}
+.o_bg_video_iframe {
+ position: relative;
+ pointer-events: none !important;
+}
+.o_bg_video_loading {
+ @include o-position-absolute(0, 0 ,0 ,0);
+}
+
// Probably outdated
// Lists
.o_ul_toggle {