Skip to content

Commit 17136f6

Browse files
committed
Improve colors with hovering in light and dark mode
1 parent 76103d1 commit 17136f6

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

skins/elastic/styles/dark.less

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,22 @@ html.dark-mode {
257257

258258
.listing li ul,
259259
.listing tbody td,
260-
.listing li {
260+
.listing li,
261+
.listing li ul li:first-child {
261262
border-color: @color-dark-list-border;
262263
}
263264

265+
#subscription-table {
266+
.placeholder {
267+
/* color-dark-list-border is a little too dark here, so we use the input border color */
268+
border-color: @color-dark-input-border;
269+
}
270+
271+
.hover {
272+
background-color: @color-dark-list-droptarget-background;
273+
}
274+
}
275+
264276
.listing li.selected,
265277
.listing li.selected > a,
266278
.listing li.selected > div > a, // this is used e.g. by kolab_addressbook

skins/elastic/styles/widgets/lists.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,12 +1100,12 @@ html.touch {
11001100
}
11011101

11021102
.placeholder {
1103-
border: dashed thin #ccc;
1103+
border: dashed thin @color-input-border;
11041104
min-height: 1.5rem;
11051105
}
11061106

11071107
.hover {
1108-
background-color: lightyellow;
1108+
background-color: @color-list-droptarget-background;
11091109

11101110
.placeholder {
11111111
margin-left: 3em;

0 commit comments

Comments
 (0)