Merge pull request #41426 from nextcloud/artonge/fix/live_photo_overlay

Use background to increase overlay contrast
pull/41444/head
Louis 2023-11-13 22:40:53 +07:00 committed by GitHub
commit 311b8ffbdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 13 deletions

@ -53,7 +53,7 @@
<OverlayIcon :is="fileOverlay"
v-if="fileOverlay"
class="files-list__row-icon-overlay" />
class="files-list__row-icon-overlay files-list__row-icon-overlay--file" />
</span>
</template>

@ -519,16 +519,11 @@ export default Vue.extend({
// better alignment with the folder icon
margin-top: 2px;
svg {
// Improve icon contrast with a background for files
&--file {
color: var(--color-main-text);
background: var(--color-main-background);
border-radius: 100%;
// Sow a border around the icon for better contrast
path {
stroke: var(--color-main-background);
stroke-width: 8px;
stroke-linejoin: round;
paint-order: stroke;
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long