Skip to content

Commit

Permalink
fix time selector in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Jan 27, 2025
1 parent 5029026 commit cb7a166
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
<%# See LICENSE for details. %>

<input
type="image"
src="<%= asset_path('images/calendar.svg') %>"
width="45"
height="32"
class="btn-action p-1 opacity-60"
id="offset-lookup-datepicker"
value=""
title="Select a point in time to browse the topic partition data"
data-target="<%= target %>"
/>
<div class="datepicker-input-wrapper">
<input
type="image"
src="<%= asset_path('images/calendar.svg') %>"
width="45"
height="32"
class="btn-action p-1 opacity-60"
id="offset-lookup-datepicker"
value=""
title="Select a point in time to browse the topic partition data"
data-target="<%= target %>"
/>
</div>
Binary file modified lib/karafka/web/ui/public/javascripts/application.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions lib/karafka/web/ui/public/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,15 @@ table td.commands-inline-3 {
.drawer-side.collapsed:hover .btn-toggle-nav-collapsed::after {
content: 'Expand';
}

.datepicker-input-wrapper {
margin-bottom: -5px;
}

[data-theme="dark"] .datepicker-input-wrapper input[type="image"]:not(:hover) {
filter: invert(1) brightness(0.7);
}

[data-theme="dark"] .datepicker-input-wrapper input[type="image"]:hover {
opacity: 1;
}
2 changes: 1 addition & 1 deletion lib/karafka/web/ui/public/stylesheets/application.min.css

Large diffs are not rendered by default.

Binary file modified lib/karafka/web/ui/public/stylesheets/application.min.css.br
Binary file not shown.
Binary file modified lib/karafka/web/ui/public/stylesheets/application.min.css.gz
Binary file not shown.

Large diffs are not rendered by default.

0 comments on commit cb7a166

Please sign in to comment.