improve fonts on controller

This commit is contained in:
Ilya Grigorik
2016-05-14 15:45:17 -07:00
parent ba511724e7
commit 425ab8f59d
2 changed files with 9 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
z-index: 9999999; z-index: 9999999;
opacity: 0.3; opacity: 0.3;
font-family: Verdana; font-family: Verdana, Geneva, sans-serif;
font-size: 13px; font-size: 13px;
} }
@@ -43,12 +43,16 @@
font-size: 14px !important; font-size: 14px !important;
line-height: 14px !important; line-height: 14px !important;
border: 1px solid white !important; border: 1px solid white !important;
font-family: Verdana !important; font-family: "Lucida Console", Monaco, monospace !important;
}
.tc-videoController button.rw {
opacity: 0.65;
} }
.tc-videoController button.tc-hideButton { .tc-videoController button.tc-hideButton {
margin: 0 2px 0 20px !important; margin: 0 2px 0 20px !important;
opacity: 0.7; opacity: 0.5;
} }
/* YouTube player */ /* YouTube player */

View File

@@ -78,9 +78,11 @@ chrome.extension.sendMessage({}, function(response) {
var hideButton = document.createElement('button'); var hideButton = document.createElement('button');
rewindButton.innerHTML = '«'; rewindButton.innerHTML = '«';
rewindButton.className = 'rw';
fasterButton.textContent = '+'; fasterButton.textContent = '+';
slowerButton.textContent = '-'; slowerButton.textContent = '-';
advanceButton.innerHTML = '»'; advanceButton.innerHTML = '»';
advanceButton.className = 'rw';
hideButton.textContent = 'x'; hideButton.textContent = 'x';
hideButton.className = 'tc-hideButton'; hideButton.className = 'tc-hideButton';