mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Player: replace player.css with scss modules
This commit is contained in:
parent
ae9456d6dd
commit
ade6f5d2c3
14 changed files with 189 additions and 181 deletions
49
src/components/Player/Player.module.scss
Normal file
49
src/components/Player/Player.module.scss
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue