Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -2668,13 +2668,23 @@
.nldesign-deprecation-badge--critical {
border-color: var(--color-error);
}
/* The same core reset zeroes margin and padding on `dialog`, which takes away
the `margin: auto` that centres a modal and its inner spacing. */
.nldesign-own-dialog {
margin: auto;
padding: 16px;
max-width: 520px;
border: 1px solid var(--color-border);
border-radius: var(--border-radius-large);
background: var(--color-main-background);
color: var(--color-main-text);
}
/* Nextcloud core's reset sets `dialog { display: block }`, which beats the
browser's own `dialog:not([open]) { display: none }`, so a closed dialog
would render in the page and push the settings layout out of view. */
.nldesign-own-dialog:not([open]) {
display: none;
}
.nldesign-own-dialog label {
display: block;
font-weight: 600;
Expand Down
Loading