1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add button to toggle sortedness of the statistics screen (#590)

This commit is contained in:
Ryan Liptak
2020-08-24 11:51:29 -07:00
committed by GitHub
parent 93f9d7ae23
commit 4bcef8e725
3 changed files with 33 additions and 2 deletions

View File

@@ -22,12 +22,18 @@
@include S(margin-left, 1px);
&.displayIcons,
&.displayDetailed {
&.displayDetailed,
&.displaySorted {
background: uiResource("icons/display_list.png") center center / #{D(15px)} no-repeat;
&.displayIcons {
background-image: uiResource("icons/display_icons.png");
background-size: #{D(11.5px)};
}
&.displaySorted {
background-image: uiResource("icons/display_sorted.png");
background-size: #{D(11.5px)};
margin-right: 20px;
}
}
background-color: #44484a !important;
@@ -109,6 +115,7 @@
.dialogInner {
&[data-displaymode="detailed"] .displayDetailed,
&[data-displaymode="icons"] .displayIcons,
&[data-sorted="true"] .displaySorted,
&[data-datasource="produced"] .modeProduced,
&[data-datasource="delivered"] .modeDelivered,
&[data-datasource="stored"] .modeStored {