Parcourir la source

video container

alexlcdee il y a 8 ans
Parent
commit
94cec0cd2b

+ 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);

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
app/www/css/all.css.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
app/www/css/all.min.css


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff