Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be24a293 authored by smain@google.com's avatar smain@google.com Committed by Android Git Automerger
Browse files

am e7b99103: am cf6ecd9f: am 2a87b781: am 698fff02: add style and script to...

am e7b99103: am cf6ecd9f: am 2a87b781: am 698fff02: add style and script to play videos in a shadowbox anytime that a link appears in the page with class "video-shadowbox-button" the link must also have the youtube video set in the href with the ?v parameter

* commit 'e7b99103':
  add style and script to play videos in a shadowbox anytime that a link appears in the page with class "video-shadowbox-button" the link must also have the youtube video set in the href with the ?v parameter
parents c0c47561 e7b99103
Loading
Loading
Loading
Loading
+50 −13
Original line number Diff line number Diff line
@@ -6955,30 +6955,67 @@ a.landing-button:visited {
}

#video-frame {
  width:940px;
  height:526.4px;
  margin:80px auto 0;
  width:948px;
  height:529px;
  margin:32px auto 0;
  display:none;
}

.video-close {
  cursor: pointer;
  position: relative;
left: 940px;
top: 0;
  left: 948px;
  top: -8px;
  pointer-events: all;
}

#icon-video-close {
background-image: url("../images/close.png");
  background-image: url("../images/close-white.png");
  background-image: -webkit-image-set(url(../images/close-white.png) 1x, url(../images/close-white_2x.png) 2x);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 36px 36px;
  height: 36px;
  width: 36px;
  display:block;
}

#icon-video-close:hover {
  background-image: url("../images/close-grey.png");
  background-image: -webkit-image-set(url(../images/close-grey.png) 1x, url(../images/close-grey_2x.png) 2x);
}

/* Preload the hover images */
a.video-shadowbox-button.white:after {
  display:none;
  content:url("../images/close-grey.png") url("../images/close-grey_2x.png");
}

a.video-shadowbox-button.white {
  background-image: url("../images/play-circle-white.png");
  background-image: -webkit-image-set(url(../images/play-circle-white.png) 1x, url(../images/play-circle-white_2x.png) 2x);
  background-size: 36px 36px;
  background-repeat: no-repeat;
  background-position: right;
  padding: 16px 42px 16px 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
  text-decoration:none;
}

a.video-shadowbox-button.white:hover {
  color:#bababa !important;
  background-image: url("../images/play-circle-grey.png");
  background-image: -webkit-image-set(url(../images/play-circle-grey.png) 1x, url(../images/play-circle-grey_2x.png) 2x);
}

/* Preload the hover images */
a.video-shadowbox-button.white:after {
  display:none;
  content:url("../images/play-circle-grey.png") url("../images/play-circle-grey_2x.png");
}

/******************
Styles for d.a.c/index:
+379 B
Loading image diff...
+830 B
Loading image diff...
+292 B
Loading image diff...
+586 B
Loading image diff...
Loading