Fixed darkmode for some elements

This commit is contained in:
Jan Böhmer 2023-06-20 01:01:40 +02:00
parent 6df65a0b9d
commit 6081fe3295
8 changed files with 48 additions and 14 deletions

View file

@ -1,6 +1,6 @@
<form id="navbar-search-form" action="{{ path('parts_search') }}" class="d-flex my-lg-0 ms-auto" method="get" data-turbo-permanent>
<div class="dropdown">
<button class="btn btn-light dropdown-toggle my-2" type="button" id="navbar-search-options" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-bs-auto-close="false">
<button class="btn dropdown-toggle my-2" type="button" id="navbar-search-options" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-bs-auto-close="false">
{% trans %}search.options.label{% endtrans %}
<span class="caret"></span>
</button>

View file

@ -28,7 +28,7 @@
{% macro treeview_sidebar(id, default_mode) %}
<div {{ stimulus_controller('elements/sidebar_tree') }} data-default-mode="{{ default_mode }}" id="{{ id }}">
<div class="input-group input-group-sm mb-2 mt-1">
<button class="btn btn-light dropdown-toggle" type="button"
<button class="btn bg-body-tertiary dropdown-toggle" type="button"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
><span class="sidebar-title" {{ stimulus_target('elements/sidebar_tree', 'sourceText') }}>Loading... / Access Denied</span></button>
<ul class="dropdown-menu" aria-labelledby="dropdownCat">

View file

@ -126,7 +126,7 @@
{% macro breadcrumb_entity_link(entity, link_type = "list_parts", icon = "") %}
<nav aria-label="breadcrumb">
<ol class="breadcrumb py-2 px-3 rounded" style="background-color: var(--bs-gray-200);">
<ol class="breadcrumb py-2 px-3 rounded bg-body-tertiary">
{% if icon is not empty %}
<i class="{{ icon }} fa-fw me-1" style="line-height: inherit;"></i>
{% else %}