|
@@ -78,6 +78,10 @@ select:disabled {
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
|
|
|
+.pkmn > :is(.pkmn-total, .pkmn-cls):hover {
|
|
|
+ outline: var(--highlight-border);
|
|
|
+}
|
|
|
+
|
|
|
.pkmn > :is(.pkmn-total, .pkmn-cls)::before {
|
|
|
display: inline-block;
|
|
|
content: "";
|
|
@@ -111,7 +115,6 @@ select:disabled {
|
|
|
}
|
|
|
|
|
|
.pkmn-data {
|
|
|
- left: 100%;
|
|
|
z-index: 2;
|
|
|
color: var(--highlight);
|
|
|
background-color: var(--background);
|
|
@@ -122,13 +125,13 @@ select:disabled {
|
|
|
}
|
|
|
|
|
|
.pkmn-total > .pkmn-data {
|
|
|
+ left: 100%;
|
|
|
margin-inline-start: 0.5ch;
|
|
|
}
|
|
|
|
|
|
.pkmn-cls > .pkmn-data {
|
|
|
font-weight: 400;
|
|
|
- margin-inline-start: 0.5ch;
|
|
|
- transform: translateY(-50%);
|
|
|
+ transform: translateY(-50%) translateX(-105%);
|
|
|
}
|
|
|
|
|
|
#color-results,
|
|
@@ -259,7 +262,7 @@ input:checked + .fn-minmax-toggle > span:last-child {
|
|
|
"lbl1 lbl2 srch"
|
|
|
"res1 res2 srch"
|
|
|
"res1 res2 spac"
|
|
|
- "res1 res2 oldc";
|
|
|
+ "res1 res2 prev";
|
|
|
justify-content: space-between;
|
|
|
justify-items: start;
|
|
|
align-items: start;
|
|
@@ -375,7 +378,7 @@ input:checked + .fn-minmax-toggle > span:last-child {
|
|
|
|
|
|
#prev-colors-container {
|
|
|
padding-block-start: 1rem;
|
|
|
- grid-area: oldc;
|
|
|
+ grid-area: prev;
|
|
|
}
|
|
|
|
|
|
.metric-select-fieldset {
|
|
@@ -385,3 +388,94 @@ input:checked + .fn-minmax-toggle > span:last-child {
|
|
|
grid-template-columns: 1fr;
|
|
|
grid-auto-rows: 1fr;
|
|
|
}
|
|
|
+
|
|
|
+@media screen and (width <= 920px) {
|
|
|
+ .main-container {
|
|
|
+ grid-template-columns: min-content min-content 1fr min-content;
|
|
|
+ grid-template-rows: unset;
|
|
|
+ grid-auto-rows: min-content;
|
|
|
+ grid-template-areas:
|
|
|
+ "fun1 fun1 lbl1 prev"
|
|
|
+ "fun1 fun1 res1 prev"
|
|
|
+ "met1 met1 res1 prev"
|
|
|
+ "fun2 fun2 res1 prev"
|
|
|
+ "met2 met2 res1 prev"
|
|
|
+ "targ spac res1 prev"
|
|
|
+ ".... .... res1 prev"
|
|
|
+ "srch srch lbl2 prev"
|
|
|
+ "srch srch res2 prev";
|
|
|
+ }
|
|
|
+
|
|
|
+ #sortFunction,
|
|
|
+ #clusterFunction,
|
|
|
+ #sortMetric,
|
|
|
+ #clusterMetric,
|
|
|
+ #colorSelect,
|
|
|
+ #sortControl,
|
|
|
+ #name-search-container {
|
|
|
+ justify-self: center;
|
|
|
+ align-self: start;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ #prev-colors-container {
|
|
|
+ padding-block: 0;
|
|
|
+ padding-inline: 1ch;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (width <= 800px) {
|
|
|
+ .main-container {
|
|
|
+ grid-template-columns: 1fr 1fr;
|
|
|
+ grid-auto-rows: min-content;
|
|
|
+ grid-template-areas:
|
|
|
+ "fun1 fun1"
|
|
|
+ "fun2 fun2"
|
|
|
+ "met1 met2"
|
|
|
+ "targ spac"
|
|
|
+ "lbl1 lbl1"
|
|
|
+ "res1 res1"
|
|
|
+ "srch srch"
|
|
|
+ "lbl2 lbl2"
|
|
|
+ "res2 res2"
|
|
|
+ "prev prev";
|
|
|
+ }
|
|
|
+
|
|
|
+ #color-results,
|
|
|
+ #name-results {
|
|
|
+ max-width: unset;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (width >= 1400px) {
|
|
|
+ .main-container {
|
|
|
+ grid-template-columns: repeat(6, min-content) 1fr 1fr min-content;
|
|
|
+ grid-template-rows: unset;
|
|
|
+ grid-auto-rows: min-content;
|
|
|
+ grid-template-areas:
|
|
|
+ "fun1 fun1 fun1 fun1 fun1 fun1 lbl1 lbl2 prev"
|
|
|
+ "fun2 fun2 fun2 fun2 fun2 fun2 res1 res2 prev"
|
|
|
+ "met1 met1 met1 met2 met2 met2 res1 res2 prev"
|
|
|
+ "targ targ spac spac srch srch res1 res2 prev"
|
|
|
+ ".... .... .... .... .... .... res1 res2 prev";
|
|
|
+ }
|
|
|
+
|
|
|
+ #sortFunction,
|
|
|
+ #clusterFunction,
|
|
|
+ #sortMetric,
|
|
|
+ #clusterMetric,
|
|
|
+ #colorSelect,
|
|
|
+ #sortControl,
|
|
|
+ #name-search-container {
|
|
|
+ justify-self: center;
|
|
|
+ align-self: stretch;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ #prev-colors-container {
|
|
|
+ padding-block: 0;
|
|
|
+ padding-inline: 1ch;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+}
|