mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Feature/578 prettier.io formatting (#585)
* Reformatted codebase using prettier.io (should not change functional behavior) * Formatted README.md, added CONTRIBUTING.md, .prettierrc configuration file, and installed pre-commit hook
This commit is contained in:
21
inject.css
21
inject.css
@@ -1,8 +1,12 @@
|
||||
.vsc-nosource { display: none !important; }
|
||||
.vsc-hidden { display: none !important; }
|
||||
.vsc-nosource {
|
||||
display: none !important;
|
||||
}
|
||||
.vsc-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
.vsc-manual {
|
||||
visibility: visible !important;
|
||||
opacity: 1.0 !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Origin specific overrides */
|
||||
@@ -14,13 +18,13 @@
|
||||
|
||||
.ytp-autohide .vsc-controller {
|
||||
visibility: hidden;
|
||||
transition: opacity .25s cubic-bezier(0.4,0,0.2,1);
|
||||
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.ytp-autohide .vcs-show {
|
||||
visibility: visible;
|
||||
opacity: 1.0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* YouTube embedded player */
|
||||
@@ -32,8 +36,8 @@
|
||||
|
||||
/* Facebook player */
|
||||
#facebook .vsc-controller {
|
||||
position: relative;
|
||||
top: 40px;
|
||||
position: relative;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
/* Google Photos player */
|
||||
@@ -76,7 +80,8 @@ div.video-wrapper + div.target {
|
||||
}
|
||||
|
||||
/* Fix black overlay on Kickstarter */
|
||||
div.video-player.has_played.vertically_center:before, div.legacy-video-player.has_played.vertically_center:before {
|
||||
div.video-player.has_played.vertically_center:before,
|
||||
div.legacy-video-player.has_played.vertically_center:before {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user