mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Moving pod logs into Dock Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Always set up default container Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Open existent tab if fount Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Moving logs load and properties into store Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Setting a refresher Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding showButtons prop to InfoPanel Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Hiding sequence number in log tabs Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing PodLogsDialog Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing unused PodLogsDialog import Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Tiny cleaning Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * A bit of cleaning up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Hiding drawer when opening logs Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
43 lines
975 B
SCSS
43 lines
975 B
SCSS
.PodLogs {
|
|
.logs {
|
|
@include custom-scrollbar;
|
|
|
|
// fix for `this.logsElement.scrollTop = this.logsElement.scrollHeight`
|
|
// `overflow: overlay` don't allow scroll to the last line
|
|
overflow: auto;
|
|
|
|
color: $textColorAccent;
|
|
background: $logsBackground;
|
|
line-height: var(--log-line-height);
|
|
border-radius: 2px;
|
|
padding: $padding * 2;
|
|
font-family: $font-monospace;
|
|
font-size: smaller;
|
|
white-space: pre;
|
|
flex-grow: 1;
|
|
|
|
> div {
|
|
// Provides font better readability on large screens
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
}
|
|
}
|
|
|
|
.new-logs-sep {
|
|
position: relative;
|
|
display: block;
|
|
height: 0;
|
|
border-top: 1px solid $primary;
|
|
margin: $margin * 2;
|
|
|
|
&:after {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
content: 'new';
|
|
background: $primary;
|
|
color: white;
|
|
padding: $padding / 3;
|
|
border-radius: $radius;
|
|
}
|
|
}
|
|
} |