diff options
| author | Haishan <[email protected]> | 2021-06-06 00:32:24 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2021-06-06 00:33:22 +0800 |
| commit | 5ff2f89afb71fd2976c487692ec73085241e09c7 (patch) | |
| tree | fe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/Logs.module.scss | |
| parent | 25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff) | |
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/Logs.module.scss')
| -rw-r--r-- | src/components/Logs.module.scss | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/components/Logs.module.scss b/src/components/Logs.module.scss new file mode 100644 index 0000000..508e9c6 --- /dev/null +++ b/src/components/Logs.module.scss @@ -0,0 +1,75 @@ +.logMeta { + display: flex; + align-items: center; + flex-wrap: wrap; + font-size: 0.9em; +} + +.logType { + color: #eee; + flex-shrink: 0; + text-align: center; + width: 66px; + border-radius: 100px; + padding: 3px 5px; + margin: 0 8px; +} + +.logTime { + flex-shrink: 0; + color: #999; + font-size: 14px; +} + +.logText { + flex-shrink: 0; + display: flex; + font-family: 'Roboto Mono', Menlo, monospace; + align-items: center; + padding: 8px 0; + /* force wrap */ + width: 100%; + white-space: pre; + overflow: auto; +} + +/*******************/ + +.logsWrapper { + margin: 0; + padding: 0; + color: var(--color-text); + + :global { + li { + background: var(--color-background); + } + li.even { + background: var(--color-background); + } + } +} + +.log { + padding: 10px 40px; +} + +/*******************/ + +.logPlaceholder { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + color: #2d2d30; + + div:nth-child(2) { + color: var(--color-text-secondary); + font-size: 1.4em; + opacity: 0.6; + } +} + +.logPlaceholderIcon { + opacity: 0.3; +} |
