132 lines
2.9 KiB
SCSS
132 lines
2.9 KiB
SCSS
@use "../../abstracts/variables" as *;
|
|
@use "../../abstracts/mixins" as *;
|
|
|
|
.log-list-container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: var(--background-color-secondary);
|
|
@include flex-center;
|
|
|
|
.log-list-wrapper {
|
|
height: 60%;
|
|
min-width: 55%;
|
|
z-index: 5;
|
|
background: var(--background-color);
|
|
padding: 14px 12px;
|
|
border-radius: 15px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
backdrop-filter: blur(50px);
|
|
outline: 1px solid var(--border-color);
|
|
|
|
.log-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.log-header-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
.icon {
|
|
@include flex-center;
|
|
scale: 0.8;
|
|
}
|
|
}
|
|
|
|
.close {
|
|
@include flex-center;
|
|
height: 28px;
|
|
width: 28px;
|
|
cursor: pointer;
|
|
border-radius: #{$border-radius-medium};
|
|
svg {
|
|
scale: 1.6;
|
|
}
|
|
&:hover {
|
|
background: var(--background-color);
|
|
}
|
|
}
|
|
}
|
|
.log-nav-container {
|
|
@include flex-space-between;
|
|
align-items: flex-end;
|
|
.log-nav-wrapper {
|
|
display: flex;
|
|
gap: 6px;
|
|
|
|
.log-nav {
|
|
padding: 8px 16px;
|
|
border-radius: 19px;
|
|
}
|
|
|
|
.log-nav.active {
|
|
background-color: var(--background-color-accent);
|
|
color: var(--text-button-color);
|
|
}
|
|
}
|
|
.clear-button{
|
|
margin: 0 6px;
|
|
padding: 4px 12px;
|
|
color: var(--text-disabled);
|
|
border-radius: #{$border-radius-large};
|
|
&:hover{
|
|
font-weight: 300;
|
|
color: var(--text-color);
|
|
background: var(--background-color-solid-gradient);
|
|
}
|
|
}
|
|
}
|
|
|
|
.log-entry-wrapper {
|
|
height: calc(100% - 80px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
background: var(--background-color);
|
|
padding: 10px;
|
|
border-radius: 16px;
|
|
outline: 1px solid var(--border-color);
|
|
outline-offset: -1px;
|
|
overflow: auto;
|
|
|
|
.log-entry {
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
font-size: var(--font-size-small);
|
|
display: flex;
|
|
|
|
.log-icon {
|
|
height: 24px;
|
|
width: 24px;
|
|
@include flex-center;
|
|
}
|
|
.log-entry-message-container {
|
|
@include flex-space-between;
|
|
gap: 12px;
|
|
width: 100%;
|
|
.message-time {
|
|
font-size: var(--font-size-tiny);
|
|
font-weight: 300;
|
|
opacity: 0.8;
|
|
text-wrap: nowrap;
|
|
height: 100%;
|
|
}
|
|
.log-entry-message {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&:nth-child(odd) {
|
|
background: var(--background-color);
|
|
}
|
|
}
|
|
}
|
|
.no-log{
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: var(--text-color);
|
|
}
|
|
}
|
|
}
|