ALTTP: Updates to player-specific game tracker. (#3133)
This commit is contained in:
@@ -1,75 +0,0 @@
|
||||
#player-tracker-wrapper{
|
||||
margin: 0;
|
||||
font-family: LexendDeca-Light, sans-serif;
|
||||
color: white;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#inventory-table{
|
||||
border-top: 2px solid #000000;
|
||||
border-left: 2px solid #000000;
|
||||
border-right: 2px solid #000000;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
padding: 3px 3px 10px;
|
||||
width: 284px;
|
||||
background-color: #42b149;
|
||||
}
|
||||
|
||||
#inventory-table td{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#inventory-table img{
|
||||
height: 100%;
|
||||
max-width: 40px;
|
||||
max-height: 40px;
|
||||
filter: grayscale(100%) contrast(75%) brightness(75%);
|
||||
}
|
||||
|
||||
#inventory-table img.acquired{
|
||||
filter: none;
|
||||
}
|
||||
|
||||
#inventory-table img.powder-fix{
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
#location-table{
|
||||
width: 284px;
|
||||
border-left: 2px solid #000000;
|
||||
border-right: 2px solid #000000;
|
||||
border-bottom: 2px solid #000000;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
background-color: #42b149;
|
||||
padding: 0 3px 3px;
|
||||
}
|
||||
|
||||
#location-table th{
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#location-table td{
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-right: 5px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#location-table td.counter{
|
||||
padding-right: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#location-table img{
|
||||
height: 100%;
|
||||
max-width: 30px;
|
||||
max-height: 30px;
|
||||
}
|
||||
142
WebHostLib/static/styles/tracker__ALinkToThePast.css
Normal file
142
WebHostLib/static/styles/tracker__ALinkToThePast.css
Normal file
@@ -0,0 +1,142 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');
|
||||
|
||||
.tracker-container {
|
||||
width: 440px;
|
||||
box-sizing: border-box;
|
||||
font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
|
||||
border: 2px solid black;
|
||||
border-radius: 4px;
|
||||
resize: both;
|
||||
|
||||
background-color: #42b149;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/** Inventory Grid ****************************************************************************************************/
|
||||
.inventory-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
padding: 1rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.inventory-grid .item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.inventory-grid .dual-item {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.inventory-grid .missing {
|
||||
/* Missing items will be in full grayscale to signify "uncollected". */
|
||||
filter: grayscale(100%) contrast(75%) brightness(75%);
|
||||
}
|
||||
|
||||
.inventory-grid .item img,
|
||||
.inventory-grid .dual-item img {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
font-size: 0.8rem;
|
||||
text-shadow: 0 1px 2px black;
|
||||
font-weight: bold;
|
||||
image-rendering: crisp-edges;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.inventory-grid .dual-item img {
|
||||
height: 48px;
|
||||
margin: 0 -4px;
|
||||
}
|
||||
|
||||
.inventory-grid .dual-item img:first-child {
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.inventory-grid .item .quantity {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
text-align: right;
|
||||
font-weight: 600;
|
||||
font-size: 1.75rem;
|
||||
line-height: 1.75rem;
|
||||
text-shadow:
|
||||
-1px -1px 0 #000,
|
||||
1px -1px 0 #000,
|
||||
-1px 1px 0 #000,
|
||||
1px 1px 0 #000;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/** Regions List ******************************************************************************************************/
|
||||
.regions-list {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.regions-list summary {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.regions-list summary::before {
|
||||
content: "⯈";
|
||||
width: 1em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.regions-list details {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.regions-list details[open] > summary::before {
|
||||
content: "⯆";
|
||||
}
|
||||
|
||||
.regions-list .region {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 20fr 8fr 2fr 2fr;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.regions-list .region :first-child {
|
||||
text-align: left;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.regions-list .region.region-header {
|
||||
margin-left: 24px;
|
||||
width: calc(100% - 24px);
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.regions-list .location-rows {
|
||||
border-top: 1px solid white;
|
||||
display: grid;
|
||||
grid-template-columns: auto 32px;
|
||||
font-weight: 300;
|
||||
padding: 2px 8px;
|
||||
margin-top: 4px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.regions-list .location-rows :nth-child(even) {
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user