xK/xP/public/xP.css

155 lines
2.2 KiB
CSS
Raw Normal View History

body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
.xP {
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.title, .status {
padding: .05rem .3rem;
background: #eee;
position: relative;
border-top: 3px solid #ccc;
border-bottom: 2px solid #888;
}
.title:before, .status:before {
content: " ";
position: absolute;
left: 0;
right: 0;
height: 2px;
top: -2px;
background: #fff;
}
.title:after, .status:after {
content: " ";
position: absolute;
left: 0;
right: 0;
height: 1px;
bottom: -1px;
background: #ccc;
}
2022-09-06 23:37:06 +02:00
.title {
display: flex;
justify-content: space-between;
align-items: baseline;
2022-09-06 23:37:06 +02:00
}
.middle {
flex: auto;
display: flex;
flex-direction: row;
overflow: hidden;
}
.list {
overflow-y: auto;
border-right: 1px solid #ccc;
min-width: 10rem;
}
.item {
padding: .05rem .3rem;
cursor: default;
}
.item.active {
font-style: italic;
background: #f8f8f8;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
margin-top: -1px;
margin-bottom: -1px;
}
/* Only Firefox currently supports align-content: safe end, thus this. */
.buffer-container {
flex: auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
.filler {
flex: auto;
}
.buffer {
display: grid;
grid-template-columns: max-content auto;
overflow-y: auto;
}
2022-09-06 23:37:06 +02:00
.log {
padding: .1rem .3rem;
font-family: monospace;
white-space: pre-wrap;
overflow-y: auto;
}
.leaked {
opacity: 50%;
}
.date {
padding: .3rem;
grid-column: span 2;
font-weight: bold;
}
.time {
padding: .1rem .3rem;
background: #f8f8f8;
color: #bbb;
border-right: 1px solid #ccc;
}
.mark {
padding-right: .3rem;
text-align: center;
display: inline-block;
min-width: 2rem;
}
.mark.error {
color: red;
}
.mark.join {
color: green;
}
.mark.part {
color: red;
}
.mark.action {
color: darkred;
}
.content {
padding: .1rem .3rem;
white-space: pre-wrap;
}
2022-09-06 14:35:42 +02:00
.content .b {
font-weight: bold;
}
2022-09-06 14:35:42 +02:00
.content .i {
font-style: italic;
}
2022-09-06 14:35:42 +02:00
.content .u {
text-decoration: underline;
}
2022-09-06 14:35:42 +02:00
.content .s {
text-decoration: line-through;
}
2022-09-06 14:35:42 +02:00
.content .m {
font-family: monospace;
}
textarea {
font: inherit;
padding: .05rem .3rem;
margin: 0;
border: 2px inset #eee;
flex-shrink: 0;
}
textarea:focus {
outline: none;
border-color: #ff5f00;
}