Skip to content

Commit

Permalink
Fix: Hover default buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Jan 15, 2024
1 parent c8cf8d2 commit 391fb0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion private/djangocms-simple-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
--button-hover-bg: var(--dca-gray-lighter);
--default-button-fg: var(--dca-white);
--default-button-bg: var(--dca-primary);
--default-button-hover-bg: var(--dca-primary);
/*--close-button-bg: #747474;*/
/*--close-button-hover-bg: #333;*/
/*--delete-button-bg: #ba2121;*/
Expand Down Expand Up @@ -175,6 +176,15 @@ li, dt, dd {
/* Buttons */
.button.default, input[type=submit].default, .submit-row input.default {
color: var(--dca-white, #fff);
transition: filter 0.15s;
}
.button.default:active,
input[type=submit].default:active,
.button.default:focus,
input[type=submit].default:focus,
.button.default:hover,
input[type=submit].default:hover {
filter: brightness(0.8);
}

/* Form submit buttons */
Expand Down Expand Up @@ -408,7 +418,7 @@ fieldset.collapse.collapsed .form-row {
width: 100%;
}

.change-form .related-widget-wrapper > select,
.change-form .related-widget-wrapper > select,
.related-widget-wrapper > .select2-container {
width: calc(100% - 108px);
}
Expand Down

0 comments on commit 391fb0f

Please sign in to comment.