0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-30 17:34:04 +01:00
construct/share/webapp/construct.css
2020-01-21 13:11:03 -08:00

4008 lines
68 KiB
CSS

/*
// Matrix Construct
//
// Copyright (C) Matrix Construct Developers, Authors & Contributors
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice is present in all copies. The
// full license for this software is available in the LICENSE file.
*/
/**
* Scalar variables
*
* Some of these should be wrapped in calc() when used in
* a style attribute.
*/
:root
{
/*
* Color Palette
*
* The color palette is 4 primary colors A, B, C, D with
* carefully calculated shades.
*/
--pal-AA: #5965AF; --pal-BA: #50B87A; --pal-CA: #FF8A6F; --pal-DA: #FFD66F;
--pal-AB: #1F2D86; --pal-BB: #118C43; --pal-CB: #C33813; --pal-DB: #C39317;
--pal-AC: #3B489C; --pal-BC: #2FA45E; --pal-CC: #E46041; --pal-DC: #E4B641;
--pal-AD: #8891CD; --pal-BD: #81D2A2; --pal-CD: #FFAF9C; --pal-DD: #FFE39C;
--pal-AE: #C3C9E8; --pal-BE: #C0EBD1; --pal-CE: #FFD9D0; --pal-DE: #FFF2D0;
--pal-CF: #FFE5DC; --pal-DF: #FFFFFF;
/* Font size ratios */
--fs: (1.33vh + 0.5625vw) * 0.5625;
/* Icon size ratios */
--fsI: (0.95vh + 0.5625vw) * 0.5625;
/* Headers */
--fsA: var(--fs) * 2.5;
--fsB: var(--fs) * 1.5;
--fsC: var(--fs) * 1.25;
--fsD: var(--fs) * 0.95;
--fsE: var(--fs) * 0.80;
--fsF: 11px;
--fsG: 9px;
/* Paragraphs */
--fsPA: 19px;
--fsPB: 17px;
--fsPC: 16px;
--fsPD: 15px;
--fsPE: 11px;
--fsP: 15px;
/* Icons */
--fsIA: var(--fsI) * 5.0;
--fsIB: var(--fsI) * 3.25;
--fsIC: var(--fsI) * 2.75;
--fsID: var(--fsI) * 2.40;
--fsIE: var(--fsI) * 1.75;
--fsIF: var(--fsI) * 1.5;
/* Text shadows */
--tsA: 1px 1px var(--pal-AB);
--tsB: 1px 0px var(--pal-AC);
--tsC: 1px 0px var(--pal-AC);
--tsD: 1px 0px var(--pal-AC);
--tsE: 1px 0px var(--pal-AC);
/* Icon shadows */
--tsIA: 0px 1px var(--pal-AA);
--tsIB: 0px 1px var(--pal-AA);
--tsIC: 0px 1px var(--pal-AA);
--tsID: 0px 1px var(--pal-AA);
--tsIE: 0px 1px var(--pal-AA);
}
@font-face
{
font-family: 'Lato';
font-weight: normal;
src: url('lato-regular.ttf');
}
@font-face
{
font-family: 'Lato';
font-style: italic;
src: url('lato-italic.ttf');
}
@font-face
{
font-family: 'Lato';
font-weight: bold;
src: url('lato-bold.ttf');
}
@font-face
{
font-family: 'Lato';
font-weight: 900;
src: url('lato-black.ttf');
}
@font-face
{
font-family: 'Lato';
font-weight: bold;
font-style: italic;
src: url('lato-bolditalic.ttf');
}
@font-face
{
font-family: 'NixieOne';
font-weight: normal;
src: url('NixieOne-Regular.ttf');
}
*
{
}
body
{
background-color: var(--pal-AD);
opacity: 0.0;
}
body.loaded
{
opacity: 1.0 !important;
transition: opacity 0.66s cubic-bezier(0.25, 0.01, 1.0, 1.0);
}
/**************************************************************
* IRCd root class
*
* Our class namespace is "ircd". The actual root element carrying
* this class is selected somewhere later.
*/
.ircd
{
background-color: var(--pal-AD);
font-family: Lato;
color: white;
}
/************************************************
* Divisions.
*
* This project is fully flexbox.
*/
.ircd div
{
display: flex;
}
/************************************************
* Headings
*/
.ircd h1,
.ircd h2,
.ircd h3,
.ircd h4,
.ircd h5,
.ircd h6
{
display: flex;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
font-family: Lato;
}
/* The style for an hx tag can be lifted to another tag
* when desired by applying the eponymous class.
*/
.ircd h1,
.ircd h2,
.ircd h3,
.ircd h4,
.ircd h5,
.ircd h6,
.ircd .h1,
.ircd .h2,
.ircd .h3,
.ircd .h4,
.ircd .h5,
.ircd .h6
{
font-weight: bold;
letter-spacing: 0.5pt;
font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.ircd h1,
.ircd .h1
{
font-size: calc(var(--fsA));
text-shadow: calc(var(--tsA));
}
.ircd h2,
.ircd .h2
{
font-size: calc(var(--fsB));
text-shadow: calc(var(--tsB));
}
.ircd h3,
.ircd .h3
{
font-size: calc(var(--fsC));
text-shadow: calc(var(--tsC));
}
.ircd h4,
.ircd .h4
{
font-size: calc(var(--fsD));
text-shadow: calc(var(--tsD));
}
.ircd h5,
.ircd .h5
{
font-size: calc(var(--fsE));
text-shadow: calc(var(--tsE));
}
.ircd h6,
.ircd .h6
{
font-size: calc(var(--fsF));
text-shadow: 0px 0px #000000;
}
/************************************************
* Paragraphs
*/
.ircd p
{
display: flex;
position: relative;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-size: var(--fsP);
font-family: NixieOne;
letter-spacing: 0.15pt;
line-height: 1.2em;
color: inherit;
}
/************************************************
* Links
*/
.ircd a
{
display: flex;
text-decoration: none;
}
/************************************************
* Images
*/
.ircd img
{
display: flex;
object-fit: contain;
}
/************************************************
* Lists
*/
.ircd ul
{
display: flex;
}
.ircd li
{
display: flex;
list-style: none;
}
/************************************************
* Forms
*/
.ircd form
{
display: flex;
position: relative;
}
/* Use something like <h6 class="label"> following
* any form input box.
*/
.ircd form input + label
{
margin: 1px 0px 0px 0px;
}
/************************************************
* Input
*/
.ircd input
{
display: flex;
flex-grow: 1;
margin: 0px 0px 0px 0px;
padding: 3px 0px 3px 0px;
border: 0px;
background-color: var(--pal-CE);
font-family: Lato;
font-size: calc(var(--fsP) * 1.1);
color: var(--pal-AC);
cursor: text;
}
.ircd input.number
{
font-family: NixieOne;
text-shadow: 0px 0px black;
color: var(--pal-AB);
}
.ircd input[type=text]
{
padding-left: 2px;
}
.ircd input:focus
{
outline: none;
}
/************************************************
* Textareas
*/
.ircd textarea
{
display: flex;
flex-grow: 1;
position: relative;
box-sizing: border-box;
padding: 2px 5px 2px 5px;
border: 0px;
border-radius: 3px 3px 3px 3px;
background-color: var(--pal-CE);
font-family: NixieOne;
text-shadow: 1px 1px var(--pal-AC);
font-size: 14px;
color: var(--pal-AC);
cursor: text;
}
.ircd textarea:focus
{
outline: none;
}
/************************************************
* Icons
*/
.ircd i
{
display: flex;
text-shadow: var(--tsIA);
color: var(--pal-CD);
}
.ircd i.icon.selected,
.ircd .selected i.icon
{
color: var(--pal-CA) !important;
text-shadow: 0px 1px #505050;
}
@keyframes spinner
{
to { transform: rotate(360deg); }
}
.ircd i.icon.fa-spinner
{
animation: spinner 0.8s steps(8) infinite;
}
.ircd i.icon.fa-refresh.spinner
{
animation: spinner 0.5s linear infinite;
}
/************************************************
* Buttons
*/
.ircd button
{
display: flex;
margin: 0px 0px 0px 0px;
padding: 3px 0px 3px 0px;
border: none;
border-radius: 4px;
background-color: inherit;
font-size: calc(var(--fsP));
cursor: text;
color: white;
}
.ircd input:focus,
.ircd button:focus
{
outline: none;
}
.ircd input[type=submit],
.ircd button[type=submit]
{
cursor: pointer;
}
.ircd button:hover
{
background-color: var(--pal-AC);
cursor: pointer;
}
.ircd button:hover i
{
color: var(--pal-CA);
text-shadow: 0px 0px #000000;
}
.ircd button.selected
{
background-color: var(--pal-AC) !important;
}
.ircd button.disabled,
.ircd button:disabled
{
color: var(--pal-AE);
}
.ircd button.disabled i.icon,
.ircd button:disabled i.icon
{
text-shadow: 0px 0px #000000;
color: var(--pal-AE);
}
.ircd button.disabled:hover
{
background-color: inherit !important;
}
.ircd button.disabled:hover i.icon
{
color: inherit;
}
.ircd button.pending
{
transition: all 3s ease-out;
background-color: var(--pal-AC) !important;
}
/* prevents the :hover from interfering with the animation */
.ircd button.pending:hover
{
transition: all 0s;
background-color: var(--pal-AD) !important;
}
.ircd button.pending i.icon
{
transition: all 10s ease-out;
transform: rotate(calc(360deg * 10 * 3));
}
.ircd .holding,
.ircd button.holding
{
transition: all 1s ease-in;
background-color: var(--pal-AD) !important;
}
.ircd button.holding i.icon
{
transition: all 1s linear;
transform: rotate(calc(360deg * 1));
}
.ircd .available,
.ircd button.available
{
border: 1px dotted var(--pal-BE) !important;
}
.ircd button.available:hover
{
border: inherit;
}
.ircd .choice,
.ircd button.choice
{
border: 1px dotted var(--pal-DD) !important;
}
.ircd button.choice:hover
{
border: inherit;
}
.ircd button.error
{
background-color: var(--pal-CB) !important;
}
.ircd button.error:hover
{
background-color: var(--pal-CB) !important;
}
.ircd button.error i.icon,
.ircd button.error:hover i.icon
{
color: var(--pal-DA);
}
/************************************************
* Scrollbars
*/
.ircd::-webkit-scrollbar,
.ircd ::-webkit-scrollbar
{
height: 15px;
width: 15px;
}
.ircd::-webkit-scrollbar-track,
.ircd ::-webkit-scrollbar-track
{
background-color: var(--pal-AA);
}
.ircd::-webkit-scrollbar-thumb,
.ircd ::-webkit-scrollbar-thumb
{
background-color: var(--pal-AD);
border: 1px solid var(--pal-AA);
}
.ircd::-webkit-scrollbar-corner,
.ircd ::-webkit-scrollbar-corner
{
background-color: var(--pal-AE);
}
.ircd::-webkit-scrollbar-button,
.ircd ::-webkit-scrollbar-button
{
background-color: var(--pal-AA);
}
.ircd::-webkit-resizer,
.ircd ::-webkit-resizer
{
background-color: var(--pal-DE);
border: 6px double var(--pal-AA);
}
/************************************************
* Angular $animate
*/
.ircd .ng-animate
{
transition: 0.09s linear all;
}
.ircd .no-animate
{
transition: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
}
.ircd .ng-hide-animate
{
/* transition: 0.1s linear all; */
}
/* show -> hide */
.ircd .ng-hide-add
{
transition: all 0.09s linear;
opacity: 1;
}
/* show -> hide */
.ircd .ng-hide-add-active
{
opacity: 0;
}
/* hide -> show */
.ircd .ng-hide-remove
{
transition: all 0.09s linear;
opacity: 0;
}
/* hide -> show */
.ircd .ng-hide-remove-active
{
opacity: 1;
}
/* show -> hide */
.ircd .slides.ng-hide-add
{
transition: height 0.15s linear;
height: 100%;
}
.ircd .slides.ng-hide-add-active
{
height: 0%;
}
/* hide -> show */
.ircd .slides.ng-hide-remove
{
transition: height 0.20s linear;
height: 0%;
}
.ircd .slides.ng-hide-remove-active
{
height: 100%;
}
/************************************************
* IRCd DOM-markup convenience classes.
*
* These are intended to be useful directly in
* the markup when necessary.
*/
.ircd .row
{
flex-direction: row;
}
.ircd .column
{
flex-direction: column;
}
.ircd .wrap
{
flex-wrap: wrap;
}
.ircd .nowrap
{
flex-wrap: nowrap;
}
.ircd .grow
{
flex-grow: 1;
}
.ircd .no-shrink
{
flex-shrink: 0;
}
.ircd .center-self
{
align-self: center;
}
.ircd .center-items
{
align-items: center;
}
.ircd .center-justify
{
justify-content: center;
}
.ircd .center
{
align-items: center;
align-content: center;
justify-content: center;
text-align: center;
}
.ircd .stretch-self
{
align-self: stretch;
}
.ircd .stretch-items
{
align-items: stretch;
}
.ircd .stretch-justify
{
justify-content: stretch;
}
.ircd .stretch
{
align-items: stretch;
align-content: stretch;
justify-content: stretch;
}
.ircd .pointer
{
cursor: pointer;
}
/************************************************
* Errors & debugging
*/
.ircd ircd-catch,
.ircd [ircd-catch=true]
{
display: flex;
position: relative;
box-sizing: border-box;
z-index: 1;
}
.ircd div.error
{
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
max-height: 100%;
flex-flow: column nowrap;
align-self: stretch;
align-items: stretch;
justify-content: flex-start;
box-sizing: border-box;
border: 1px solid var(--pal-CC);
/* border: 1px solid var(--pal-DC); */
/* box-shadow: 1px 1px 2px #383838; */
border-radius: inherit;
background-color: var(--pal-CB);
font-family: monospace;
opacity: 0.90;
color: white;
}
.ircd div.error h1,
.ircd div.error h2,
.ircd div.error h3,
.ircd div.error h4,
.ircd div.error h5
{
padding: 5px 5px 5px 5px;
text-shadow: 0px 0px #000000;
}
.ircd div.error .icon
{
font-size: calc(var(--fsID));
padding: 3px 5px 3px 5px;
color: var(--pal-DD);
}
.ircd div.error div.footer i.guru.icon
{
color: var(--pal-CC);
}
.ircd div.error .message p
{
flex-grow: 1;
align-items: center;
justify-content: center;
margin: 5px 5px 5px 5px;
text-shadow: 0px 0px #000000;
font-weight: bold;
}
.ircd div.error div.guru
{
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
margin: auto;
padding: 20px 20px 20px 20px;
border: 4px double var(--pal-CA);
border-radius: 5px;
background-color: var(--pal-CB);
font-size: 11px;
}
.ircd div.error div.guru .icon
{
align-self: flex-end;
}
.ircd div.error div.guru p
{
overflow-wrap: break-word;
word-wrap: break-word;
font-family: monospace;
white-space: pre-wrap;
font-weight: bold;
text-align: left;
font-size: 11px;
color: white;
}
.ircd div.error div.guru h3
{
color: white;
}
/************************************************
* Loading indication
*/
.ircd div.loading
{
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
box-sizing: border-box;
align-self: center;
align-items: center;
justify-content: center;
}
/************************************************
* Progress indication
*/
.ircd div.progress
{
position: absolute;
z-index: 1;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
height: 100%;
width: 0%;
flex-flow: row nowrap;
align-items: stretch;
border-radius: 2px;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background-color: var(--pal-BB);
opacity: 0.25;
}
.ircd div.progress:not(.pending)
{
width: 0%;
}
.ircd div.progress.pending,
.ircd form.pending div.progress
{
transition: all 3s ease-out;
width: 100%;
}
/************************************************
* Object explorer
*/
.ircd form.explore2
{
position: relative;
flex-flow: column nowrap;
justify-content: flex-start;
align-items: flex-start;
border-left: 0px;
border-radius: 0px 0px 0px 0px;
}
.ircd form.explore2.object,
.ircd form.explore2 .object
{
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
box-sizing: border-box;
border-top: 0px solid var(--pal-AD);
border-bottom: 0px solid var(--pal-AD);
border-left: 0px solid var(--pal-AD);
border-radius: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
.ircd form.explore2 div.member
{
width: 100%;
flex-flow: row nowrap;
align-items: center;
justify-content: stretch;
box-sizing: border-box;
margin: 0px 0px 0px 0px;
padding: 1px 0px 0px 0px;
border-bottom: 1px solid var(--pal-AD);
}
.ircd form.explore2 div.member
:first-child
{
margin-top: 0px;
padding-top: 0px;
}
.ircd form.explore2 div.member
:last-child
{
margin-bottom: 0px;
padding-bottom: 0px;
}
.ircd form.explore2 .key
{
flex-grow: 1;
align-items: center;
justify-content: flex-start;
margin: 0px 15px 0px 0px;
box-sizing: border-box;
font-size: calc(var(--fsF));
color: white;
}
.ircd form.explore2 input.value
{
flex-grow: 0;
min-width: 96ch;
align-self: stretch;
align-items: center;
justify-content: center;
line-height: 1em;
border-radius: 2px;
font-family: monospace;
font-size: calc(var(--fsD));
padding: 1px 2px 2px 2px;
margin: 1px 1px 0px 1px;
}
/*
* Old explorer
*/
/*
.ircd div.object
{
display: inline-flex;
flex-shrink: 0;
flex-direction: column;
flex-wrap: nowrap;
align-self: stretch;
align-items: stretch;
justify-content: stretch;
border-left: 1px dotted var(--pal-AA);
}
.ircd .object div.member
{
display: inline-flex;
flex-shrink: 0;
min-height: 24px;
}
.ircd .object .member div.key
{
display: inline-flex;
flex-shrink: 0;
flex-flow: row nowrap;
align-items: center;
justify-content: left;
padding: 0px 15px 0px 10px;
}
.ircd .object .member .key p
{
font-weight: normal;
font-size: 18px;
text-shadow: 0px 0px #585858;
color: var(--pal-AA);
flex-shrink: 0;
margin: auto;
}
.ircd .object .member .key .icon
{
padding: 3px 5px 3px 1px;
text-shadow: 0px 1px #A8A8A8;
font-size: 20px;
color: var(--pal-CA);
}
.ircd .object .member div.value
{
display: inline-flex;
flex-flow: row nowrap;
align-items: center;
justify-content: stretch;
font-family: FreeMono;
font-weight: normal;
font-size: 15px;
text-shadow: 1px 0px #505050;
text-align: left;
color: var(--pal-AC);
flex-grow: 1;
flex-shrink: 0;
margin-left: auto;
margin-right: auto;
}
.ircd .object .member .value input
{
width: inherit;
padding: 5px 10px 5px 10px;
border: 1px dotted var(--pal-BA);
font-family: FreeMono;
font-size: 18px;
}
*/
/************************************************
************************************************
*
* This is the root element of the application.
*
*/
#charybdis
{
display: flex;
flex-flow: row nowrap;
flex-grow: 1;
align-self: center;
align-items: stretch;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
overflow: auto;
}
/************************************************
* Menus
*/
.ircd .menu
{
position: relative;
flex-shrink: 0;
align-items: center;
align-content: center;
justify-content: center;
}
.ircd .menu .item
{
flex-shrink: 0;
flex-grow: 1;
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
align-content: center;
justify-content: center;
margin: 1px 1px 1px 1px;
padding: 1vh 1vw 1vh 1vw;
background-color: inherit;
color: var(--pal-DE);
outline: none;
}
.ircd .menu .item:hover
{
background-color: var(--pal-AB);
}
.ircd .menu .item .name
{
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
text-shadow: calc(var(--tsA));
line-height: 1.1em;
font-weight: bold;
cursor: pointer;
}
.ircd .menu .item .icon
{
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 5px 5px 5px 5px;
font-size: calc(var(--fsIA));
}
.ircd .menu button.hide
{
display: none;
}
.ircd .menu button.selected h2
{
color: white;
}
/* This is the main menu */
#charybdis_menu
{
flex-grow: 1;
flex-shrink: 100;
max-height: 100vh;
max-width: 100vw;
margin: 0.33vh 0.33vw 0.33vh 0.33vw;
}
#charybdis_menu .item
{
flex-grow: 1;
flex-shrink: 1;
margin: 5px;
}
/************************************************
* MOTD
*/
#charybdis_motd
{
flex-flow: column nowrap;
align-items: flex-start;
justify-content: center;
padding: 20px;
flex-shrink: 0;
flex-basis: 40%;
background-color: var(--pal-CF);
text-align: center;
color: var(--pal-AB);
}
#charybdis_motd h3
{
text-shadow: 0px 0px #000000;
color: var(--pal-AA);
}
#charybdis_motd p
{
display: block;
padding: 5px 10px 5px 10px;
margin-bottom: 20px;
white-space: normal;
font-family: FreeMono;
font-weight: 500;
line-height: 1.3em;
text-align: left;
color: var(--pal-AB);
}
/************************************************
* Login
*/
#charybdis_login
{
position: relative;
height: 100%;
flex-flow: column nowrap;
min-width: 25vw;
align-items: stretch;
justify-content: center;
background-color: var(--pal-AA);
}
.ircd .login_
{
max-width: 50vw;
}
#charybdis_login_form
{
}
.ircd .login_ form
{
position: relative;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
margin: 10px;
padding: 0px;
}
/* This doesn't exist in the HTML until generated */
.ircd .login_ form div.error
{
top: 100%;
margin-top: 2%;
border-radius: 4px;
}
.ircd .login_ h1
{
font-size: 1.5vw;
align-self: flex-end;
text-shadow: calc(var(--tsA));
align-items: center;
}
.ircd .login_ img
{
align-self: flex-end;
width: 30px;
}
.ircd .login_ h2
{
font-size: 3vw;
align-self: flex-start;
align-items: center;
}
.ircd .login_ h3
{
font-size: 1.50vw;
align-self: flex-end;
align-items: baseline;
letter-spacing: -1px;
margin: 0px 2px 0px 0px;
}
.ircd .login_ h3 b
{
font-size: 1.95vw;
}
.ircd .login_ h3 .matrix
{
text-shadow: 1px 1px 0px var(--pal-AB);
color: var(--pal-AD);
}
.ircd .login_ h3 .construct
{
text-shadow: 1px 1px 0px var(--pal-AB);
color: var(--pal-CD);
}
.ircd .login_ h1:hover
{
color: var(--pal-CE);
}
.ircd .login_ input,
.ircd .login_ button
{
height: 65px;
width: 100%;
flex-grow: 0;
box-sizing: border-box;
margin: 5px 0px 5px 0px;
padding: 0px 4px 0px 4px;
border-radius: 3px;
}
.ircd .login_ div.submit
{
display: inline-flex;
flex-flow: row nowrap;
align-self: stretch;
align-items: center;
justify-content: stretch;
}
.ircd .login_ button.submit
{
align-items: center;
justify-content: center;
margin: 5px 0px 5px 0px;
padding: 10px 15px 10px 15px;
border: 1px solid var(--pal-AD);
letter-spacing: 1px;
font-weight: bold;
font-size: 17px;
color: white;
}
.ircd .login_ .submit button[name=login_]
{
margin-right: 5px;
}
.ircd .login_ .submit button[name=register]
{
margin-left: 5px;
}
.ircd .login_ button.submit:hover
{
background-color: var(--pal-AB);
}
.ircd .login_ button.submit.disabled,
.ircd .login_ button.submit.disabled:hover
{
background-color: var(--pal-CB) !important;
color: var(--pal-AE);
opacity: 0.33;
}
.ircd .login_ p
{
display: flex;
align-self: stretch;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
padding: 20px 0px 20px 0px;
margin: 20px auto 20px auto;
background-color: var(--pal-CB);
border-radius: 6px;
letter-spacing: 1px;
font-weight: bold;
font-size: 17px;
color: #FFFFFF;
}
/************************************************
* rooms
*/
.ircd div.rooms
{
flex-grow: 1;
flex-basis: 100%;
flex-flow: row nowrap;
align-items: stretch;
justify-content: stretch;
background-color: var(--pal-AD);
}
/************************************************
*
* Room
*
*/
.ircd div.room
{
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
justify-content: stretch;
}
/*
* Abstract components
*/
/* power levels */
.ircd .room div.power_levels div.levels
{
align-items: stretch;
}
.ircd .room div.power_levels div.levels div.level
{
align-items: center;
padding: 1px 1px 1px 1px;
}
.ircd .room div.power_levels div.levels div.level .name
{
flex-grow: 1;
align-items: center;
justify-content: flex-end;
padding: 0px 5px 0px 5px;
font-weight: bold;
}
.ircd .room div.power_levels div.levels div.level input
{
display: flex;
flex-grow: 0;
align-self: stretch;
align-items: center;
justify-content: center;
text-align: right;
width: 5ch;
box-sizing: border-box;
padding: 0px 5px 0px 0px;
border-radius: 2px 2px 2px 2px;
background-color: var(--pal-CE);
font-size: calc(var(--fsC));
}
/* Aliases */
.ircd .room form.aliases
{
flex-flow: column nowrap;
align-items: stretch;
justify-content: flex-start;
}
.ircd .room form.aliases h1
{
}
.ircd .room form.aliases div.server
{
flex-flow: column nowrap;
align-items: flex-start;
justify-content: flex-start;
margin: 2px 0px 2px 0px;
}
.ircd .room form.aliases div.server div.alias
{
flex-flow: row nowrap;
align-items: center;
justify-content: flex-start;
margin: 5px 0px 0px 0px;
}
.ircd .room form.aliases div.server div.alias h3
{
font-size: inherit;
padding: 0px 1px 0px 1px;
}
.ircd .room form.aliases div.server div.alias h3.hashtag
{
padding-left: 0px;
}
.ircd .room form.aliases div.alias input
{
flex-grow: 1;
flex-flow: column nowrap;
padding-left: 2px;
width: initial;
}
/*
* Bar (generic)
*/
.ircd .room .bar
{
flex-flow: row nowrap;
align-items: stretch;
}
.ircd .room .bar i
{
font-size: calc(var(--fsIB));
padding: 3px 5px 3px 5px;
margin: 1px 1px 1px 1px;
border-radius: 3px 3px 3px 3px;
color: var(--pal-CD);
}
.ircd .room .bar p
{
}
.ircd .room .bar > div
{
padding: 0px 5px 0px 5px;
}
.ircd .room .bar > div:first-child
{
border-left: 0px dotted var(--pal-AA);
}
.ircd .room .bar > div h2,
.ircd .room .bar > div h3,
.ircd .room .bar > div h4,
.ircd .room .bar > div h5
{
align-items: center;
justify-content: center;
}
.ircd .room .bar > div h2,
.ircd .room .bar > div h3,
.ircd .room .bar > div h4
{
font-weight: bold;
}
.ircd .room .bar > div h5
{
font-weight: bold;
}
.ircd .room .bar > div p
{
font-weight: bold;
align-items: center;
}
/* frieze bar */
.ircd .room div.frieze
{
position: relative;
flex-shrink: 0;
padding: 1px;
background-color: var(--pal-AA);
cursor: pointer;
}
.ircd .room div.frieze button
{
padding: 1px;
margin: 1px;
}
.ircd .room div.frieze i
{
padding: 2px;
font-size: calc(var(--fsID));
}
.ircd .room .frieze h5
{
padding: 0px 2px 0px 2px;
color: var(--pal-AE);
font-weight: normal;
}
.ircd .room .frieze > div
{
flex-flow: row wrap;
height: 46px;
align-items: stretch;
justify-content: center;
box-sizing: border-box;
overflow: hidden;
border-left: 1px dotted var(--pal-AD);
padding: 1px 5px 1px 5px;
}
.ircd .room .frieze > div > *
{
min-height: 40px;
box-sizing: border-box;
}
.ircd .room .frieze > div h2,
.ircd .room .frieze > div h3,
.ircd .room .frieze > div h4
{
padding: 0px 5px 0px 5px;
}
.ircd .room .frieze > div h5
{
padding: 0px 1px 0px 1px;
}
.ircd .room .frieze > div.id h5
{
padding: 0px 2px 0px 2px;
}
.ircd .room .frieze > div p
{
padding: 0px 2px 0px 2px;
}
.ircd .room .frieze h3:empty
{
display: none;
}
.ircd .room div.frieze > div:first-child,
.ircd .room div.frieze > div:last-child
{
padding: 0px 0px 0px 0px;
}
.ircd .room div.frieze div.menu_toggle
{
}
.ircd .room div.frieze div.menu_toggle button
{
padding: 0px 15px 0px 15px;
}
.ircd .room div.frieze div.menu_toggle:hover,
.ircd .room div.frieze div.menu_toggle button:hover,
.ircd .room div.frieze div.menu_toggle button.selected:hover,
.ircd .room div.frieze div.menu_toggle:hover i
{
background-color: var(--pal-AC) !important;
}
.ircd .room div.frieze div.menu_toggle button.selected
{
background-color: var(--pal-AB) !important;
}
.ircd .room div.frieze > div.name
{
align-items: center;
flex-grow: 1;
}
.ircd .room div.frieze > div.name .name
{
flex-grow: 1;
}
.ircd .room div.frieze > div.id
{
}
.ircd .room div.frieze > div.id > .id
{
}
/* Control bar */
.ircd .room > div.control
{
flex-shrink: 0;
padding: 0px 0px 0px 0px;
background-color: var(--pal-DE);
border-right: 1px solid var(--pal-AA);
}
.ircd .room > div.control h1,
.ircd .room > div.control h2,
.ircd .room > div.control h3,
.ircd .room > div.control h4,
.ircd .room > div.control h5,
.ircd .room > div.control h6
{
color: var(--pal-AC);
text-shadow: initial;
}
.ircd .room > div.control h6.label
{
color: var(--pal-AD);
}
.ircd .room > div.control > div
{
align-items: stretch;
padding: 10px 10px 10px 10px;
margin: 5px 5px 5px 5px;
border-radius: 5px;
}
.ircd .room > div.control > div > h3
{
justify-content: flex-start;
margin-bottom: auto;
}
.ircd .room > div.control input,
.ircd .room > div.control textarea
{
border: 1px solid var(--pal-AE);
}
/* Status frieze bar */
.ircd .room div.status.frieze.bar i
{
align-items: center;
}
.ircd .room div.status.frieze > div > div
{
margin-left: 2px;
}
.ircd .room div.status div.activity p.bytes
{
min-width: 9ch;
}
.ircd .room div.status div.activity p.bytes.down
{
justify-content: flex-end;
}
.ircd .room div.status div.activity p.bytes.up
{
justify-content: flex-start;
}
.ircd .room div.status div.activity i
{
align-self: center;
}
.ircd .room div.status div.activity i:hover
{
background-color: inherit;
}
.ircd .room div.status div.activity i.mode
{
color: var(--pal-BD);
font-size: calc(var(--fsIE));
}
.ircd .room div.status div.activity i.activity
{
margin: 0px 0px 0px 0px;
padding: 1px 3px 1px 1px;
color: var(--pal-BC);
font-size: calc(var(--fsIE));
}
.ircd .room div.status div.activity i.activity.activated
{
color: var(--pal-BE);
}
.ircd .room div.status div.explore h4
{
padding-right: 10px;
}
.ircd .room div.status div.explore
{
display: none;
}
.ircd .room div.status div.explore i
{
}
/* detail control bar */
.ircd .room div.detail div
{
align-self: stretch;
}
.ircd .room div.detail h3
{
font-size: calc(var(--fsF));
justify-content: flex-start;
}
.ircd .room div.detail .menu h4
{
font-size: calc(var(--fsE));
}
.ircd .room div.detail div.power_levels
{
flex-flow: column nowrap;
}
.ircd .room div.detail div.power_levels h3
{
border-bottom: 1px dotted var(--pal-AD);
margin-bottom: 2px;
}
.ircd .room div.detail div.power_levels div.levels
{
flex-grow: 1;
}
.ircd .room div.detail div.power_levels div.levels div.level
{
flex-grow: 1;
text-align: right;
}
.ircd .room div.detail div.forms
{
flex-flow: column nowrap;
align-items: stretch;
justify-content: flex-start;
}
.ircd .room div.detail div.forms div,
.ircd .room div.detail div.forms form
{
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
margin: 2px 0px 2px 0px;
}
.ircd .room div.detail div.forms div input,
.ircd .room div.detail div.forms form input
{
border-radius: 2px;
}
.ircd .room div.detail div.topic
{
flex-grow: 1;
align-items: stretch;
}
.ircd .room div.detail div.topic textarea
{
flex-grow: 1;
width: 100%;
resize: none;
}
.ircd .room div.detail div.rules
{
flex-flow: column nowrap;
}
.ircd .room div.detail div.rules h3
{
margin-bottom: 2px;
border-bottom: 1px solid var(--pal-AE);
}
.ircd .room div.detail div.rules > div
{
flex-flow: column nowrap;
align-self: stretch;
align-items: stretch;
margin: 5px 0px 5px 0px;
}
.ircd .room div.detail div.rules > div:first-child
{
margin-top: 0px;
}
.ircd .room div.detail div.rules > div:last-child
{
margin-bottom: 0px;
}
.ircd .room div.detail div.rules .menu
{
flex-flow: row nowrap;
align-items: center;
justify-content: stretch;
}
.ircd .room div.detail div.rules .menu .item
{
color: var(--pal-AC);
}
.ircd .room div.detail div.rules .menu .item i
{
flex-grow: 1;
color: var(--pal-CA);
font-size: calc(var(--fsID));
}
.ircd .room div.detail div.rules .menu .item .name
{
min-width: 9ch;
text-shadow: initial;
}
.ircd .room div.detail div.rules .menu .item:hover .name
{
color: white;
}
.ircd .room div.detail div.rules .menu .item.selected .name
{
color: white;
}
.ircd .room div.detail div.rules div.guest_access
{
}
/* event control bar */
.ircd .room div.event.control h3
{
justify-content: flex-start;
margin-bottom: 2px;
border-bottom: 1px dotted var(--pal-AE);
font-size: calc(var(--fsD));
}
.ircd .room div.event.control h4
{
font-size: calc(var(--fsE));
}
.ircd .room div.event.control
{
flex-shrink: 0;
}
.ircd .room div.event.control > div:first-child
{
padding: 0px 0px 5px 0px;
}
.ircd .room div.event.control > div > div
{
padding: 0px 10px 0px 10px;
margin: 0px 0px 0px 0px;
}
.ircd .room div.event.control div.state
{
}
.ircd .room div.event.control div.state div.slots
{
align-items: stretch;
align-content: center;
justify-content: stretch;
}
.ircd .room div.event.control div.state div.slots div.slot
{
align-items: stretch;
justify-content: stretch;
margin: 1px 0px 1px 0px;
padding: 0px 0px 0px 0px;
color: var(--pal-AA);
}
.ircd .room div.event.control div.state div.slots div.slot > h4
{
min-width: 22ch;
justify-content: flex-end;
padding: 1px 5px 1px 1px;
color: var(--pal-AA);
}
.ircd .room div.event.control div.state div.slots div.slot.active > h4
{
color: var(--pal-AA);
}
.ircd .room div.event.control div.state div.slots div.slot.disabled > h4
{
color: var(--pal-AE);
}
.ircd .room div.event.control div.state div.slots div.slot input,
.ircd .room div.event.control div.state div.slots div.slot p
{
padding: 1px 3px 1px 3px;
font-family: monospace;
}
.ircd .room div.event.control div.state div.slots div.slot input
{
box-sizing: border-box;
border-radius: 2px;
}
.ircd .room div.event.control div.state div.slots div.slot.active input
{
}
.ircd .room div.event.control div.state div.slots div.slot.empty input
{
border: 1px solid var(--pal-CE);
background-color: var(--pal-DE);
}
.ircd .room div.event.control div.state div.slots div.slot.disabled input
{
border: 0px solid var(--pal-CE);
background-color: var(--pal-DE);
}
.ircd .room div.event.control div.state div.slots div.slot .id
{
flex-grow: 0;
width: 25ch;
font-size: calc(var(--fsE));
}
.ircd .room div.event.control div.state div.slots div.slot .sender
{
font-weight: bold;
font-size: calc(var(--fsF));
}
.ircd .room div.event.control div.capstan
{
}
.ircd .room div.event.control div.capstan > div
{
padding: 0px 0px 15px 0px;
}
.ircd .room div.event.control div.capstan h3
{
align-self: stretch;
justify-content: flex-start;
border-bottom: 1px dotted var(--pal-AE);
margin: 0px 0px 2px 0px;
}
.ircd .room div.event.control div.capstan form
{
flex-flow: column nowrap;
}
.ircd .room div.event.control div.capstan form div
{
margin: 2px 0px 2px 0px;
}
.ircd .room div.event.control div.capstan form h4
{
}
.ircd .room div.event.control div.capstan form h5
{
width: 16ch;
padding-right: 10px;
justify-content: flex-end;
}
.ircd .room div.event.control div.capstan form input
{
width: 30ch;
flex-grow: 0;
flex-shrink: 1;
padding: 2px 10px 2px 10px;
border-radius: 3px;
font-family: courier;
font-size: calc(var(--fsD));
}
.ircd .room div.event.control div.capstan div.head,
.ircd .room div.event.control div.capstan div.viewport
{
align-items: flex-start;
justify-content: flex-start;
}
.ircd .room div.event.control div.capstan div.viewport
{
display: none;
}
.ircd .room div.event.control div.capstan div.head > div
{
margin: 0px 5px 0px 5px;
}
.ircd .room div.event.control div.capstan div.viewport form
{
flex-flow: row nowrap;
align-items: flex-start;
}
.ircd .room div.event.control div.capstan div.viewport form h4
{
width: 15ch;
align-self: center;
padding: 0px 10px 0px 0px;
justify-content: flex-end;
}
.ircd .room div.event.control div.capstan div.viewport form div
{
padding: 0px 5px 0px 5px;
}
.ircd .room div.event.control div.capstan div.viewport form div h5
{
padding: 0px 5px 0px 0px;
height: initial;
width: initial;
}
.ircd .room div.event.control div.capstan div.viewport form input
{
width: 11ch;
text-align: right;
}
.ircd .room form.event.player
{
flex-shrink: 0;
align-items: stretch;
align-content: stretch;
background-color: var(--pal-AA);
border-top: 1px solid var(--pal-AD);
border-left: 1px solid var(--pal-AD);
border-right: 1px solid var(--pal-AC);
}
.ircd .room form.event.player button
{
flex-shrink: 1;
align-self: stretch;
}
.ircd .room form.event.player .name
{
font-weight: bold;
color: white;
}
.ircd .room form.event.player i
{
font-size: calc(var(--fsIA));
}
/***
*
* Main room outer frame
*
*/
.ircd .room div.main
{
flex-grow: 100;
position: relative;
flex-flow: row nowrap;
align-self: stretch;
align-items: stretch;
justify-content: stretch;
background-color: var(--pal-AD);
}
.ircd .room div.main div.members
{
position: relative;
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: flex-start;
background-color: var(--pal-DE);
border-top: 1px solid var(--pal-AD);
border-left: 1px solid var(--pal-AE);
}
.ircd .room div.members div.menu
{
position: relative;
flex-flow: row nowrap;
align-items: stretch;
padding: 5px 4px 5px 4px;
background-color: var(--pal-AA);
}
.ircd .room div.members .menu .item
{
padding-left: 0px;
padding-right: 0px;
}
.ircd .room div.members .menu .item .name
{
min-width: 11ch;
}
.ircd .room div.members .menu .item:not(.selected)
{
}
.ircd .room div.members .menu .item:hover
{
color: white;
}
.ircd .room div.members .menu .item i
{
font-size: calc(var(--fsIC));
}
.ircd .room div.members .menu .item.selected
{
background-color: var(--pal-AC);
}
.ircd .room div.members div.list
{
position: relative;
flex-flow: column nowrap;
flex-grow: 1;
align-items: stretch;
justify-content: flex-start;
background-color: var(--pal-DE);
overflow-y: auto;
overflow-x: hidden;
}
.ircd .room div.main div.members ::-webkit-scrollbar-thumb
{
background-color: var(--pal-DE);
}
.ircd .room div.main div.members ::-webkit-scrollbar-track
{
background-color: var(--pal-AA);
}
.ircd .room div.main div.members ::-webkit-scrollbar-button
{
background-color: var(--pal-AA);
}
.ircd .room div.members div.list .loading i
{
font-size: calc(var(--fsIA));
color: var(--pal-AD);
}
.ircd .room div.members div.list div.member
{
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
flex-shrink: 0;
}
.ircd .room div.members div.list .member div.head
{
flex-grow: 1;
position: relative;
flex-flow: row nowrap;
align-items: center;
padding: 0px 2px 0px 2px;
margin: 0px 0px 0px 0px;
cursor: pointer;
color: var(--pal-AC);
}
.ircd .room div.members div.list .member div.head:hover
{
background-color: var(--pal-AA);
color: white;
}
.ircd .room div.members div.list .member div.head .name
{
max-width: 25ch;
padding-left: 4px;
text-shadow: 0px 0px #000000;
font-size: calc(var(--fsC));
font-family: Lato;
letter-spacing: 0.33px;
white-space: nowrap;
word-wrap: normal;
word-break: keep-all;
text-overflow: ellipsis;
}
.ircd .room div.members div.list .member div.head .idle
{
padding: 1px 2px 1px 2px;
border-radius: 3px;
font-size: calc(var(--fsF));
}
.ircd .room div.members div.list .member.active div.head .idle
{
color: var(--pal-BB);
}
.ircd .room div.members div.list .member.inactive div.head .idle
{
color: var(--pal-AD);
}
.ircd .room div.members div.list .member div.head:hover .idle,
.ircd .room div.members div.list .member div.head.selected .idle
{
color: white;
}
.ircd .room div.members div.list .member div.head .domain
{
padding: 1px 3px 1px 3px;
max-width: 20ch;
text-overflow: ellipsis;
white-space: nowrap;
}
.ircd .room div.members div.list .member div.selected
{
padding-top: 2px;
padding-bottom: 2px;
background-color: var(--pal-AC);
color: white;
}
.ircd .room div.members div.list div.head .icon,
.ircd .room div.members .invite .icon
{
opacity: 0.4;
margin: -2% 0px -2% 0px;
padding: 0px 2px 0px 5px;
font-size: calc(var(--fsIF));
color: var(--pal-DF);
}
.ircd .room div.members div.list .member div.head.selected i.icon
{
opacity: 1.0;
margin: 1px 0px 3px 0px;
color: var(--pal-CA);
}
.ircd .room div.members div.list .member.active div.head i.icon
{
z-index: 2;
opacity: 1.0;
color: var(--pal-CC);
}
.ircd .room div.members div.list .member.inactive div.head i.icon
{
color: var(--pal-AD);
}
.ircd .room div.members div.list .member.me div.head i.icon
{
color: var(--pal-BB);
}
.ircd .room div.members div.list .member div.info
{
flex-grow: 8;
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
text-align: left;
}
.ircd .room div.members div.list .member .info div.mxid
{
align-items: center;
justify-content: flex-end;
padding: 0px 5px 0px 5px;
border-bottom: 1px solid var(--pal-DA);
background-color: var(--pal-DD);
}
.ircd .room div.members div.list .member .info div.mxid p
{
font-weight: bold;
flex-basis: 100%;
letter-spacing: 1px;
justify-content: center;
}
.ircd .room div.members div.list .member div.info div.data
{
flex-flow: row nowrap;
align-items: stretch;
justify-content: stretch;
padding: 0px 5px 0px 5px;
margin: 0px 0px 0px 0px;
text-align: left;
}
.ircd .room div.members div.list .member div.info div.avatar
{
flex-grow: 1;
justify-content: flex-end;
min-height: 150px;
}
.ircd .room div.members div.list .member .info div.avatar img
{
max-height: 150px;
width: auto;
height: auto;
border-radius: 3px;
border: 3px double var(--pal-AE);
border-radius: 9px;
margin: 5px 0px 5px 5px;
}
.ircd .room div.members div.list .member div.info div.data div.attrs
{
flex-flow: column nowrap;
align-items: stretch;
padding: 5px 5px 5px 5px;
}
.ircd .room div.members div.list .member div.info div.attrs div.attr
{
flex-flow: column nowrap;
align-items: flex-start;
justify-content: flex-start;
padding: 5px 0px 0px 0px;
text-align: left;
}
.ircd .room div.members div.list .member .info h3
{
justify-content: flex-start;
font-size: calc(var(--fsE));
font-weight: bold;
color: var(--pal-AC);
text-shadow: 0px 0px #000000;
white-space: nowrap;
}
.ircd .room div.members div.list .member .info p
{
margin: 5px 5px 5px 5px;
font-size: calc(var(--fsD));
color: var(--pal-AB);
line-break: normal;
word-wrap: break-word;
overflow-wrap: normal;
}
.ircd .room div.members div.list .member .info div.event
{
align-self: stretch;
align-items: center;
justify-content: flex-end;
padding: 0px 5px 0px 5px;
cursor: pointer;
}
.ircd .room div.members div.list .member .info div.event p
{
word-wrap: break-word;
font-size: calc(var(--fsE));
font-family: courier;
font-weight: bold;
color: var(--pal-AA);
}
.ircd .room div.members div.list .member .info div.event p:hover
{
color: var(--pal-AC);
}
.ircd .room div.members div.list .member .info .menu
{
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
padding: 2px;
}
.ircd .room div.members div.list .member .info .menu .item
{
flex-flow: column nowrap;
align-items: center;
justify-content: center;
background-color: var(--pal-AA);
}
.ircd .room div.members div.list .member .menu .item .icon
{
font-size: calc(var(--fsIB));
}
.ircd .room div.members div.list .member .info .menu .item .name
{
text-align: center;
font-size: calc(var(--fsC));
}
.ircd .room div.members div.invite
{
height: 15px;
background-color: var(--pal-DE);
border-left: 1px solid var(--pal-AE);
}
.ircd .room div.members div.invite.member
{
display: flex;
flex-flow: row nowrap;
align-items: flex-start;
width: 100%;
height: 40px;
}
.ircd .room div.members div.invite form
{
display: flex;
flex-flow: column nowrap;
flex-grow: 1;
align-items: stretch;
align-content: stretch;
justify-content: stretch;
margin-right: 1%;
padding: 1px 5px 5px 0px;
}
.ircd .room div.members .invite form h6
{
display: flex;
}
.ircd .room div.members .invite form input
{
display: flex;
padding: 3px 4px 3px 4px;
font-size: 14px;
/* letter-spacing: 0px; */
text-shadow: 0px 0px #000000;
outline: none;
}
.ircd .room div.members form.search
{
position: relative;
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: stretch;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background-color: var(--pal-DE);
}
.ircd .room div.members form.search label
{
padding: 2px 4px 2px 4px;
align-self: flex-end;
color: var(--pal-AC);
display: none;
}
.ircd .room div.members form.search input
{
height: 24px;
border-top: 1px solid var(--pal-AE);
padding: 5px 10px 5px 10px;
margin: 0px 0px 0px 0px;
font-size: 16px;
}
/**
* Main room inner content
*
*/
.ircd .room .main .content
{
position: relative;
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
justify-content: stretch;
background-color: var(--pal-DE);
}
.ircd .room ::-webkit-scrollbar-thumb
{
background-color: var(--pal-DE);
}
.ircd .room .main .content div.filler
{
border-left: 15px solid var(--pal-AA);
}
.ircd .room .main .content div.events
{
position: relative;
/* flex-grow: 1; */
flex-flow: column nowrap;
align-items: stretch;
padding: 10px 0px 0px 0px;
overflow-wrap: break-word;
word-wrap: break-word;
overflow-y: scroll;
will-change: scroll;
direction: rtl;
/* ideally we want to justify flex-end but the browser
* breaks the scrollbars on overflow. There has to be a
* a magic trick done with a wrapping div using direction
* column-reverse. But for now we use a margin to push the
* events down to the bottom and use flex-start to ensure
* at least some alignment is well defined.
*/
justify-content: flex-start;
}
.ircd .room .main .content form.search
{
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
border-top: 1px solid var(--pal-AD);
border-radius: 0px 0px 0px 0px;
background-color: var(--pal-AA);
padding: 1% 5% 1% 5%;
}
.ircd .room .main .content form.search > div
{
}
.ircd .room .main .content form.search input
{
justify-content: center;
font-size: calc(var(--fsB));
border-radius: 3px 3px 3px 3px;
padding: 2px 3px 2px 3px;
}
.ircd .room .main .content form.search .label
{
display: none;
margin-top: 3px;
}
.ircd .room .main .content form.search div.menu
{
margin: 0px 10px 0px 10px;
}
.ircd .room .main .content form.search div.menu .item
{
flex-wrap: wrap;
margin: 0px 3px 0px 3px;
padding: 2px 5px 2px 5px;
}
.ircd .room .main .content form.search div.menu .name
{
max-width: 15ch;
padding-bottom: 1px;
font-size: calc(var(--fsE));
}
.ircd .room .main .content form.search div.menu .icon
{
padding: 1px 5px 1px 5px;
font-size: calc(var(--fsIE));
}
/* Event styling
* Note events are already classified as "item"
*/
.ircd .room .main div.event
{
flex-shrink: 0;
position: relative;
flex-flow: row nowrap;
align-items: first baseline;
justify-content: flex-start;
align-content: flex-start;
direction: ltr;
}
.ircd .room div.main div.event h3,
.ircd .room div.main div.event p
{
font-weight: normal;
text-shadow: 0px 0px #000000;
color: var(--pal-AB);
}
.ircd .room div.main div.event.zoom
{
margin-top: 5px;
}
.ircd .room .main div.event.grouping_start
{
padding-top: 6px;
}
.ircd .room .main div.event.grouping_end
{
padding-bottom: 6px;
}
.ircd .room div.main div.event.show_info
{
border: 1px dashed var(--pal-DC);
}
.ircd .room div.main div.event div.timeline
{
flex-flow: row nowrap;
align-self: stretch;
align-items: stretch;
justify-content: center;
border-left: 3px solid var(--pal-DE);
border-bottom: 1px solid var(--pal-DE);
}
.ircd .room div.main div.event div.timeline .index
{
min-width: 4ch;
padding: 0px 5px 0px 5px;
align-items: center;
justify-content: flex-end;
background-color: var(--pal-AA);
font-size: calc(var(--fsF));
}
.ircd .room div.main div.event div.timeline .index:hover
{
background-color: var(--pal-AB);
}
.ircd .room div.main div.event div.timeline div.info
{
position: relative;
padding: 5px 5px 5px 5px;
border-radius: 0px 5px 5px 0px;
background-color: var(--pal-AA);
}
.ircd .room div.main div.event div.timeline div.info .id
{
align-items: flex-end;
font-size: calc(var(--fsE));
font-family: monospace;
font-weight: bold;
color: white;
border-bottom: 1px solid var(--pal-AD);
}
.ircd .room div.main div.event div.timeline div.info form.event
{
position: relative;
margin-top: 5px;
margin-bottom: 5px;
}
.ircd .room div.main div.event div.timeline div.info form.menu
{
display: none
}
.ircd .room div.main div.event div.timeline div.info form.menu .name
{
font-size: calc(var(--fsD));
}
.ircd .room div.main div.event div.timeline div.info form.menu i
{
font-size: calc(var(--fsID));
}
.ircd .room div.main div.event .unhandled p
{
font-family: monospace;
font-size: 11px;
line-height: 1em;
color: var(--pal-CB) !important;
}
.ircd .room div.main div.event .sender,
.ircd .room div.main div.event .target
{
flex-shrink: 0;
flex-flow: row nowrap;
align-self: stretch;
align-items: center;
justify-content: flex-end;
font-size: 16px;
width: 20ch;
white-space: nowrap;
/* overflow-wrap: break-word; */
/* overflow: hidden; */
/* text-overflow: ellipsis; */
text-shadow: 0px 0px #000000;
letter-spacing: 0px;
font-weight: normal;
color: var(--pal-AB);
}
.ircd .room div.main div.event .sender
{
padding: 0px 5px 0px 5px;
}
.ircd .room div.main div.event .target
{
padding: 0px 0px 0px 10px;
}
.ircd .room div.main div.event .sender .name,
.ircd .room div.main div.event .target .name
{
font-weight: normal;
color: var(--pal-BB);
}
.ircd .room div.main div.event .sender .name.me
{
color: var(--pal-BB);
font-weight: bold;
}
.ircd .room div.main div.event .sender a.avatar,
.ircd .room div.main div.event .target a.avatar
{
display: inline-flex;
align-self: center;
margin: auto 0px auto 0px;
}
.ircd .room div.main div.event .sender .avatar img,
.ircd .room div.main div.event .target .avatar img
{
max-height: 16px;
max-width: 16px;
border-radius: 2px;
padding: 1px 5px 1px 1px;
}
.ircd .room div.main div.event .sender .bracket,
.ircd .room div.main div.event .target .bracket
{
align-self: center;
}
.ircd .room div.main div.event .sender .domain,
.ircd .room div.main div.event .target .domain
{
align-self: center;
font-size: 11px;
color: var(--pal-AD);
padding: 0px 1px 1px 2px;
}
/* Message events */
.ircd .room div.main div.event div.message
{
align-self: flex-start;
align-items: center;
justify-content: flex-start;
text-align: left;
line-break: strict;
color: var(--pal-AB);
overflow-wrap: normal;
padding-right: 8ch; /* added for the timestamp for now */
}
.ircd .room div.main div.event .message .default
{
width: 100%;
font-size: 11px;
font-family: monospace;
color: var(--pal-CC) !important;
text-align: right;
justify-content: flex-end;
}
.ircd .room div.main div.event .message p.text
{
flex-grow: 0;
font-family: Helvetica;
padding: 0px 0px 0px 0px;
font-size: calc(var(--fsPC));
line-break: strict;
word-wrap: normal;
overflow-wrap: normal;
white-space: pre-wrap;
font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
color: black;
}
.ircd .room div.main div.event .message div.notice
{
max-width: 90%;
max-height: 87vh;
font-family: courier;
line-height: 1.0em;
line-break: strict;
white-space: pre-wrap;
padding: 1px 0px 1px 0px;
margin: 2px 0px 2px 0px;
word-wrap: break-word;
word-break: break-all;
overflow-wrap: break-word;
overflow-x: auto;
resize: both;
}
.ircd .room div.main div.event .message .emote
{
flex-grow: 0;
font-family: Arial;
line-height: 1em;
color: var(--pal-AC);
}
.ircd .room div.main div.event .message .image
{
flex-flow: column nowrap;
flex-grow: 1;
justify-content: center;
align-items: flex-start;
border-left: 1px solid var(--pal-DA);
margin: 1px 5px 1px 0px;
padding-left: 5px;
}
.ircd .room div.main div.event .message .image.zoom
{
align-items: center;
padding-left: 0px;
margin-right: 2px;
}
.ircd .room div.main div.event .message .image img
{
flex-shrink: 0;
height: 33vh;
max-width: 100%;
width: auto;
object-fit: contain;
padding: 1px 1px 1px 1px;
overflow: visible;
resize: both;
}
.ircd .room div.main div.event .message .image.zoom img
{
width: auto;
height: auto;
max-width: 95%;
max-height: 90vh;
object-fit: contain;
border-radius: 4px;
}
.ircd .room div.main div.event .message .image .label
{
align-self: stretch;
font-weight: bold;
font-family: NixieOne;
padding: 5px 5px 5px 5px;
font-size: calc(var(--fsD));
color: black;
}
.ircd .room div.main div.event .message .image.zoom .label
{
background-color: var(--pal-DD);
/* justify-content: center; */ /* detracts */ /* (art) */
}
/* State events */
.ircd .room .main div.state.event
{
justify-content: stretch;
}
.ircd .room .main div.state.event div.handler
{
flex-grow: 1;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
margin: 0px 3px 0px 5px;
}
.ircd .room .main div.state.event div.handler h1,
.ircd .room .main div.state.event div.handler h2,
.ircd .room .main div.state.event div.handler h3,
.ircd .room .main div.state.event div.handler h4,
.ircd .room .main div.state.event div.handler h5,
.ircd .room .main div.state.event div.handler h6
{
font-weight: bold;
padding: 5px 5px 5px 5px;
color: var(--pal-AC);
}
.ircd .room .main div.state.event div.handler button.selected .name
{
color: var(--pal-DE);
}
.ircd .room .main div.state.event div.handler button:hover .name
{
color: var(--pal-DE);
}
.ircd .room .main div.state.event div.handler div.changed
{
flex-flow: row nowrap;
align-items: stretch;
justify-content: flex-start;
padding: 0px 0px 0px 0px;
margin: 0px 0px 1px 0px;
}
.ircd .room .main div.state.event div.handler div.changed h1
{
flex-grow: 0;
flex-shrink: 0;
width: 20ch;
align-self: stretch;
align-items: center;
justify-content: center;
margin: 0px;
padding: 1px 10px 1px 10px;
border-top: 1px solid var(--pal-AB);
border-left: 1px solid var(--pal-AB);
border-radius: 3px 0px 0px 0px;
background-color: var(--pal-AA);
font-size: calc(var(--fsC));
text-shadow: 0px 0px var(--pal-AC);
text-align: center;
color: var(--pal-DE);
cursor: pointer;
}
.ircd .room .main div.event.state div.handler.selected div.changed h1
{
background-color: var(--pal-AC) !important;
}
.ircd .room .main div.state.event div.handler.unhandled div.changed h1
{
border: 2px dotted var(--pal-DF);
}
.ircd .room .main div.state.event div.handler div.changed h2
{
flex-grow: 0;
flex-shrink: 0;
align-self: stretch;
align-items: center;
justify-content: center;
width: 12ch;
padding: 1px 5px 1px 5px;
margin: 0px;
font-size: calc(var(--fsC));
border-top: 1px solid var(--pal-DA);
border-right: 1px solid var(--pal-DA);
background-color: var(--pal-DD);
color: var(--pal-AC);
}
.ircd .room .main div.state.event div.handler div.changed h3
{
flex-grow: 1;
align-items: center;
justify-content: flex-start;
padding: 0px 10px 0px 10px;
margin: 0px 0px 0px 0px;
font-size: calc(var(--fsE));
border-top: 1px solid var(--pal-DD);
border-right: 1px solid var(--pal-DD);
border-radius: 0px 3px 0px 0px;
font-weight: normal;
color: black;
}
.ircd .room .main div.state.event div.handler div.changed h4
{
flex-grow: 1;
align-self: stretch;
align-items: center;
justify-content: center;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
font-size: calc(var(--fsC));
border-top: 1px solid var(--pal-DA);
border-right: 1px solid var(--pal-DD);
border-radius: 0px 3px 0px 0px;
color: black;
}
.ircd .room .main div.event.state div.handler.selected div.changed h4
{
background-color: var(--pal-DD) !important;
}
.ircd .room .main div.state.event div.handler.unhandled div.changed h3
{
color: var(--pal-CC);
font-family: monospace;
}
.ircd .room .main div.state.event div.handler div.changed > *
{
}
.ircd .room .main div.state.event div.m_room_member div.changed span
{
}
.ircd .room .main div.state.event div.m_room_member div.changed span.state_key
{
color: var(--pal-BB);
font-size: calc(var(--fsD));
}
.ircd .room .main div.state.event div.m_room_member div.changed span.domain
{
color: var(--pal-AA);
font-size: calc(var(--fsD));
font-weight: normal;
}
.ircd .room .main div.event.state div.m_room_power_levels div.levels
{
flex-flow: column nowrap;
align-items: stretch;
}
.ircd .room .main div.event.state div.m_room_power_levels div.level
{
flex-flow: row nowrap;
align-items: center;
padding: 5px 10px 0px 10px;
border-bottom: 1px solid var(--pal-DA);
}
.ircd .room .main div.event.state div.m_room_power_levels div.level h5
{
margin-right: 2px;
font-size: var(--fsD);
}
.ircd .room .main div.event.state div.m_room_power_levels div.level p
{
font-weight: bold;
justify-content: flex-end;
width: 4ch;
}
.ircd .room .main div.event.state div.m_room_join_rules div.join_rules
{
flex-flow: row nowrap;
align-items: flex-start;
}
.ircd .room .main div.event.state div.m_room_join_rules div.join_rules .item
{
align-items: center;
align-content: center;
justify-content: center;
}
.ircd .room .main div.event.state div.m_room_join_rules div.join_rules .item .name
{
width: 9ch;
}
.ircd .room .main div.event.state div.m_room_aliases div.aliases
{
flex-flow: column nowrap;
align-items: flex-start;
justify-content: flex-start;
border-radius: 0px;
border-left: 1px solid var(--pal-AA);
background-color: var(--pal-DD);
}
.ircd .room .main div.event.state div.ircd_key form.explore2
{
position: relative;
margin-right: 5px;
margin-bottom: 5px;
}
.ircd .room .main div.event.state div.ircd_key form.explore2 div.object
{
}
.ircd .room .main div.event.state div.ircd_key form.explore2 div.member
{
padding-top: 0px;
border-left: 1px solid var(--pal-AD);
}
.ircd .room .main div.event.state div.ircd_key form.explore2 .key
{
}
.ircd .room .main div.event.state div.ircd_key form.explore2 input.value
{
max-width: 50vw;
border-radius: 0px;
margin-top: 0px;
padding-left: 5px;
padding-right: 5px;
}
.ircd .room .main div.event.state div.mc_room_config div.config
{
flex-flow: column nowrap;
align-items: flex-start;
justify-content: flex-start;
border-radius: 0px;
border-left: 1px solid var(--pal-AA);
}
.ircd .room .main div.event.state div.mc_room_config div.config div.item
{
width: 18ch;
}
.ircd .room .main div.event.state div.mc_room_config div.config div.item .key
{
padding: 0px 3px 0px 3px;
background-color: var(--pal-DD);
}
.ircd .room .main div.event.state div.mc_room_config div.config div.item .value
{
padding: 0px 5px 0px 5px;
}
.ircd div.event div.mc_room
div.rooms
{
flex-grow: 1;
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
background-color: var(--pal-AD);
}
.ircd div.event div.mc_room
div.rooms i
{
align-self: center;
cursor: pointer;
color: var(--pal-CD);
}
.ircd div.event div.mc_room
div.rooms div.head
{
flex-grow: 1;
flex-flow: row nowrap;
align-items: stretch;
justify-content: center;
overflow: hidden;
overflow-wrap: nowrap;
text-overflow: ellipsis;
background-color: var(--pal-DE);
padding-right: 5px;
color: var(--pal-AB);
}
.ircd div.event div.mc_room
div.rooms div.head:hover
{
background-color: var(--pal-AC);
color: white;
}
.ircd div.event div.mc_room
div.rooms div.head:hover i
{
color: var(--pal-CA);
}
.ircd div.event div.mc_room
div.rooms div.head .right
{
flex-flow: row nowrap;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0px 5px 0px 5px;
text-shadow: 0px 0px #000000;
line-height: 0.8em;
}
.ircd div.event div.mc_room
div.rooms div.head h3.right
{
overflow: hidden;
white-space: nowrap;
overflow-wrap: nowrap;
text-overflow: ellipsis;
justify-content: flex-start;
width: 30ch;
}
.ircd div.event div.mc_room
div.rooms div.head h3.id
{
font-family: sans-serif;
font-size: calc(var(--fsD));
}
.ircd div.event div.mc_room
div.rooms div.head .left
{
flex-flow: row nowrap;
align-items: stretch;
justify-content: center;
line-height: 0.95em;
font-weight: bold;
padding: 0px 5px 0px 5px;
margin: 0px 0px 0px 0px;
cursor: pointer;
}
.ircd div.event div.mc_room
div.rooms div.head .member_count
{
width: 4ch;
padding: 0px 2px 0px 2px;
margin: 0px 2px 0px 2px;
}
.ircd div.event div.mc_room
div.rooms div.head .notification_count
{
width: 3ch;
padding: 1px 2px 1px 2px;
margin: 1px 2px 1px 2px;
border-radius: 3px;
background-color: var(--pal-DA);
border: 1px solid var(--pal-BC);
}
.ircd div.event div.mc_room
div.rooms div.head .highlight_count
{
width: 3ch;
padding: 1px 2px 1px 2px;
margin: 1px 2px 1px 2px;
border-radius: 3px;
border: 1px solid var(--pal-BA);
background-color: var(--pal-CC);
}
.ircd div.event div.mc_room
div.rooms div.head div.focus
{
flex-flow: row nowrap;
align-items: center;
justify-content: center;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
.ircd div.event div.mc_room
div.rooms div.head div.focus i
{
text-shadow: initial;
padding-right: 7px;
padding-left: 5px;
padding-top: 1px;
margin: 1px 0px 0px 0px;
color: var(--pal-CD);
}
.ircd div.event div.mc_room
div.rooms div.head div.focus.selected i
{
visibility: inherit;
}
.ircd div.event div.mc_room
div.rooms div.head:hover div.focus
{
background-color: var(--pal-AC);
}
.ircd div.event div.mc_room
div.rooms div.head div.focus:hover
{
background-color: var(--pal-AB) !important;
}
.ircd div.event div.mc_room
div.rooms div.head div.focus.selected
{
background-color: var(--pal-AC) !important;
}
.ircd div.event div.mc_room
div.rooms div.head div.focus:hover.selected
{
background-color: var(--pal-AB) !important;
}
.ircd div.event div.mc_room
div.rooms div.info
{
flex-grow: 10;
flex-shrink: 0;
box-sizing: border-box;
align-self: stretch;
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
padding: 0px 0px 0px 0px;
background-color: var(--pal-DE);
}
.ircd div.event div.mc_room
div.rooms div.info > div.name
{
padding: 10px 10px 10px 10px;
border-bottom: 1px solid var(--pal-DA);
background-color: var(--pal-DD);
justify-content: right;
color: black;
}
.ircd div.event div.mc_room
div.rooms div.info > div.id
{
justify-content: flex-end;
padding: 5px 10px 5px 10px;
border-bottom: 1px solid var(--pal-DD);
color: var(--pal-AB);
}
.ircd div.event div.mc_room div.event
div.rooms div.info > div.id h4,
.ircd div.event div.mc_room div.event
div.rooms div.info > div.name h3
{
text-shadow: initial;
}
.ircd div.event div.mc_room
div.rooms div.info > div.stats
{
flex-flow: column nowrap;
align-items: stretch;
justify-content: center;
padding-top: 5px;
}
.ircd .room .main div.event div.right
{
position: absolute;
right: 8px;
flex-flow: column nowrap;
align-items: flex-end;
justify-content: flex-start;
}
.ircd .room .main div.event div.right h1
{
font-size: calc(var(--fsD));
color: var(--pal-AA);
margin-right: 2px;
}
.ircd .room .main div.event div.right p
{
font-size: calc(var(--fsE));
letter-spacing: 0.75px;
color: var(--pal-AD);
}
.ircd .room .main div.event div.right .white p
{
font-weight: bold;
text-shadow: 0px 0px white;
color: white;
}
.ircd .room .main div.state.event div.timestamp
{
margin-top: 2px;
}
.ircd .room .main div.event.present > div
{
flex-flow: row nowrap;
align-items: stretch;
background-color: var(--pal-DE);
padding: 1px 5px 1px 5px;
}
.ircd .room .main div.event.present i
{
font-size: calc(var(--fsID));
color: var(--pal-AB);
}
.ircd .room .main div.event.present h1
{
font-size: calc(var(--fsD));
color: var(--pal-AA);
margin-right: 2px;
}
.ircd .room .main div.event.present p
{
font-size: calc(var(--fsE));
letter-spacing: 0.70px;
color: var(--pal-AD);
}
.ircd .room .main div.event.present .white p
{
font-weight: bold;
color: white;
}
.ircd .room .main div.event.present div.typing
{
flex-flow: row nowrap;
align-items: stretch;
flex-grow: 1;
}
.ircd .room .main div.event.present div.typing i
{
font-size: calc(var(--fsIE));
}
.ircd .room .main div.event.present div.typer
{
align-items: center;
margin: 0px 4px 0px 4px;
}
.ircd .room .main div.event.present div.receipts
{
flex-flow: row wrap;
align-items: flex-end;
justify-content: flex-end;
}
.ircd .room .main div.event.present div.receipts i
{
font-size: calc(var(--fsIE));
color: var(--pal-AA);
}
.ircd .room .main div.event.present div.receipt
{
flex-flow: row nowrap;
align-items: center;
justify-content: flex-start;
margin: 0px 4px 0px 4px;
}
.ircd .room .main div.event.present div.receipt:first-child
{
margin: 0px 4px 0px 0px;
}
.ircd .room .main div.event.present div.receipt:last-child
{
margin: 0px 0px 0px 4px;
}
/*
* Main room user input bar
*/
.ircd .room .main .content form.input
{
display: flex;
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: flex-start;
background-color: var(--pal-AA);
padding: 0px 0px 0px 15px;
margin: 0px 0px 0px 0px;
}
.ircd .room .main .content form.input div.message
{
flex-shrink: 0;
flex-flow: row nowrap;
align-items: stretch;
justify-content: flex-start;
background-color: var(--pal-AA);
}
.ircd .room .main .content form.input div.message i
{
align-self: stretch;
align-items: center;
justify-content: center;
font-size: calc(var(--fsIE));
}
.ircd .room .main .content form.input div.message input,
.ircd .room .main .content form.input div.message textarea
{
display: flex;
box-sizing: border-box;
justify-content: center;
border-radius: 0px 0px 0px 0px;
border-top: 1px solid var(--pal-AE);
margin: 0px;
}
.ircd .room .main .content form.input div.message input:focus,
.ircd .room .main .content form.input div.message textarea:focus
{
border-radius: 0px 0px 0px 0px;
}
.ircd .room .main .content form.input div.message textarea[name=message]
{
text-shadow: 1px 1px #585858;
padding: 5px 10px 5px 1px;
font-family: monospace;
text-shadow: 0px 0px #000000;
font-size: 16px;
resize: none;
}
.ircd .room .main .content form.input div.message textarea[name=message]:focus
{
}
.ircd .room .main .content form.input div.message div.attach
{
display: flex;
position: relative;
flex-flow: row nowrap;
align-items: stretch;
justify-content: stretch;
padding: 0px 10px 0px 10px;
}
.ircd .room .main .content form.input div.message div.attach:hover
{
background-color: var(--pal-AB);
}
.ircd .room .main .content form.input div.message .attach i.icon
{
align-self: center;
}
.ircd .room .main .content form.input div.message .attach input
{
position: absolute;
overflow: hidden;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
opacity: 0.0;
}
.ircd .room .main .content form.input div.message button[type=submit]
{
flex-grow: 0;
align-self: stretch;
align-items: center;
justify-content: center;
text-shadow: 1px 1px #585858;
padding: 0px 20px 0px 20px;
border-radius: 0px 0px 0px 0px;
}
.ircd .room .main .content form.input div.message button.submit:hover
{
background-color: var(--pal-BC);
}
.ircd .room .main .content form.input div.message button.submit.empty:hover
{
background-color: inherit;
}
.ircd .room .main .content form.input div.message button.submit.empty:hover i
{
color: var(--pal-CD);
}
.ircd .room .main .content form.input div.message button.submit.eval
{
background-color: var(--pal-DC);
color: var(--pal-AA);
}
.ircd .room .main .content form.input div.message button.submit.eval i
{
color: var(--pal-BC);
}
.ircd .room .main .content form.input div.message i.reply
{
padding: 1px 10px 0px 10px;
}
.ircd .room .main .content form.input div.files
{
flex-shrink: 0;
flex-flow: column nowrap;
align-items: stretch;
justify-content: flex-start;
background-color: var(--pal-AD);
}
.ircd .room .main .content form.input div.summary
{
flex-flow: row nowrap;
align-items: center;
justify-content: center;
}
.ircd .room .main .content form.input div.file
{
position: relative;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
margin: 0px 0px 0px 0px;
}
.ircd .room .main .content form.input div.file > *
{
z-index: 2;
}
.ircd .room .main .content form.input div.file button.remove
{
padding: 0px 5px 0px 5px;
font-size: calc(var(--fsIB));
}
.ircd .room .main .content form.input div.file .name
{
flex-grow: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ircd .room .main .content form.input div.file .url
{
font-weight: bold;
}
.ircd .room .main .content form.input div.file div.status
{
padding: 0px 10px 0px 10px;
align-items: center;
}
.ircd .room .main .content form.input div.file div.status .state
{
margin: 0px 5px 0px 5px;
}
.ircd .room .main .content form.input div.file button
{
align-self: stretch;
align-items: center;
padding-right: 10px;
padding-left: 10px;
color: white;
}
.ircd .room .main .content form.input div.file button .icon
{
font-size: calc(var(--fsIC));
padding: 0px 5px 0px 5px;
border-radius: 5px;
}
.ircd .room .main .content form.input div.file button.upload
{
margin: 2px 5px 2px 5px;
border: 1px solid var(--pal-BB);
border-radius: 5px;
background-color: var(--pal-BC);
}
.ircd .room .main .content form.input div.file button.post
{
margin: 5px;
border-radius: 5px;
background-color: var(--pal-AA);
border: 1px solid var(--pal-BA);
}
.ircd .room .main .content form.input div.file button.post i
{
margin: 5px;
border-radius: 5px;
}
.ircd .room .main .content form.input div.file img
{
margin: 5px;
border: 1px solid var(--pal-AC);
border-radius: 3px;
max-width: 120px;
max-height: 60px;
min-height: 60px;
height: auto;
width: auto;
object-fit: contain;
}
.ircd .room .main .content form.input div.file div.text
{
flex-grow: 1;
}
.ircd .room .main .content form.input div.file div.text .label
{
align-self: stretch;
align-items: center;
margin: 2px 0px 2px 0px;
padding: 0px 2px 0px 6px;
border-left: 1px dotted var(--pal-AE);
}
.ircd .room .main .content form.input div.file div.text input
{
margin: 2px 5px 2px 5px;
padding-right: 4px;
padding-left: 4px;
border-radius: 2px;
width: 33%;
}
.ircd .room .main .content form.input div.file div.progress
{
position: absolute;
z-index: 1;
opacity: 1.0;
}
.ircd .room .main .content form.input div.file.loading div.progress
{
background-color: var(--pal-DB);
}
.ircd .room .main .content form.input div.file.uploading div.progress
{
}
.ircd .room .main .content form.input div.file.failed div.progress
{
width: 100%;
background-color: var(--pal-CB);
}
/**
* Room explorer
*/
.ircd .room .main .explore
{
display: inline-flex;
flex-flow: column nowrap;
flex-shrink: 0;
flex-basis: 25%;
align-items: stretch;
justify-content: stretch;
background-color: var(--pal-DE);
border-left: 1px solid var(--pal-AA);
}
.ircd .room .main .explore .content > div.object
{
border-left: 0px;
}
.ircd .room .main .explore .control
{
display: none;
flex-flow: row nowrap;
align-items: center;
justify-content: flex-end;
padding: 0px 10px 0px 10px;
border-radius: 0px 0px 0px 0px;
border-right: 15px solid var(--pal-AA);
background-color: var(--pal-AD);
color: #FFFFFF;
}
.ircd .room .main .explore div.control > i
{
font-size: calc(1vw + 1vh);
padding: 5px 10px 5px 10px;
}
.ircd .room .main .explore div.control i.selected
{
background-color: var(--pal-AC);
color: var(--pal-CA);
}
.ircd .room .main .explore div.control > i:hover
{
background-color: var(--pal-AC);
}
.ircd .room .main .explore .content
{
padding: 0px 10px 0px 0px;
color: #FFFFFF;
overflow: auto;
}
/************************************************
* ...
*/