aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/src/css/fileEntryStatus.scss
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/src/css/fileEntryStatus.scss')
-rw-r--r--apps/files_external/src/css/fileEntryStatus.scss42
1 files changed, 42 insertions, 0 deletions
diff --git a/apps/files_external/src/css/fileEntryStatus.scss b/apps/files_external/src/css/fileEntryStatus.scss
new file mode 100644
index 00000000000..295234032bb
--- /dev/null
+++ b/apps/files_external/src/css/fileEntryStatus.scss
@@ -0,0 +1,42 @@
+/*!
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+.files-list__row-status {
+ display: flex;
+ min-width: 44px;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+
+ svg {
+ width: 24px;
+ height: 24px;
+
+ path {
+ fill: currentColor;
+ }
+ }
+
+ &--error,
+ &--warning {
+ position: absolute;
+ display: block;
+ top: 0;
+ inset-inline: 0;
+ bottom: 0;
+ opacity: .1;
+ z-index: -1;
+ }
+
+ &--error {
+ background: var(--color-error);
+ }
+
+ &--warning {
+ background: var(--color-warning);
+ }
+}