2019-12-15 19:14:56 +08:00
|
|
|
@import './mixins/mixins.scss';
|
|
|
|
|
2019-12-16 19:00:34 +08:00
|
|
|
@include themes-mixin {
|
|
|
|
@include b(log) {
|
|
|
|
position: relative;
|
|
|
|
font-family: 'FiraCode', monospace;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $--n-secondary-text-color;
|
|
|
|
box-sizing: border-box;
|
2019-12-17 18:14:02 +08:00
|
|
|
transition: border-color .3s $default-cubic-bezier;
|
|
|
|
@include m(top-bordered) {
|
|
|
|
border-top: 1px solid $--n-border-color;
|
|
|
|
}
|
|
|
|
@include m(bottom-bordered) {
|
|
|
|
border-bottom: 1px solid $--n-border-color;
|
|
|
|
}
|
2019-12-16 19:00:34 +08:00
|
|
|
@include b(scrollbar-content) {
|
2019-12-17 18:14:02 +08:00
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2019-12-16 19:00:34 +08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
@include e(lines) {
|
|
|
|
margin: 0;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
@include e(line) {
|
|
|
|
margin: 0;
|
2019-12-15 19:14:56 +08:00
|
|
|
}
|
2019-12-16 19:00:34 +08:00
|
|
|
@include b(log-loader) {
|
|
|
|
@include fade-in-width-expand-transition($duration: .3s, $delay: 0s);
|
2019-12-17 18:14:02 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
border: 1px solid $--n-border-color;
|
|
|
|
// box-shadow: $--popover-box-shadow;
|
2019-12-16 19:00:34 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
top: 8px;
|
|
|
|
height: 34px;
|
|
|
|
border-radius: 17px;
|
|
|
|
color: $--n-secondary-text-color;
|
|
|
|
background-color: $--n-dialog-color;
|
|
|
|
line-height: 34px;
|
|
|
|
font-family: 'Lato';
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
@include e(content) {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
line-height: 34px;
|
|
|
|
font-family: 'Lato';
|
|
|
|
padding-left: 40px;
|
|
|
|
padding-right: 20px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
@include b(spin) {
|
|
|
|
position: absolute;
|
|
|
|
left: 12px;
|
|
|
|
top: calc(50% - 10px);
|
|
|
|
font-size: 20px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2019-12-15 19:14:56 +08:00
|
|
|
}
|
2019-12-16 19:00:34 +08:00
|
|
|
}
|