fix security policy notification styling
This commit is contained in:
@@ -157,7 +157,8 @@ input {
|
||||
color: rgba(22, 163, 74, 1);
|
||||
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z' fill='rgba(22,163,74,1)' /%3E%3C/svg%3E");
|
||||
}
|
||||
.sm-html p.warning {
|
||||
.sm-html p.warning,
|
||||
div.warning {
|
||||
border: 1px solid rgba(202, 138, 4, 1);
|
||||
background-color: rgba(250, 204, 21, 0.25);
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
}">
|
||||
<div
|
||||
v-if="item.security_type != ''"
|
||||
class="absolute right--1 top--1 h-4 w-4">
|
||||
class="absolute right-5 top-1 h-6 w-6">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24">
|
||||
@@ -301,6 +301,21 @@
|
||||
{{ lastSelected.mime_type }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
v-if="
|
||||
lastSelected.security_type !==
|
||||
''
|
||||
">
|
||||
<td colspan="2">
|
||||
<div
|
||||
class="warning p-1 mt-2 small line-height-3">
|
||||
This file has a security
|
||||
policy applied and may
|
||||
not be viewable by
|
||||
everyone
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user