add explicit hide/close button

This commit is contained in:
Ilya Grigorik
2015-05-14 23:42:12 -07:00
parent 878af302c0
commit 9a7cd25d50
2 changed files with 12 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
margin: 10px;
line-height: 1.8em;
cursor: pointer;
cursor: default;
z-index: 9999999;
opacity: 0.3;
@@ -20,9 +20,6 @@
font-size: 13px;
}
.tc-videoController button {
}
.tc-videoController:hover {
opacity: 0.7;
}
@@ -37,6 +34,7 @@
}
.tc-controls button {
cursor: pointer;
color: black !important;
background: white !important;
font-weight: bold !important;
@@ -47,6 +45,11 @@
line-height: 15px !important;
}
.tc-videoController button.tc-hideButton {
margin: 0 2px 0 20px !important;
opacity: 0.8;
}
/* shift controller when YouTube infobar is present */
.ytp-block-autohide:not(.el-detailpage):not(.hide-info-bar) .tc-videoController {
margin-top: 40px;