mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
49 lines
924 B
SCSS
49 lines
924 B
SCSS
.elseifplayer {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
|
|
background-color: var(--bg-color);
|
|
color: var(--main-color);
|
|
padding: var(--outer-padding);
|
|
|
|
.output {
|
|
display: flex;
|
|
flex-grow: 2;
|
|
flex-direction: column;
|
|
overflow-y: hidden;
|
|
overflow-wrap: break-word;
|
|
|
|
border: var(--border-width) solid var(--main-color);
|
|
|
|
.buffer {
|
|
overflow-y: scroll;
|
|
box-sizing: border-box;
|
|
|
|
padding: var(--inner-padding);
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
|
|
& > br:first-child,
|
|
& > br:last-child,
|
|
& > br + br + br {
|
|
display: none;
|
|
}
|
|
|
|
&.gridBuffer {
|
|
flex-shrink: 0;
|
|
max-height: 100%;
|
|
border-bottom: var(--separator-width) solid var(--main-color);
|
|
}
|
|
|
|
&.textBuffer {
|
|
flex: 2 1;
|
|
outline: none;
|
|
scroll-behavior: smooth;
|
|
}
|
|
}
|
|
}
|
|
}
|