fore.st/www/css/cytube.css
rainbownapkin 85fbe6bb5a Autobump system and UI complete. The bulk of this update is now over.
Just a couple of bug fixes and tweaks before release.
2022-08-21 21:26:53 +00:00

997 lines
16 KiB
CSS

/*
fore.st is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
fore.st 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with fore.st. If not, see < http://www.gnu.org/licenses/ >.
(C) 2022- by rainbownapkin, <ourforest@420blaze.it>
Original cytube license:
MIT License
Copyright (c) 2013-2022 Calvin Montgomery
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
body{
max-width: 100%;
overflow-x: hidden;
}
#mp-show-ip-in-tooltip{
margin-top: 0.5em;
}
#main, #titles{
display: flex;
}
.static-cont{
position: absolute;
width: auto !important;
height: auto !important;
min-width: 100%;
min-height: 100%;
}
.qt{
margin: 0.5em 0;
}
#qt-clearuser{
margin: 0 0.5em;
}
.container-fluid {
padding-left: 15px;
padding-right: 15px;
margin-left: auto;
margin-right: auto;
}
.nmenu{
position: absolute;
bottom: 0;
left: 0;
right: 0;
display: flex;
z-index: 1;
}
.nmenu-btn{
flex-grow: 1;
}
#minicontrol{
display: none;
margin: 0 0.5em 0 0.5em;
}
#vidplay{
}
#viddur{
margin-right:0.5em;
}
#loginform > .form-group {
margin-right: 5px;
}
#npoll-timeout{
width: 4em;
}
#npopt{
display: flex;
height: 1.6em;
margin: 0.5em 0;
}
.center {
text-align: center;
}
.messagebox > p {
margin-top: 20px;
}
.vertical-spacer {
margin-top: 10px;
}
#messagebuffer{
width: auto;
padding-left: 5px;
padding-right: 5px;
}
#usercount {
white-space: nowrap;
}
#userlist {
width: 120px;
float: right;
border-right: 0;
font-size: 9pt;
list-style: none outside none;
padding: 0;
}
#messagebuffer, #userlist {
height: 329px;
overflow-x: hidden;
overflow-y: auto;
margin-bottom: 0;
}
#chatline, #guestlogin > input, #guestlogin > .input-group-addon {
margin-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.floatcont{
position: absolute;
right: 0;
left: 0;
z-index: 1;
}
.linewrap, .linewrap code {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
#from-url, #from-search {
margin-top: 3px;
}
.clear {
clear: both;
}
.chat-timestamp {
font-size: 8pt;
}
.chat-name {
font-weight: bold;
}
#customembed > .input-group {
margin-top: 5px;
}
.drink {
margin: 10px 10px;
padding: 10px 0px;
border: 2px solid;
}
#drinkcount {
text-align: center;
font-weight: bold;
}
#chatheader {
display: flex;
flex-wrap: wrap;
align-items: center;
z-index: 2;
}
#chatheader > p, #videowrap-header {
margin: 0;
}
#videowrap, #videowrap-header{
flex: 0 0 50%;
}
#chatwrap, #chatheader{
flex: 1 1;
}
.pointer {
cursor: pointer;
}
#chatwrap, #videowrap {
margin-bottom: 10px;
}
.embed-responsive-chat {
padding-bottom: 78.75%;
}
#userpl_list {
list-style: none outside none;
margin-left: 0;
max-height: 500px;
overflow-y: scroll;
}
/*
#userpl_list li {
display: inline-block;
line-height: 22px;
width: 100%;
clear: both;
margin: 2px 0 0 auto;
padding: 2px;
font-size: 8pt;
}
*/
#customembed_wrap {
margin: 5px 0;
}
#playlistmanagerwrap {
margin-top: 10px;
}
#library {
padding-left: 0;
padding-right: 0;
margin-bottom: 5px;
}
#library_search, #queue_next, #ce_queue_next {
border-radius: 0;
}
#rightcontrols{
background-color: #111111C0;
}
#plmeta {
border: none;
float: right;
padding-right: 1em;
line-height: 1;
}
.videolist {
list-style: none outside none;
margin-left: 0;
max-height: 500px;
overflow-y: auto;
}
#pllength {
float: right;
}
.queue_temp {
background-image: url(/img/stripe-diagonal.png);
}
.videolist {
padding: 0;
margin: 0;
}
#queue > li:last-child {
border-bottom-width: 0;
margin-bottom: 0;
}
#userpl_list > li:last-child {
border-bottom-width: 1px;
}
.videolist > li:first-child {
border-top-width: 1px;
}
li.ui-sortable-helper, li.ui-sortable-placeholder + li.queue_entry {
border-top-width: 1px;
}
.qe_btn {
height: 20px;
font-family: Monospace;
padding: 0 5px 0 5px;
margin: auto;
overflow: hidden;
}
.qe_buttons, .qe_title {
float: left;
}
.qe_time {
float: left;
font-family: Monospace;
}
.qe_sTime, .qe_pref{
float: right;
font-family: Monospace;
}
#playlistauxcont {
display: inline-block;
float: right;
line-height: 1;
}
#addformurl-title-val{
width: auto;
}
.fptitlebar{
display: inline-block;
font-size: 14px;
line-height: inherit !important;
color: #c8c8c8;
vertical-align: top;
margin: 0px;
}
#fpcontdiv{
}
#subliminaltoke{
background-color: #111111C0;
position: absolute;
left: calc(50% - 12em);
top: calc(50% - 13em);
text-align: center;
padding: 2em 2em 1em 2em;
border: 1px solid #949494;
display: none;
}
#subliminaltoke img{
max-height: 20em;
}
.emotecontdiv{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(7em,auto));
overflow-x: hidden;
column-gap: 0.5em;
row-gap: 0.5em;
margin: 3.1em 0.5em 0 0.5em;
}
.emotediv{
width: 100%;
border: 1px solid #949494;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
cursor: pointer;
}
#emspan{
display: flex;
height: 100%;
flex-direction: column;
justify-content: center;
}
.emotediv img{
width: 100%;
}
.emotediv p{
margin: 0;
padding: 0;
}
.chatbtn{
border-right: 1px solid #949494 !important;
position: inherit !important;
}
#polltitle, #endpollbtn{
margin-top: 5px;
margin-bottom: 20px;
display: inline-block;
}
#emotecont{
display: flex;
position: fixed;
width: 100%;
background-color: #1119;
backdrop-filter: blur(12px);
}
#esearchbar{
border-right: 1px solid #949494;
background-color: #0000 !important;
}
#anumspan{
display: flex;
flex-direction: column;
padding: 0em 0.5em 0 0.5em;
height: 100%;
}
#emotealphabox{
}
label[for="emotealphabox"]{
}
#fptitlediv{
width: 100%;
}
#closefpanel{
float: right;
top: auto;
}
#fpaneldiv{
float: left;
height: 1em;
width: 70%;
position: absolute;
z-index: 1;
}
#guestlogin{
flex-grow: 1;
}
#hideplaylist {
display: block;
}
.qe_clear {
clear: both;
}
.clear {
clear: both;
}
#chatheader .label {
margin-left: 2px;
}
.well hr {
border-color: #cccccc;
}
#csstext, #jstext {
font-family: Monospace;
}
.fpcont{
overflow-y: auto;
overflow-x: hidden;
}
#optedit, #permedit, #filteredit, #motdedit, #cssedit, #jsedit,
#banlist, #loginhistory, #channelranks, #chanlog {
display: none;
}
#chanlog_contents {
max-height: 400px;
overflow-y: scroll;
margin-top: 10px;
}
.server-msg-disconnect {
border: 1px solid #ff0000;
line-height: 2;
margin-top: 5px;
margin-bottom: 5px;
color: #ff0000;
text-align: center;
background-color: rgba(129, 20, 21, 0.1);
}
.server-msg-reconnect {
border: 1px solid #009900;
line-height: 2;
margin-top: 5px;
margin-bottom: 5px;
color: #009900;
text-align: center;
background-color: rgba(18, 100, 18, 0.1);
}
.queue_sortable li {
cursor: row-resize;
}
.poll-notify {
color: #0000aa;
font-weight: bold;
font-size: 14pt;
}
.userlist_item {
cursor: pointer;
}
.userlist_siteadmin {
color: #cc0000!important;
font-weight: bold!important;
}
.userlist_owner {
color: #0000cc!important;
font-weight: bold!important;
}
.userlist_op {
color: #00aa00!important;
}
.userlist_guest {
color: #888888!important;
}
.action {
font-style: italic;
color: #888888;
}
.server-whisper {
font-style: italic;
color: #888888;
font-size: 8pt;
}
.spoiler {
color: #000000;
background-color: #000000;
}
.spoiler:hover {
color: #ffffff;
}
.greentext {
color: #789922; /* Color value directly from 4chan */
}
.shout {
color: #ff0000;
font-weight: bold;
font-size: 18pt;
}
.mono {
font-family: Monospace;
}
.nick-highlight {
background-color: #ddffdd;
}
.nick-hover {
background-color: #ffff99;
}
.timestamp {
font-size: 8pt;
}
.profile-box {
z-index: 9999;
position: fixed;
border: 1px solid #aaaaaa;
border-radius: 5px;
padding: 5px;
max-width: 200px;
max-height: 300px;
overflow-y: hidden;
}
.user-dropdown {
z-index: 9999;
position: absolute;
border: 1px solid #aaaaaa;
border-radius: 5px;
color: #000000;
max-width: 200px;
padding: 5px;
}
.profile-image {
max-width: 80px;
max-height: 80px;
border: 1px solid #aaaaaa;
border-radius: 5px;
}
#togglemotd .glyphicon {
font-size: 10pt;
}
.poll-menu > .btn, .poll-menu > input {
clear: both;
margin-bottom: 10px;
}
.poll-menu {
margin-top: 10px;
}
#search_clear {
margin-top: 10px;
}
#qualitywrap {
margin-right: 5px;
}
#guestlogin .input-group-addon {
min-width: 120px;
}
#channeloptions .modal-header {
border-bottom: none;
}
#pollwrap > div {
margin-top: 10px;
}
.option {
margin-top: 5px;
}
.option-selected {
font-weight: bold;
}
.option > button {
margin-right: 15px;
}
.option-selected > button {
border-width: 3px !important;
margin-right: 10px;
}
#useroptions .modal-header {
border-bottom: 0;
padding-bottom: 0;
margin-bottom: 0;
}
#useroptions .modal-body {
padding-top: 0;
margin-top: 0;
}
.qfalert {
margin-bottom: 0px;
padding-left: 0!important;
padding-right: 0!important;
}
#customembed-content {
font-family: Monospace;
}
#cs-csstext, #cs-jstext, #cs-motdtext {
font-family: Monospace;
}
#cs-csssubmit, #cs-motdsubmit, #cs-jssubmit {
margin-top: 10px;
}
#cs-chatfilters input[type='text'], #cs-chatfilters textarea {
font-family: monospace;
}
#cs-chatfilters-exporttext {
margin-top: 5px;
}
#cs-emotes input[type='text'], #cs-emotes textarea {
font-family: monospace;
}
#cs-emotes-exporttext {
margin-top: 5px;
}
.pagination {
margin: 0;
}
#cs-chanlog-filter {
border-bottom: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
#cs-chanlog-text {
max-height: 300px;
overflow-y: scroll;
font-size: 8pt;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.channel-emote {
max-width: 200px;
max-height: 200px;
}
#cs-emotes td:nth-child(3) {
max-width: 300px;
}
#pmbar {
position: fixed;
bottom: 0;
z-index: 10000;
min-width: 100%;
pointer-events: none;
}
body.chatOnly .pm-panel, body.chatOnly .pm-panel-placeholder {
margin-left: 0;
margin-right: 5px;
float: right;
}
.pm-panel, .pm-panel-placeholder {
margin-left: 5px;
margin-bottom: 20px;
float: left;
width: 250px;
pointer-events: auto;
}
.pm-panel {
margin-bottom: 0!important;
border-radius: 0!important;
border-radius: 0!important;
}
.pm-panel > .panel-heading {
cursor: pointer;
border-radius: 0!important;
border-radius: 0!important;
}
.pm-panel > .panel-body {
padding: 0;
}
.pm-panel > .panel-body > .pm-buffer {
height: 200px;
overflow-y: scroll;
}
.pm-panel > .panel-body > hr {
margin: 0;
}
.pm-input {
margin: 0;
width: 100%;
border-top-left-radius: 0!important;
border-top-right-radius: 0!important;
}
.chat-shadow {
text-decoration: line-through;
}
#chanjs-allow-prompt {
text-align: center;
}
#chanjs-allow-prompt-buttons {
margin-top: 10px;
}
#chanjs-allow-prompt-buttons button:first-child {
margin-right: 5px;
}
@media screen and (min-width: 768px) {
.modal-dialog {
min-width: 600px!important;
max-width: 1200px!important;
width: auto!important;
}
.modal-dialog-nonfluid.modal-dialog {
max-width: 600px!important;
}
}
table td {
max-width: 200px;
word-wrap: break-word;
}
#cs-chatfilters table .form-group {
max-width: 25%;
}
#cs-chatfilters table .form-group > input {
max-width: 100%;
}
#userlisttoggle {
padding-bottom: 2px;
}
.queue_entry, .ab-bumparray-bump{
line-height: 22px;
padding: 2px;
font-size: 8pt;
border: 1px solid;
border-top-width: 0;
}
.ab-bumparray-span{
display: grid;
grid-template: 2em 2em / 33% 33% auto;
grid-auto-flow: column;
justify-content: space-between;
}
.ab-bumparray-creator{
display: inline;
}
.ab-bumparray-cspan{
float: right;
}
#ab-bumphist-div{
overflow: scroll;
max-height: 25em;
}
.ab-bumplist-lbl, .ab-newlist-form{
display: inline;
}
.ab-newlist-form{
margin-left: 0.5em;
}
.ab-newbump-form{
display: inline;
}
.ab-newbump-cancel{
display: inline;
}
.emotelist-table {
margin: auto;
}
#ab-freq-min, #ab-freq-max{
width: 2em;
}
#ab-dur-min{
width: 4em;
}
.ab-bumplists-ltype, .ab-bumplist-listname{
display: inline;
}
.ab-bumplist-bumps{
max-height: 30em;
overflow: scroll;
}
.ab-bumplist-delete{
float: right;
}
.emote-preview-container {
width: 100px;
height: 100px;
float: left;
text-align: center;
white-space: nowrap;
margin: 5px;
}
.emote-preview-hax {
display: inline-block;
vertical-align: middle;
height: 100%;
}
.emote-preview {
max-width: 100px;
max-height: 100px;
cursor: pointer;
}
.emotelist-paginator-container {
text-align: center;
}
#leftcontrols .btn {
margin-right: 5px;
}
#videowrap .embed-responsive:-webkit-full-screen { width: 100%; }
#videowrap .embed-responsive:-moz-full-screen { width: 100%; }
#videowrap .embed-responsive:-ms-full-screen { width: 100%; }
#videowrap .embed-responsive:-o-full-screen { width: 100%; }
#videowrap .embed-responsive:full-screen { width: 100%; }
li.vjs-menu-item.vjs-selected {
background-color: #66a8cc !important;
}
.video-js video::-webkit-media-text-track-container {
bottom: 50px;
}
input#logout[type="submit"] {
background: none;
border: none;
padding: 0;
}
input#logout[type="submit"]:hover {
text-decoration: underline;
}
#newmessages-indicator {
position: relative;
margin-top: -30px;
line-height: 30px;
height: 30px;
text-align: center;
width: 100%;
font-weight: bold;
cursor: pointer;
}
#newmessages-indicator .glyphicon {
margin-left: 10px;
margin-right: 10px;
}
#soundcloud-volume-holder {
position: absolute;
top: 170px;
width: 100%;
}
#soundcloud-volume-label {
margin-left: 2px;
}
#soundcloud-volume {
margin-top: 5px;
margin-left: 10px;
margin-right: 10px;
}
.playercont {
float: right;
padding-right: 3px;
}
.mirx{
transform: scaleX(-1);
}
.miry{
transform: scaleY(-1);
}
.mirx.miry{
transform: rotate(180deg);
}
#fpsetdiv p{
font-weight: 700;
display: inline;
}
#ab-bumparray-reuserfl{
margin: 0px;
}
body.hd #resize-video-larger, body.hd #resize-video-smaller {
display: none;
}
.userlist-ignored {
text-decoration: line-through;
}
#bumpi{
background-image: url("../img/bumps.png");
background-size: 2.2em;
}