115 lines
1.9 KiB
SCSS
115 lines
1.9 KiB
SCSS
.mchat {
|
|
&__messages {
|
|
@extend %break-word;
|
|
|
|
flex: 1 1 auto;
|
|
max-height: 50vh;
|
|
|
|
@include breakpoint($mq-col3-uniboard) {
|
|
max-height: none;
|
|
}
|
|
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
cursor: initial;
|
|
font-size: 0.9em;
|
|
|
|
li {
|
|
position: relative;
|
|
padding: 0.5em 5px 0.5em 10px;
|
|
line-height: 1.2em;
|
|
overflow-y: hidden;
|
|
user-select: text;
|
|
|
|
&.me {
|
|
border-left: 3px solid $c-secondary-dim;
|
|
padding-left: 7px;
|
|
}
|
|
|
|
&.host {
|
|
background-color: rgba($c-secondary-dim, 0.4);
|
|
}
|
|
}
|
|
|
|
.deleted {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.system {
|
|
display: block;
|
|
opacity: 0.8;
|
|
font-style: italic;
|
|
font-size: 0.9em;
|
|
margin-left: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.color,
|
|
.user-link {
|
|
font-weight: bold;
|
|
padding: 0;
|
|
color: $c-font-dim;
|
|
letter-spacing: -1px;
|
|
padding-right: 0.4em;
|
|
max-width: 110px;
|
|
text-overflow: ellipsis;
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
line.patron {
|
|
font-size: 1.1em;
|
|
width: 1.2em;
|
|
text-align: left;
|
|
color: $c-brag;
|
|
}
|
|
|
|
.utitle {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
a:not(.user-link) {
|
|
@extend %roboto;
|
|
}
|
|
|
|
i {
|
|
display: none;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 0;
|
|
cursor: pointer;
|
|
margin-right: 3px;
|
|
padding: 1px 5px;
|
|
opacity: 0.7;
|
|
color: $c-accent;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
li:hover i {
|
|
display: block;
|
|
text-shadow: 0 0 2px $c-bg-box, 0 0 5px $c-bg-box, 0 0 10px $c-bg-box;
|
|
}
|
|
|
|
li.me i {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
&__say {
|
|
flex: 0 0 auto;
|
|
border: 0;
|
|
border-top: $border;
|
|
border-radius: 0;
|
|
padding: 3px 20px 3px 4px;
|
|
|
|
&.whisper {
|
|
color: $c-good;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|