gui improvements
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{#each locations as location}
|
{#each locations as location}
|
||||||
<li onclick={e => toggleChildren(e, location)}
|
<li onclick={e => toggleChildren(e, location)}
|
||||||
class="{location.locations?'expanded':'collapsed'} {location.highlight?'highlight':null}"
|
class="{location.locations?'expanded':'collapsed'} {location.highlight?'highlight':null} {selected && selected.id == location.id?'selected':null}"
|
||||||
draggable={true}
|
draggable={true}
|
||||||
ondragover={e => drag_over(e,location)}
|
ondragover={e => drag_over(e,location)}
|
||||||
ondrop={e => onDrop(e,location)}
|
ondrop={e => onDrop(e,location)}
|
||||||
|
|||||||
@@ -349,6 +349,10 @@ tr:hover .taglist .tag button {
|
|||||||
border-top-color: red;
|
border-top-color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.locations .selected span{
|
||||||
|
background: brown;
|
||||||
|
color: yellow;
|
||||||
|
}
|
||||||
@media screen and (max-width: 900px) {
|
@media screen and (max-width: 900px) {
|
||||||
#app nav a{
|
#app nav a{
|
||||||
background: black;
|
background: black;
|
||||||
|
|||||||
@@ -345,6 +345,10 @@ code,
|
|||||||
border-top-color: gold;
|
border-top-color: gold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.locations .selected span{
|
||||||
|
background: gold;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
@media screen and (max-width: 900px) {
|
@media screen and (max-width: 900px) {
|
||||||
#app nav a{
|
#app nav a{
|
||||||
background: black;
|
background: black;
|
||||||
|
|||||||
@@ -296,7 +296,10 @@ tr:hover .taglist .tag button {
|
|||||||
border-top-color: blue;
|
border-top-color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.locations .selected span{
|
||||||
|
background: #afffff;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
@media screen and (max-width: 900px) {
|
@media screen and (max-width: 900px) {
|
||||||
#app nav a{
|
#app nav a{
|
||||||
background: white;
|
background: white;
|
||||||
|
|||||||
Reference in New Issue
Block a user