summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/css
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-09 16:52:57 -0400
committerGitHub <noreply@github.com>2022-04-09 16:52:57 -0400
commit0971a10ea41d3e16228ebdf6e48d6667625067a1 (patch)
tree1f4eb91caff05097dee8fffffcb6a981007ed4c6 /src/SMAPI.Web/wwwroot/Content/css
parent288ef5dc0715339a3a0bf89975a6db7ab7408e2b (diff)
parentae7567674d480fbccf25b685d4ddceef01efcdb4 (diff)
downloadSMAPI-0971a10ea41d3e16228ebdf6e48d6667625067a1.tar.gz
SMAPI-0971a10ea41d3e16228ebdf6e48d6667625067a1.tar.bz2
SMAPI-0971a10ea41d3e16228ebdf6e48d6667625067a1.zip
Merge pull request #838 from KhloeLeclair/clientlog
Improve log parser
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/css')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/css/log-parser.css115
1 files changed, 112 insertions, 3 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/css/log-parser.css b/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
index 8c3acceb..41b54e11 100644
--- a/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
+++ b/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
@@ -113,7 +113,7 @@ table caption {
}
.table tr {
- background: #eee
+ background: #eee;
}
#mods span.notice {
@@ -148,18 +148,74 @@ table caption {
font-style: italic;
}
+.table .content-packs-collapsed {
+ opacity: 0.75;
+ font-size: 0.9em;
+ font-style: italic;
+}
+
#metadata td:first-child {
padding-right: 5px;
}
.table tr:nth-child(even) {
- background: #fff
+ background: #fff;
}
#filters {
margin: 1em 0 0 0;
- padding: 0;
+ padding: 0 0 0.5em;
+ display: flex;
+ justify-content: space-between;
+ width: calc(100vw - 16em);
+}
+
+#filters > div {
+ align-self: center;
+}
+
+#filters .toggles {
+ display: flex;
+}
+
+#filters .toggles > div:first-child {
font-weight: bold;
+ padding: 0.2em 1em 0 0;
+}
+
+#filters .filter-text {
+ margin-top: 0.5em;
+}
+
+#filters .stats {
+ margin-top: 0.5em;
+ font-size: 0.75em;
+}
+
+#filters.sticky {
+ position: fixed;
+ top: 0;
+ left: 0em;
+ background: #fff;
+ margin: 0;
+ padding: 0.5em;
+ width: calc(100% - 1em);
+}
+
+@media (min-width: 1020px) and (max-width: 1199px) {
+ #filters:not(.sticky) {
+ width: calc(100vw - 13em);
+ }
+}
+
+@media (max-width: 1019px) {
+ #filters:not(.sticky) {
+ width: calc(100vw - 3em);
+ }
+
+ #filters {
+ display: block;
+ }
}
#filters span {
@@ -173,6 +229,17 @@ table caption {
color: #000;
border-color: #880000;
background-color: #fcc;
+
+ user-select: none;
+}
+
+#filters .filter-text span {
+ padding: 3px 0.5em;
+}
+
+#filters .whole-word i {
+ padding: 0 1px;
+ border: 1px dashed;
}
#filters span:hover {
@@ -188,11 +255,48 @@ table caption {
background: #efe;
}
+#filters .pager {
+ margin-top: 0.5em;
+ text-align: right;
+}
+
+#filters .pager div {
+ margin-top: 0.5em;
+}
+
+#filters .pager div span {
+ padding: 0 0.5em;
+ margin: 0 1px;
+}
+
+#filters .pager span {
+ background-color: #eee;
+ border-color: #888;
+}
+
+#filters .pager span.active {
+ font-weight: bold;
+ border-color: transparent;
+ background: transparent;
+ cursor: unset;
+}
+
+#filters .pager span.disabled {
+ opacity: 0.3;
+ cursor: unset;
+}
+
+#filters .pager span:not(.disabled):hover {
+ background-color: #fff;
+}
+
+
/*********
** Log
*********/
#log .mod-repeat {
font-size: 0.85em;
+ font-style: italic;
}
#log .trace {
@@ -237,6 +341,11 @@ table caption {
white-space: pre-wrap;
}
+#log .log-message-text strong {
+ background-color: yellow;
+ font-weight: normal;
+}
+
#log {
border-spacing: 0;
}