-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: minimal deletion prompt (+ style-setting for full info)
- Loading branch information
1 parent
2b25ee8
commit 50e9d99
Showing
3 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* ───────────────────────────────────────────────── */ | ||
/** Search container (cmd+f) | ||
──────────────────────────────────────────────────── */ | ||
.document-search-container { | ||
margin-right: 0; | ||
margin-left: 0; | ||
border-bottom: var(--thin-border); | ||
box-shadow: var(--shadow-s); | ||
} | ||
|
||
body:not(.show-close-buttons, .is-mobile) .document-search-close-button { | ||
display: none; | ||
} | ||
|
||
/* ───────────────────────────────────────────────── */ | ||
/** Deletion Prompt | ||
──────────────────────────────────────────────────── */ | ||
|
||
/* deletion prompts do not have their own selector, so making the selectors as | ||
* specific as possible to ensure no other prompts are unintentionally targeted. */ | ||
body:not(.full-info-on-deletion-prompt) | ||
.modal-container.mod-confirmation.mod-dim | ||
> .modal | ||
:is( | ||
.modal-content > p:not(.mod-warning), | ||
.modal-button-container > .mod-checkbox | ||
) { | ||
display: none; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters