summaryrefslogtreecommitdiffstats
path: root/core/css/server.css
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-28 11:43:49 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-02 16:31:52 +0100
commit9cc2f25072741d6aa853d6920c35ad6a8d063ee8 (patch)
tree0e0b18517ee1f330d3777db65624f638b2bee0e8 /core/css/server.css
parent3eaca6f0e4f6da6699371734834cbf7a38ef9088 (diff)
downloadnextcloud-server-9cc2f25072741d6aa853d6920c35ad6a8d063ee8.tar.gz
nextcloud-server-9cc2f25072741d6aa853d6920c35ad6a8d063ee8.zip
Update @nextcloud/dialogs@ and fix toasts styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/server.css')
-rw-r--r--core/css/server.css21
1 files changed, 18 insertions, 3 deletions
diff --git a/core/css/server.css b/core/css/server.css
index 53a44b55084..a636e48c27b 100644
--- a/core/css/server.css
+++ b/core/css/server.css
@@ -4859,10 +4859,12 @@ kbd {
display: flex;
align-items: center;
}
+
.toastify.dialogs .toast-undo-container {
display: flex;
align-items: center;
}
+
.toastify.dialogs .toast-undo-button,
.toastify.dialogs .toast-close {
position: static;
@@ -4877,6 +4879,7 @@ kbd {
background-color: transparent;
min-height: 0;
}
+
.toastify.dialogs .toast-undo-button.toast-close,
.toastify.dialogs .toast-close.toast-close {
text-indent: 0;
@@ -4887,21 +4890,24 @@ kbd {
font-size: 0;
/* dark theme overrides for Nextcloud 25 and later */
}
+
.toastify.dialogs .toast-undo-button.toast-close::before,
.toastify.dialogs .toast-close.toast-close::before {
- background-image: url("./close.svg");
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo=");
content: " ";
filter: var(--background-invert-if-dark);
display: inline-block;
width: 16px;
height: 16px;
}
+
.toastify.dialogs .toast-undo-button.toast-undo-button,
.toastify.dialogs .toast-close.toast-undo-button {
margin: 3px;
- height: calc(100% - 2 * 3px);
+ height: calc(100% - 6px);
margin-left: 12px;
}
+
.toastify.dialogs .toast-undo-button:hover, .toastify.dialogs .toast-undo-button:focus, .toastify.dialogs .toast-undo-button:active,
.toastify.dialogs .toast-close:hover,
.toastify.dialogs .toast-close:focus,
@@ -4909,24 +4915,31 @@ kbd {
cursor: pointer;
opacity: 1;
}
+
.toastify.dialogs.toastify-top {
right: 10px;
}
+
.toastify.dialogs.toast-with-click {
cursor: pointer;
}
+
.toastify.dialogs.toast-error {
border-left: 3px solid var(--color-error);
}
+
.toastify.dialogs.toast-info {
border-left: 3px solid var(--color-primary);
}
+
.toastify.dialogs.toast-warning {
border-left: 3px solid var(--color-warning);
}
+
.toastify.dialogs.toast-success {
border-left: 3px solid var(--color-success);
}
+
.toastify.dialogs.toast-undo {
border-left: 3px solid var(--color-success);
}
@@ -4935,10 +4948,12 @@ kbd {
.theme--dark .toastify.dialogs .toast-close {
/* close icon style */
}
+
.theme--dark .toastify.dialogs .toast-close.toast-close::before {
- background-image: url("./close-dark.svg");
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo=");
}
+/*# sourceMappingURL=index.css.map */
#body-public {
/** don't apply content header padding on the base layout */
/* public footer */