From a36bcf6cd3885aa7774b1b7fdb6ac0139297ffad Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 3 May 2020 21:44:12 +0200 Subject: [PATCH] Add Bootstrap modal overrides for CSS variables --- app/assets/stylesheets/application.scss | 1 + app/assets/stylesheets/overrides/_modal.scss | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 app/assets/stylesheets/overrides/_modal.scss diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 745ee6f1..4df19f85 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -56,6 +56,7 @@ "overrides/links", "overrides/list-group", "overrides/minicolors", +"overrides/modal", "overrides/navbar", "overrides/sweet-alert"; diff --git a/app/assets/stylesheets/overrides/_modal.scss b/app/assets/stylesheets/overrides/_modal.scss new file mode 100644 index 00000000..04773c30 --- /dev/null +++ b/app/assets/stylesheets/overrides/_modal.scss @@ -0,0 +1,13 @@ +.modal-content { + background-color: var(--raised-bg); + border: 0; +} + +.modal-header { + border-bottom: 0; +} + +.modal-footer { + background-color: var(--raised-accent); + border-top: 0; +} \ No newline at end of file