X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Ftracker.scss;h=ca20b6342d2893f47c77c694cf2a3ee7020c1df8;hb=e9e1ccc9f8b4a6fc0d4d4ce54a710832227e3da0;hp=5bc5a4696f870ea53e53157edcf8f8f27f6d2aaa;hpb=cdb12f8f7d161e0e17d23dd1164d3c8b1067be61;p=alttp.git diff --git a/resources/sass/tracker.scss b/resources/sass/tracker.scss index 5bc5a46..ca20b63 100644 --- a/resources/sass/tracker.scss +++ b/resources/sass/tracker.scss @@ -1,121 +1,54 @@ .tracker { - .count-display, - .med-display { - background: black; - font-weight: bold; - text-align: center; - } - .dungeon { - display: flex; - flex-direction: row; - align-items: stretch; - justify-content: flex-start; - gap: 1ex; - > * { - width: 2em; - height: 2em; + .auto-tracking { + .custom-toggle { + vertical-align: middle; } - .dungeon-smalls .count-display, + } + .dungeons { + width: 100%; + height: auto; + .count-display, .dungeon-tag { - background: black; - font-family: monospace; - font-size: 115%; + font-size: 0.5px; font-weight: bold; - text-align: center; - } - .dungeon-checks, - .dungeon-smalls { - position: relative; - .count-display { - pointer-events: none; - position: absolute; - top: .3ex; - left: .3ex; - bottom: .3ex; - right: .3ex; - &.is-zero { - display: none; - } + fill: white; + stroke: black; + stroke-width: 0.25px; + stroke-linejoin: round; + paint-order: stroke fill; + dominant-baseline: middle; + text-anchor: middle; + pointer-events: none; + user-select: none; + &.is-zero { + display: none; } - } - } - .dungeon-ep, - .dungeon-pd { - margin-top: 1ex; - } - .equipment { - display: grid; - grid-template-columns: 3em 3em 3em 3em 3em; - gap: 1ex; - padding: 1ex; - } - .items { - display: grid; - grid-template-columns: 3em 3em 3em 3em 3em; - gap: 1ex; - padding: 1ex; - } - .item { - position: relative; - width: 3em; - height: 3em; - - .bottom-left, - .bottom-right, - .top-left, - .top-right { - position: absolute; - width: 50%; - height: 50%; - .zelda-icon { - transform: scale(1.4); + &.is-full { + fill: green; } } - .bottom-left { - bottom: 0; - left: 0; - } - .bottom-right { - bottom: 0; - right: 0; - } - .top-left { - top: 0; - left: 0; + .count-display { + font-size: 0.65px; } - .top-right { - top: 0; - right: 0; - } - - .left, - .right { - position: absolute; - width: 50%; - height: 100%; - overflow: hidden; - .zelda-icon { - width: 200%; - margin-left: -50%; - } - } - .left { - left: 0; - } - .right { - right: 0; - } - .count-display, + } + .items { + width: 100%; + height: auto; .med-display { + font-size: 0.3px; + font-weight: bold; + fill: white; + stroke: black; + stroke-width: 0.15px; + stroke-linejoin: round; + paint-order: stroke fill; pointer-events: none; - &.is-zero { - display: none; + &.bottom-left { + transform: translate(-0.5px, 0.4px); + } + &.bottom-right { + transform: translate(0.1px, 0.4px); } - } - .med-display { - height: 30%; - font-size: 80%; - line-height: 1; } } .tracker-map { @@ -147,6 +80,16 @@ opacity: 0.4; } } + &.status-partial { + .box { + fill: yellow; + } + } + &.status-unavailable { + .box { + fill: red; + } + } &.size-lg { .box { width: 0.08px; @@ -171,11 +114,17 @@ } } .tracker-toolbar { + label .zelda-icon, .toggle-icon { display: inline-block; width: 2em; height: 2em; } + .form-select { + background-image: none; + padding-right: 0.75rem; + border: none; + } } .zelda-icon { width: 100%;