Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit f423158

Browse files
author
Marcel Gerber
committed
Merge pull request #12165 from valtlait/valtlait/img-preview-bg
Use SVG on image preview backgrounds
2 parents 419c986 + 318d155 commit f423158

10 files changed

Lines changed: 20 additions & 4 deletions

File tree

src/extensions/default/QuickView/QuickView.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
}
4747

4848
#quick-view-container .preview-content {
49-
background-image: url(preview_bg.png);
49+
background-image: url(preview-bg.svg);
5050
border-radius: 2px;
5151
box-shadow: 0 -1px 2px @bc-shadow-small, 0 1px 0 @bc-highlight;
5252

5353
.dark & {
5454
box-shadow: 0 -1px 2px @dark-bc-shadow-small, 0 1px 0 @dark-bc-highlight;
55-
background-image: url(preview_bg_dark.png);
55+
background-image: url(preview-bg-dark.svg);
5656
}
5757
}
5858

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
-1014 Bytes
Binary file not shown.
-1011 Bytes
Binary file not shown.

src/styles/brackets.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,12 @@ a, img {
372372
}
373373

374374
.image-preview {
375-
background: url(images/preview_bg.png);
375+
background: url(images/preview-bg.svg);
376376
box-shadow: 0 1px 3px @bc-shadow;
377377
max-height: 100%;
378378

379379
.dark & {
380-
background: url(images/preview_bg_dark.png);
380+
background: url(images/preview-bg-dark.svg);
381381
box-shadow: 0 1px 3px @dark-bc-shadow;
382382
}
383383
}
Lines changed: 4 additions & 0 deletions
Loading

src/styles/images/preview-bg.svg

Lines changed: 4 additions & 0 deletions
Loading

src/styles/images/preview_bg.png

-1014 Bytes
Binary file not shown.
-1011 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)