168 lines
3.7 KiB
CSS
Executable File
168 lines
3.7 KiB
CSS
Executable File
@font-face {
|
|
font-family: 'NotoColorEmoji';
|
|
src: url('NotoColorEmoji.ttf') format('truetype');
|
|
}
|
|
|
|
.eic-chat {
|
|
min-width: 50vw;
|
|
padding: var(--eicui-base-spacing-m) !important;
|
|
}
|
|
.eic-chat section .conversations > div > div {
|
|
display: grid;
|
|
grid-gap: 10px;
|
|
grid-template-rows: auto min-content min-content;
|
|
}
|
|
.eic-chat .status {
|
|
float: right;
|
|
color: var(--eicui-base-color-white);
|
|
display: grid;
|
|
width: 24px;
|
|
height: 24px;
|
|
background: var(--eicui-base-color-danger-100);
|
|
border-radius: 24px;
|
|
font-size: 1rem;
|
|
align-content: center;
|
|
justify-content: center;
|
|
}
|
|
.eic-chat .status.active {
|
|
background: var(--eicui-base-color-success-100);
|
|
}
|
|
|
|
|
|
.eic-chat .chanlist {
|
|
width: 250px;
|
|
font-size: .8em;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
min-height:350px;
|
|
padding: 5px;
|
|
grid-area: chanlist;
|
|
}
|
|
.eic-chat .history{
|
|
grid-area: history;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
min-height: 300px;
|
|
width:100%;
|
|
text-transform: none;
|
|
max-height: 500px;
|
|
overflow: scroll;
|
|
}
|
|
.eic-chat .lobbyname {
|
|
grid-area: lobbyname;
|
|
background-color: var(--eicui-app-toolbar-bg-color);
|
|
color: var(--eicui-base-color-white);
|
|
padding: 5px;
|
|
text-transform: none;
|
|
}
|
|
.eic-chat .history .histo-entry{
|
|
font-family: sans-serif, 'NotoColorEmoji' !important;
|
|
background-color: #E8E8FF;
|
|
border-radius: 5px;
|
|
margin: 2px 5px;
|
|
padding: 2px 5px;
|
|
display: inline-block;
|
|
max-width: 500px;
|
|
float: left;
|
|
clear: both;
|
|
}
|
|
.eic-chat .history .day-separator{
|
|
clear: both;
|
|
height: 0;
|
|
border: 0px none transparent;
|
|
border-top: 2px dotted #777;
|
|
text-align: center;
|
|
line-height: 17px;
|
|
font-size: smaller;
|
|
}
|
|
.eic-chat .history .histo-entry.me{
|
|
float: right;
|
|
background-color: #D9F2D7;
|
|
}
|
|
.eic-chat .history .histo-entry .sender{
|
|
display: inline-block;
|
|
font-size: .85em;
|
|
font-weight: bold;
|
|
background-color: var(--eicui-app-toolbar-bg-color);
|
|
color: #FFF;
|
|
padding: 0 2px 2px 2px;
|
|
border-radius: 5px;
|
|
font-family: monospace;
|
|
}
|
|
.eic-chat .message{
|
|
grid-area: message;
|
|
width:550px;
|
|
font-family: sans-serif, 'NotoColorEmoji' !important;
|
|
}
|
|
.eic-chat .send{
|
|
grid-area: send;
|
|
}
|
|
|
|
|
|
.eic-chat {
|
|
display:grid;
|
|
grid-template-areas:
|
|
'chanlist lobbyname lobbyname'
|
|
'chanlist history history'
|
|
'chanlist message send';
|
|
}
|
|
.eic-chat .chanlist li.row{
|
|
grid-template-columns: 15px 2fr;
|
|
}
|
|
|
|
.eic-chat .chanlist span.userled{
|
|
position: absolute;
|
|
left: 5px;
|
|
height: calc(var(--eicui-base-spacing-s)*.8);
|
|
min-width: calc(var(--eicui-base-spacing-s)*.8);
|
|
border: 1px outset #aaa;
|
|
}
|
|
.eic-chat .chanlist span.lobbyled{
|
|
position: absolute;
|
|
left: 5px;
|
|
height: calc(var(--eicui-base-spacing-s)*.8);
|
|
min-width: calc(var(--eicui-base-spacing-s)*.8);
|
|
border: 2px outset #00A;
|
|
}
|
|
|
|
.eic-chat .output {
|
|
overflow-y: auto;
|
|
height: 350px;
|
|
background-color: var(--eicui-base-color-white);
|
|
width: 100%;
|
|
border: 1px solid var(--eicui-base-color-grey);
|
|
padding: 10px;
|
|
font-size: 0.8rem;
|
|
}
|
|
.eic-chat .output .emitter {
|
|
color: var(--eicui-base-color-primary);
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.eic-chat .cols-2.form {
|
|
height: 60px;
|
|
align-items: flex-end;
|
|
}
|
|
.eic-chat .cols-2.form textarea {
|
|
resize: none;
|
|
}
|
|
.eic-chat .lobby {
|
|
display: grid;
|
|
grid-gap: var(--eicui-base-spacing-m);
|
|
}
|
|
#subchalst{
|
|
margin: 0 0 0 0;
|
|
padding: 0 0 0 5px;
|
|
}
|
|
#subchalst li{
|
|
font-size:12px;
|
|
}
|
|
.eic-chat .subscriptions,
|
|
.eic-chat .onlineusers{
|
|
min-width: 300px;
|
|
}
|
|
|
|
.eic-chat .subscriptions label,
|
|
.eic-chat .onlineusers label{
|
|
font-weight:bold;
|
|
} |