mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #41426 from nextcloud/artonge/fix/live_photo_overlay
Use background to increase overlay contrast
This commit is contained in:
commit
311b8ffbdf
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue