Skip to content

Commit

Permalink
Fix css for menu-plan toolbar and recipe toolbar (darkmode)
Browse files Browse the repository at this point in the history
  • Loading branch information
sepulzera committed Nov 14, 2024
1 parent 4784d64 commit ef9fbf1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/menu_plan/css/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
.menu-plan .recipes .section-header {
font-size: 1.25rem;
font-weight: bold;
margin-top: 1.25em;
margin-bottom: 1em;
margin-top: 1em;
}
.menu-plan .recipes .section-header:not(:first-of-type) {
margin-top: 2.5em;
}

.menu-plan .recipes .row {
Expand All @@ -25,6 +28,7 @@
.menu-plan .recipes .recipe.card .card-footer {
background-color: transparent;
border-top: 0;
padding: 0;
}
.menu-plan .recipes .recipe.card.completed .card-footer .toolbar {
display: none;
Expand All @@ -37,7 +41,7 @@
bottom: 0;
right: 0;
border-top: 0;
padding-right: 0;
padding-right: 0.25em;
}
.menu-plan .recipes .recipe.card .card-footer .toolbar {
visibility: hidden;
Expand Down
6 changes: 4 additions & 2 deletions src/recipe/css/recipe_header.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
padding: 0.25em 0.25em 0.25em 0;
border-top-left-radius: 0.25em;
}
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar,
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar .btn:not(.btn-primary) {
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar {
background-color: rgba(0, 0, 15, 0.55);
}
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar .btn:not(.btn-primary) {
background-color: var(--midground);
}
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar .btn:not(.btn-primary):hover,
html[data-theme="dark"] .recipe-header .row .img-wrapper .options .toolbar .btn:not(.btn-primary):focus {
background-color: var(--midground) !important;
Expand Down

0 comments on commit ef9fbf1

Please sign in to comment.