Bladeren bron

video container

alexlcdee 8 jaren geleden
bovenliggende
commit
94cec0cd2b
4 gewijzigde bestanden met toevoegingen van 30 en 0 verwijderingen
  1. 15 0
      app/assets/styles/content/centerbar/full-news.scss
  2. 15 0
      app/www/css/all.css
  3. 0 0
      app/www/css/all.css.map
  4. 0 0
      app/www/css/all.min.css

+ 15 - 0
app/assets/styles/content/centerbar/full-news.scss

@@ -276,6 +276,21 @@
         }
     }
 
+  &__video {
+    position: relative;
+    width: 100%;
+    height: 0;
+    padding-bottom: 56%;
+
+    iframe {
+      position: absolute;
+      width: 100%;
+      height: 100%;
+      left: 0;
+      top: 0;
+    }
+  }
+
     .fotorama__nav-wrap {
         width: -moz-calc(100% - 80px);
         width: -webkit-calc(100% - 80px);

+ 15 - 0
app/www/css/all.css

@@ -2181,6 +2181,21 @@ body {
     .full-news__gallery-prevs-right:hover {
       background: url("../img/slider/sliderRight-hover.png"); }
 
+.full-news__video {
+    position: relative;
+    width: 100%;
+    height: 0;
+    padding-bottom: 56%;
+}
+
+.full-news__video iframe {
+    position: absolute;
+    width: 100%;
+    height: 100%;
+    left: 0;
+    top: 0;
+}
+
 .full-news .fotorama__nav-wrap {
   width: -moz-calc(100% - 80px);
   width: -webkit-calc(100% - 80px);

File diff suppressed because it is too large
+ 0 - 0
app/www/css/all.css.map


File diff suppressed because it is too large
+ 0 - 0
app/www/css/all.min.css


Some files were not shown because too many files changed in this diff