ytyt-legacy/www/css/style.css

304 lines
4.9 KiB
CSS
Executable File

/*
* This file contains structural CSS which should not be modified.
*/
body {
width: 100%;
border-collapse: collapse;
padding: 0px;
margin: 0px;
overflow-x: hidden;
height: 100%
}
#debug, #notice, #error {
margin: 10px;
padding: 10px;
border: solid 2px;
}
#debug ul, #notice ul, #error ul {
position: relative;
left: 16px;
}
#debug li, #notice li, #error li {
line-height: 24px;
}
#debug button, #notice button, #error button {
margin-top: 10px;
padding: 10px;
border: none;
font-size: 16px;
}
h1, h2, h3, h4, ul {
margin: 0px;
padding: 0px;
}
h4 {
margin-top: 10px;
}
#notice, #error {
display: block;
}
#notice p, #error p {
padding-top: 0px;
text-align: left;
}
#dismiss {
float: right;
position: relative;
margin: 0px;
padding: 8px;
cursor: pointer;
}
a {
text-decoration: none;
}
div#header {
text-align: center;
width: 100%;
}
div#title h1 {
line-height: 50px;
vertical-align: top;
}
div#subs {
width: 100%;
border-bottom: solid 5px;
}
div#subs img {
height: 78px;
border: solid 3px;
border-radius: 42px;
}
div#subs ul {
width: 100%;
list-style: none;
display: inline-flex;
overflow-x: scroll;
overflow-y: hidden;
}
div#subs li {
padding: 10px 0px 10px 10px;
height: 80px;
}
div.row {
position: relative;
margin: 10px;
margin-bottom: 0px;
display: inline-flex;
width: -moz-available;
width: -webkit-fill-available;
}
div.video_body, div.seen, div.playmodes {
display: inline-block;
position: relative;
height: 100%;
}
.video_body a {
display: block;
}
.playmodes div {
height: 32px;
}
div.video_body {
text-align: left;
float: left;
width: -moz-available;
width: -webkit-fill-available;
}
div.details img {
height: 40px;
border-radius: 20px;
float: left;
margin-right: 10px;
}
div.seen {
display: table;
width: 32px;
}
div.playmodes {
display: table-column;
height: 100%;
}
.mark {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.unmark {
display: table-cell;
text-align: center;
font-size: 36px;
padding-top: 14px;
vertical-align: middle;
}
div.seen h3 {
position: relative;
height: 100%;
width: 32px;
line-height: 100%;
display: table-cell;
}
div.thumb, div.details {
vertical-align: top;
display: table-cell;
padding: 10px;
z-index: 20;
}
div.thumb {
padding: 0px;
position: relative;
overflow-y: hidden;
}
div.letterbox {
padding: 0px 10px;
}
div.thumb img {
display: block;
padding-right: 0px;
height: 126px;
}
div.time {
position: absolute;
top: 78px;
right: 0px;
}
div.time h4 {
padding: 2px;
line-height: 20px;
margin-right: 10px;
}
#title h1, #title img {
display: inline-block;
cursor: pointer;
}
#title img {
float: right;
padding: 10px 5px;
height: 30px;
}
.category, .no-category, .unsubscribe, .solo, .no-solo, .regex, .no-regex {
position: relative;
border: solid 2px;
border-radius: 16px;
height: 20px;
width: 20px;
text-align: center;
cursor: pointer;
}
.category a, .no-category a, .unsubscribe a, .solo a, .no-solo a, .regex a, .no-regex a {
line-height: 20px;
}
.no-category, .category {
top: -74px;
left: 0px;
}
.unsubscribe {
top: -90px;
left: 64px;
}
.solo, .no-solo {
top: -114px;
left: 0px;
}
.regex, .no-regex {
top: -98px;
left: 64px;
}
.menu {
display: none;
}
.menu button, div.button, .menu select, .menu input {
font-size: 17px;
}
.menu button, div.button {
padding: 5px;
border: none;
margin: 5px;
}
div.button {
display: inline-block;
}
.menu select {
border: none;
}
form {
margin: 0px;
min-height: 34px;
}
submit {
padding: 5px;
margin-bottom: 0px;
line-height: 34px;
}
div#videos {
margin-bottom: auto;
}
#footer {
position: relative;
bottom: 0px;
margin-top: 10px;
width: 100%;
}
#footer p {
text-align: center;
margin: 0px;
padding: 10px 10px 0px 10px;
}
#footer a {
line-height: 34px;
font-size: 24px;
}
#copyright {
padding-left: 10px;
}
#source {
float: right;
padding-right: 10px;
}
#copied {
width: 100%;
height: 100%;
position: absolute;
display: table;
top: 0px;
left: 0px;
text-align: center;
line-height: 100%;
z-index: 30;
}
#copied h3 {
vertical-align: middle;
display: table-cell;
}
#clipboard {
position: absolute;
top: -1000px;
}
.views {
right: 10px;
}
.upload, .views {
position: absolute;
bottom: 10px;
}
.web, .embed, .clip {
padding: 5px;
border: none;
}
.menu input[type="checkbox"] {
margin: 8px;
}
.menu input[type="textbox"], .menu select {
padding: 2px;
margin: 3px 3px 5px 3px;;
min-width: 250px;
}
.menu ul {
max-width: 250px;
margin: auto;
}
.menu li {
list-style: none;
}