mirror of https://github.com/FreeTubeApp/FreeTube
295 lines
4.6 KiB
CSS
295 lines
4.6 KiB
CSS
/*
|
|
This file is part of FreeTube.
|
|
|
|
FreeTube is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
FreeTube is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with FreeTube. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 41.25vw;
|
|
}
|
|
|
|
#main {
|
|
margin-top: 80px;
|
|
margin-left: 250px;
|
|
}
|
|
|
|
.videoPlayer {
|
|
width: 100%;
|
|
height: 100%;
|
|
touch-action: none;
|
|
}
|
|
|
|
#player {
|
|
min-width: 100%;
|
|
}
|
|
|
|
#legacyPlayer {
|
|
max-height: 80vh;
|
|
}
|
|
|
|
.statistics {
|
|
padding: 20px;
|
|
padding-bottom: 45px;
|
|
}
|
|
|
|
.title {
|
|
font-weight: bold;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.views {
|
|
margin-top: -10px;
|
|
float: left;
|
|
}
|
|
|
|
.details {
|
|
padding: 15px;
|
|
}
|
|
|
|
.likeContainer {
|
|
width: 300px;
|
|
float: right;
|
|
}
|
|
|
|
.likes {
|
|
float: left;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dislikes {
|
|
float: right;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dislikeBar {
|
|
background-color: #9E9E9E;
|
|
width: 300px;
|
|
height: 5px;
|
|
margin-bottom: 5px;
|
|
border-radius: 200px 200px 200px 200px;
|
|
-webkit-border-radius: 200px 200px 200px 200px;
|
|
}
|
|
|
|
.likeBar {
|
|
height: 5px;
|
|
background-color: #2196F3;
|
|
border-radius: 200px 200px 200px 200px;
|
|
-webkit-border-radius: 200px 200px 200px 200px;
|
|
}
|
|
|
|
#channelIcon {
|
|
float: left;
|
|
width: 80px;
|
|
border-radius: 200px 200px 200px 200px;
|
|
-webkit-border-radius: 200px 200px 200px 200px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#comments .line {
|
|
clear: both;
|
|
height: 1px;
|
|
background: #d8d8d8;
|
|
}
|
|
|
|
.userIcon {
|
|
float: left;
|
|
width: 48px;
|
|
border-radius: 200px 200px 200px 200px;
|
|
-webkit-border-radius: 200px 200px 200px 200px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#channelName {
|
|
font-weight: bold;
|
|
margin-left: 95px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#publishDate {
|
|
margin-left: 95px;
|
|
font-size: 13px;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
#description {
|
|
white-space: pre-line;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.playerSubButton {
|
|
float: right;
|
|
width: 195px;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
text-align: center;
|
|
margin-top: -65px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.smallButton {
|
|
float: right;
|
|
height: 30px;
|
|
font-size: 10px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
margin-right: 5px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.videoQuality {
|
|
width: 102px;
|
|
}
|
|
|
|
.videoQuality:hover .qualityTypes {
|
|
visibility: visible;
|
|
}
|
|
|
|
.qualityTypes {
|
|
visibility: hidden;
|
|
width: 132px;
|
|
position: relative;
|
|
bottom: 10px;
|
|
right: 15px;
|
|
}
|
|
|
|
.qualityTypes ul {
|
|
list-style-type: none;
|
|
position: relative;
|
|
right: 24px;
|
|
}
|
|
|
|
.qualityTypes ul li {
|
|
width: 132px;
|
|
position: relative;
|
|
right: 15px;
|
|
}
|
|
|
|
.videoSpeed {
|
|
width: 92px;
|
|
}
|
|
|
|
.videoSpeed:hover .speedTypes {
|
|
visibility: visible;
|
|
}
|
|
|
|
.speedTypes {
|
|
visibility: hidden;
|
|
width: 122px;
|
|
position: relative;
|
|
bottom: 10px;
|
|
right: 15px;
|
|
}
|
|
|
|
.speedTypes ul {
|
|
list-style-type: none;
|
|
position: relative;
|
|
right: 24px;
|
|
}
|
|
|
|
.speedTypes ul li {
|
|
width: 122px;
|
|
position: relative;
|
|
right: 15px;
|
|
}
|
|
|
|
.shareButton {
|
|
width: 92px;
|
|
}
|
|
|
|
.shareButton:hover .shareTypes {
|
|
visibility: visible;
|
|
}
|
|
|
|
.shareTypes {
|
|
visibility: hidden;
|
|
width: 122px;
|
|
position: relative;
|
|
bottom: 10px;
|
|
right: 15px;
|
|
}
|
|
|
|
.shareTypes ul {
|
|
list-style-type: none;
|
|
position: relative;
|
|
right: 24px;
|
|
}
|
|
|
|
.shareTypes ul li {
|
|
width: 122px;
|
|
position: relative;
|
|
right: 15px;
|
|
}
|
|
|
|
#showComments {
|
|
text-align: center;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#recommendations {
|
|
width: 100%;
|
|
}
|
|
|
|
.recommendVideo {
|
|
cursor: pointer;
|
|
height: 150px;
|
|
}
|
|
|
|
.recommendThumbnail {
|
|
width: 250px;
|
|
height: 145px;
|
|
float: left;
|
|
}
|
|
|
|
.recommendThumbnail img {
|
|
width: 100%;
|
|
}
|
|
|
|
.recommendThumbnail i {
|
|
color: white;
|
|
background-color: black;
|
|
padding: 6px;
|
|
opacity: 0.7;
|
|
position: relative;
|
|
}
|
|
|
|
.recommendVideoSave {
|
|
bottom: 145px;
|
|
left: 222px;
|
|
}
|
|
|
|
.recommendTitle {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
margin-left: 260px;
|
|
}
|
|
|
|
.recommendChannel {
|
|
margin-left: 260px;
|
|
font-size: 14px;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.recommendDate {
|
|
margin-left: 260px;
|
|
font-size: 11px;
|
|
}
|