Skip to content

Commit db03a06

Browse files
committed
Fix highlight styles for mounted partitions
1 parent 7b9c021 commit db03a06

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

recoverpy/ui/css/00-theme.tcss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ TextLog:focus {
5555
border: solid $rp-primary;
5656
}
5757

58-
ListView > ListItem.--highlight {
58+
ListView > ListItem.-highlight {
5959
color: $rp-text;
6060
}
6161

@@ -94,7 +94,7 @@ Checkbox:focus {
9494
border: solid $rp-primary;
9595
}
9696

97-
SearchResultList > ListItem.--highlight {
97+
SearchResultList > ListItem.-highlight {
9898
background: $rp-primary 15%;
9999
}
100100

recoverpy/ui/css/screen-params.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ PartitionList > ListItem {
1717
padding: 0 0 0 1;
1818
}
1919

20+
PartitionList > ListItem.-highlight {
21+
background: $primary 20%;
22+
}
23+
24+
PartitionList > ListItem.mounted.-highlight,
25+
PartitionList > ListItem.mounted.-highlight > Label {
26+
color: $block-cursor-foreground;
27+
}
28+
2029
#start-search-button {
2130
margin: 0 0 0 10;
2231
}

0 commit comments

Comments
 (0)