powergrid-viewer 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .canClick{cursor:pointer}.calculator{fill:#333}.calculator .button{cursor:pointer}.calculator .visor{font-family:"system-ui"}ul{-webkit-margin-before:0;margin-block-start:0}.game{display:flex;align-items:center;flex-direction:column}.fitToScreen{height:100%}.statusBar{height:40px;width:100%;background-color:#000;color:#fff;text-align:center;line-height:40px;font-size:20px;position:fixed}#scene{max-height:calc(100% - 40px);flex-grow:1;margin:40px auto auto auto}body,html{height:100%;width:100%;margin:0;padding:0}text{font-family:Arial;pointer-events:none;dominant-baseline:central;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.button.highlightButton rect{stroke:#00f;stroke-width:4px}.button.enabled{cursor:pointer}.button.enabled:hover circle,.button.enabled:hover rect{fill:silver;stroke:#fff}.button.enabled:hover line{stroke:#fff}.button.enabled:hover image{filter:invert(1)}.button.enabled:hover text{fill:#fff}.button:not(.enabled) circle,.button:not(.enabled) line,.button:not(.enabled) rect{stroke:silver}.button:not(.enabled) image{filter:invert(.75)}.button:not(.enabled) text{fill:silver}.modal{display:none;position:fixed;z-index:1;padding-top:10vh;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4)}.modal.visible{display:block}.modal-content{border-radius:5px;background-color:#fefefe;margin:auto;padding:10px 20px 20px 20px;border:1px solid #888}@media only screen and (min-width:1240px){.modal-content{position:absolute;left:50%;transform:translate(-50%)}}.modal-body{max-height:calc(80vh - 64px);overflow:auto}.modal-log{max-height:calc(80vh - 75px);overflow:auto;border:1px solid #000}.log-line{padding:5px}.log-line:nth-last-child(2n){background:#ccc}.log-line:nth-last-child(odd){background:#fff}.modal-title{text-align:center;margin-bottom:10px}.close,.modal-title{font-size:28px;font-weight:700}.close{color:#aaa;float:right}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer}.payment-table{border:1px solid #000;margin:5px auto}.payment-table tr td{border:1px solid #000;text-align:center;padding:0 10px 0 10px}.final-score-table,.spending-table{margin:auto;border:1px solid #000}.final-score-table tr td,.final-score-table tr th,.spending-table tr td,.spending-table tr th{border:1px solid #000;text-align:center;overflow:hidden;text-overflow:ellipsis}.final-score-table tr td div,.final-score-table tr th div,.spending-table tr td div,.spending-table tr th div{width:120px;line-height:38px}.final-score-table tr td:first-child div,.final-score-table tr th:first-child div,.spending-table tr td:first-child div,.spending-table tr th:first-child div{width:250px}.confirm-message{font-size:18px;padding:10px}.confirm-buttons{text-align:center}.confirm-button{margin:15px 0 0 15px}
1
+ .canClick{cursor:pointer}.calculator{fill:#333}.calculator .button{cursor:pointer}.calculator .visor{font-family:"system-ui"}ul{-webkit-margin-before:0;margin-block-start:0}.game{display:flex;align-items:center;flex-direction:column}.fitToScreen{height:100%}.statusBar{height:40px;width:100%;background-color:#000;color:#fff;text-align:center;line-height:40px;font-size:20px;position:fixed}#scene{max-height:calc(100% - 40px);flex-grow:1;margin:40px auto auto auto}.game.stacked{height:auto;align-items:stretch}.game.stacked #scene{max-height:none;flex-grow:0;margin-top:40px}body,html{height:100%;width:100%;margin:0;padding:0}text{font-family:Arial;pointer-events:none;dominant-baseline:central;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.button.highlightButton rect{stroke:#00f;stroke-width:4px}.button.enabled{cursor:pointer}.button.enabled:hover circle,.button.enabled:hover rect{fill:silver;stroke:#fff}.button.enabled:hover line{stroke:#fff}.button.enabled:hover image{filter:invert(1)}.button.enabled:hover text{fill:#fff}.button:not(.enabled) circle,.button:not(.enabled) line,.button:not(.enabled) rect{stroke:silver}.button:not(.enabled) image{filter:invert(.75)}.button:not(.enabled) text{fill:silver}.modal{display:none;position:fixed;z-index:1;padding-top:10vh;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4)}.modal.visible{display:block}.modal-content{border-radius:5px;background-color:#fefefe;margin:auto;padding:10px 20px 20px 20px;border:1px solid #888;box-sizing:border-box;max-width:100%}@media only screen and (min-width:1240px){.modal-content{position:absolute;left:50%;transform:translate(-50%)}}.modal-body{max-height:calc(80vh - 64px);overflow:auto}.modal-log{max-height:calc(80vh - 75px);overflow:auto;border:1px solid #000}.log-line{padding:5px}.log-line:nth-last-child(2n){background:#ccc}.log-line:nth-last-child(odd){background:#fff}.modal-title{text-align:center;margin-bottom:10px}.close,.modal-title{font-size:28px;font-weight:700}.close{color:#aaa;float:right}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer}.map-specific-rules{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.payment-table{border:1px solid #000;margin:5px auto}.payment-table tr td{border:1px solid #000;text-align:center;padding:0 10px 0 10px}.final-score-table,.spending-table{margin:auto;border:1px solid #000}.final-score-table tr td,.final-score-table tr th,.spending-table tr td,.spending-table tr th{border:1px solid #000;text-align:center;overflow:hidden;text-overflow:ellipsis}.final-score-table tr td div,.final-score-table tr th div,.spending-table tr td div,.spending-table tr th div{width:120px;line-height:38px}.final-score-table tr td:first-child,.final-score-table tr th:first-child,.spending-table tr td:first-child,.spending-table tr th:first-child{position:sticky;left:0;background-color:#fefefe;box-shadow:2px 0 3px -1px rgba(0,0,0,.3)}.final-score-table tr td:first-child div,.final-score-table tr th:first-child div,.spending-table tr td:first-child div,.spending-table tr th:first-child div{width:250px}@media only screen and (max-width:700px){.modal-content{padding:10px}.final-score-table tr td div,.final-score-table tr th div,.spending-table tr td div,.spending-table tr th div{width:auto;min-width:60px;padding:0 6px;line-height:32px}.final-score-table tr td:first-child div,.final-score-table tr th:first-child div,.spending-table tr td:first-child div,.spending-table tr th:first-child div{width:auto;min-width:0;max-width:38vw;text-align:left}.payment-table tr td{padding:0 6px}}.confirm-message{font-size:18px;padding:10px}.confirm-buttons{text-align:center}.confirm-button{margin:15px 0 0 15px}