156 lines
2.4 KiB
CSS
156 lines
2.4 KiB
CSS
/**
|
|
* the styling of the simplechat web frontend
|
|
* by Humans for All
|
|
*/
|
|
|
|
#fullbody {
|
|
height: 98vh;
|
|
}
|
|
|
|
.heading {
|
|
background-color: lightgray;
|
|
}
|
|
|
|
.session-selected {
|
|
background-color: lightblue;
|
|
}
|
|
|
|
.role-system {
|
|
background-color: lightblue;
|
|
}
|
|
.role-user {
|
|
background-color: lightgray;
|
|
}
|
|
.role-tool {
|
|
background-color: lightyellow;
|
|
}
|
|
.role-trim {
|
|
background-color: lightpink;
|
|
}
|
|
|
|
.chat-message {
|
|
border-style: solid;
|
|
border-color: grey;
|
|
border-width: thin;
|
|
border-radius: 2px;
|
|
display: flex;
|
|
}
|
|
.chat-message-role {
|
|
border-style: dotted;
|
|
border-color: black;
|
|
border-width: thin;
|
|
border-radius: 4px;
|
|
writing-mode: vertical-lr;
|
|
padding-inline: 1vmin;
|
|
}
|
|
.chat-message-reasoning {
|
|
border-block-style: dashed;
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
.chat-message-toolcall {
|
|
border-style: solid;
|
|
border-color: grey;
|
|
border-width: thin;
|
|
border-radius: 2px;
|
|
}
|
|
.chat-message-toolcall-arg {
|
|
border-style: solid;
|
|
border-color: grey;
|
|
border-width: thin;
|
|
border-radius: 2px;
|
|
}
|
|
.chat-message-content {
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
.chat-message-content-live {
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
|
|
.gridx2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
border-bottom-style: dotted;
|
|
border-bottom-width: thin;
|
|
border-bottom-color: lightblue;
|
|
}
|
|
|
|
.flex-grow {
|
|
flex-grow: 1;
|
|
}
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
|
|
#chat-div {
|
|
overflow: scroll;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
min-height: 40vh;
|
|
}
|
|
button {
|
|
padding-inline: 2vmin;
|
|
}
|
|
|
|
.sameline {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.samecolumn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ul1 {
|
|
padding-inline-start: 2vw;
|
|
}
|
|
.ul2 {
|
|
padding-inline-start: 2vw;
|
|
}
|
|
|
|
|
|
.DivObjPropsInfoL0 {
|
|
margin: 0%;
|
|
}
|
|
[class^=SectionObjPropsInfoL] {
|
|
margin-left: 2vmin;
|
|
}
|
|
|
|
|
|
* {
|
|
margin: 0.6vmin;
|
|
}
|
|
|
|
|
|
@media print {
|
|
|
|
|
|
#fullbody {
|
|
height: auto;
|
|
}
|
|
|
|
.chat-message {
|
|
border-style: solid;
|
|
border-color: grey;
|
|
border-width: thin;
|
|
border-radius: 2px;
|
|
display:inherit;
|
|
}
|
|
.chat-message-role {
|
|
border-style: dotted;
|
|
border-color: black;
|
|
border-width: thin;
|
|
border-radius: 4px;
|
|
writing-mode:inherit;
|
|
padding-inline: 1vmin;
|
|
}
|
|
|
|
|
|
}
|