mirror of
https://github.com/we-promise/sure.git
synced 2026-04-14 09:34:05 +00:00
* Adjust color styles for checkboxes and text utilities Updated checkbox hover and checked states for light and dark themes, including background and SVG fill colors. Modified text and foreground utility classes to use different gray shades in dark mode for improved contrast and consistency. * Update selection bar and checkbox styles Refines the selection bar appearance by updating its background, border, and text color classes. Adjusts the checkbox to use the light variant and improves disabled and checked state styles in the design system CSS, including correcting SVG fill colors for checkboxes.
16 lines
960 B
Plaintext
16 lines
960 B
Plaintext
<div class="fixed bottom-6 z-10 flex items-center justify-between rounded-xl bg-container-inset border-primary shadow-border-xs px-4 text-sm text-primary w-[420px] py-1.5">
|
|
<div class="flex items-center gap-2">
|
|
<%= check_box_tag "entry_selection", 1, true, class: "checkbox checkbox--light", data: { action: "bulk-select#deselectAll" } %>
|
|
|
|
<p data-bulk-select-target="selectionBarText"></p>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-1 text-secondary">
|
|
<%= form_with url: transactions_bulk_deletion_path, data: { turbo_confirm: CustomConfirm.for_resource_deletion("entry").to_data_attribute, turbo_frame: "_top" } do %>
|
|
<button type="button" data-bulk-select-scope-param="bulk_delete" data-action="bulk-select#submitBulkRequest" class="p-1.5 group hover:bg-inverse flex items-center justify-center rounded-md" title="Delete">
|
|
<%= icon "trash-2", class: "group-hover:text-inverse" %>
|
|
</button>
|
|
<% end %>
|
|
</div>
|
|
</div>
|