mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Rewriting AnsiUp colors for search overlay
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
ceb12f5d91
commit
d875a94996
@ -1,4 +1,7 @@
|
|||||||
.PodLogs {
|
.PodLogs {
|
||||||
|
--overlay-bg: #8cc474b8;
|
||||||
|
--overlay-active-bg: orange;
|
||||||
|
|
||||||
.logs {
|
.logs {
|
||||||
@include custom-scrollbar;
|
@include custom-scrollbar;
|
||||||
|
|
||||||
@ -11,14 +14,6 @@
|
|||||||
background: $logsBackground;
|
background: $logsBackground;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
.find-overlay {
|
|
||||||
position: absolute;
|
|
||||||
border-radius: 2px;
|
|
||||||
background-color: #8cc474;
|
|
||||||
margin-top: 4px;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.VirtualList {
|
.VirtualList {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
@ -40,11 +35,19 @@
|
|||||||
|
|
||||||
span.overlay {
|
span.overlay {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-color: #8cc474b8;
|
|
||||||
-webkit-font-smoothing: auto;
|
-webkit-font-smoothing: auto;
|
||||||
|
background-color: var(--overlay-bg);
|
||||||
|
|
||||||
|
span {
|
||||||
|
background-color: var(--overlay-bg)!important; // Rewriting inline styles from AnsiUp library
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: orange;
|
background-color: var(--overlay-active-bg);
|
||||||
|
|
||||||
|
span {
|
||||||
|
background-color: var(--overlay-active-bg)!important; // Rewriting inline styles from AnsiUp library
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -52,25 +55,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-logs-sep {
|
|
||||||
position: relative;
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
border-top: 1px solid $primary;
|
|
||||||
margin: $margin * 2 0;
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
content: 'new';
|
|
||||||
background: $primary;
|
|
||||||
color: white;
|
|
||||||
padding: $padding / 3;
|
|
||||||
border-radius: $radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.jump-to-bottom {
|
.jump-to-bottom {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 30px;
|
right: 30px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user